记录删除问题表1 xh,xm 要查询xh相同但xm不相同的记录应该怎么写命令? 我用的是vfp6.0[解决办法]use 表1 index on xh+xm to sy total to temp on xh+xm select * from 表1 where xh in (select xh,count(*) as num from temp group by xh where num> 1)