adplus-dvertising
frame-decoration

Question

Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this?

a.

LIMIT

b.

RESTRICT

c.

COUNT

d.

SORT

Posted under MySQL Database

Answer: (a).LIMIT

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this?

Similar Questions

Discover Related MCQs

Q. Which table is used to run a UNION-type query on MyISAM tables?

Q. SELECT on a MERGE table is like _____________

Q. Which of these is also known as a virtual table?

Q. A View can be used to select a subset of the table columns.

Q. A view can refer to multiple tables via __________

Q. Views are not updatable.

Q. A view can be deleted using the command __________

Q. What cannot be done on a view?

Q. What can be used to check for views that have been invalidated by DROP or ALTER operations?

Q. Which of the following does not support a materialized view?

Q. To perform a delete on a single-table, how is the name of a column qualified?

Q. A multiple-table delete can apply any join.

Q. Qualifying the name of column with the table name is not necessary in single-table updates.

Q. UPDATE statement is a DML statement. What does DML stand for?

Q. Which keyword in the UPDATE statement is used to assign values to columns?

Q. Which keyword is used to delete all the rows from the table?

Q. What is known as the set of SQL statements that either executes successfully or none of them have an effect?

Q. What is generally done after the transactions are executed successfully?

Q. What is generally done if an error occurs during the transaction?

Q. What does ‘A’ stand for in the ACID property of transactions?