124 lines
No EOL
8.3 KiB
MySQL
124 lines
No EOL
8.3 KiB
MySQL
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Musterstraße', 12, 10115, 'Berlin', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Hauptstraße', 23, 60311, 'Frankfurt am Main', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Am Königsplatz', 45, 80333, 'München', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Bahnhofstraße', 67, 40210, 'Düsseldorf', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Goethestraße', 89, 04109, 'Leipzig', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Schlossplatz', 101, 76131, 'Karlsruhe', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Hindenburgstraße', 123, 68161, 'Mannheim', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Am Markt', 234, 50667, 'Köln', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Ludwigstraße', 345, 80539, 'München', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Friedrichstraße', 456, 10117, 'Berlin', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Königsallee', 567, 40212, 'Düsseldorf', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Augustusplatz', 678, 04109, 'Leipzig', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Neumarkt', 789, 01067, 'Dresden', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Rathausplatz', 890, 20095, 'Hamburg', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Maximilianstraße', 901, 80333, 'München', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Wilhelmstraße', 111, 65185, 'Wiesbaden', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Rheinstraße', 222, 64283, 'Darmstadt', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Karlstraße', 333, 80333, 'München', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Bahnhofsplatz', 444, 90402, 'Nürnberg', 'Germany');
|
|
INSERT INTO ADDRESS VALUES (address_seq.nextval, 'Hohenzollernring', 555, 50672, 'Köln', 'Germany');
|
|
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Max', 'Müller', 28, 1);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Anna', 'Schmidt', 35, 2);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Felix', 'Wagner', 41, 3);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Marie', 'Hoffmann', 23, 4);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Julian', 'Schäfer', 47, 5);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Sophie', 'Koch', 29, 6);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'David', 'Bauer', 32, 7);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Laura', 'Richter', 26, 8);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Simon', 'Klein', 39, 9);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Hannah', 'Fuchs', 41, 10);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Nico', 'Kramer', 24, 11);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Lena', 'Huber', 31, 12);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Sebastian', 'Kaiser', 28, 13);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Maja', 'Becker', 35, 14);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Daniel', 'Lange', 30, 15);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Tobias', 'Schmid', 36, 16);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Jana', 'Weber', 27, 17);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Andreas', 'Meyer', 44, 18);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Lara', 'Hahn', 38, 19);
|
|
INSERT INTO Person VALUES (person_seq.nextval, 'Jan', 'Schreiber', 29, 20);
|
|
|
|
INSERT INTO CLERK VALUES (1, 100, 35000);
|
|
INSERT INTO CLERK VALUES (2, 101, 50000);
|
|
INSERT INTO CLERK VALUES (3, 102, 40000);
|
|
INSERT INTO CLERK VALUES (4, 103, 35000);
|
|
INSERT INTO CLERK VALUES (5, 104, 35000);
|
|
|
|
INSERT INTO CLIENT VALUES (6, 17980641);
|
|
INSERT INTO CLIENT VALUES (7, 17980641);
|
|
INSERT INTO CLIENT VALUES (8, 17980641);
|
|
INSERT INTO CLIENT VALUES (9, 17980641);
|
|
INSERT INTO CLIENT VALUES (10, 17980641);
|
|
INSERT INTO CLIENT VALUES (11, 17980641);
|
|
INSERT INTO CLIENT VALUES (12, 17980641);
|
|
INSERT INTO CLIENT VALUES (13, 17980641);
|
|
INSERT INTO CLIENT VALUES (14, 17980641);
|
|
INSERT INTO CLIENT VALUES (15, 17980641);
|
|
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 1, 'ECONOMY', 25, 1, 2);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 1, 'ECONOMY', 25, 1, 2);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 2, 'ECONOMY', 27, 0, 3);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 2, 'ECONOMY+', 32, 1, 4);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 3, 'ECONOMY+', 35, 1, 4);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 4, 'FAMILY ROOM', 55, 1, 8);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 4, 'FAMILY ROOM', 55, 0, 8);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 5, 'JUNIOR SUITE', 50, 1, 4);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 5, 'JUNIOR SUITE', 50, 1, 4);
|
|
INSERT INTO ROOM VALUES (room_seq.nextval, 6, 'PRESIDENT SUITE', 80, 0, 6);
|
|
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-03', 'YYYY-MM-DD'), 90, 1);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-03', 'YYYY-MM-DD'), 90, 1);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-04', 'YYYY-MM-DD'), 120, 4);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-04', 'YYYY-MM-DD'), 120, 5);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-05', 'YYYY-MM-DD'), 180, 6);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-05', 'YYYY-MM-DD'), 90, 2);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-06', 'YYYY-MM-DD'), 90, 2);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-08', 'YYYY-MM-DD'), 180, 8);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-08', 'YYYY-MM-DD'), 90, 1);
|
|
INSERT INTO CLEANINGPLAN VALUES (cleaningplan_seq.nextval, TO_DATE('2023-05-08', 'YYYY-MM-DD'), 240, 10);
|
|
|
|
INSERT INTO CLEANINGCLERK VALUES (1, 1);
|
|
INSERT INTO CLEANINGCLERK VALUES (2, 2);
|
|
INSERT INTO CLEANINGCLERK VALUES (3, 3);
|
|
INSERT INTO CLEANINGCLERK VALUES (4, 4);
|
|
INSERT INTO CLEANINGCLERK VALUES (5, 5);
|
|
INSERT INTO CLEANINGCLERK VALUES (1, 6);
|
|
INSERT INTO CLEANINGCLERK VALUES (2, 7);
|
|
INSERT INTO CLEANINGCLERK VALUES (3, 8);
|
|
INSERT INTO CLEANINGCLERK VALUES (4, 9);
|
|
INSERT INTO CLEANINGCLERK VALUES (5, 10);
|
|
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-01', 'YYYY-MM-DD'), TO_DATE('2023-05-05', 'YYYY-MM-DD'), 700, 'No Pension', 0, 6);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-08', 'YYYY-MM-DD'), TO_DATE('2023-05-10', 'YYYY-MM-DD'), 700, 'No Pension', 1, 7);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-06-01', 'YYYY-MM-DD'), TO_DATE('2023-06-05', 'YYYY-MM-DD'), 700, 'No Pension', 0, 8);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-24', 'YYYY-MM-DD'), TO_DATE('2023-06-02', 'YYYY-MM-DD'), 700, 'No Pension', 1, 9);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-21', 'YYYY-MM-DD'), TO_DATE('2023-05-31', 'YYYY-MM-DD'), 700, 'No Pension', 0, 10);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-06-10', 'YYYY-MM-DD'), TO_DATE('2023-06-20', 'YYYY-MM-DD'), 700, 'No Pension', 1, 11);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-18', 'YYYY-MM-DD'), TO_DATE('2023-05-20', 'YYYY-MM-DD'), 700, 'No Pension', 1, 12);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-12', 'YYYY-MM-DD'), TO_DATE('2023-05-13', 'YYYY-MM-DD'), 700, 'No Pension', 0, 13);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-06', 'YYYY-MM-DD'), TO_DATE('2023-05-07', 'YYYY-MM-DD'), 700, 'No Pension', 1, 14);
|
|
INSERT INTO BOOKING VALUES (BOOKING_SEQ.nextval, TO_DATE('2023-05-09', 'YYYY-MM-DD'), TO_DATE('2023-05-19', 'YYYY-MM-DD'), 700, 'No Pension', 0, 15);
|
|
|
|
INSERT INTO BOOKINGROOM VALUES (1, 1);
|
|
INSERT INTO BOOKINGROOM VALUES (1, 2);
|
|
INSERT INTO BOOKINGROOM VALUES (2, 1);
|
|
INSERT INTO BOOKINGROOM VALUES (3, 5);
|
|
INSERT INTO BOOKINGROOM VALUES (4, 6);
|
|
INSERT INTO BOOKINGROOM VALUES (5, 8);
|
|
INSERT INTO BOOKINGROOM VALUES (5, 9);
|
|
INSERT INTO BOOKINGROOM VALUES (5, 10);
|
|
INSERT INTO BOOKINGROOM VALUES (6, 8);
|
|
INSERT INTO BOOKINGROOM VALUES (7, 4);
|
|
INSERT INTO BOOKINGROOM VALUES (8, 3);
|
|
INSERT INTO BOOKINGROOM VALUES (9, 4);
|
|
INSERT INTO BOOKINGROOM VALUES (10, 2);
|
|
|
|
INSERT INTO BOOKINGGUEST VALUES (5, 16);
|
|
INSERT INTO BOOKINGGUEST VALUES (5, 17);
|
|
INSERT INTO BOOKINGGUEST VALUES (2, 18);
|
|
INSERT INTO BOOKINGGUEST VALUES (8, 19);
|
|
INSERT INTO BOOKINGGUEST VALUES (6, 20);
|
|
commit; |