Select ID,Count(*) As Count from 表 Group By ID Having Count(*)>1
在VFP中的例子:sele 姓名,count(*) as co from aaa group by 姓名 having count(姓名)>1
Select ID,Count(*) As Count from 表 Group By ID Having Count(*)>1
在VFP中的例子:sele 姓名,count(*) as co from aaa group by 姓名 having count(姓名)>1