Re: [SQL] SELECT TOP _x_ ??

From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] SELECT TOP _x_ ??
Date: 1999-04-22 14:42:39
Message-ID: 371F355F.7551BAAB@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Justin Long wrote:
>
> In Microsoft SQL Server you could issue a command
>
> SELECT TOP 5 * FROM database...

SELECT * FROM TABLE LIMIT 5;

You may have to be running 6.5, not sure.

--
Chris Bitmead
http://www.bigfoot.com/~chris.bitmead
mailto:chris(dot)bitmead(at)bigfoot(dot)com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Chris Bitmead 1999-04-22 14:45:13 Re: [SQL] Finding the "most recent" rows
Previous Message Justin Long 1999-04-22 14:33:02 SELECT TOP _x_ ??