热线电话:13121318867

登录
2020-02-19 阅读量: 920
查询6月7日当天分城市的线索量、平均价格并按照线索量降序排列

select city_id,count(clue_id),avg(price)

from tbl_clue

where date_format(created_at,'%m-%d')='06-07'

group by city_id

order by count(clue_id) desc;

0.0000
5
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子