I am trying to find some data from a table that's not in another table.
I tried to use different solutions but my problem is always the performance (table_a has ~100 000 rows and table_b has ~5.8 million rows).
Is there a fast(er) and/or (more) effective way to do that?
Thanks in advance...
SELECT
*
FROM
table_a a
LEFT JOIN
table_b b ON b.field_one = a.field_one
WHERE 1
AND b.id IS NULL