用SQL语句实现教材第2章综合题第4题中的7个查询。完成第4个查询。在“()”内填答案。select (____) Cname from Customers (____) Orders owhere c. Cid=o.cid and c. Cid (____) (____)(select Cid from Orderswhere Pid=(____))
用SQL语句实现教材第2章综合题第4题中的7个查询。完成第5个查询。在“()”内填答案。select distinct (____), Cname,a.Aid,Aname,c.Cityfrom Customers (____) Agent (____) Orders owhere c.Cid=(____) and a.Aid=(____) and c.City=a.City
用SQL语句实现教材第2章综合题第4题中的7个查询。完成第6个查询。在“()”内填答案。select (____) Pid from Orders (____) Customers (____) Agents awhere (____) = a.Aid and c.Cid=o.Cid and c.City=(____) and a.City=’北京’
用SQL语句实现教材第2章综合题第4题中的7个查询。完成第7个查询。在“()”内填答案。select distinct c.Cid from Orders (____) Customers (____) Agents (____)where p.Pid=o.Pid and c.Cid=o.Cid and p.Pid (____)(select Pid from Productswhere Price= (____))