Commit e9fffc81 authored by Julie Pichon's avatar Julie Pichon
Browse files

Update init.sql

parent 3c7579cc
......@@ -154,6 +154,12 @@ CREATE TABLE Panneau(
PRIMARY KEY (ID, salle)
);
CREATE VIEW vExpos AS
SELECT * FROM Expo_Perm
UNION ALL
SELECT nom FROM Expo_Temp ;
INSERT INTO Artiste (nom, prenom, naiss, mort) VALUES ('Rodin', 'Auguste', TO_DATE('1840-11-12', 'YYYY-MM-DD'), TO_DATE('1917-11-17', 'YYYY-MM-DD'));
INSERT INTO Artiste (nom, prenom, naiss, mort) VALUES ('De Vinci', 'Léonard', TO_DATE('1452-04-14', 'YYYY-MM-DD'), TO_DATE('1519-05-02', 'YYYY-MM-DD'));
INSERT INTO Artiste (nom, prenom, naiss, mort) VALUES ('Monet', 'Claude', TO_DATE('1840-11-14', 'YYYY-MM-DD'), TO_DATE('1926-12-05', 'YYYY-MM-DD'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment