CREATE CURSOR crsTest1 (Fld1 int, Fld2 C(20)) INSERT INTO crsTest1 VALUES(1, 'Test1_1') CREATE CURSOR crsTest2 (Fld1 int, Fld2 C(20)) INSERT INTO crsTest2 VALUES(1, 'Test2_1') INSERT INTO crsTest2 VALUES(1, 'Test2_2') SELECT * FROM crsTest1 INNER JOIN crsTest2 ON crsTest1.Fld1 = crsTest2.Fld1And you will get a resultset with 2 records:
1 Test1_1 1 Test2_1 1 Test1_1 1 Test2_2I am not sure what you want to do, but give the example data from both tables and what you want as a final result.