I've read and searched for the answer to this before asking. I am trying to import the data of 4 columns from one MYSQL table into another MYSQL table that has more than 4 columns. As I expected I got
#1136 - Column count doesn't match value count at row 1'
Does anyone know a trick to get around this issue?
Postscript
I've already tried using
INSERT INTO new_table(colname1,colname2,colname3,colname4)
SELECT 'colname1','colname2','colname3,'colname4' FROM old_table;
that generates error
1054 unknown column 'colname1' in 'field list
I've also tried
INSERT INTO new_table
SELECT 'colname1,'colname2,'colname3','colname4'
FROM old_table;
which generates error
#1136 Column count doesn't match value count at row 1