1.

To combine multiple retrievals, we write several SELECT statements and put the keyword between them. What is the keyword?(a) COMBINE(b) CONCAT(c) JOIN(d) UNIONI have been asked this question in an internship interview.The origin of the question is Performing Multiple in division Using SQL to Manage Data of MySQL

Answer»

The CORRECT answer is (d) UNION

The best EXPLANATION: The ‘UNION’ operator is used for combining the results of various ‘SELECT’ queries into one. For EXAMPLE, ‘SELECT a FROM table1 UNION SELECT a FROM table2;’ produces the results from TABLES table1 concatenated with that of table2.



Discussion

No Comment Found

Related InterviewSolutions