博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
mysql学习笔记
阅读量:2433 次
发布时间:2019-05-10

本文共 205 字,大约阅读时间需要 1 分钟。

修改table名字

 alter table teacher rename teachers;

修改字段属性

 alter table teacher modify id tinyint not null;

添加一个列

alter table teacher add time timestamp not null;

删除一个列

alter table teacher drop column timestamp;

转载地址:http://oummb.baihongyu.com/

你可能感兴趣的文章
JSP中EL表达式入门与简介
查看>>
Spring入门实例
查看>>
Spring的几种注入方式
查看>>
Spring自动装配
查看>>
Hibernate入门与实例
查看>>
Jython入门学习
查看>>
Hiberate基础用法实例
查看>>
Maven编译时指定JDK版本
查看>>
Hibernate单向关联N-1
查看>>
Hibernate单向关联1-1
查看>>
jQuery自定义动画
查看>>
Spring-data-redis在shiro中的实例
查看>>
GUN C中__attribute__作用
查看>>
3、系统调用之SYSCALL_DEFINE分析
查看>>
linux的signal_pending及signal
查看>>
OBJDUMP用法
查看>>
c/cplusplus通用makefile
查看>>
JavaScript-密码强度
查看>>
【SSH】1366-InCorrect string value:'\xE9\x99\x88\xE6\x96\xB0...'for column 'name' at row 1
查看>>
SpringCloud前身之微服务
查看>>