Home » MYSQL » MySQL UNION » Question
  1. Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this?
    1. COUNT
    2. SORT
    3. LIMIT
    4. RESTRICT
    5. None of these
Correct Option: C

When there is a need to put a limit to the number of rows returned by the ‘UNION’ operation, the statement ‘LIMIT’ is appended to the ‘SELECT’ queries which are joined by the ‘UNION’ operations.



Your comments will be displayed only after manual approval.