阅读背景:

使用逗号分隔的sql id

来源:互联网 

If you run this query

如果运行此查询

select     GROUP_CONCAT(p1.id) _fid,    GROUP_CONCAT(p2.id) _mid,    count(1)from    new_person as pb        inner join    new_person as p1 ON pb.father_id = p1.id        inner join    new_person as p2 ON pb.mother_id = p2.idwhere    (p1.last_name <> 'N.N.'        and p1.last_name <> '')        or (p2.last_name <> 'N.N.'        and p2.last_name <> '')group by p1.first_name , p1.last_name , p2.first_name , p2.last_namehaving count(1) > 1;select     GR



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: