摘要:
一、Mysql 1、Mysql 批量删除表数据 SELECT CONCAT('delete from ',table_name,';') FROM information_schema.`TABLES` WHERE table_schema='数据库名'; 2、复制表结构及表数据 create ta 阅读全文
摘要:
1、基本语法 SELECT * FROM table LIMIT [offset,] rows | rows OFFSET offset; 如果只给定一个参数,表示记录数。 SELECT * FROM table LIMIT 5; //检索前5条记录(1-5) 相当于 SELECT * from t 阅读全文