sql >> Base de Datos >  >> RDS >> Mysql

Combinar (combinar) dos columnas de dos tablas en una consulta SQL

SELECT Send_Date Event_Date, Product, FlowType FROM Send_Orders
UNION ALL
SELECT Return_Date, Product, FlowType FROM Return_Orders
ORDER BY 1,2