SQL 一条记录的的两个字段值相同与不同的查询
时间:2016-12-14 13:38:31
收藏:0
阅读:292
select * from (select xm,je from table) a , (select xm01,je01 from table) b
where a.xm = b.xm01
and a.je <> b.je01
<> 或 !=
原文:http://www.cnblogs.com/leonlee/p/6178646.html
评论(0)