N newmaid Unregistered / Unconfirmed GUEST, unregistred user! 2009-05-19 #1 foxpro dbf数据库 表a(无主键!),字段:卡号,姓名求所有记录中卡号相同的列表.请问.如何写.请大家帮帮忙,新手.请不吝指教.万分感谢
Z znxia Unregistered / Unconfirmed GUEST, unregistred user! 2009-05-19 #2 只想获得卡号: select 卡号 from 表a group by 卡号 having count(*)>1获得相应记录Select * from 表awhere 卡号 in (select 卡号 from 表a group by 卡号 having count(*)>1 )order by 卡号
只想获得卡号: select 卡号 from 表a group by 卡号 having count(*)>1获得相应记录Select * from 表awhere 卡号 in (select 卡号 from 表a group by 卡号 having count(*)>1 )order by 卡号