UNION : ELIMINATES duplicates UNION ALL: RETAINS duplicates Both these are USED to COMBINE the results of different SELECT statements.
UNION : eliminates duplicates UNION ALL: retains duplicates Both these are used to combine the results of different SELECT statements.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy