2020
10-10
10-10
Mysql DDL常见操作汇总
库的管理创建库createdatabase[ifnotexists]库名;删除库dropdatabases[ifexists]库名;建库通用的写法dropdatabaseifexists旧库名;createdatabase新库名;示例mysql>showdatabaseslike'javacode2018';+-------------------------+|Database(javacode2018)|+-------------------------+|javacode2018|+-------------------------+1rowinset(0.00sec)mysql>dropdatabaseifexistsjavacode2018;Q...
继续阅读 >