count different values in column - Mailing list pgsql-sql

From Albrecht Berger
Subject count different values in column
Date
Msg-id 007901c1e784$e3c21010$a57ba8c0@wxp
Whole thread Raw
Responses Re: count different values in column  (Tod McQuillin <devin@spamcop.net>)
Re: count different values in column  (Christoph Haller <ch@rodos.fzk.de>)
List pgsql-sql
Hello,
today I have a new question :)

I've a resulttable is generated by a couple of subselects and joins which
contains only one column.

Now I want to count the different values in the column.

Resulttable :  a
------
10
12
12
12
14
14
15

I need the value which is repeated most in the resulttable (in this example
12 ) !


Any suggestions ?


Thx
berger




pgsql-sql by date:

Previous
From: Roberto Mello
Date:
Subject: Re: [DOCS] [GENERAL] Migrating Oracle to PostgreSQL
Next
From: Tod McQuillin
Date:
Subject: Re: count different values in column