Re: any select statement like uniq in unix

2004-03-15 Thread Rhino
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 8:27 AM Subject: any select statement like uniq in unix > Hi! Is there a select statement , wich works like the command uniq in unix, > if I shall list a table with a column wich for example is telephonenumber

Re: any select statement like uniq in unix

2004-03-15 Thread Victoria Reznichenko
"Jan Blomqvist" <[EMAIL PROTECTED]> wrote: > Hi! Is there a select statement , wich works like the command uniq in unix, > if I shall list a table with a column wich for example is telephonenumber > and the same number occurs like 1000 times, and I wan,t i present just once > and also the count how

RE: any select statement like uniq in unix

2004-03-15 Thread Dan Greene
you can do something like: select phone_number, count(1) from your_table_name_here group by phone_number > -Original Message- > From: Jan Blomqvist [mailto:[EMAIL PROTECTED] > Sent: Monday, March 15, 2004 8:27 AM > To: [EMAIL PROTECTED] > Subject: any select statement li

any select statement like uniq in unix

2004-03-15 Thread Jan Blomqvist
Hi! Is there a select statement , wich works like the command uniq in unix, if I shall list a table with a column wich for example is telephonenumber and the same number occurs like 1000 times, and I wan,t i present just once and also the count how many times it occurs in the table. /Jan Blomqvis