SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
INSERT INTO prices ( group, id, price ) SELECT 7, articleId, 1.50 FROM article WHERE name LIKE 'ABC%';