diff --git a/SAEBDD.sql b/SAEBDD.sql index dfea767..14cf345 100644 --- a/SAEBDD.sql +++ b/SAEBDD.sql @@ -1,2 +1,5 @@ DROP TABLE Voiture, Types, Client, Réservartion, Stock; +CREATE TABLE Voiture( + immatriculation PRIMARY KEY CONSTRAINT Problème_Immatriculation CHECK(immatriculation LIKE '(A-Z)(A-Z)(0-9)(0-9)(0-9)(A-Z)(A-Z)') +) \ No newline at end of file