select count of distinct rows - Mailing list pgsql-sql

From Havasvölgyi Ottó
Subject select count of distinct rows
Date
Msg-id 003001c5fded$53a2c5a0$0200a8c0@OTTO
Whole thread Raw
In response to unsubscribe  ("Dinesh Pandey" <dpandey@secf.com>)
Responses Re: select count of distinct rows
Re: select count of distinct rows
Re: select count of distinct rows
List pgsql-sql
Hi,
 
I would like to select the count of distinct rows in a table.
 
SELECT COUNT(DISTINCT *) FROM mytable;
 
This does not work. How can I do it with Postgres?
 
Thanks,
Otto

pgsql-sql by date:

Previous
From: "Leif B. Kristensen"
Date:
Subject: Re: Error from trigger
Next
From: Jaime Casanova
Date:
Subject: Re: select count of distinct rows