当前位置: 代码迷 >> Sql Server >> not in怎么改
  详细解决方案

not in怎么改

热度:47   发布时间:2016-04-24 21:13:38.0
not in如何改
select * from route where route_id not in (select route_id from schedule);
如果使用not exists,怎么写?

------解决方案--------------------
select * from route where not exists (select 1 from schedule where route.route_id  = schedule .route_id)
  相关解决方案