easy5 pts · first answer countssql
UNION vs UNION ALL
Table a has values (1), (2), (2) and table b has (2), (3). How many rows does this return?
SELECT x FROM a UNION SELECT x FROM b;
Discussion 0
Join free to post in the discussion.
Related questions
- Purpose of a primary keyDatabase Administrator
- INNER JOIN vs LEFT JOINDatabase Administrator
- DELETE vs TRUNCATEDatabase Administrator
- Filtering rows where a value is NULLDatabase Administrator
- COUNT(*) vs COUNT(column)Database Administrator
- What a foreign key enforcesDatabase Administrator
- WHERE vs HAVINGDatabase Administrator
- View vs materialized viewDatabase Administrator