62,041
社区成员
发帖
与我相关
我的任务
分享
select top 10 id,price,title,photo,city from test a
where not exists(select 1 from test b where b.city = a.city and b.price < a.price )
order by price
select top 10 id,price,title,photo,city from test a
where not exists(select 1 from test b where b.city = a.city and b.price < a.price )
order by price desc