03 2022 档案

摘要:command+C 复制 command+V 粘贴 command+X 剪切 command+Z 撤销 command+A 全选 control+F 查找 及替换数据 control+B 加粗字体 command+shift+→ 连续向右选择数据,可配合方向键使用,选择全部数据 Fn+Ctrl+↑ 阅读全文
posted @ 2022-03-12 13:48 一直在寻找的路上 阅读(5422) 评论(0) 推荐(0)
摘要:1、字符串合并。 select concat('hello ','world'); 返回结果:hello world 2、对个字符串合并,并在每个字符串之间添加"-"。 SELECT CONCAT_WS("-","hello","world","!"); 返回结果:hello-world-! 3、返 阅读全文
posted @ 2022-03-04 19:14 一直在寻找的路上 阅读(273) 评论(0) 推荐(0)
摘要:1、常见的日期相关的sql -- 日期字符串转时间戳,10位,数据库存储的是13位,记得除以1000select UNIX_TIMESTAMP('2019-09-01 00:00:00'); -- 时间戳转日期select FROM_UNIXTIME(1567267200,'%Y-%m-%d %H: 阅读全文
posted @ 2022-03-04 10:34 一直在寻找的路上 阅读(424) 评论(0) 推荐(0)
摘要:1、添加新的连接 2、在Advanced中填写服务器和端口 Security: 选择Plaintext; Properties:(1)Cluster name:名字可以随意取 (2)Zoopkeeper Host:localhost 填写完成后,点击Test,看是否可以连接成功;连接通了,然后点击A 阅读全文
posted @ 2022-03-04 10:07 一直在寻找的路上 阅读(534) 评论(0) 推荐(0)