
mysql
庸医2048
edgex foundry开发工程师
展开
-
mysql查询空格开头的字符串查法
select * from seeds where replace(wechat_id,' ','666') like '666%'原创 2018-10-15 11:41:26 · 2517 阅读 · 0 评论 -
Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operat
问题:[SQL] select * from attachments where md5 in (select md5 from attachments_md5 where md5<>'0')[Err] 1267 - Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci...原创 2018-10-18 18:51:35 · 6979 阅读 · 1 评论 -
中文匹配出来的mysql
select * from user_copy where HEX(email) REGEXP '^(..)*(E[4-9])'学习链接原创 2018-10-19 15:53:05 · 329 阅读 · 1 评论 -
GROUP_CONCAT
Mysql 这个函数的用法 GROUP_CONCAT 需要配合着分组进行的。就是以一个东西为组区分,合并一个另外一个东西的所有数据。select order_id,GROUP_CONCAT(product_name) as product_name from t_order_product GROUP BY order_id...原创 2019-04-23 15:37:47 · 207 阅读 · 1 评论