hi
how can i use insert select option to add data from one table to another table? first colum from table one and the other column values are jus the same value…
table1 table2
id id date note quantity
1 1 01-09-2016 OK 2
2 2 01-09-2016 OK 2
3 3 01-09-2016 OK 2
4 4 01-09-2016 OK 2
5 5 01-09-2016 OK 2
insert into table2 ( id,date,note,quantity) select id from table1,‘01-09-2016’,‘OK’,2) thank you very much