
CMS Corporate Design Apache fine tuning Linux ( ) linuxweb.net webdesign ritterhudecomplex grouping mysql (ranking with groups)from a table i want to create groups by 4 (players) different "Klasse" ordered by KW (strentgh) in one select query.
Each group of 4 must NOT contain same "Klasse" and the next group have to be the next highest KW. so grp1 contains "Klasse" = 1 "Kreuzritter", 1 "Zauberer", 1 "Dämonenjäger", 1 "Mönch" with the highest KW grp2: contains "Klasse" = 1 "Dämonenjäger", 1 "Zauberer", 1 "Kreuzritter", 1 "Barbar" (2nd best KW constalation) grpX can have any other constalation by "Klasse" but the next highest KW group sqlfiddle example: complex grouping solution explicit some "Klasse" should not grouping with other specific! this can be done by edit:
- 1449 Chars - 144 Wörter , Views: 4796 War die Information auf dieser Seite für Sie hilfreich?
Bewerten:
Rating:2.98
192 Character(s) Remaining
to prevent slamming comments, post will be checked for bad content and released to public when passed.
letzte Aktualisierung 2023-11-29 11:42:13 von admin |
Visitors