SQL Help needed!
#5

Selecting rows within a range is simple enough, but if you're not storing time and date with each kill then you don't have anything to apply that range to.

You can count kills for each userid, however:
PHP код:
select killuseridcount(*) as numkills from kills group by killuserid order by numkills desc limit 10 
Reply


Messages In This Thread
SQL Help needed! - by RedFusion - 30.12.2016, 22:02
Re: SQL Help needed! - by iLearner - 30.12.2016, 22:09
Re: SQL Help needed! - by RedFusion - 30.12.2016, 22:14
Re: SQL Help needed! - by BiosMarcel - 30.12.2016, 22:23
Re: SQL Help needed! - by Vince - 30.12.2016, 22:27
Re: SQL Help needed! - by RedFusion - 30.12.2016, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)