2024年8月5日

摘要: select st_asgeojson(geom) geom, st_asgeojson(st_centriod(geom)) "centerJson" from xxxtable where geom is not null and st_intersects(geom,ST_geomFromTe 阅读全文
posted @ 2024-08-05 16:43 黑子菜园 阅读(16) 评论(0) 推荐(0) 编辑
摘要: select *, row_number() over(PARTITION by 某某字段 order by 排序字段) as rn from table 例子: select * from ( select *, row_number() over(PARTITION by 某某字段 order 阅读全文
posted @ 2024-08-05 16:39 黑子菜园 阅读(105) 评论(0) 推荐(0) 编辑
摘要: select t.table_name, obj_description(c.oid) as table_comment from information_schema.tables t left join pg_class c on t.table_name::text = c.relname w 阅读全文
posted @ 2024-08-05 16:34 黑子菜园 阅读(89) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示