[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