changement data

master
kevin.modejar 5 months ago
parent 8d00587066
commit c9d0267d53

@ -0,0 +1,26 @@
INSERT INTO Question (texte, answerA, answerB, answerC, answerD, cAnswer)
VALUES
('May the Force be with you.', 'Star Wars', 'Star Trek', 'The Matrix', 'Blade Runner', ''Star Wars''),
('I m gonna make him an offer he can t refuse.', 'The Godfather', 'Goodfellas', 'Scarface', 'The Sopranos', 'The Godfather'),
('To infinity and beyond!', 'Toy Story', 'The Incredibles', 'Finding Nemo', 'Shrek', 'Toy Story'),
('All we have to decide is what to do with the time that is given to us.', 'The Lord of the Rings', 'Harry Potter', 'The Hobbit', 'Narnia', 'The Lord of the Rings'),
('I am your father.', 'Star Wars', 'The Terminator', 'Star Trek', 'Guardians of the Galaxy', 'Star Wars'),
('It is a trap!', 'Star Wars', 'Battlestar Galactica', 'Star Trek', 'The Matrix', 'Star Wars'),
('Winter is coming.', 'Game of Thrones', 'The Witcher', 'Vikings', 'The Mandalorian', 'Game of Thrones'),
('Elementary, my dear Watson.', 'Sherlock Holmes', 'Agatha Christie', 'Poirot', 'The Hound of the Baskervilles', 'Sherlock Holmes'),
('Here is looking at you, kid.', 'Casablanca', 'Gone with the Wind', 'Citizen Kane', 'The Maltese Falcon', 'Casablanca');
-- INSERTION TABLE Quiz_Question
INSERT INTO Quiz_Question (quiz, question)
VALUES
(1, 10),
(1, 11),
(1, 12),
(1, 13),
(1, 14),
(1, 15),
(2, 16),
(2, 17),
(2, 18),
(2, 19);

@ -109,13 +109,7 @@ INSERT INTO Image (id_img, imgPath) VALUES (107, 'https://tse1.mm.bing.net/th/id
-- Insertion des utilisateurs dans la table Users et Admin -- Insertion des utilisateurs dans la table Users et Admin
INSERT INTO Users (id_user, username, email, password, img, creation) INSERT INTO Users (id_user, username, email, password, img, creation)
VALUES (1, 'john_doe', 'john.doe@example.com', 'hashed_password', 1, '2024-01-01'); VALUES (1, 'admin', 'admin@admin.com', 'hashed_password', 1, '2024-01-01');
INSERT INTO Users (id_user, username, email, password, img, creation)
VALUES ('2', 'jane_smith', 'jane.smith@example.com', 'hashed_password', 2, '2024-01-02');
INSERT INTO Users (id_user, username, email, password, img, creation)
VALUES ('3', 'bob_brown', 'bob.brown@example.com', 'hashed_password', 3, '2024-01-03');
INSERT INTO Admin (users) INSERT INTO Admin (users)
VALUES (1); VALUES (1);
@ -507,19 +501,6 @@ VALUES
('Elementary, my dear Watson.', 'Sherlock Holmes', 'Agatha Christie', 'Poirot', 'The Hound of the Baskervilles', 'Sherlock Holmes'), ('Elementary, my dear Watson.', 'Sherlock Holmes', 'Agatha Christie', 'Poirot', 'The Hound of the Baskervilles', 'Sherlock Holmes'),
('Here is looking at you, kid.', 'Casablanca', 'Gone with the Wind', 'Citizen Kane', 'The Maltese Falcon', 'Casablanca'); ('Here is looking at you, kid.', 'Casablanca', 'Gone with the Wind', 'Citizen Kane', 'The Maltese Falcon', 'Casablanca');
INSERT INTO Commentary (id_comment, quote, users, dateC, comment)
VALUES
('1', '1', '1', '2024-10-01', 'This quote really resonates with me.'),
('2', '2', '2', '2024-10-02', 'A timeless piece of wisdom.'),
('3', '3', '3', '2024-10-03', 'I disagree with this viewpoint.'),
('4', '4', '1', '2024-10-04', 'Absolutely love this quote!'),
('5', '5', '2', '2024-10-05', 'Very motivational, thanks for sharing!'),
('6', '6', '3', '2024-10-06', 'This makes me reflect on life.'),
('7', '7', '1', '2024-10-07', 'I find this quote very inspiring.'),
('8', '8', '1', '2024-10-08', 'I think theres more to this than meets the eye.'),
('9', '9', '3', '2024-10-09', 'Such a powerful statement!'),
('10', '1','2', '2024-10-10', 'This is one of my favorites!');
-- INSERTION TABLE Quiz -- INSERTION TABLE Quiz
INSERT INTO Quiz (nb_quest) INSERT INTO Quiz (nb_quest)
VALUES VALUES
@ -550,18 +531,5 @@ VALUES
(5, 7); -- Quiz 5, Question 7 (5, 7); -- Quiz 5, Question 7
-- INSERTION TABLE Record_quiz
INSERT INTO Record_quiz (users, quiz, nbPoint, timeQ)
VALUES
(1, 1, 10, 25),
(1, 2, 15, 40),
(1, 3, 20, 30),
(2, 1, 5, 20),
(2, 5, 18, 60),
(2, 2, 12, 35),
(3, 4, 25, 50),
(3, 3, 0, 10),
(3, 1, 14, 45);
INSERT INTO DailyQuote (citation_id) INSERT INTO DailyQuote (citation_id)
VALUES(120); VALUES(120);

Loading…
Cancel
Save