SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 30 Nov 2017 My Price 6.00

database records information about athletes competing

Question 1: 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 – 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’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.

Answers

(5)
Status NEW Posted 30 Nov 2017 01:11 PM My Price 6.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)