![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MYSQL数据库的使用
文章平均质量分 63
YY_FLYSKY
这个作者很懒,什么都没留下…
展开
-
MYSQL5.7版本sql_mode=only_full_group_by的问题
错提示:Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'shop_tb.a.sub_total_number' which is not functionally dependent on columns in GROUP BY clause; this is...原创 2018-03-28 22:54:47 · 140 阅读 · 0 评论 -
mysql数据查询区分大小写问题
1.MySQL数据库字段不加binary标识 查询时默认是不区分大小写的2.解决方法2.1设置MySQL 的字符校验规则 属性collection建表时 添加字段值 binarycreate table tb_seller (id bigint(20) not null ,sellerNick varchar(20) binary ,)修改表的字段属性该种情...原创 2018-11-01 10:50:56 · 50 阅读 · 0 评论 -
mysql group by和 order by的用法
一·使用顺序group by —>order by先进行分组在进行排序显示二.group by 分组取分组中的最大值使用方法例如表结构:例如查询同type类型的开启值大的select MAX(is_open) from remind_seller_config group by type注意这里select MAX(is_open) ,remind_seller_con...原创 2019-05-23 20:23:44 · 177 阅读 · 0 评论