Re: [SQL] trivial problem

From: Mathijs Brands <mathijs(at)ilse(dot)nl>
To: Frank Joerdens <frank(at)x9media(dot)com>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] trivial problem
Date: 1999-10-29 14:32:53
Message-ID: 19991029163253.A20151@ilse.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, Oct 29, 1999 at 02:55:29PM +0200, Frank Joerdens allegedly wrote:
> this sounds as if there must be a rather trivial solution:
>
> i am looking for the 50 rows with the largest value for a particular
> column. i could create a view with
>
> create view as select * from table order by column;
>
> and then somehow only retrieve the top 50 rows . . . but how?
>
> thanks
>
> frank
>
> ************

Use limit?

Mathijs

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Roderick A. Anderson 1999-10-29 17:07:16 Re: [SQL] trivial problem
Previous Message Oleg Bartunov 1999-10-29 14:27:40 Re: [SQL] trivial problem