Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

mvahes / Lennubroneerimis_tarkvara

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 0c9572df authored 2 years ago by karade's avatar karade
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Update Andmebaasi deklaratsioon.sql

parent 31fc144c mysql
Hide whitespace changes
Inline Side-by-side
Showing with 11 additions and 5 deletions
  • Andmebaasi deklaratsioon.sql
Andmebaasi deklaratsioon.sql
View file @ 0c9572df
......@@ -33,11 +33,17 @@ CREATE TABLE `Bookings`(
FOREIGN KEY (flight_id) REFERENCES Flights(id)
);
CREATE TABLE `Profiles`(
`username` CHAR(255) NOT NULL,
`password` CHAR(255) NOT NULL,
`access_lvl` TINYINT NOT NULL
);
INSERT INTO flights(destination, time, flightNum, seats)
VALUES
("Helsinki", "09:50 05.Juuni 2023","EA7654", 72),
("Kuressaare", "14:40 02.Juuni 2023","EA8433", 72),
("Kardla", "17:00 08.Juuni 2023","EA5524", 72),
("Stockholm", "12:30 07.Juuni 2023","EA5245", 72),
("Riga", "22:00 12.Juuni 2023","EA9822", 72);
("Helsinki", "09:50 05.June 2023","EA7654", 72),
("Kuressaare", "14:40 02.June 2023","EA8433", 72),
("Kardla", "17:00 08.June 2023","EA5524", 72),
("Stockholm", "12:30 07.June 2023","EA5245", 72),
("Riga", "22:00 12.June 2023","EA9822", 72);
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment