Question
Write SQL queries, use at least one view for each query. Then, evaluate the queries on the cruise tables (and views) in MySQL database, and
Write SQL queries, use at least one view for each query. Then, evaluate the queries on the cruise tables (and views) in MySQL database, and copy the answers here.
List the directors who have worked on ships built by Ajax. use the view CruiseInfo created above in the previous question.
List the countries that have been visited by at least one Big Ship (as defined in 1.1 called table BigShips).
Create ANOTHER new table named frequent travelers (FreqTrav). It will only store passengers who have taken more than 2 trips with the company. It will record the passenger name, passenger number, address, phone number, total number of trips, and total fare paid. Show your CREATE TABLE query and INSERT query. Please insert the records using subquery (i.e. insert from a SELECT query)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The SQL queries to list the directors who have worked on ships built by Ajax and the countries that ...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 StartedRecommended Textbook for
Concepts of Database Management
Authors: Philip J. Pratt, Mary Z. Last
8th edition
1285427106, 978-1285427102
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App