04 2021 档案
摘要:1、主键和外键需要写在子段定义的最后面 2、主键:primary key(字段) 外键:(foreign key(字段) references 表(字段)) CREATE TABLE T_ Department (FId VARCHAR (20),FName VARCHAR (20),FLevel
阅读全文
摘要:select column_name,column_comment,column_data_type from information_schema.columns wehre table_name='表名称' and table_schema='数据库名称' information_schema.
阅读全文