📜  sql 选择具有相似名称的行 - SQL 代码示例

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

代码示例1
select name, COUNT(*) as count
from (
    select distinct id, name
    from mytable) as sq
group by name