adplus-dvertising
frame-decoration

Question

Suppose tbl_1 is a table consisting of 8 rows and tbl_2 is a table consisting of 6 rows, the number of combinations through which the search is performed is __________
SELECT tbl_1.i1, tbl_2.i2
 FROM tbl_1 INNER JOIN tbl_2
 WHERE tbl_1.i1 = tbl_2.i2;

a.

14

b.

2

c.

1

d.

48

Answer: (d).48

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Suppose tbl_1 is a table consisting of 8 rows and tbl_2 is a table consisting of 6 rows, the number of combinations through which the search is performed is __________

Similar Questions

Discover Related MCQs

Q. How many of the following shared tablespaces is bound by the OS file size limit?

MyISAM, InnoDB, TRANSACTION

Q. If a column contains 7 values and 6 distinct values, the cardinality is __________

Q. For a table having 4 columns, the number of columns to which hash function is applied when using hash indexes is __________

Q. The slow query log can be used to identify queries that may be performing badly.

Q. The slow query log is written as __________

Q. To check how MySQL would execute a SELECT query, which statement is used?

Q. To perform analysis of key values by the server, the statement used is __________

Q. Which statement is used to verify optimizer operation?

Q. Which statement is used to force the optimizer to use tables in a particular order?

Q. Which of these comparisons is slowest?

Q. Which system variable tells the optimizer to skip certain plans based on estimates of the number of rows accessed for each table?

Q. Which system variable tells how far into the rest of each incomplete plan the optimizer should look to evaluate whether it should be expanded further?

Q. The optimizer_prune_level is set by default.

Q. Calculations involving numbers are faster than those involving string.

Q. To convert an int to string, the function is _________________

Q. To convert a string to an int, the function is _________________

Q. To maintain performance of tables having variable length rows, which statement is used?

Q. Which of these columns are faster?

Variable length, Fixed length

Q. Which of these take more space?

Variable length columns, Fixed length columns

Q. To minimize disk I/O, which of these should be chosen?

CHAR, VARCHAR