I add a row to a table, rthen want to add a row in another table with theh id
of the first inserted row:

<cfquery name="addOpdrachtGever"
datasource="#datasource#">
INSERT INTO opdrachtgever(
naam,
adres,
PC,
plaats,
telefoon,
fax,
mobiel,
email,
www,
opmerking)
VALUES("#FORM.opdrNaam#",
"#FORM.opdrAdres#",
"#FORM.opdrPC#",
"#FORM.opdrPlaats#",
"#FORM.opdrTelefoon#",
"#FORM.opdrFax#",
"#FORM.opdrMobiel#",
"#FORM.opdrEmail#",
"#FORM.opdrWWW#",
"#FORM.opdrOpmerking#")
</cfquery>


<cfquery name="insertOpdrachtGeverId"
datasource="#datasource#">
INSERT INTO projects(opdrachtGeverId)
VALUES (LAST_INSERT_ID())
WHERE id = #SESSION.ACTIONDATA.PROJECTID#
</cfquery>

opdrachtgever.id is an autoIncrement field

But I get this error:

Error Executing Database Query.
Syntax error or access violation: You have an error in your SQL syntax. Check
the manual that corresponds to your MySQL server version for the right syntax
to use near 'WHERE id = '29'' at line 3

Whats wrong here?