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+
EmoticonEmoticon