�0�2创建表的语法 -创建表格语法: create table 表名( �0�2�0�2 字段名1�0�2 字段类型(长度) 是否为空, �0�2�0�2 字段名2�0�2 字段类型�0�2�0�2�0�2�0�2�0�2�0�2 是否为空);-增加主键 alter table 表名 add constraint 主键名 primary key (字段名1);-增加外键: alter table 表名 �0�2�0�2 add constraint 外键名 foreign key (字段名1) �0�2�0�2�0�2�0�2�0�2 references 关联表 (字段名2); 在建立表格时就指定主键和外键 create table T_STU�0�2 (