SQL - UNION ALL With WHERE Knowledge Based Info. MySQL The following SQL statement uses UNION ALL to select all (duplicate values also) German cities from the "Customers" and "Suppliers" tables: Example SELECT City, Country FROM CustomersWHERE Country='Germany'UNION ALLSELECT City, Country FROM SuppliersWHERE Country='Germany'ORDER BY City; Try it Yourself » Share this Share on FacebookTweet on TwitterPlus on Google+ Related PostsSQL - Multi-line CommentsSQL - Single Line CommentsSQL - UNION ALL With WHERESQL - SELECT INTO SyntaxSQL - SELECT INTO ExamplesSome of The Most Important SQL Commands
EmoticonEmoticon