PostgreSQL - Set Operations and Advanced Queries
What is the main difference between
UNION and UNION ALL in PostgreSQL?UNION and UNION ALL in PostgreSQL?UNION combines results from two queries and removes duplicate rows to give unique results.UNION ALL combines results but keeps all rows, including duplicates.UNION removes duplicates, UNION ALL keeps duplicates. -> Option A15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions