ページ付けされたレコードセットにいくつかの繰り返し行があることに気づきました。
このクエリを実行すると:
SELECT "students".*
FROM "students"
ORDER BY "students"."status" asc
LIMIT 3 OFFSET 0
私は得る:
| id | name | status |
| 1 | foo | active |
| 12 | alice | active |
| 4 | bob | active |
次のクエリ:
SELECT "students".*
FROM "students"
ORDER BY "students"."status" asc
LIMIT 3 OFFSET 3
私は得る:
| id | name | status |
| 1 | foo | active |
| 6 | cindy | active |
| 2 | dylan | active |
両方のクエリに「foo」が表示されるのはなぜですか?