Hi,
I need to insert data from table1 into table2. However, I would like to set the myYear column in table2 to 2010. But, there isn't a myYear Column in table1.
So, my basic insert looks like:
INSERT INTO `table2` ( place, event )
SELECT place, event
FROM table1
Roughly, I'd like to do something like the following:
INSERT INTO `table2` ( place, event, SET myYear='2010' )
...
Is there a way to set the column value in the insert statement?
THANK YOU!
-Laxmidi