SQL 一条记录的的两个字段值相同与不同的查询时间:2022-06-30 14:44:13select * from (select xm,je from table) a , (select xm01,je01 from table) bwhere a.xm = b.xm01and a.je <> b.je01<> 或 !=