Skip to content

Commit

Permalink
Test file to look at tables
Browse files Browse the repository at this point in the history
  • Loading branch information
tjones104 authored Oct 27, 2020
1 parent b56eb78 commit 957998c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tables.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- Third, update seats_booked and seats_available in the flights table
SELECT *
FROM flights;

-- Second, generate ticket number and insert into tickets and ticket_flights if there are available seats in the specified flight and the date
SELECT *
FROM ticket;

SELECT *
FROM ticket_flights;

-- First, generate book_ref number for bookings
SELECT *
FROM bookings;

0 comments on commit 957998c

Please sign in to comment.