📜  mysql 查找最常见的值 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:31.085000             🧑  作者: Mango

代码示例1
SELECT column, COUNT(*) AS magnitude 
FROM table 
GROUP BY column 
ORDER BY magnitude DESC
LIMIT 1