Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

When do you use OLAP?

Answered: 1 week ago

Question

When do you use an update query?

Answered: 1 week ago

Question

What is meant by the sharing of data?

Answered: 1 week ago