mysql insert into table a custom value and a value from another table code example
Example: myql insert from select
INSERT INTO table_name(column_list)
SELECT
select_list
FROM
another_table
WHERE
condition;
INSERT INTO table_name(column_list)
SELECT
select_list
FROM
another_table
WHERE
condition;