数据库
大力水手吃菠菜AA
这个作者很懒,什么都没留下…
展开
-
group by学习
执行语句select brand as 品牌,carid as 数量 from car group by brand;报错 ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'car.car.carid' which is ...原创 2019-10-22 00:27:10 · 176 阅读 · 0 评论 -
ubuntu16.4 mysql8垮库查询练习
一. 启动federated引擎: 在mysql8上开启federated引擎的方式稍微有点不同,分两步: 1. sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf 文件中加入federated一行; 2. systemctl restart mysql.service 重启mysql; 3. su - mysql //这是Linux的mys...原创 2019-09-04 00:01:11 · 166 阅读 · 0 评论