Is there any difference in the performance of the following three SQL statements?
SELECT * FROM tableA WHERE EXISTS (SELECT * FROM tableB WHERE tableA.x = ta
#3 Should be the best one, as you don´t need the returned data anyway. Bringing the fields will only add an extra overhead