📜  select count postgres double row count > 1 - SQL 代码示例

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

代码示例1
SELECT
  firstname,
  lastname,
  count(*)
FROM people
GROUP BY
  firstname,
  lastname
HAVING count(*) > 1;