數據量大時關聯查詢a.key is null 會降低查詢效率嗎
SELECT * FROM table1 a left join table2 b on a.key=b.key where a.key is null ;
這個is null 在數據量大時 應該會查的很慢吧
SELECT * FROM table1 a left join table2 b on a.key=b.key where a.key is null ;
這個is null 在數據量大時 應該會查的很慢吧
2018-10-09
舉報
2018-10-13
但是,這個也是必須要加的一個條件呀