There are 2 tables, spawnlist and npc, and I need to delete data from spawnlsit. npc_templateid = n.idTemplate is the onl
spawnlist
npc
spawnlsit
npc_templateid = n.idTemplate
Add .* to s in your first line.
.*
s
Try:
DELETE s.* FROM spawnlist s INNER JOIN npc n ON s.npc_templateid = n.idTemplate WHERE (n.type = "monster");