You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.6 KiB

7 years ago
  1. set echo on;
  2. alter session set nls_language = english;
  3. alter session set nls_date_format = 'DD-MON-YYYY';
  4. alter session set nls_date_language = english;
  5. INSERT INTO FLUGLINIE VALUES ('AB', 'D ', null, 'Air Berlin', null);
  6. INSERT INTO FLUGLINIE VALUES ('AC', 'CDN', null, 'Air Canada', 'Star');
  7. INSERT INTO FLUGLINIE VALUES ('AF', 'F ', null, 'Air France', 'SkyTeam');
  8. INSERT INTO FLUGLINIE VALUES ('BA', 'GB ', null, 'British Airways', 'OneWorld');
  9. INSERT INTO FLUGLINIE VALUES ('DB', 'D ', null, 'Database Airlines', null);
  10. INSERT INTO FLUGLINIE VALUES ('DI', 'D ', null, 'Deutsche BA', null);
  11. INSERT INTO FLUGLINIE VALUES ('DL', 'USA', null, 'Delta Airlines', 'SkyTeam');
  12. INSERT INTO FLUGLINIE VALUES ('JL', 'J ', null, 'Japan Airlines', 'OneWorld');
  13. INSERT INTO FLUGLINIE VALUES ('LH', 'D ', null, 'Lufthansa', 'Star');
  14. INSERT INTO FLUGLINIE VALUES ('NH', 'J ', null, 'All Nippon Airways', 'Star');
  15. INSERT INTO FLUGLINIE VALUES ('UA', 'USA', null, 'United Airlines', 'Star');
  16. update FLUGLINIE set ALLIANZ = 'SkyTeam' where FLC = 'DL';
  17. update FLUGLINIE set ALLIANZ = 'SkyTeam' where FLC = 'AF';
  18. update FLUGLINIE set ALLIANZ = 'OneWorld' where FLC = 'JL';
  19. update FLUGLINIE set ALLIANZ = 'OneWorld' where FLC = 'BA';
  20. update FLUGLINIE set HUB = NULL;
  21. commit;