SELECT
<column_name>,
COUNT(<column_name>) AS `value_occurrence`
FROM
<my_table>
GROUP BY
<column_name>
ORDER BY
`value_occurrence` DESC
LIMIT 1;
Nahraďte <column_name>
a <my_table>
. Zvýšit 1
pokud chcete vidět N
nejběžnější hodnoty sloupce.