数据表

    xiaoxiao2021-04-14  49

    MySQL表字段属性:

    主键:primary key(column_name) 自动递增:auto_increment 非空:not null 唯一性约束:unique(column_name) alter table tb_name add unique(column_name)   alter table tb_name drop index column_name 

    更改表格名字:

    alter table 旧表格名 rename as 新表格名
    转载请注明原文地址: https://ju.6miu.com/read-670197.html

    最新回复(0)