📜  sql 选择组中最频繁的值 - SQL 代码示例

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

代码示例1
SELECT col, COUNT(col) AS value_occurrence
FROM m_table GROUP BY col ORDER BY value_occurrence DESC;