Relational algebra:A database records information about athletes competing at the Olympics. An athlete competes for a particular country in one or more events To Purchase This Material Click below Link http://www.tutorialoutlet.com/all-miscellaneous/relational-algebra-a-databaserecords-information-about-athletes-competing-at-the-olympics-an-athlete-competesfor-a-particular-country-in-one-or-more-events FOR MORE CLASSES VISIT www.tutorialoutlet.com

Relational algebra ( A database records information about athletes competing at the Olympics. An athlete competes for a particular country in one or more events. Events take place at a scheduled day and time in a particular venue. The result (rank) is recorded for all athletes in the final of the event. The medal (gold, silver or bronze) is also recorded for the medal winners in the event. Note that we are not considering team sports or heats in this example â&#x20AC;&#x201C; only individuals competing in the finals. The schema for this database is as follows: (note that primary keys are shown underlined, foreign keys in bold). ATHLETE (AthleteNo, AthleteName, CountryName) COUNTRY (CountryName, NumberOfCompetitors) EVENT (EventName, ScheduledStart, VenueName) VENUE (VenueName, City, Capacity) FINAL (AthleteNo, EventName, Rank, Medal) Provide relational algebra (NOT SQL) queries to find the following information. Each question is worth 2 marks. 1. List the name and country of all athletes. 2. List the event name and scheduled start time for all events held in the Aquatics Stadium. 3. List the names of athletes who competed in an event in Rio de Janeiro, Brasilia, or both. 4. List the names of all Brazilian athletes who won a gold medal. 5. List full details of the events that were held in venues with a capacity of over 60,000. 6. List the name and city of all venues, and the events that were scheduled to be held in them (if 7. any) 8. List the names of Australian athletes who won a gold medal in an event held in the Velodrome.

9. List the name of any athlete who was ranked 1 in both the Menâ&#x20AC;&#x2122;s 200m and 400m. 10. List the names of the athletes who did NOT win a medal in the Women's 1500m Freestyle. 11. List the name of any athletes who won a gold medal in all the events he or she competed in.

Relational algebra a database records information about athletes competing at the olympics
Relational algebra a database records information about athletes competing at the olympics