SyntaxFix
Write A Post
Hire A Developer
Questions
You use it like this:
SELECT age, name FROM users UNION SELECT 25 AS age, 'Betty' AS name
Use UNION ALL to allow duplicates: if there is a 25-years old Betty among your users, the second query will not select her again with mere UNION.
UNION ALL
UNION