题解 | #确定 Products 表中价格不超过 10 美元的最贵产品的价格#
确定 Products 表中价格不超过 10 美元的最贵产品的价格
http://www.nowcoder.com/practice/19d1f06a58b04258aabe5a5a9934e611
select prod_price as max_price
from Products
where prod_price<=10
order by prod_price desc
limit 1
确定 Products 表中价格不超过 10 美元的最贵产品的价格
http://www.nowcoder.com/practice/19d1f06a58b04258aabe5a5a9934e611
select prod_price as max_price
from Products
where prod_price<=10
order by prod_price desc
limit 1
相关推荐