Download Database - Exercise #1 - Brookville Local Schools

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Extensible Storage Engine wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

Transcript
Database - Exercise #1
Ivy University’s Athletic department wants to use a relational database to store
information on Ivy U’s sports teams.
A) Using Access, create a relational database naming it Ivy U Athletics.
B) Create a table that will store information on the players. After defining the fields
below, save the table naming it Players:
Field Name
Student ID (primary key)
First Name
Last Name
Sport
Position
Data Type
Text
Text
Text
Text
Text
Description
ID of students
First Name of student
Last Name of student
Sport the student plays
Position the student plays
Size
5
15
30
20
20
C) Create a table that will store information on the different sports offered at Ivy U.
After defining the fields below, save the table naming it Sports:
Field Name
Sport (primary key)
Semester
Budget
Data Type
Text
Text
Currency
Description
Name of sport
Semester sport is played
Budget for sport
Size
20
10
Currency
Format
0 decimals
D) Create a table that will store information on the coaches at Ivy U. After defining
the fields below, save the table naming it Coaches:
Field Name
Coaches ID (primary key)
First Name
Last Name
Sport
Coach Type
Salary
Data Type
Text
Text
Text
Text
Text
Currency
Description
ID of coach
First Name of coach
Last Name of coach
Sport coach coaches
Type of coach
Yearly salary for coach
Size
5
15
30
20
20
Currency
E) Create a form for the Players table and enter the following records:
MS410, Matt, Silverstein, Basketball, Power Forward
MD286, Myrna Dixon, Softball Centerfield
LP008, Lorenzo, Pearson, Football, Tailback
AS900, Adam, Schneider, Basketball, Shooting Guard
EW265, Emilia, Watson, Softball, Pitcher
JW387, Jody, Wainwright, Softball, First Base
DM887, Derek, Mohatheny, Football, Linebacker
Format
0 decimals
F) Create a form for the Sports table and enter the following records:
Basketball; Spring; 451,000
Football; Fall; 891,000
Softball; Spring; 256,000
G) Create a form for the Coaches table and enter the following records:
JW013; Jason; Weaver; Basketball; Head Coach; 86,000
MK541; Mary; Klinghoffer; Softball; Manager; 56,000
AR700; Alex; Rodriguez; Football; Head Coach; 102,000
DW655; Dean; Whitman; Football; Defensive Coach; 41,000
BK122; Brian; Klitch; Basketball; Assistant Coach; 23,000
RB918; Regina; Baker; Softball; First Base Coach; 31,000
H) Create a query using the players table for records that have softball as the sport.
Save this query titled as Softball.
Database - Exercise #2
The Ivy U Athletics relational database you created in Exercise #1 needs to be updates
and queries applied to it. Open Ivy U Athletics and perform the following:
A) Add the following record to the Sports table:
Women’s Basketball; Spring; 451000
B) Add the following records to the Players table:
MA276, Marie, Angulo, Women’s Basketball, Power Forward
CS341, Clarissa, Sladek, Women’s Basketball, Shooting Guard
C) Add the following record to the Coaches table:
BS912; Barbara; Suppa; Women’s Basketball; Head Coach; 86,000
D) Sort the Players table by Last Name in ascending order.
E) The Players and Sports tables are related by the Sport field. The Sports table and
Coaches table are also related by the Sports field. Create the appropriate
relationships between the Players, Sports, and Coaches tables.
F) Create a select query to display the First Name of player, Last Name of player,
Sport, and Semester fields of all those sports played in the Spring semester. The
query should be sorted in ascending order by the player’s last name. Save the
select query naming it Spring Sports.
G) Create a select query to display the First name of coach, Last name of coach,
Salery, Sport, and Budget fields of all those coaches with a salary less than
$50,000 who have a sport’s budget over $500,000. Save the select query naming
it Salary < $50,000 & Budget > $500,000.
Database - Exercise #3
The Ivy U Athletics relational database was last modified in Exercise #2. Open Ivy U
Athletics and create the following reports:
A) Create a report that displays the name of the sport, the type of coaching positions,
and the salary for that position. Name this report Type & Salary.
B) Create a report that displays the Student ID, First Name, Last Name, and Sport, in
ascending order by last name. Name this report Athletes.
Upon completion of all three database exercises submit your Ivy
U Athletics Database to me for review/grading by either
uploading it to your box.com folder or by emailing it to me as an
attachment.