随笔分类 - SQL
SQL学习(五) 高级处理
摘要:5.1 请说出针对本章中使用的 product(商品)表执行如下 SELECT 语句所能得到的结果。 SELECT product_id ,product_name ,sale_price ,MAX(sale_price) OVER (ORDER BY product_id) AS Current_
阅读全文
SQL学习(四)集合运算
摘要:UNION和OR谓词 找出 product 和 product2 中售价高于 500 的商品的基本信息. select * from product where purchase_price>500 union select * from product2 where purchase_price>
阅读全文
浙公网安备 33010602011771号