Medlem
|
|
Reg.datum: Feb 2006
Inlägg: 207
|
|
Medlem
Reg.datum: Feb 2006
Inlägg: 207
|
Hej, körde en liknande förut men får svaret: "ERROR 1247 (42S22): Reference 'max_users' not supported (reference to group function)". Googlade felmeddelandet och fick upp artikeln "groupwise max":
"One of the common problems to solve in SQL is "Get row with the group-wise maximum". Getting just the maximum for the group is simple, getting the full row which is belonging to the maximum is the interesting step."
Som har adressen http:// jan.kneschke.de/projects/mysql/groupwise-max
Efter att väldigt snabbt ha skummat den bör den kunna läsa mina problem (i alla fall enligt sumeringen), ska lusläsa den under morgondagen. Håller denna tråd uppdaterad.
|