I have a query that have INSERT with SELECT :-
INSERT INTO table2 (column1, column2, column3)
SELECT column1, column2, column3
FROM table1
WHERE condition;
What I need to do is insert custom value for column with the select like this :
INSERT INTO table2 (column1, column2, column3)
SELECT column1, column3
FROM table1
WHERE condition
column2 = "DATA";
The column 2 I don't need it to get it from the another table I wont to insert it.