adplus-dvertising
frame-decoration

Question

Which clause is used to sort a UNION result as a whole?

a.

LIMIT

b.

ORDER BY

c.

GROUP BY

d.

SORT

Posted under MySQL Database

Answer: (b).ORDER BY

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which clause is used to sort a UNION result as a whole?

Similar Questions

Discover Related MCQs

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

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?