setting select limit?

From: "Frank Morton" <fmorton(at)base2inc(dot)com>
To: <pgsql-sql(at)postgreSQL(dot)org>
Subject: setting select limit?
Date: 1999-02-11 01:36:57
Message-ID: 01ae01be555f$0390d4f0$8355e5ce@base2inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

If a select is going to match 1000 records, but I only want to
select the first 25, I thought I could:

select * from table limit 25;

But I guess I can't. How do I limit the query? I've search
around with no results. Thanks.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Oleg Bartunov 1999-02-11 02:10:06 Re: [SQL] setting select limit?
Previous Message Bob Dusek 1999-02-11 00:29:43 Re: [GENERAL] Select max field