N

Nitin Gupta • 1.72K Points
Master

Q. The following statement is valid.

Code:
SELECT name, id FROM Employee UNION name, salary FROM Person;
  • (A) False
  • (B) True
  • (C) ---
  • (D) ---

Explanation by: Nitin Gupta
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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.