码迷,mamicode.com
首页 >  
搜索关键字:select 不可修改    ( 40275个结果
基于 geopandas 读取 postgis数据 + 求地球两点的方位角-球面距离-欧氏距离
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
mysql 分组行号
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的理解和使用
cte可以使用在递归和非递归方式,在非递归方式时,优点可以提高性能,确定可能会有点难理解 1、非递归 有这么一张表,要查询当前菜单的信息以及父菜单的名称,也就是说要把pid换成pname 传统方式,使用子查询或自连接查询 select m.*, (select name from menu wher ...
分类:数据库   时间:2021-03-16 14:10:00    阅读次数:0
react debug from VS Code —— the Debugger for Chrome extension
原文: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中使用年月日来进行分组
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
sqli-labs系列——第二关
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
分页查询优化
自增且连续主键的分页查询 避免前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
数据库教程:mysql语句书写顺序和执行顺序的差异
mysql语句的书写顺序和执行顺序有很大差异。 书写顺序,mysql的一般书写顺写为: select <要返回的数据列> from <表名> join on where group by <分组条件> having <分组后的筛选条件> order by <排序条件> limit <行数限制> 然而 ...
分类:数据库   时间:2021-03-15 11:19:23    阅读次数:0
NC 自定义项参照设置为查询条件
select * from pub_query_condition where pk_templet in (select id from pub_query_templet where node_code like'HTK103%')把consult_code 设置成bd_refinfo的参照名字 ...
分类:其他好文   时间:2021-03-15 10:59:36    阅读次数:0
40275条   上一页 1 ... 28 29 30 31 32 ... 4028 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!