Answered step by step
Verified Expert Solution
Question
1 Approved Answer
n this project, you will use a Database Management System to create and manipulate a very small database system for bank Your task is to
n this project, you will use a Database Management System to create and manipulate a very small database system for bank Your task is to improve it to some extent and implement the design as well as some queries against it In this project, you will use Oracle
Project Description: You need to develop a management information system to help users at the administration level of the bank easily viewingtracking various information about branch, customer loans how many customer in bank and information about, account and employees
Requirements: We need to store information about bank each bank describe by banname,address and unique banknoeach bank has many branches each branch identifying by bank, each branch has name and location each bank manage by one employee and each employees work for one bank employee has SSN namefirstname and lastnameemail,phones and salary eah bank has many customer each customer identified by unique custno custname and phone each customer has many account each account has acno blanc each customer can takes one loans each loans has loanidtypes and amounts
each employee have many dependent For each dependent, we keep track of their name, sex, birthdate.
Implementation requirement: Considering the following queries, first finalize the schema by adding required relations andor changing the above relations and then implement your relations. Next, populate your relations with appropriate data. Make sure each table in the database has enough number of tuples so that each query gets a meaningful and reasonable size output. For this, you should store at least bank employees.,customer,, branch dependent lonas type of loans
Finally, implement the following queries in SQL
The queries are as follows.
Display all information from bank
For each bank find the count number of employee
Find the lastname of employee how the third litter of lastname is e
For each bank find the bankno maximum salary, firstname for all employee who the maximum salary greeter than sort the result in deciding order by maximum salary
Find the custname for all customer how the custname start by S
Find loanno and loan type
Retrieve the ssn firstname connected with lastname by new label employee info and salary whose salary not in the range of to
Find the firstname and bnckname for all employees.
Find the ss email and salary for every employee how work in bank equal alrajhi
Find the firstname email and salary of all employees who the salary equal the maximum salary
What you should hand in: You should print and submit a report that includes
The ER model for your database design together with reasonable assumptions made,
List of all schemas and their attributes with appropriate data t e Also identify the primary key for each schema together with the relationship between different schemas.
The print out of tuples in each table, the SQL queries and the output of your queries against your database.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started