04 2021 档案

摘要:1、主键和外键需要写在子段定义的最后面 2、主键:primary key(字段) 外键:(foreign key(字段) references 表(字段)) CREATE TABLE T_ Department (FId VARCHAR (20),FName VARCHAR (20),FLevel 阅读全文
posted @ 2021-04-25 11:14 西江月明 阅读(4458) 评论(0) 推荐(0) 编辑
摘要:select column_name,column_comment,column_data_type from information_schema.columns wehre table_name='表名称' and table_schema='数据库名称' information_schema. 阅读全文
posted @ 2021-04-25 10:13 西江月明 阅读(359) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示