php的查询数据库中的值并统计

2025-04-06 05:08:56
推荐回答(1个)
回答1:

如表名为test
select count(x) as num, x from test group by x order by num desc;