摘要: Mysql里不外乎就是 子查询 和 连接 两种方式.设第一个表为table1, 第二个为table2, table1包含table2.sql为: 1 //子查询 2 select table1.id from table1 3 where not exists 4 (select 1... 阅读全文
posted @ 2015-04-18 15:14 jianguo_wang 阅读(1397) 评论(1) 推荐(0) 编辑
摘要: #mysqldb #import time, MySQLdb ##连接 #conn=MySQLdb.connect(host="localhost",user="root",passwd="",db="test",charset="utf8") #cursor = conn... 阅读全文
posted @ 2015-04-18 10:57 jianguo_wang 阅读(164) 评论(0) 推荐(0) 编辑