Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer the following questions based on the above database: (4 Points) Create a view named ATL_CHARTERS_V that includes the following For each charter of aircraft
Answer the following questions based on the above database:
(4 Points) Create a view named ATL_CHARTERS_V that includes the following For each charter of aircraft to Atlanta (ATL), print the charter date, charter hours wait, and the corresponding customer last name, first name, area code, and phone number. Your answer should include both the SQL statement for view creating along with the contents of the view (you get the contents of the view by select * from ATL-CHARTERS_V).
- Database name: Ch08 AviaCo Table name: CHARTER CHAR TRIP CHAR DATE AC NUMBER CHAR DESTINATION CHAR DISTANCE CHAR HOURS FLOWN CHAR GALLONS CHAR OIL_QTS CUS CODE 10011 Table name: EARNEDRATINOG 10001 05-Feb-08 2289L 10002 05-Feb-08 2778V 10003 05-Feb-08 4278 10004 06-Feb-08 1484P 10005 06-Feb-08 2289L 10006 06-Feb-08 4278Y 10007 06-Feb-08 2778V 10008 07-Feb-08 1484P 000907-Feb-08 2289L 10010 07-Feb-08 4278Y 10011 07-Feb-08 1484P 10012 08-Feb-08 2778V 10013 08-Feb-08 4278Y 10014 09-Feb-08 4278 10015 09-Feb-08 2289 10016 09-Feb-08 2778V 10017 10-Feb-08 1484P 10018 10-Feb-08 4278Y 10016 EMP NUM RTG CODE EARNRTG DATE 10014 10019 10011 10017 10012 10014 10017 10016 10012 18-Feb-98 08-Nov-93 1574 21-Apr-93 15-Jul-96 TYS 140.6 459.9 279.7 104 MISTR 1574 18-Nov-97 17-Apr-95 12-Aug TYS 10017 10016 10011 10014 10017 106STR 105.5 10-Mar-94 TYS Table name: CREW Table name: CUSTOMER 96 15-Mar-97 05-Feb-96 12-May CHAR TRIP EMP NUM | CREV.Ce | | cus CODE | CUS LNAME CUS FRAME CUSIN TAL | CUS AREACODE | CUS PHONE | CUS BALANCE 10010 Ramas 10011 Dunne 10012 Smith 10013 Olowski 10014 Orlando 10015 O'Brian 10016 Brown 10017 iliams 10018 Farriss 10019 Smith 844-2573 894-1238 894-2285 894-2180 1285.19 Table name: RATING 1014.56 CFI Certified Flight Flight Instructor, Instrument 290-2556 382-7185 297-3809 NSTR SEL 10010 10011 Table name: EMPLOYEE EMP NLM EMP TITLE | EMP-LNAME | EMPFNAME EMP NTIAL | EMP D08 | EMP HIRE-DATE Single Engine, Land Single Engine, Sea 10012 10013 10014 10015 10015 100 Mr 15-Jun-1942 19-Mar-196525-Apr-1988 Table name: MODEL 14-Nov-1958 16-Oct-1974 08-Nov-1971 15-Mar-1987 102 Mr 20-Dec-1992 28-Aug-2005 20-Oct-1996 PA23-250 Piper 08-Jan-200 PA31-350 Piper 05-Jan-1991 02--1996 18-Nov-1994 MODCODE MODMANUFACTURER MOD MOD- EATS! MOD-CHG - - 267 105 Mr 106 Mrs 107 Mr Navajo Chieftain 10016 10017 10018 10018 12-Feb-1968 21-Aug-1974 14-Feb-1966 18-Jun-1961 19-May-197001-Dec-1992 Jorge Travis Elizabeth Table name: AIRCRAFT Table name: PILOT AC NUMBER | MOD-CODE | AC-TTAF | AC-TTEL AC-TTER | | EMPNUM PIL PIL_MED TYPE PL _MED_DATE PA23-250 101.8 ATPISELMELAnstriCFI ATPISELMELAnstr 42438 PA31-350 PA31-350 1513.1 622.1 02- Jan-08 02-Feb-08 21473 ATPISELMELISESAnstrICFI 22-Jan-08Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started