![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
qhd1994
这个作者很懒,什么都没留下…
展开
-
OSError: mysql_config not found
编译安装mysqlclient包的时候遇到OSError: mysql_config not found的问题一种方案:yum install mysql-devel gcc gcc-devel python-devel可能会遇到如下报错,暂时没有解决方案,如果没有遇到,那很幸运,你可以直接去安装mysqlclient...原创 2021-04-27 14:50:49 · 254 阅读 · 0 评论 -
mysql数据类型转换
cast()和convert()的用法cast()和convert()是用来做类型转换的语法结构cast(values as type)convert(values,type)UPDATE tb_star_incr SET `status`='1' WHERE star_id in (SELECT * FROM (SELECT DISTINCT star_id FROM tb_star_incr WHERE `status`='0' and p_type!="组合类" AND CAST原创 2020-11-26 10:39:37 · 759 阅读 · 0 评论