摘要:
#/usr/bin/python #-*- coding:utf-8 -*- #@Time :2017/11/24 4:48 #@Auther :liuzhenchuan #@File :索引.py import MySQLdb # 把分数小于5分的成绩都加6分 sql = '''alter tab 阅读全文
posted @ 2017-11-24 04:53
刘振川的博客
阅读(181)
评论(0)
推荐(0)
摘要:
#/usr/bin/python #-*- coding:utf-8 -*- #@Time :2017/11/24 4:40 #@Auther :liuzhenchuan #@File :删除数据.py #!/usr/bin/env python # -*- coding:utf-8 -*- # @ 阅读全文
posted @ 2017-11-24 04:52
刘振川的博客
阅读(716)
评论(0)
推荐(0)
摘要:
#/usr/bin/python #-*- coding:utf-8 -*- #@Time :2017/11/24 4:45 #@Auther :liuzhenchuan #@File :更改数据.py import MySQLdb # 把分数小于5分的成绩都加6分 sql = '''select 阅读全文
posted @ 2017-11-24 04:52
刘振川的博客
阅读(242)
评论(0)
推荐(0)
摘要:
#/usr/bin/python #-*- coding:utf-8 -*- #@Time :2017/11/24 4:21 #@Auther :liuzhenchuan #@File :查询数据.py # 查询数据库 import codecs import MySQLdb select_stud 阅读全文
posted @ 2017-11-24 04:38
刘振川的博客
阅读(225)
评论(0)
推荐(0)
摘要:
#/usr/bin/python #-*- coding:utf-8 -*- #@Time :2017/11/24 2:59 #@Auther :liuzhenchuan #@File :增加#数据.py #select * from tmp 10行数据 #select * from tmp a , 阅读全文
posted @ 2017-11-24 04:37
刘振川的博客
阅读(500)
评论(0)
推荐(0)
摘要:
一. 创建表 #/usr/bin/python #-*- coding:utf-8 -*- #@Time :2017/11/22 18:05 #@Auther :liuzhenchuan #@File :创建表.py import MySQLdb def connect_mysql(): db_co 阅读全文
posted @ 2017-11-24 04:36
刘振川的博客
阅读(446)
评论(0)
推荐(0)