SQL去除重复后并统计所有行语句
SELECT COUNT(distinct parkNum) AS num FROM park_room WHERE `areaId` = 1 AND `status` = 0 LIMIT 1
SQL去除重复后并统计所有行语句
SELECT COUNT(distinct parkNum) AS num FROM park_room WHERE `areaId` = 1 AND `status` = 0 LIMIT 1