1.

SELECT on a MERGE table is like _____________(a) UNION ALL(b) UNION(c) UNION DISTINCT(d) JOINThis question was addressed to me in an online interview.I need to ask this question from Performing Multiple in chapter Using SQL to Manage Data of MySQL

Answer»

The correct ANSWER is (a) UNION ALL

Easiest explanation: PERFORMING a ‘SELECT’ operation on a ‘MERGE’ table is LIKE performing ‘UNION ALL’. This means that duplicate row results are not REMOVED. ‘SELECT DISTINCT’ is like ‘UNION’ or ‘UNION DISTINCT’.



Discussion

No Comment Found

Related InterviewSolutions