上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 40 下一页
该文被密码保护。 阅读全文
posted @ 2020-05-09 23:58 chenzechao 阅读(0) 评论(0) 推荐(0)
摘要: with data as ( select '2020-04-15' as day,'收入' as type,'test1' as name,100 as amt, 5000 as bal union all select '2020-04-16' as day,'支出' as type,'test 阅读全文
posted @ 2020-04-20 18:28 chenzechao 阅读(179) 评论(0) 推荐(0)
摘要: -- Mysql按指定分组排序 select t5.task_id ,concat('TH-',t5.proj_name,'-',lpad(rn,7,'0')) as id ,t5.complaint -- 详细地址 ,t5.requester -- 联络人 ,t5.phone -- 电话 ,t5. 阅读全文
posted @ 2020-04-20 09:05 chenzechao 阅读(1148) 评论(0) 推荐(0)
摘要: https://www.postgresql.org/download/linux/redhat/ yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-l 阅读全文
posted @ 2020-04-10 22:22 chenzechao 阅读(419) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2020-04-03 17:32 chenzechao 阅读(1) 评论(0) 推荐(0)
摘要: 如为8.0以上版本,可以直接使用原生的json解析器处理,低版本不支持 set @fild='"},{"'; SELECT t1.id ,t2.num_rn ,substring_index(substring_index(t1.image_file,@fild, t2.num_rn + 1), ' 阅读全文
posted @ 2020-04-03 11:33 chenzechao 阅读(1692) 评论(0) 推荐(0)
摘要: -- oracle select substr(md5(key_id),1,1) as flag ,count(1) as cnt from ( select 1 as key_id union all select 2 as key_id union all select 3 as key_id 阅读全文
posted @ 2020-03-31 22:33 chenzechao 阅读(419) 评论(0) 推荐(0)
摘要: https://help.aliyun.com/knowledge_detail/41751.html?spm=5176.10695662.1996646101.searchclickresult.52cf1441JfXe4V 在导出数据时报错 ERROR: Could not construct 阅读全文
posted @ 2020-03-30 15:19 chenzechao 阅读(683) 评论(0) 推荐(0)
摘要: 1. 通过查询是否有DDL或DML操作语句,因为锁表正常都是这两种导致的 2. 查询show processlist 3. 找到相应的语句,执行kill 阅读全文
posted @ 2020-03-22 21:28 chenzechao 阅读(537) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/kawashibara/p/8961646.html 阅读全文
posted @ 2020-03-21 22:41 chenzechao 阅读(379) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 40 下一页