分析

关键词:max

用法:

  • 最大值---max()
  • 最小值---min()
  • 平均值---avg()
  • 总值 ---sum()
  • 总数 ---count()

代码

select max(prod_price) as max_price
from Products
where prod_price<=10