A

Admin • 833K Points
Coach

Q. The following statement is valid.

Code:
SELECT name, id FROM Employee UNION name, salary FROM Person;
  • (A) False
  • (B) True
  • (C) ---
  • (D) ---
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

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.

Be the first to start discuss.