Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the following SQL Queries: Athlete aID NUMBER, aName VARCHAR2 (20), Ranking NUMBER, age NUMBER) Event (eID CHAR(7), eName VARCHAR2 (20), eLocation VARCHAR2 (20)) Competes
Write the following SQL Queries:
Athlete aID NUMBER, aName VARCHAR2 (20), Ranking NUMBER, age NUMBER) Event (eID CHAR(7), eName VARCHAR2 (20), eLocation VARCHAR2 (20)) Competes (aID NUMBER, eID CHAR(7), position NUMBER, sport. VARCHAR2 (20), year NUMBER) Equipment (aID NUMBER, modelID NUMBER ,Model VARCHAR2 (20), Brand VARCHAR2 (20)) Event lD CHAR(S) eName VARCHAR2(20) elocation VARCHAR2(20) Competes D NUMBER elD NUMBER Position NUMBER Sport VARCHAR2(20) Year NUMBER Athlete alD NUMBER aName VARCHAR2(20) Ranking NUMBER Age NUMBER Equipment alD NUMBER modellD NUMBER Model VARCHAR2(20) Brand VARCHAR2(20 Event Athlete AID ANAME RANKING AGE ELOCATION 002Moto Los Angeles Los Angeles Competes POSITICN SPORT Equipment AD MCDELID Fast Track 7. Find the names of athletes who have not competed at 'Dew Tour 8. Find the names of athletes who have competed at both 'X Games' and 'Dew Tour 9. Find the names of athletes who have competed at all 5 events 10. Find the average age and the youngest age of the athletes 11. Find the name of the oldest athlete
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