Home » MYSQL » Mysql Setup » Question
  1. The following statement is valid.
    SELECT name, id FROM Employee UNION name, salary FROM Person;
    1. False
    2. True
    3. NA
    4. NA
    5. NA
Correct Option: B

Even if the columns ‘xyz’ and ‘def’ have different data types, the results from these columns are placed into the column ‘xyz’. The data types can be determined from the values in the columns.



Your comments will be displayed only after manual approval.