Restricting number of entries returned

Поиск
Список
Период
Сортировка
От Neil Burrows
Тема Restricting number of entries returned
Дата
Msg-id 000101bdb028$9917b4d0$0201a8c0@taz.lenzie.net
обсуждение исходный текст
Ответы Re: [SQL] Restricting number of entries returned  (Zsolt Varga <redax@agria.hu>)
Список pgsql-sql
Hi,

Is there any way of restricting the number or entries returned in an SQL
query?

For example, if you wanted to do a select that ordered the results by a
certain field, and only wanted the "Top 10" entries, is there any way to
specify that you just want the 1st 10 records?

Thanks in advance,

See ya,

Neil Burrows
  /~\  /~\ /~~~~\   E-Mail   - neil@remo.demon.co.uk
  |   \| | | () /            - nburrows@cs.strath.ac.uk
  | |\   | | () \   PGP Key  - http://www.remo.demon.co.uk/pgp/
  \_/  \_/ \____/   Internet - http://www.remo.demon.co.uk/


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Jackson, DeJuan"
Дата:
Сообщение: RE: [SQL] Typecasting in SQL functions
Следующее
От: Zsolt Varga
Дата:
Сообщение: Re: [SQL] Restricting number of entries returned