1:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which i ...
分类:
数据库 时间:
2021-05-24 02:27:35
阅读次数:
0
delete from 表名 a where 列名 in ( select t.列名 from (select 列名 ,count(*) from 表名 where 列名 is not null group by 列名 having count(*) > 1) t ) ...
分类:
其他好文 时间:
2021-05-24 02:01:44
阅读次数:
0
数据结构二叉树的基本操作设计#include <conio.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #define MAXLEN 100 #define NLAYER 4 typedef struct BiTNode / ...
分类:
编程语言 时间:
2021-05-24 01:40:53
阅读次数:
0
函数名称 函数功能 函数名称 函数功能 system_user() 系统名称 concat() 没有分隔符的连接 user() 用户名 concat_ws() 含有分隔符的连接字符串 current_user() 当前用户名 group_concat() 连接一个组的所有字符串,并以逗号分隔每一条数 ...
分类:
数据库 时间:
2021-05-24 01:02:39
阅读次数:
0
一份HAProxy配置文件 #全局配置 global #设置日志 log 127.0.0.1 local0 info #当前工作目录 chroot /usr/local/haproxy #用户与用户组 user haproxy group haproxy #运行进程ID uid 99 gid 99 ...
分类:
其他好文 时间:
2021-05-24 00:27:22
阅读次数:
0
一、整体目录: 二、文件夹作用: action: 用于封装调用 case: 用于编写测试用例 common:用于放置公共部分 configs:用于存放测试数据(比如域名、账号等) data:用于存放测试用例, otc_api:用于封装接口请求方式 mian.py:运行函数 pytest.ini: 三 ...
分类:
其他好文 时间:
2021-05-23 23:56:36
阅读次数:
0
分页查询 ★ /* 应用场景:当要显示的数据,一页显示不全,需要分页提交sql请求 语法: select 查询列表 from 表 【join type join 表2 on 连接条件 where 筛选条件 group by 分组字段 having 分组后的筛选 order by 排序的字段】 lim ...
分类:
数据库 时间:
2021-05-23 23:31:34
阅读次数:
0
动态规划——剑指 Offer 42. 连续子数组的最大和 题目: 思路: dp数组的定义:dp[i]是以 nums[i] 结尾的最大子数组和。 base_case:dp[0] = nums[0] 状态转移方程:dp[i]有两种「选择」,要么与前面的相邻子数组连接,形成一个和更大的子数组;要么不与前面 ...
分类:
编程语言 时间:
2021-05-20 17:50:09
阅读次数:
0
const http=require('http') const fs=require('fs') const path=require('path') const server=http.createServer(function(req,res){ const {url}=req console ...
分类:
Web程序 时间:
2021-05-04 15:44:00
阅读次数:
0
这里介绍两个常用的管理hadoop集群的脚本 hadoop集群启停脚本myhadoop.sh #!/bin/bash if [ $# -lt 1 ] then echo "No Args Input..." exit ; fi case $1 in "start") echo " 启动 hadoop ...
分类:
其他好文 时间:
2021-05-04 15:28:54
阅读次数:
0