Access Millions of academic & study documents

Answers

Content type
User Generated
Subject
MySQL
School
North Carolina Central University
Type
Homework
Showing Page:
1/5
Problem 1
Entities
Customer : REGULAR ENTITY
Customer_ID : [PK] ATTRIBUTE Type:INTEGER
DOB : ATTRIBUTE Type:INTEGER
Customer_Name : ATTRIBUTE Type:VARCHAR Length=255
Customer_Address : ATTRIBUTE Type:VARCHAR Length=255
Account : REGULAR ENTITY
Account_ID : [PK] ATTRIBUTE Type:INTEGER
Account_Type : ATTRIBUTE Type:VARCHAR Length=255
Currency : ATTRIBUTE Type:VARCHAR Length=255
Balance : ATTRIBUTE Type:FLOAT
Branch_ID : ATTRIBUTE Type:INTEGER
Transactions : REGULAR ENTITY
Amount : ATTRIBUTE Type:FLOAT
Customer_ID : ATTRIBUTE Type:INTEGER
Account_ID : ATTRIBUTE Type:INTEGER
Trx_ID : [PK] ATTRIBUTE Type:INTEGER
Applies
Makes
Has
Holds
Operates
Loan
Loan_ID
Year
Amount
Branch_ID
Branch
Branch_ID
Phone_Number
Branch_Address
Bank
Bank_ID
Bank_Name
Bank_Address
Branch_ID
Transactions
Trx_ID
Amount
Customer_ID
Account_ID
Date
Trx_Type
Account
Account_ID
Account_Type
Currency
Balance
Branch_ID
Customer
Customer_ID
DOB
Customer_Name
Customer_Address

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/5
Date : ATTRIBUTE Type:TIMESTAMP
Trx_Type : ATTRIBUTE Type:INTEGER
Bank : REGULAR ENTITY
Bank_ID : [PK] ATTRIBUTE Type:INTEGER
Bank_Name : ATTRIBUTE Type:VARCHAR Length=255
Bank_Address : ATTRIBUTE Type:VARCHAR Length=255
Branch_ID : ATTRIBUTE Type:INTEGER
Branch : REGULAR ENTITY
Phone_Number : ATTRIBUTE Type:NUMERIC Length= Width=
Branch_ID : [PK] ATTRIBUTE Type:INTEGER
Branch_Address : ATTRIBUTE Type:VARCHAR Length=
Loan : REGULAR ENTITY
Loan_ID : [PK] ATTRIBUTE Type:INTEGER
Year : ATTRIBUTE Type:DATE
Amount : ATTRIBUTE Type:FLOAT
Branch_ID : ATTRIBUTE Type:INTEGER
Relationships
Operates : REGULAR RELATIONSHIP Customer ONE MANDATORY to Account MANY MANDATORY
Holds : REGULAR RELATIONSHIP Branch ONE MANDATORY to Account MANY OPTIONAL
Has : REGULAR RELATIONSHIP Bank ONE MANDATORY to Branch MANY OPTIONAL
Makes : REGULAR RELATIONSHIP Customer ONE MANDATORY to Transactions MANY
MANDATORY
Applies : REGULAR RELATIONSHIP Customer ONE MANDATORY to Loan MANY MANDATORY
Problem 2
1
The data shows:
A LastName can show (FirstName, Phone)
A FirstName can show (LastName, Phone)

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/5

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 5 pages?
Access Now
Unformatted Attachment Preview
Problem 1 Account Transactions Branch Account_ID Account_Type Currency Balance Branch_ID Trx_ID Amount Customer_ID Account_ID Date Trx_Type Holds Makes Has Operates Custom er Customer_ID DOB Customer_Name Customer_Address Branch_ID Phone_Number Branch_Address Applies Loan Loan_ID Year Amount Branch_ID Entities Customer : REGULAR ENTITY Customer_ID : [PK] ATTRIBUTE Type:INTEGER DOB : ATTRIBUTE Type:INTEGER Customer_Name : ATTRIBUTE Type:VARCHAR Length=255 Customer_Address : ATTRIBUTE Type:VARCHAR Length=255 Account : REGULAR ENTITY Account_ID : [PK] ATTRIBUTE Type:INTEGER Account_Type : ATTRIBUTE Type:VARCHAR Length=255 Currency : ATTRIBUTE Type:VARCHAR Length=255 Balance : ATTRIBUTE Type:FLOAT Branch_ID : ATTRIBUTE Type:INTEGER Transactions : REGULAR ENTITY Amount : ATTRIBUTE Type:FLOAT Customer_ID : ATTRIBUTE Type:INTEGER Account_ID : ATTRIBUTE Type:INTEGER Trx_ID : [PK] ATTRIBUTE Type:INTEGER Bank Bank_ID Bank_Name Bank_Address Branch_ID Date : ATTRIBUTE Type:TIMESTAMP Trx_Type : ATTRIBUTE Type:INTEGER Bank : REGULAR ENTITY Bank_ID : [PK] ATTRIBUTE Type:INTEGER Bank_Name : ATTRIBUTE Type:VARCHAR Length=255 Bank_Address : ATTRIBUTE Type:VARCHAR Length=255 Branch_ID : ATTRIBUTE Type:INTEGER Branch : REGULAR ENTITY Phone_Number : ATTRIBUTE Type:NUMERIC Length= Width= Branch_ID : [PK] ATTRIBUTE Type:INTEGER Branch_Address : ATTRIBUTE Type:VARCHAR Length= Loan : REGULAR ENTITY Loan_ID : [PK] ATTRIBUTE Type:INTEGER Year : ATTRIBUTE Type:DATE Amount : ATTRIBUTE Typ ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Similar Documents