Performance i en database. JOIN vs IN
Vilken SQL-sætning gir bæst performance i teorin.* select id from table where id2 in (select id from table2 where field = 5)
* select table.id from table left join table2 on table.id2 = table2.id where table2.field = 5