+1(316)4441378

+44-141-628-6690

3 a) a. Create the Tables. Each Table must have a Primary Key constraint, Foreign Key

constraints where applicable, and other constraints as written in the table

instance charts.

 

Queries:

create tableĀ  SeasonPass (SeasonPassID Integer(7) not null,ExpirationDate Date Not null,primary key(SeasonPassID));

create table Customer(CustomerID INTEGER(7) not null, C_FName varchar(20) not null,C_LnameĀ  varchar(30) not null,C_Height INTEGER(7) not null,SeasonPass_ID INTEGER not null,primary key(CustomerID) ,foreign key(SeasonPass_ID) references SeasonPass(SeasonPassID) );

create table Team(TeamID INTEGER(7) not null,Team_Name VARCHAR(30) not null,Coach_FName VARCHAR(20) not null,Coach_LName VARCHAR(30) not null,City VARCHAR(20) not null, State VARCHAR(20) not null,primary key(TeamID));

create table Event(EventID INTEGER(7) not null ,Event_DateTime DATETIME not null,SportType varchar(20) not null,SeatsAvailable INTEGER(4) not null,HomeTeamID INTEGER(7) not null,VisitorTeamID INTEGER(7) not null,

primary key(EventID), foreign key(HomeTeamID) references Team(TeamID), foreign key(VisitorTeamID) references Team(TeamID), CHECK (SportType IN( ‘basketball’, ‘hockey’, ‘football’, ‘soccer’ )));

 

You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.

 

Latest completed orders:

# topic title discipline academic level pages delivered
6
Writer's choice
Business
University
2
1 hour 32 min
7
Wise Approach to
Philosophy
College
2
2 hours 19 min
8
1980's and 1990
History
College
3
2 hours 20 min
9
pick the best topic
Finance
School
2
2 hours 27 min
10
finance for leisure
Finance
University
12
2 hours 36 min
[order_calculator]