Answered step by step
Verified Expert Solution
Question
1 Approved Answer
) Following are details of space shuttle flights in 2000. Draw a data model to record details of flights, shuttles, and commanders. NASA requires you
- ) Following are details of space shuttle flights in 2000. Draw a data model to record details of flights, shuttles, and commanders. NASA requires you to record details of the commander such as full name and date of birth. For a shuttle, it wants to know the date it was built.
Flight | Shuttle | Launch date | Objective | Crew size | Commander |
97 | Endeavour | 02-11-2000 | Shuttle Radar Topographic Mission | 6 | Kregel |
98 | Atlantis | 05-19-2000 | ISS-2A.2 SpaceLab Double Cargo Module | 7 | Halsell |
99 | Atlantis | 09-08-2000 | ISS-ISS-2A.2B Outfitting ISS | 7 | Wilcutt |
100 | Discovery | 10-11-2000 | ISS-3A Integrated Truss Structure Z1, PMA-3, CMG's | 7 | Duffy |
101 | Endeavour | 11-30-2000 | ISS-4A ITS P6, Photovoltaic Module, Radiators | 5 | Kregel |
- Write five SQL queries from the above data demonstrating the following skills. I just need to see the SQL scripts, not the results. In all queries, the query needs to include more than one table.
- Use of the Group by Statement
- Use of the between statement
- Use of the having statement
- Use of the an order by statement
- Use of a subquery (IN or EXISTS)
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