select SupplierID,UnitPrice,UnitsOnOrder from products where UnitPrice<=6;
UNION
select SupplierID,UnitPrice,UnitsOnOrder from products where SupplierID IN(10,15);
组合起来,其实就是将两个条件用or 连接。两者等价。所以实际应用中,union 常被or代替使用
select SupplierID,UnitPrice,UnitsOnOrder from products where UnitPrice<=6 OR SupplierID IN(10,15);
注意:对联合查询对结果排序order by 语句只能放在最后一条。