摘要:
(此处创建连接和游标代码省略) sql1 = "SELECT * FROM 表名称" # SQL语句1 cursor1.execute(sql1) # 执行SQL语句1 read1=list(cursor1.fetchall()) # 读取结果1 sql2="SHOW FULL COLUM... 阅读全文
摘要:
#coding:utf-8 import pymysql # 连接数据库 conn1=pymysql.Connect(host="127.0.0.1", user="root", password="密码", port=3306, ... 阅读全文