摘要:
sql查询语句的完整语法: # select .. from .. where .. group by .. having .. order by .. limit .. 一、单表查询 建表语句: create table employee( id int not null unique auto_ 阅读全文
posted @ 2020-08-29 22:06
kongxiangqun20220317
阅读(234)
评论(0)
推荐(0)
摘要:
一、约束 """ unsigned 无符号 not null 不为空 default 设置默认值 unique 唯一约束,数据唯一不重复 primary key 主键,标记数据的唯一特征(唯一且不为空) auto_increment 自增加1(一般配合主键使用, 或 unique进行自增) zero 阅读全文
posted @ 2020-08-29 14:27
kongxiangqun20220317
阅读(291)
评论(0)
推荐(0)

浙公网安备 33010602011771号