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:

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question

SQL Help

A) Using the previous information write the SQL statement creating the Player table.

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
Transcribed Image 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
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning