您的位置:首页 > 其它

实验16-13 请在testdb中:查找在1996年10月中有销售记录的客户

2018-07-19 18:37 549 查看

在testdb是产品销售数据库,请在testdb中:查找在1996年10月中有销售记录的客户编号、名称和订单总额。

select sales.cust_id,cust_name,tot_amt
from sales,customer
where sales.cust_id=customer.cust_id
and order_date between '1996-10-1' and '1996-10-31'

  

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: