06 2020 档案

摘要:update select 从查询结果中更新数据 示例场景 两个表 ordrs, sum_orders, sum_orders 中的count是 orders中相同project_id的count之和;cost同理 一条语句直接更新sum_orders中的count & cost #orders # 阅读全文
posted @ 2020-06-26 19:55 jihite 阅读(5181) 评论(0) 推荐(0) 编辑
摘要:各种叫法 是否ES、ElasticSearch、ELK... 这一套发家于ElasticSearch, 后来加入了Logstash + Kibana(简称ELK) 后来又加入了Beats,为了避免以后有更多部分的加入引起起名尴尬,改叫Elastic Stack Elastic Stack=Elast 阅读全文
posted @ 2020-06-19 13:17 jihite 阅读(1070) 评论(0) 推荐(1) 编辑
摘要:场景 python 代码,打印1~3000,每秒打印一次 ## file_name: test.py import time i = 0 while 1: time.sleep(1) i = i + 1 print(i) if i > 3000: break 问题:直接在终端执行:python te 阅读全文
posted @ 2020-06-06 16:49 jihite 阅读(8160) 评论(0) 推荐(0) 编辑
摘要:☆日期函数 日期符号对应关系 年 月 日 时 分 秒 Y m d H i s 获取当前日期 now() > select now(); + + | now() | + + | 2020-06-02 22:21:20 | + + 1 row in set (0.03 sec) 昨天 DATE_FORM 阅读全文
posted @ 2020-06-06 13:00 jihite 阅读(440) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示