[DiscordArchive] Pretty new to all this but i'd like to easily add a bunch of characters to a guild (basically a hord
[DiscordArchive] Pretty new to all this but i'd like to easily add a bunch of characters to a guild (basically a hord
Archived author: Dohtt • Posted: 2024-10-26T05:45:10.100000+00:00
Original source
Pretty new to all this but i'd like to easily add a bunch of characters to a guild (basically a horde & alliance guild).
This was the query i tinkered, but it doesn't work
INSERT INTO guild_member (guild_id, guid, rank)
SELECT 1, guid, 4
FROM characters
WHERE race IN (2, 5, 6, 8, 10);
Anyone with more knowledge knows where i went wrong?
Archived author: OUTRAKE • Posted: 2024-10-26T06:45:02.745000+00:00
Original source
use `INSERT IGNORE INTO`