用“select 号码 from 表1 except select 号码 from 表2” 这样的语句为什么没结果?
不行的
如果你是想要表1中有但是表2没有,以及表2中有但是表1没有的集合,可以这样:select * from 表1 where 表1.号码 not in(select 号码 from 表2) union select * from 表2 where 表2.号码 not in(select 号码 from 表1)经测试是可以。