The entity relationship diagram below models the components of a database belonging to the South African Film Writers' Association. The database allows SAFWA to keep track of movies filmed in South...


The entity relationship diagram below models the components of a database belonging to the<br>South African Film Writers' Association. The database allows SAFWA to keep track of movies<br>filmed in South Africa, developed by domestic and international studios.<br>The MS Access database diagram below shows the tables created for a travel agent company<br>called TravelSpace. They implemented their database to keep track of their customer's bookings<br>for the different trips they have available. The company offers multiple tours which can be booked<br>by many different customers. Given the diagram below, answer the following questions by<br>providing SQL statements.<br>CUSTOMER<br>BOOKING<br>CUST NO<br>CUST FNAME<br>BOOKNG NO<br>TOUR BOOKING<br>EMP ID<br>CUST NO<br>BOOK STATUS CODE<br>7 TOUR ID<br>7 80OENG NO<br>TOUR DATE<br>TOUR<br>CUST LNAme<br>CUST ADORESS<br>CUST DOB<br>CUST EMAIL<br>OUT SEAT NO<br>IN SEAT NO<br>CUST, PHONE<br>1 TOURO<br>TOUR NAME<br>TOUR DESCRIPTON<br>EVENTJD<br>HOTEL_D<br>TOUR PRICE ADULT<br>FUGHT NO<br>BOOK, TOTAL, COST<br>BOOKNG DATE<br>TOUR PRICE CHILD<br>TOUR, PRICE CON<br>6.1 Write the SQL statement used to CREATE the TOUR_BOOKING table.<br>6.2 Count how many tours are offered by TravelSpace. Count only the tours whose adult<br>price is over R5000.<br>6.3 List all customers' names (first and last name) and their booking information (booking<br>number, date and status code). Make use of an INNER JOIN.<br>

Extracted text: The entity relationship diagram below models the components of a database belonging to the South African Film Writers' Association. The database allows SAFWA to keep track of movies filmed in South Africa, developed by domestic and international studios. The MS Access database diagram below shows the tables created for a travel agent company called TravelSpace. They implemented their database to keep track of their customer's bookings for the different trips they have available. The company offers multiple tours which can be booked by many different customers. Given the diagram below, answer the following questions by providing SQL statements. CUSTOMER BOOKING CUST NO CUST FNAME BOOKNG NO TOUR BOOKING EMP ID CUST NO BOOK STATUS CODE 7 TOUR ID 7 80OENG NO TOUR DATE TOUR CUST LNAme CUST ADORESS CUST DOB CUST EMAIL OUT SEAT NO IN SEAT NO CUST, PHONE 1 TOURO TOUR NAME TOUR DESCRIPTON EVENTJD HOTEL_D TOUR PRICE ADULT FUGHT NO BOOK, TOTAL, COST BOOKNG DATE TOUR PRICE CHILD TOUR, PRICE CON 6.1 Write the SQL statement used to CREATE the TOUR_BOOKING table. 6.2 Count how many tours are offered by TravelSpace. Count only the tours whose adult price is over R5000. 6.3 List all customers' names (first and last name) and their booking information (booking number, date and status code). Make use of an INNER JOIN.

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here