摘要: connection = pymysql.connect(host = '139.******', port = 3918, user = 'admin', password = '**********', db = 'information_schema', charset='GBK', curs 阅读全文
posted @ 2017-07-21 17:43 Aogon 阅读(199) 评论(0) 推荐(0)
摘要: 创建左连接 语句如下:select * from A Left JOIN B ON A.Aid=B.Bnameid 用一个表的某些列update另一个表 SET SQL_SAFE_UPDATES = 0; #安全模式下不能升级,改成0update customer, history set cust 阅读全文
posted @ 2017-07-21 15:03 Aogon 阅读(109) 评论(0) 推荐(0)