Huhu, wollte eigentlich nach einem Tutorial her folgendes eintragen:
INSERT INTO entity_stats(stat_id,entity_id,value,entity_type) VALUES ((SELECT id FROM stats WHERE short_name='token'),(SELECT id FROM items WHERE name='Red Potion'),'potion','Item');
Aber da bekomme ich immer die Fehlermeldung:
[Err] 1242 - Subquery returns more than 1 row
[Err] INSERT INTO entity_stats(stat_id,entity_id,value,entity_type) VALUES ((SELECT id FROM stats WHERE short_name='token'),(SELECT id FROM items WHERE name='Red Potion'),'potion','Item');
[Msg] Finished - Unsuccessfully
Wäre echt lieb, wenn mir da jemand weiterhelfen könnte.
Liebe Grüße Doddie