SQL - UNION ALL Example Knowledge Based Info. MySQL The following SQL statement uses UNION ALL to select all (duplicate values also) cities from the "Customers" and "Suppliers" tables: Example SELECT City FROM CustomersUNION ALLSELECT City FROM SuppliersORDER BY City; Try it Yourself » Share this Share on FacebookTweet on TwitterPlus on Google+ Related PostsSQL - INNER JOIN SyntaxSQL - INNER JOIN ExampleSQL - NOT BETWEEN Operator with Text Value ExampleSQL - Comments in StatementsSQL - BETWEEN Operator with Text Value ExampleDifferent SQL JOINs
EmoticonEmoticon