比较运算 > < = != <> <= >= 逻辑运算 and or not 范围查询 in 模糊查询 like select distinct age from classes; 将classes表格里age去重 select * from classes where id <= 3; 打印cla ...
分类:
数据库 时间:
2018-12-05 20:49:16
阅读次数:
215
Given n points in the plane that are all pairwise distinct, a “boomerang” is a tuple of points (i, j, k) such that the distance between iand j equals ...
分类:
其他好文 时间:
2018-12-04 22:40:17
阅读次数:
421
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:
其他好文 时间:
2018-12-04 22:39:12
阅读次数:
196
Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive). The binary search tree is g ...
分类:
其他好文 时间:
2018-12-04 14:50:27
阅读次数:
226
中间的动态拼接是为了防止隔天查询(如17:30-8:30),当然就收数据后要进行处理让后在传入 SELECT count(DISTINCT barcode) AS count,DATE_FORMAT(date, '%Y-%m-%d') AS ti FROM ag_cpparts WHERE DATE ...
分类:
数据库 时间:
2018-12-04 14:49:28
阅读次数:
287
Given a Binary Search Tree (BST) with the root node root, return the minimum difference between the values of any two different nodes in the tree. Exa ...
分类:
其他好文 时间:
2018-12-04 13:23:24
阅读次数:
199
通过2D或者2D点集拟合直线 void fitLine( InputArray points, OutputArray line, int distType,double param, double reps, double aeps ); @param points Input vector of ...
分类:
其他好文 时间:
2018-12-04 11:24:24
阅读次数:
1180
A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The ...
分类:
其他好文 时间:
2018-12-03 22:57:23
阅读次数:
314
修改日期格式 alter session set NLS_DATE_FORMAT = 'YYYY-MM-DD'; BETWEEN ...AND between 1000 and 2000; --可以查询到结果 between 2000 and 1000; --无法查询到结果 ...
分类:
数据库 时间:
2018-12-03 21:41:36
阅读次数:
183
最近在练习sql注入写脚本,记录一下思路,刚学的and 1=1也拿出来溜溜 http://119.23.73.3:5004/?id=1 首先,没有被过滤是正常显示。 没有被过滤但是查询不到就是空白,比如?id=99999 waf过滤关键词,提示whatfuck ① 我首先判断的是有没有用trim() ...
分类:
其他好文 时间:
2018-12-02 15:22:39
阅读次数:
470