HI5033 Database Design Case Study
Objectives
This assessment item relates to the unit learning outcomes as in the unit descriptor. This assessment is designed to reinforce the lecture material and give students practice at applying Database design techniques, as well as providing a relational schema using DDL statements and relational DML statements to demonstrate sophisticated access of the Database to be built.
Each group needs to choose a particular type of Information System, research the storage requirements then design and build a possible database for that system. For instance, a group may choose a POS system for a supermarket, a small online savings bank, a stock management system for a financial firm etc.
The deliverable should consist of four parts, detailed as follows:
1. Requirement specification
Your group must provide an overview of the selected system and specify its requirements. These requirements should directly relate to the tasks outlined in the subsequent three parts.
2. Database ER Model
The ER Model should represent the database structure you plan to build for the group case study. It must be presented using Crow's Foot notation and accurately reflect the database to be built. The model should provide a realistic depiction of the data requirements for the chosen system and include at least 10 entity types.
3. Database Schema DDL Statements
You are required to create Schema DDL statements to build your database. These statements should be included in a script and demonstrated in class to your tutor. You will need to run the script to show the creation of the database and submit it through Blackboard. Your tables should include all appropriate primary and foreign keys, as well as any relevant constraints.
4. Sophisticated DML Statements
You are required to construct SQL INSERT statements to populate all your tables with initial data, ensuring that each table contains at least 5 rows. You have the freedom to choose appropriate data for insertion. Additionally, you must create 5 SQL statements to demonstrate sophisticated data access. These statements must involve joins between multiple tables (Inner Joins only are acceptable). The test data should be sufficient to effectively demonstrate the use of your SQL statements. These statements should be included in a script and presented in class to your tutor.
Customer data, accounts, transactions, and services are all managed by a bank's database system. It guarantees the effectiveness and security of financial operations, including loan processing, cash transfers, account management, and transaction histories. Customers, bank staff, and administrators are among the many user roles that the system supports, for MBA assignment expert guaranteeing seamless communication as well as the accuracy and accessibility of data in real time.
The major functionalities of the system are as follows:
Queries
1. Total Balance Held by Customers of a Specific Branch
This query calculates the total balance of all accounts belonging to customers of a specific branch.
SELECT
b.branch_name,
SUM(a.balance) AS total_branch_balance
FROM
ACCOUNT a
INNER JOIN CUSTOMER c ON a.customer_id = c.customer_id
INNER JOIN BRANCH b ON c.branch_id = b.branch_id
WHERE
b.branch_id = 1
GROUP BY
b.branch_name;
2. Find Customers with Loans Pending Approval
This query lists customers who have loan applications still pending, including their details.
SELECT
c.name AS customer_name,
c.email,
l.loan_amount,
l.loan_date
FROM
LOAN l
INNER JOIN CUSTOMER c ON l.customer_id = c.customer_id
WHERE
l.loan_status = 'Pending';
3. Identify Accounts with the Highest Transaction Volume
This query identifies the top 3 accounts with the most transactions.
SELECT
a.account_id,
COUNT(t.transaction_id) AS transaction_count
FROM
TRANSACTION t
INNER JOIN ACCOUNT a ON t.sender_account_id = a.account_id OR t.receiver_account_id = a.account_id
GROUP BY
a.account_id
ORDER BY
transaction_count DESC
LIMIT 3;
4. List All Complaints Resolved by a Specific Employee
This query retrieves complaints resolved by a particular employee using nested queries to focus on resolved cases.
SELECT
cmp.complaint_id,
cmp.issue,
cmp.resolved_date
FROM
COMPLAINT cmp
WHERE
cmp.employee_id = 1
AND cmp.status = 'Resolved';
5. Retrieve Details of Recent Transactions above a Threshold
This query retrieves transactions with amounts greater than a specified threshold in the last 2 years days.
SELECT
t.transaction_id,
t.transaction_date,
t.amount,
t.transaction_type
FROM
TRANSACTION t
WHERE
t.amount > 250
AND t.transaction_date >= NOW() - INTERVAL '2 years';
Christudas, B. and Christudas, B., 2019. MySQL (pp. 877-884). Apress.
Laeven, L. and Valencia, F., 2020. Systemic banking crises database II. IMF Economic Review, 68, pp.307-361.
Essay: 10 Pages, Deadline: 2 days
They delivered my assignment early. They also respond promptly. This is excellent. Tutors answer my questions professionally and courteously. Good job. Thanks!
User ID: 9***95 United
States
Report: 10 Pages, Deadline: 4 days
After sleeping for only a few hours a day for the entire week, I was very weary and lacked the motivation to write anything or think about any suggestions for the writer to include in the paper. I am glad I chose your service and was pleasantly pleased by the quality. The paper is complete and ready for submission to the professor. Thanks!
User ID: 9***85 United
States
Assignment: 8 Pages, Deadline: 3 days
I resorted to the MBA assignment Expert in the hopes that they would provide different outcomes after receiving unsatisfactory results from other assignment writing organizations, and they genuinely are fantastic! I received exactly what I was looking for from this writing service. I'm grateful.
User ID: 9***55
Assignment: 13 Pages, Deadline: 3 days
Incredible response! I could not believe I had received the completed assignment so far ahead of the deadline. Their expert team of writers effortlessly provided me with high-quality content. I only received an A because of their assistance. Thank you very much!
User ID: 6***15 United
States
Essay: 8 Pages, Deadline: 3 days
This expert work was very nice and clean.expert did the included more words which was very kind of them.Thank you for the service.
User
ID: 9***95 United
States
Report: 15 Pages, Deadline: 5 days
Cheers on the excellent work, which involved asking questions to clarify anything they were unclear about and ensuring that any necessary adjustments were made promptly.
User ID: 9***95 United
States
Essay: 9 Pages, Deadline: 5 days
To be really honest, I can't bear writing essays or coursework. I'm fortunate to work with a writer who has always produced flawless work. What a wonderful and accessible service. Satisfied!
User ID: 9***95
Essay: 12 Pages, Deadline: 4 days
My essay submission to the university has never been so simple. As soon as I discovered this assignment helpline, however, everything improved. They offer assistance with all forms of academic assignments. The finest aspect is that there is also an option for escalation. We will get a solution on time.
User ID: 9***95 United
States
Essay: 15 Pages, Deadline: 3 days
This is my first experience with expert MBA assignment expert. They provide me with excellent service and complete my project within 48 hours before the deadline; I will attempt them again in the future.
User ID: 9***95 United
States