NDI-2019/database.sql
2019-12-05 23:50:29 +01:00

18 lines
398 B
SQL

CREATE TABLE IDENTITE (
idIdentite INT NOT NULL AUTO_INCREMENT ,
nom VARCHAR(30) NOT NULL ,
prenom VARCHAR(30) NOT NULL ,
email VARCHAR(50) NOT NULL ,
dateNaissance DATE NOT NULL ,
genre VARCHAR(20) NOT NULL ,
PRIMARY KEY (idIdentite)
);
CREATE TABLE USER (
idUser INT NOT NULL AUTO_INCREMENT,
login VARCHAR(20) NOT NULL,
password VARCHAR(20) NOT NULL,
)