i'm trying to delete rows from multiple tables but i'm getting a syntax error at medewerkers m,
Can anyone tell me what i'm doing wrong here? :
declare
v_mnr medewerkers.mnr%type;
procedure ontsla_med(p_mnr in medewerkers.mnr%type)
IS
BEGIN
DELETE FROM medewerkers m, INSCHRIJVINGEN i , UITVOERINGEN u WHERE m.MNR = p_mnr and i.cursus = p_mnr and u.docent = p_mnr;
END ontsla_med;
BEGIN
ontsla_med(7000);
END;
Seems like the delete statement is wrong?