摘要: 在mysql查询中,当查询条件左右两侧类型不匹配的时候会发生隐式转换,可能导致查询无法使用索引。下面分析两种隐式转换的情况 看表结构 phone为 int类型,name为 varchar EXPLAIN select * from user where phone = '2' EXPLAIN sel 阅读全文
posted @ 2018-05-24 22:15 freedom/cn 阅读(6921) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 import xlrd import xlwt # 读写2007 excel import openpyxl import sys #读取设备sn # def readSN(path): # wb = openpyxl.load_workbook(path) # sheet = wb.active # dict = [] # for... 阅读全文
posted @ 2018-05-24 17:51 freedom/cn 阅读(4146) 评论(0) 推荐(0) 编辑