Wednesday, July 28, 2010

Wednesday, June 16, 2010

SQL Quiz

Question 1
Table Structure:

nobel(yr, subject, winner)
Name the winner(s) of the Nobel prize in Chemistry in 2001. Sort their names alphabetically.

Question 2
Tables Example:


ttms
gamescolorwhocountry
1988goldYoo Nam-KyuKOR
1988silverKim Ki TaikKOR
........
country
idname
ALGAlgeria
ARGArgentina
......
KORKorea
....
How many medals did each country win in this database? (Make sure to list countries by their name and not their ID.)