Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql union

SELECT supplier_id, supplier_name
FROM suppliers
WHERE supplier_id <= 500
UNION
SELECT company_id, company_name
FROM companies
WHERE company_name = 'Apple'
ORDER BY 2;
Source by www.techonthenet.com #
 
PREVIOUS NEXT
Tagged: #mysql #union
ADD COMMENT
Topic
Name
2+6 =