提取该查询的第x行
最近更新时间: 2025-02-18 16:02:00
postgres=# FETCH ABSOLUTE 2 from tbase_cur ;
id | nickname
----+-----------
2 | TDSQL PG好
(1 row)
postgres=# FETCH ABSOLUTE -1 from tbase_cur ;
id | nickname
----+------------
5 | TDSQL PG swap
(1 row)
postgres=# FETCH ABSOLUTE -2 from tbase_cur ;
id | nickname
----+---------------
4 | TDSQL PG default
(1 row)
X为负数时则从尾部向上提。