On Mon July 28 2003 22:59, Oliver Graf wrote: > On Mon, Jul 28, 2003 at 09:30:01PM +0300, Peter Nixon wrote: > > On Thu July 24 2003 23:13, Daniel Destro do Carmo wrote: > > > How can I select (using SQL) just the unique records to see > > > how many calls and to calculate the total time each user has > > > used??? > > > > Postgres has a UNIQUE keyword, not sure about MySQL.. > > DISTINCT? > > http://www.mysql.com/doc/en/SELECT.html
Yep. thats it :-) -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
