![]() |
|
|
|
#2
|
|||
|
so, it'd be easy to do? wouldn't it be skewed data though due to peoples' playtimes not being represented, just character levels? also, wouldn't the data be skewed towards level 1s? if good data were easy to get i'd say let's go for it
__________________
Noah, the Loincloth Hero
Ogre High Jump Champion 2019 | ||
|
|
|||
|
#3
|
||||
|
Quote:
You could certainly do something like the following: select class, count(distinct player) from players where level > 5 group by class Furthermore, you could (I assume) filter based on last login: Code:
select p.class, count(distinct p.player) from players p left outer join accounts a on p.account_id == a.account_id where p.level > 5 and now() < adddate(a.last_login, interval 7 day) group by p.class This is all based on data I would expect to be available. There's probably a better way of representing someone's "activity" level, but without knowing the schema it's pretty hard to speculate on.
__________________
Kruall - Troll Shaman
Ferok - Dwarf Warrior | |||
|
Last edited by Ferok; 03-30-2010 at 04:00 PM..
Reason: code tags
|
|
|||
![]() |
|
|