摘要:
SQL: select * from table where id IN (3,9,6);这样的情况取出来后,其实,id还是按3,6,9,排序的,但如果我们真要按IN里面的顺序排序怎么办?SQL能不能完成?是否需要取回来后再foreach一下?其实可以这样sql: select * from tab 阅读全文
摘要:
INSERT into user_info(version,create_user_count,create_pc_count) select version,create_user_count,create_pc_count from user_info;mysql蠕虫复制,大量数据 。 阅读全文