Fun at zangOOr Click Here
0 like 0 dislike
712 views
I want to set Row Range with LIMIT in postgres
in Education & Reference by (360 points)
retagged | 712 views

1 Answer

0 like 0 dislike

PostgreSQL provides a mechanism for limiting query results using the limit and / or offset SQL syntax.

Example 1: Returning the first 10 rows from a table called Name:

select * from Name limit 100

Example 2: Returning 10 records from the table Name starting at row 0

select * from Name limit 10 offset 0

by

Related questions

2 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Mar 28, 2019 in Education & Reference by Neha (950 points) | 160 views
1 like 0 dislike
0 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
3 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Jul 25, 2013 in Education & Reference by Marc (3.3k points) | 595 views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,244 questions
1,398 answers
564 comments
4,809 users