针对教材中的4个表(Orders、Products、Customers、Agents)用SQL语句完成各项操作,在“()”内填答案。查询上海客户总订货数量超过2000的订货月份(10)。select (____) from (____)where Cid (____)(Select (____) from (____)where City = (____))(____) (____) Months(____) (____)> 2000
针对教材中的4个表(Orders、Products、Customers、Agents)用SQL语句完成各项操作,在“()”内填答案。查询各个产品的总订货数量以及总金额。Select Pname 产品名称, (____) 总订货数量, (____) 总金额from (____) (____) (____) Pname
针对教材中的4个表(Orders、Products、Customers、Agents)用SQL语句完成各项操作,在“()”内填答案。查询没有通过北京的代理订购笔袋的客户编号与客户名称。select (____) o.Cid,Cname from (____) (____),Customers c(____) o.Cid=c.Cid and Aid (____) (____)(select (____) from (____)where City=(____)) and Pid (____) in (select Pid not in (select (____) from Productswhere Pname= (____))
针对教材中的4个表(Orders、Products、Customers、Agents)用SQL语句完成各项操作,在“()”内填答案。查询这样的订单号,该订单的订货数量大于3月份所有订单的订货数量。select (____) from (____)(____) (____) > (____) (select (____) from (____)(____) (____) = (____))