L
lillan
I have 3 queries
1. select tbl1.a, tbl1.b from tbl1 where tbl1.b='xxx'
2. select tbl2.a, tbl2.b from tbl2 where tbl2.b='xxx'
and then I want the result to be queried in question 3
3. select tbl1.a, tbl1.b, tbl2.a, tbl2.b from tbl1, tbl2 where
tbl1.a=tbl2.a
I have tried all possible ways but I now need help.
1. select tbl1.a, tbl1.b from tbl1 where tbl1.b='xxx'
2. select tbl2.a, tbl2.b from tbl2 where tbl2.b='xxx'
and then I want the result to be queried in question 3
3. select tbl1.a, tbl1.b, tbl2.a, tbl2.b from tbl1, tbl2 where
tbl1.a=tbl2.a
I have tried all possible ways but I now need help.