I am searching for a solution to add multiple values into a table where one of these values is coming from another table. Something like this:
INSERT INTO Table2 (Telnumber, adress) VALUES ('12324567890',
SELECT applicatieID from Applicatie WHERE Naam = 'piet' )
So 1 of the values has to come from another table and the other values I have to insert myself. The above query won't work. Does anybody have a solution?