An error is reported when using SQL statements to query the Postgresql database:
LIMIT #,# syntax is not supported 建议:Use separate LIMIT and OFFSET clauses.
reason:
Postgresql does not support the LIMIT #, # syntax, it is recommended to use the LIMIT and OFFSET clauses format
solution:
//从0开始查10条数据
select * from table LIMIT 10 OFFSET 0