select col1 from table1 where col2='value'
select col1,col2,col3 from table2 where col6='col1 value from above query'
Select col1, col2, col3 from table2 where col6 in ( Select col1 from table1 where col2='value' )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)