Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Database management system question please answer asap Study the scenario and complete the question(s) that follow: Sallor Profession Sailors work in several professions and ranks,
Database management system question
Study the scenario and complete the question(s) that follow: Sallor Profession Sailors work in several professions and ranks, each with its own set of tasks that are critical to the effective operation of an ocean-going vessel. The crew of a ship is organized into four major departments: the deck department, the engineering department, the steward's department, and others. Jackson is 45 years old and the engineering manager with rank 8. Donald is 58 years old and the steward manager with rank 7. Others include John, 36 years old and Mark, 24 years with ranks 6 and NULL respectively. This information was extracted from a database table (sailors). 5.4 The following two SQL queries attempt to find the names of sailors with higher ranking and less than 25 years old. SELECT S.sname FROM Sailors S WHERE NOT EXISTS ( SELECT FROM Sailors S2 WHERE S2.age ANY ( SELECT S2.ranking FROM Sailors S2 WHERE S2.age please answer asap
Step 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