📜  在 SQL 列中查找最常见的值 - SQL 代码示例

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

代码示例1
SELECT       `column`,
             COUNT(`column`) AS `value_occurrence` 
    FROM     `my_table`
    GROUP BY `column`
    ORDER BY `value_occurrence` DESC
    LIMIT    1;