am  Thu, dem 19.10.2006, um  6:55:41 -0700 mailte chester c young folgendes:
> --- "A. Kretschmer" <[EMAIL PROTECTED]> wrote:
> 
> > > I would like to select the 3 (or 10) names with the most votes for
> > each day.
> > > 
> > > Any suggestions on how can it be done easily?
> 
> Am I misunderstanding, or can you write a simple:
> 
> select * from <table> where <date>='2006-10-10'
> limit 5 order by <vote_ct> desc;

>From the first mail:
"I would like to select the 3 (or 10) names with the most votes for each day."

_FOR_ _EACH_ _DAY_.


Your query returns the values only for one day...



Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to