table 1: column1 1 2 3 4 5 6 table 2 column1 column2 1 ----------- a 3 ----------- b 5 ----------- c expected result: column1 column2 1 ------------ a 2 ------------ a 3 ------------ b 4 ------------ b 5 ------------ c 6 ------------ c how to write the SQL command so as to generate the expected result (p.s atually there are many rows in table 1 ana table2)
can you give more clue? i think it should use a inner join,but i can't write if possible,can you upload a sql file,so that I can try fix? I met the problem before /s