[SQL ] SQL语法求解析

楼主: 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;
作者: mathrew (Joey)   2018-12-04 21:32:00
不懂题意 要解析什么?
作者: SeanBoog (施吉祥先生)   2018-12-06 21:12:00
????
作者: dennisxkimo (Dennis(一上B就糟糕))   2018-12-08 21:24:00
作业?
作者: Neroth   2018-12-18 18:58:00
可以试试画ERD, 把B1 B2 C1的PK-FK串起来

Links booklink

Contact Us: admin [ a t ] ucptt.com