Mysql 零散知识点

来源:互联网 发布:js里面的extend 编辑:程序博客网 时间:2024/06/14 10:24

1,自增长列取得的是该表的最大id。1,2,3  ,手工添加 6  。下一个id为7。

2,   information_schedule表可以辅助生成DDL语句。
如:select concat('drop table test1.',table_name,';') from tables where tables where table_schedule='test1' and table_name like 'temp%':生成删除 temp开头的表的sql


3,帮助命令:1,层次 ? contents 2,快速:show命令: ? show  create table 语法:? create table

0 0
原创粉丝点击