数据库、数据分析
文章平均质量分 74
一只鹅 嘎
我很懒,什么都没有写
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python用mysql.connector连接虚拟机的mysql数据库
本文主要内容: 使用mysql.connector连接数据库 查找mysql的ip地址和端口号 一、 import mysql.connector #导入mysql的包 conn = mysql.connector.connect(host='xxx',port=3306,user='root',password='xxx',database='xxx') #连接数据库 cursor=conn.cursor(buffered=True) #开启缓存区 cursor.execute('select *原创 2020-09-14 22:57:05 · 2091 阅读 · 1 评论 -
SQL回顾学习与数据清洗基础操作
SQL基本语法的回顾学习与数据清洗基础操作 SQL语句执行顺序 from #选择库 where #限定条件 group by #分组 聚合函数 #count sum max等 having #后续筛选 select order by limit unoin #将查询结果放一起 SQL基本语法 use 库名 show tables #显示库里的表 desc 表名 #显示表里的字段及类型 select from where left join\join order by #默认升序 limit原创 2020-07-21 21:31:46 · 358 阅读 · 0 评论
分享