复制代码
- SELECT vend_name,
- FROM Vendors
- ORDER vend_name DESC;
复制代码
- select prod_name,prod_price
- from Products
- where prod_price>=3 and prod_price<=6
- order by prod_price;
【示例解析】返回住在"IL"和"MI"的顾客信息,最后根据顾客名称升序排序。复制代码
- select cust_id,order_date from Orders
- where order_num in(select order_num from OrderItems where prod_id='BR01');
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |