Interview Questions

What is UNION,UNION ALL? –

DB2 INTERVIEW QUESTIONS


(Continued from previous question...)

What is UNION,UNION ALL? –

UNION : eliminates duplicates
UNION ALL: retains duplicates
Both these are used to combine the results of different SELECT statements.

(Continued on next question...)

Other Interview Questions