数据库
青灯码客
本是青灯不归客,却因浊酒留风尘。星光不问赶路人,岁月不负有心人。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
按分数进行分组,并将null转换为0,同时显示出所有列
在sql中将为null显示为0,分组进行展示出来(类似行转列) select c ,sum(co) from (SELECT case when t.score < 60 then '60分以下' when t.score >= 60 and t.score < 70 then '60-70' when t.score >= 70 and t.score < 80 then '70-80' when t.score >= 80 and t.score原创 2021-01-24 16:07:02 · 346 阅读 · 0 评论 -
数据库安装【MySQL 2059错误和oracle11g INS-3001】
数据库安装【MySQL 2059错误和oracle11g INS-3001】 1.mysql连接navicata时报错2059 mysq8.0及以后的版本为强加密规则caching_sha2_password,而与mysql5.7的mysql_native_password规则不同,所以navicat连接会失败。 解决方法 mysql -uroot -ppassword #登录 use mysq...原创 2019-03-24 17:21:02 · 635 阅读 · 0 评论
分享