How do i write INSERT statement if i get the values of colA from TableX, colB from TableY and colC from TableZ?
eg: INSERT INTO TableA (colA, colB, colC) VALUES (?,?
Insert into TableA (ColA, ColB, ColC) . . .
Must be the column names as the are in Table A. There's nothing wrong with
Insert into TableA (ColA, ColB, ColC) . . . Select TableX.Col1, TableY.Col1, TableZ.Col5 From TableX, TableY, TableZ Where . . .