hi, could someone please tell me how do I get a query to show the (*) fields
in table2 only when table2.field1 exist in table1.field1
thanks in advance.
jenny
table 1 contains
--------------------------
field1
1
5
4
9
table 2 contains
--------------------------------
field1 field2
1 a
1 b
1 j
1 m
2 a
2 b
3 a
3 n
4 c
4 d
--------------
desired results:
---------------
table2.field1 table2.field2
1 a
1 b
1 j
1 m
4 c
4 d
in table2 only when table2.field1 exist in table1.field1
thanks in advance.
jenny
table 1 contains
--------------------------
field1
1
5
4
9
table 2 contains
--------------------------------
field1 field2
1 a
1 b
1 j
1 m
2 a
2 b
3 a
3 n
4 c
4 d
--------------
desired results:
---------------
table2.field1 table2.field2
1 a
1 b
1 j
1 m
4 c
4 d
Comment