C. Assume the following sample of data : Team City Los Angeles TeamID TeamName State Win Loss 1001 Wildcats CA 10 1002 Hawks San Francisco CA 8. 5 1003 Renegades San Jose CA 4 1004 Gators San...



SQL Help


C. Assume the following sample of data :<br>Team<br>City<br>Los Angeles<br>TeamID<br>TeamName<br>State<br>Win<br>Loss<br>1001<br>Wildcats<br>CA<br>10<br>1002<br>Hawks<br>San Francisco<br>CA<br>8.<br>5<br>1003<br>Renegades<br>San Jose<br>CA<br>4<br>1004<br>Gators<br>San Francisco<br>CA<br>3<br>10<br>Player<br>PlayerID<br>TeamID<br>CollegelD<br>PlayerName<br>Age<br>Position<br>101<br>1001<br>1080<br>Julio Peters<br>23<br>WR<br>102<br>1003<br>1080<br>Lance Randolph<br>29<br>QB<br>103<br>TE<br>Timothy Haas<br>Joey Daniel<br>1003<br>2001<br>27<br>115<br>1002<br>1478<br>32<br>LB<br>106<br>1004<br>1479<br>Hobert Golden<br>25<br>FB<br>110<br>1001<br>1478<br>Hunter Padilla<br>21<br>QB<br>College<br>CollegelD<br>CollegeName<br>Gator University<br>City<br>State<br>1478<br>San Francisco<br>CA<br>Hogwart College<br>Stark College<br>Data University<br>1479<br>San Francisco<br>CA<br>1080<br>Los Angeles<br>CA<br>2001<br>Portland<br>OR<br>List the player ID and player name of all the players older than 25 years old (included) and<br>playing at a Quarterbacks (QB) position<br>Your output should be :<br>PlayerID<br>PlayerName<br>102<br>Lance Randolph<br>

Extracted text: C. Assume the following sample of data : Team City Los Angeles TeamID TeamName State Win Loss 1001 Wildcats CA 10 1002 Hawks San Francisco CA 8. 5 1003 Renegades San Jose CA 4 1004 Gators San Francisco CA 3 10 Player PlayerID TeamID CollegelD PlayerName Age Position 101 1001 1080 Julio Peters 23 WR 102 1003 1080 Lance Randolph 29 QB 103 TE Timothy Haas Joey Daniel 1003 2001 27 115 1002 1478 32 LB 106 1004 1479 Hobert Golden 25 FB 110 1001 1478 Hunter Padilla 21 QB College CollegelD CollegeName Gator University City State 1478 San Francisco CA Hogwart College Stark College Data University 1479 San Francisco CA 1080 Los Angeles CA 2001 Portland OR List the player ID and player name of all the players older than 25 years old (included) and playing at a Quarterbacks (QB) position Your output should be : PlayerID PlayerName 102 Lance Randolph
A college football association has a database to record various data about their teams, players<br>and affiliated university.<br>The following relational model presents the relationship between the tables:<br>Team<br>TeamID<br>TeamName<br>City<br>State<br>Win<br>Los<br>Player<br>PlayerlD<br>PlayerName<br>Age<br>Position<br>TeamID<br>CollegelD<br>College<br>CollegelD<br>CollegeName<br>City<br>State<br>We have the following information about the attributes:<br>Team:<br>- TeamID is an integer and is the Primary Key of the Team table<br>- TeamName is a chain of no more than 30 characters<br>- City is a chain of no more than 25 characters<br>- State is a chain of 2 characters<br>- Win is an integer<br>- Loss is an integer<br>Player:<br>- PlayerlD is an integer and is the Primary Key of the Player table<br>- PlayerName is a chain of no more than 50 characters<br>- Age is an integer<br>- Position is a chain of no more than 15 characters<br>- TeamID is an integer and is a foreign key of the Player table<br>- CollegelD is an integer and is a foreign key of the Player table<br>College:<br>- CollegelD is an integer and is the Primary Key of the College table<br>- CollegeName is a chain of no more than 30 characters<br>- City is a chain of no more than 25 characters<br>- State is a chain of 2 characters<br>

Extracted text: A college football association has a database to record various data about their teams, players and affiliated university. The following relational model presents the relationship between the tables: Team TeamID TeamName City State Win Los Player PlayerlD PlayerName Age Position TeamID CollegelD College CollegelD CollegeName City State We have the following information about the attributes: Team: - TeamID is an integer and is the Primary Key of the Team table - TeamName is a chain of no more than 30 characters - City is a chain of no more than 25 characters - State is a chain of 2 characters - Win is an integer - Loss is an integer Player: - PlayerlD is an integer and is the Primary Key of the Player table - PlayerName is a chain of no more than 50 characters - Age is an integer - Position is a chain of no more than 15 characters - TeamID is an integer and is a foreign key of the Player table - CollegelD is an integer and is a foreign key of the Player table College: - CollegelD is an integer and is the Primary Key of the College table - CollegeName is a chain of no more than 30 characters - City is a chain of no more than 25 characters - State is a chain of 2 characters
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here