楼主:
Yudii (Yudi)
2018-12-03 09:05:29数据库名称:MySQL
内容/问题描述:
请写一遍下列SQL语法,并试着解析一遍。
select C2.store_name Store, C1.product_name Product,
C2.price Price from product C1, (select B1.store_name,
B2.product_id, B2.price from store B1, (Select * from
store_sale_product) B2 where B1.store_id=B2.store_id)
C2 where C1.product_id=C2.product_id;
作者: Neroth 2018-12-18 18:58:00
可以试试画ERD, 把B1 B2 C1的PK-FK串起来