Q1. (30 pts.) Recall from somewhere? Consider this as a second chance and do your best...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q1. (30 pts.) Recall from somewhere? Consider this as a second chance and do your best to benefit from this favor. Consider a database with the following scheme: Captain: captainID, name, experience, rating, age Ship: shipID, class, model, passengerCapacity, range, flag Route: routeID, fromCity, toCity, distance SailTrip: tripID, routeID, shipID, captainID, startDate, endDate, noOfPassangers, income a. (10 pts.) Write an SQL query to retrieve the following information: "Find name, experience, and ratings of captains who had sailed from zmir to Southampton, and from Southampton to New York at least once." Q1. (30 pts.) Recall from somewhere? Consider this as a second chance and do your best to benefit from this favor. Consider a database with the following scheme: Captain: captainID, name, experience, rating, age Ship: shipID, class, model, passengerCapacity, range, flag Route: routeID, fromCity, toCity, distance SailTrip: tripID, routeID, shipID, captainID, startDate, endDate, noOfPassangers, income a. (10 pts.) Write an SQL query to retrieve the following information: "Find name, experience, and ratings of captains who had sailed from zmir to Southampton, and from Southampton to New York at least once."
Expert Answer:
Answer rating: 100% (QA)
To retrieve the specified information with an SQL query we need to join the tables in the database s... View the full answer
Related Book For
Fundamentals of Database Systems
ISBN: 978-0136086208
6th edition
Authors: Ramez Elmasri, Shamkant Navathe
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Why would the probability of an employer offering retiree health insurance increase with the number of employees for large firms over 300 workers. Support your answer with scholarly resources.
-
On December 1, 2018, BEEN RICHARDS Company entered into two independent forward contracts to sell US$1,200 in 90 days or on March 1, 2019. The exchange rates available on various dates are as...
-
Explain the difference between an insurance contract and a credit default swap.
-
Fill in the blanks with an appropriate word, phrase, or symbol(s). Two angles, the sum of whose measures is 180, are called _______ angles.
-
The wreck of the S.S. Central America waited 130 years at the bottom of the ocean for someone to come along and claim its trove of gold. Thomas G. Thompson, funded by a multitude of investors, was...
-
The first audit of the books of Fenimore Company was made for the year ended December 31, 2012. In examining the books, the auditor found that certain items had been overlooked or incorrectly handled...
-
An 76 kg man starts from rest and after 1.60 seconds is running at a speed of 11.0 m/s. The force needed for this man to get up to this speed in 1.60 seconds is ____ N.
-
A company has planned, authorized and budgeted 10MM in capital expenditure over the next five years to acquire new fixed assets such as property, plants and equipment. Design and solve four different...
-
The marketing research department for a company that manufactures and sells computers established the following price- demand and cost functions. p(x)=2025-68x where p(x) is the wholesale price per...
-
Why do we pay specific taxes and not one or two flat taxes? Where does the tax money go?
-
Mitsubishi Inc. gave the following fringe benefits to Jose for year 2021: Brand new car (cash provided 2,500,000) Residential property (zonal value 8,000,000) Salaries of maid and personal driver...
-
What is the problem with tax havens. Why is it wrong? why is it right? Why do companies engage in tax havens and which companies engage in tax havens?
-
Based on CRA rules, does computer application software (class 12) count as eligible property for the accelerated investment incentive?
-
Competitive bidding is a form of solicitation that is used in the procurement of goods and services. It is used by companies and government agencies that require the delivery of products or services...
-
The following data are supplied for the common stocks of Nikola Corporation, Tesla, Inc. and General Motors: Nikola Corp (NKLA) Tesla Inc. (TSLA) Close Price ($) Close Price ($) 67.53 30.00 40.81...
-
Identify all the important concepts represented in the library database case study described here. In particular, identify the abstraction of classification (entity types and relationship types),...
-
Think of different users for the database of Figure 1.2. What type of applications would each user need? To which user category would each belong and what type of interface would they need?
-
Try to map the relational schema of Figure 6.14 into an ER schema. This is part of a process known as reverse engineering, where a conceptual schema is created for an existing implemented database....
-
Reconsider the data of Problem 31. Data from Problem 31 The following three investment opportunities are available. The returns for each investment for each year vary, but the first cost of each is...
-
The following three investment opportunities are available. The returns for each investment for each year vary, but the first cost of each is $20,000. Based on a future worth analysis, which...
-
Explain the relationship between the finite sample \(F\)-test and the large sample \(\chi^{2}\)-test, and the assumptions under which each is suitable.
Study smarter with the SolutionInn App