INSERT INTO A (id, code) (SELECT id,'X' FROM B WHERE name='XXX');
INSERT INTO A (id, code) (SELECT id,"X" FROM B WHERE name='XXX');
INSERT INTO A (id, code) VALUES (SELECT id,'X' FROM B WHERE name='XXX');
INSERT INTO A (id, code) VALUES (SELECT id,"X" FROM B WHERE name='XXX');
Login in to like
Login in to comment
or Read more about SQL Quizzes
Login in to like
Login in to comment