摘要: Solution 1:Add Unique Index on your table:ALTER IGNORE TABLE `TableA` ADD UNIQUE INDEX (`member_id`, `quiz_num`, `question_num`, `answer_num`);Solut... 阅读全文
posted @ 2015-02-07 21:34 emanlee 阅读(616) 评论(0) 推荐(0)
摘要: python去掉行尾的换行符mystring.strip().replace(' ', '').replace('\n', '').replace('\t', '').replace('\r', '').strip() 阅读全文
posted @ 2015-02-07 20:24 emanlee 阅读(10324) 评论(0) 推荐(0)