Databases Question | Excelling Homework
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}
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.