日期:2014-05-17  浏览次数:20607 次

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)