Mysql
 sql >> Database >  >> RDS >> Mysql

SQL per la query di eliminazione

Non specifichi il tuo RDBMS, quindi eccolo in MySQL

DELETE teammembers FROM teammembers
JOIN teams on teammembers.teamId = teams.teamId
WHERE teams.eventId = 1