import numpy as np import nvector as nv # 基于 geopandas 取 postgis数据 sql = 'SELECT * FROM node_table' g_out = gpd.read_postgis(sql=sql, con=pgisCon, geo ...
分类:
其他好文 时间:
2021-03-17 14:58:34
阅读次数:
0
select id, @group_row:=CASE when @parent_code=a.staff_id then @group_row+1 else 1 end as groupRow, @parent_code:=a.staff_id as parent_code from ss_sta ...
分类:
数据库 时间:
2021-03-17 14:22:05
阅读次数:
0
cte可以使用在递归和非递归方式,在非递归方式时,优点可以提高性能,确定可能会有点难理解 1、非递归 有这么一张表,要查询当前菜单的信息以及父菜单的名称,也就是说要把pid换成pname 传统方式,使用子查询或自连接查询 select m.*, (select name from menu wher ...
分类:
数据库 时间:
2021-03-16 14:10:00
阅读次数:
0
原文:https://code.visualstudio.com/docs/nodejs/reactjs-tutorial To debug the client side React code, we'll need to install the Debugger for Chrome exten ...
分类:
其他好文 时间:
2021-03-16 14:09:27
阅读次数:
0
SQL按年月日进行分组 select count(project_name), create_at from table_a group by date_format(create_at, '%Y%m%d'); ...
分类:
数据库 时间:
2021-03-16 13:54:07
阅读次数:
0
less2 and 1=1有回显,and 1=2无回显,为数值型注入 order by 4–+报错,有3行 查询数据库名 ?id=0' union select 1,(select group_concat(schema_name) from information_schema.schemata) ...
分类:
数据库 时间:
2021-03-16 13:40:45
阅读次数:
0
冒泡排序 1.动图演示 2.代码实现 private static void bubbleSort(int[] arr) { if (arr.length <= 1) return; for (int i = 0; i < arr.length; i++) { // 用于标识数组是否有序 boole ...
分类:
编程语言 时间:
2021-03-16 13:24:13
阅读次数:
0
告诉mysql客户端这边的文字编码 告诉mysql希望返回的结果集编码; set character_set_client=gbk; set character_set_results=gbk; 查看最大上传文件大小 show global variables like 'max_allowed_p ...
分类:
数据库 时间:
2021-03-16 11:52:41
阅读次数:
0
Binary Trees With Factors (M) 题目 Given an array of unique integers, arr, where each integer arr[i] is strictly greater than 1. We make a binary tree u ...
分类:
其他好文 时间:
2021-03-15 11:24:45
阅读次数:
0
自增且连续主键的分页查询 避免前n条记录的读取[https://dev.mysql.com/doc/refman/5.7/en/limit-optimization.html](mysql manual),可以采用: select * from t1 where id >99000 limit 2; ...
分类:
其他好文 时间:
2021-03-15 11:20:12
阅读次数:
0