hi all,
how can i write this using joins instead of subqueries, so it would work on < v4.1?
(note foo_id = bar_id)
i've gotten this so far:
=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
how can i write this using joins instead of subqueries, so it would work on < v4.1?
(note foo_id = bar_id)
Code:
select *
from foo_tbl
where foo_id not in (
select bar_id
from bar_tbl
)
i've gotten this so far:
Code:
select *
from foo_tbl
inner join bar_tbl on bar_id = foo_id
where ???
=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }