Guest_imported
New member
- Jan 1, 1970
- 0
I need to extracts somme records from a table that match some requierments (stored in other tables)
What is the most efficient way to do this ?
subqueries :
select bla
from table1
where table1.foo in (select foo from table2 where table2.bar='T')
or by doing join
select bla
from table1,table2
where table1.foo = table2.foo and table2.bar ='T'
thnanks by advance !!
Jean-francois PARIS
What is the most efficient way to do this ?
subqueries :
select bla
from table1
where table1.foo in (select foo from table2 where table2.bar='T')
or by doing join
select bla
from table1,table2
where table1.foo = table2.foo and table2.bar ='T'
thnanks by advance !!
Jean-francois PARIS