select * from t_crane_move tcma where (select count(*) from t_crane_move tcmb where tcmb.craneNo = tcma.craneNo and tcmb.id > tcma.id and tcmb.examStatus <> 4)<1 and tcma.examStatus <> 4
分类查询最新记录
最新推荐文章于 2020-10-28 09:10:21 发布
select * from t_crane_move tcma where (select count(*) from t_crane_move tcmb where tcmb.craneNo = tcma.craneNo and tcmb.id > tcma.id and tcmb.examStatus <> 4)<1 and tcma.examStatus <> 4