随笔分类 -  sql

摘要:create database practiceSql; use practiceSql; -- create table student( `id` bigint not null auto_increment comment '主键id自增', `name` varchar(20) not null comment '学生名', `student_num` int ... 阅读全文
posted @ 2018-08-25 01:14 胡叔叔 阅读(595) 评论(0) 推荐(0)
摘要:复合主键是一个表中 用两个字段来确定数据唯一性 联合主键则是用两个或多个表中的主键组合起来确定数据唯一性 阅读全文
posted @ 2018-08-21 22:56 胡叔叔 阅读(2529) 评论(1) 推荐(1)