Home » MYSQL » MySQL UNION » Question
  1. What is ‘name’ in the following statement?
    SELECT name FROM table1 UNION name FROM table2;
    1. database name
    2. table name
    3. column name
    4. row name
    5. None of these
Correct Option: C

The ‘SELECT’ queries can be combined together using the ‘UNION’ operator to produce the concatenated results from two or more tables. The data type of the columns is not taken into account.



Your comments will be displayed only after manual approval.