题解 | #确定表中价格不超过 10 美元的最贵产品的价格#
确定 Products 表中价格不超过 10 美元的最贵产品的价格
https://www.nowcoder.com/practice/19d1f06a58b04258aabe5a5a9934e611
select max(t.prod_price) as 'max_price' from (select * from Products where prod_price <=10) as t
确定 Products 表中价格不超过 10 美元的最贵产品的价格
https://www.nowcoder.com/practice/19d1f06a58b04258aabe5a5a9934e611
select max(t.prod_price) as 'max_price' from (select * from Products where prod_price <=10) as t
相关推荐