日期:2014-05-17 浏览次数:20526 次
SELECT * FROM Ta A WHERE EXISTS (SELECT 1 FROM (SELECT gid=MIN(GID)+3,gcid FROM Ta Group By gcid ) B WHERE A.gcid=b.gcid And A.gid<b.gid )