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
分类查询最新记录
最新推荐文章于 2021-09-13 20:18:11 发布
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