I'm going to insert new record to table 1, while one of the value I would like to do some select from other table to get the value, here is what my statement looks like:
Code:
Insert Into Table1(col1,col2,col3)values('1','a',x);
Where the value
x I would like to do Select which looks like this:
Code:
Select col6 From Table2 Where col1='abc';
How do I join these two query so that it become one single subquery? THanks.