Q1
The following figure present BANK ER diagram. Map it into a full relational schema. Specify all primary keys and foreign keys.
Q2
Write appropriate SQL DDL statements to define the database schema you made in the previous question. Create all the appropriate Referential Integrity constrains.
Q3
Using DML SQL, write the appropriate SQL query for each of the following:
Insert A new customer with the following information:
Delete all the loans for customer with SSN: 2222
Select all customer who got loans more than 250000 SAR, print the customers SSN, name
Print all the Accounts in Bank: ALBILAD and in branch no: 5
(Name: Ali, SSN: 1111, Address: Riyadh, Phone: 05555)
Q4
Draw the ER-Diagram for the following database schema. Specify the types of relationships in details on the diagram.
Customers{Customer_ID, C_Name}
Employees {Employee_ID, E_Name}
Orders{ Order_No, Customer_ID , Employee_ID,}
Order_Details {Order_No, Product_No}
Products{Product_NO, Product_Name}

Don't use plagiarized sources. Get Your Custom Essay on
Databases Question | Excelling Homework
For $10/Page 0nly
Order Essay
admin

Recent Posts

Economic Debate #3- Progressive Income Tax – The Homework Helper

Economic Debate- Progressive Income Tax For this Economic Debate, we are going to discuss the…

1 year ago

MKT 6120 – Marketing Management – Davis Learning Engagement #7

TOPIC: Going Global Discussion Thread 1 (initial post due Wednesday for full credit) Please note:…

3 years ago

jvjvjhvjhvhjvj

Assignment Topic This week will culminate in the creation of a narrated PowerPoint to create…

3 years ago

Students are supposed to select a technological organization of their choice.

The Assignment must be submitted on Blackboard (WORD format only) via allocated folder. Assignments submitted…

3 years ago

Increases the risk of wildfires

you need to post your 2-page information flier to share with your Final Project Group.…

3 years ago

Statistics for Technology management

discussion: Discuss the methods used at your company to measure and ensure quality products and…

3 years ago