MySQL Query

10/10/2012 00:56 .CHHorny#1
Hey COM.
Ich suche eine Query die die Coins von einem Account auf 5000 setzt.
Ein andere User hat auch danach gefragt, aber keine Antwort bekommen
10/10/2012 01:20 Mijago#2
update account.account set coins = 5000 where login="hallo" LIMIT 1;

oder

update account.account set coins = 5000 where id = 123 LIMIT 1;

oder

update account.account set coins = 5000 where id=(SELECT account_id FROM player.player WHERE name="KarlHeinz" LIMIT 1) LIMIT 1;
10/10/2012 01:32 .CHHorny#3
Vielen Dank Mijago.