I would like to insert new values into a table where one of the values is being selected from another table with a condition, and the other value is a constant (hardcoded)
this command gives a syntax error
INSERT INTO table1 (itemId, reservedId) VALUES (SELECT id FROM table2 WHERE condition, 213) ;
error message : syntaxe error at line 2