sql >> Base de Datos >  >> RDS >> Mysql

mysql -> insertar en tbl (seleccionar de otra tabla) y algunos valores predeterminados

Simplemente tienes que hacer:

INSERT INTO def (catid, title, page, publish) 
SELECT catid, title, 'page','yes' from `abc`