MySQL Forums
Forum List  »  German

ergebnisse zusammenführen mit komma
Posted by: horst Treu
Date: October 06, 2009 07:35PM

hallo community,

ich verzweife an einer select abfrage ich hoffe ihr könnt mir helfen.

Query: SELECT guid, spellid from playerspells where guid = playerspells.guid;

Result:
guid spellid
25 71
25 72
25 81
25 107
25 196
25 197
25 198
25 199
25 200
28 71
28 72
28 81
28 107
28 196
28 197
28 198
28 199
28 200
....
sind rund 40000 weitere ergebnisse...

soweit so gut:-D

aber wie kann ich dieses ergebnis so umstellen das folgendes herauskommt:

guid spellid
25 71,72,81,107,196,197,198,199,200

28 71,72,81,107,196,197,198,199,200

Options: ReplyQuote


Subject
Views
Written By
Posted
ergebnisse zusammenführen mit komma
4338
October 06, 2009 07:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.