📜  mysql 唯一两列 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:24.894000             🧑  作者: Mango

代码示例2
CREATE TABLE IF NOT EXISTS cliente (
    id bigint primary key auto_increment,
    nome varchar(100) not null,
    email varchar(100) not null unique,
    senha varchar(255) not null,
    documento varchar(50) not null unique,
    dataCadastro date not null
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;