postgresql数据库使用随记
select count(*) from pg_class where relname = tableName ;
这里查询的tableName是区分大小写的。
select * from tableName order by columnName limit x offset y;
这里order by是必要的,否则每次查询结果可能会有变化
select count(*) from pg_class where relname = tableName ;
这里查询的tableName是区分大小写的。
select * from tableName order by columnName limit x offset y;
这里order by是必要的,否则每次查询结果可能会有变化