上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 48 下一页
摘要: 转自: https://www.yisu.com/zixun/595682.html 这篇文章主要介绍mysql中分组获取前三条记录的方法,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完! 要求:编写一个SQL,获取部门工资前三高的员工。 员工表和部门表结构: CREATE TA 阅读全文
posted @ 2022-06-15 09:46 仁义礼智信的 阅读(4748) 评论(1) 推荐(1)
摘要: set @r:=0;update settle_content set id=(@r:=@r+1); 阅读全文
posted @ 2022-05-25 16:26 仁义礼智信的 阅读(28) 评论(0) 推荐(0)
摘要: use mysql; select user,host from user; ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123'; 阅读全文
posted @ 2022-05-20 08:52 仁义礼智信的 阅读(33) 评论(0) 推荐(0)
摘要: $preg = "/特定(.*?)特定/i";preg_match_all($preg, $cc, $res);print_r($res[1]); 阅读全文
posted @ 2022-05-12 14:47 仁义礼智信的 阅读(432) 评论(0) 推荐(0)
摘要: 转自 https://blog.csdn.net/weixin_49289485/article/details/123018366 GPG Keys are configured as:file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql原因: GPG对于包的源key 阅读全文
posted @ 2022-05-06 09:26 仁义礼智信的 阅读(32) 评论(0) 推荐(0)
摘要: 转自:https://mp.weixin.qq.com/s/azpzPu1Le6i-4ldyDDdz6g 阅读全文
posted @ 2022-05-05 08:46 仁义礼智信的 阅读(13) 评论(0) 推荐(0)
摘要: 在linux下,使用git pull拉取代码时,每次都要输出merge合并信息,然后wq.有点烦躁 在请教了两个搜索引擎大哥后依然没解决,答案都是千篇一律 最后自己研究处理了 1.查看git log信息,对比看是否多了一个包含Merge的commit信息 2.回滚提交信息,保存commit日志同步, 阅读全文
posted @ 2022-04-21 16:37 仁义礼智信的 阅读(1643) 评论(0) 推荐(0)
摘要: 月初时间戳 strtotime(date('Y-m-01')); strtotime(date('Y-m-d', strtotime('first day of this month'))) 月末时间戳 strtotime(date('Y-m-t 23:59:59')) strtotime(date 阅读全文
posted @ 2022-04-14 14:31 仁义礼智信的 阅读(60) 评论(0) 推荐(0)
摘要: 转自: https://my.oschina.net/summergao/blog/3078348 修改mysql登录设置 [root@localhost ~]# vim my.cnf 在[mysqld]段中加入 skip-grant-tables 保存之后重启mysql服务 [root@local 阅读全文
posted @ 2022-04-12 10:55 仁义礼智信的 阅读(446) 评论(0) 推荐(0)
摘要: ./configure --prefix=/usr/local/php7.4.28 --with-config-file-path=/usr/local/php7.4.28/etc --enable-fpm --with-fpm-user=www --with-fpm-group=www --ena 阅读全文
posted @ 2022-04-07 09:10 仁义礼智信的 阅读(70) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 48 下一页