How Can I limit the select result ? - Mailing list pgsql-sql

From ¹Ú¹Ì·æ
Subject How Can I limit the select result ?
Date
Msg-id 008201bdb6a6$3727bf20$316e69d2@tinc.co.kr
Whole thread Raw
Responses Re: [SQL] How Can I limit the select result ?
Re: [SQL] How Can I limit the select result ?
List pgsql-sql
I want to select like this...

select * from any_table where table_field > any_no limit 10 order by
table_field DESC;

I want to select more than 1000 rows.
But, I want to view only 10 from maximum to maximum -10.

How can I ?

I want to make the search engin using Postgresql.
If more than 10000 rows, there's hard to query, I think...
Does anybody know about this ?

Please help me.


pgsql-sql by date:

Previous
From: Marcio Macedo
Date:
Subject: The LIMIT Function
Next
From: Paulina Canas Urrutia
Date:
Subject: returns opaque