-
postgres 实现查询某条数据的排名
我就废话不多说了,大家还是直接看代码吧~select * from (select ROW_NUMBER () OVER (ORDER BY fat desc nulls last) AS xuhao,foodnum,foodname,fa
我就废话不多说了,大家还是直接看代码吧~select * from (select ROW_NUMBER () OVER (ORDER BY fat desc nulls last) AS xuhao,foodnum,foodname,fa