【MySQL】結果の行数をカウントする

SELECT COUNT(*) FROM table_name WHERE column_name = "xxx";

参考:https://dev.mysql.com/doc/refman/8.0/ja/counting-rows.html

目次