¿Es posible hacer algo como esto:¿Es esto posible con sql?
INSERT INTO table(col1, col2) VALUES(something_from_another_table, value);
Con something_from_another_table
ser un comando SQL? Al igual que, ¿hay algo que pueda hacer eso es equivelant a:
INSERT INTO table(col1, col2) VALUES((SELECT value FROM table2 WHERE id = 3), value);