SQL - Set Operations
Why must the ORDER BY clause appear only once after all set operations like UNION or INTERSECT in a SQL query?
Set operations combine multiple query results into one final set.
ORDER BY sorts the entire combined result, so it must appear once at the end.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions