Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Database Management Assignment

You have been hired by National Bank as their new database administrator. Your first task is to upgrade the bank's outdated computer system and implement a relational database management system.

You have designed the preliminary structure of the database as follows:

Branch Table

  • BranchID
  • BranchName
  • BranchAddress
  • BranchCity
  • BranchState
  • BranchZip
  • BranchPhone
  • BranchManager

Customer Table

  • CustId
  • CustName
  • CustAddress
  • CustCity
  • CustState
  • CustZip
  • CustPhone
  • AccountNo
  • CurrentBal

Teller Table

  • TellerID
  • TellerFirstName
  • TellerLastName

Transaction Table

  • Type (Deposit, Withdrawal)
  • CustName
  • AccountNo
  • AccountType (Savings, Checking, Money Market, IRA)
  • BranchName
  • TransAmount
  • TellerName
  • Date
  • Time

1. Based on the tables above:

  • Normalize the database to third normal form and create an E-R diagram to determine which fields in each table should serve as the primary key field(s) and which should serve as the foreign key field(s). In some cases, a combination of fields will be needed to create a primary key. Each table must have a primary key field. Explain why you have chosen as you did.
  • Based on your answers to the step above, use Access to designate each of the selected fields as primary key fields.
  • Create the relationships in Access between each of the related tables. Be sure to enforce referential integrity in each case.
  • Apply a validation rule indicating that the values for the AccountID field are limited to 1, 2, 3, or 4 (where each number represents a different account type). Explain how this will limit input values in the AccountID field.
  • Change the field size of the AccountNo field to 7. Explain how this will limit input values in the AccountNo field.
  • Which field(s) would generate the most benefit from being indexed without creating unnecessary tables that require additional storage space? Justify your answers.
  • Use Access or SQL to create appropriate indexes for this database.

2. Populate the tables with the data supplied below.

Branches

1. National Bank East, 1522 N. Main Street, Bayonne, NJ, 07002, 201-908-5676, Paul Nelson

2. National Bank West, 89 Treetop Street, Elizabeth, NJ, 07201, 908-762-1278, Mary Carter

Customers and Accounts

-AN45   Max Anderson, 6 Mountain Ln,  Elizabeth, NJ, 07201, 908-233-0987

              Savings, #0255684, balance $9875

              Checking, #0126478, balance $850

-MA12   Paula Maxwell, 45 New Rd, Bayonne, NJ, 07002, 201-567-1280

               IRA, #0364897, balance $32,000

-TH09    Joan Thompson, 1783 N Main St, Bayonne, NJ, 07002, 201-564-0964

             Savings, #0236458, balance $10050

             IRA, #0364597, balance $65000

-LE78     Arthur Lewis, 96 Oak Park Ln, Hillside, NJ, 07205, 908-836-9182

             Savings, #0856475, balance $12000

             Checking, #0245877, balance $500

-ST12   Adrian Stone, 123 Newton Rd, Elizabeth, NJ, 07201, 908-675-0182

             Money Market, #0457965, balance $25000

-RI79     Lillian Rivers, 791 North Ave, Greenville, NJ, 07097, 201-873-1298

              Checking, #0126547, balance $222

              Savings, #0245987, balance $7500

-CA08     John Carpenter, 8 Old St, Elizabeth, NJ, 07201, 908-459-8237

              IRA, #0324879, balance $6900

             Checking, #0347895, balance $65

             Money Market, #0557965, $1750

Tellers

MR01    Michael Roans

JM13    Jack Morrison

NS22    Natalie  Stokes

PN01    Patricia Nelson

Transactions

TransID

Customer

AccountNo

TransType

Branch

Teller

TransAmt

Date

Time

1001

Anderson

0126478

Deposit

West

Roans

80.00

12/2/11

3:32 pm

1002

Carpenter

0347895

Deposit

West

Roans

4000.00

12/2/11

4:12 pm

1003

Thompson

0236458

Deposit

East

Nelson

1800.00

12/3/11

9:02 am

1004

Carpenter

0557965

Withdrawal

East

Morrison

-50.00

12/3/11

9:12 am

1005

Rivers

0126547

Withdrawal

East

Morrison

-200.00

12/3/11

11:22 am

1006

Stone

0457965

Deposit

East

Nelson

766.00

12/5/11

10:15 am

1007

Anderson

0255684

Withdrawal

East

Nelson

-310.00

12/5/11

10:22 am

1008

Lewis

0856475

Withdrawal

East

Nelson

-1650.00

12/5/11

12:01 pm

1009

Thompson

0364597

Deposit

West

Stokes

56.00

12/5/11

2:09 pm

1010

Maxwell

0364897

Deposit

West

Stokes

851.00

12/6/11

9:01 am

1011

Lewis

0245877

Withdrawal

West

Roans

-1000.00

12/6/11

9:05 am

1012

Lewis

0856475

Deposit

West

Stokes

1000.00

12/6/11

9:06 am

1013

Rivers

0245987

Withdrawal

West

Nelson

-45.00

12/6/11

10:11 am

1014

Stone

0457965

Deposit

West

Stokes

6572.00

12/6/11

10:15 am

1015

Carpenter

0347895

Withdrawal

East

Nelson

-300.00

12/6/11

2:22 pm

1016

Carpenter

0324879

Deposit

East

Nelson

250.00

12/6/11

2:34 pm

3. Query the database using QBE or SQL to produce the desired results. Save and name each query appropriately.

A. List the customer ID, first name, and last name of all National Bank customers.

B. List the complete Teller Info table (all rows and columns).

C. List the first and last name along with the complete mailing address of all customers who reside in Elizabeth, NJ.

D. List the first and last name along with the complete mailing address of all customers who do not reside in Elizabeth, NJ.

E. List the first and last name of all customers who have a savings account with a current balance of more than $10,000.

F. List the first and last name and current balance of all customers who have an IRA account.

G. List the first and last name, branch name, transaction amount, and account type of all customers who made a deposit in Dec 5, 2011.

H. List the first and last name, account number, account type, and new balance for each transaction completed on Dec 6, 2011. To obtain the new balance, add the current balance to the transaction amount. Use NewBalance as the column name for the calculated field.

I. List the first and last name of all customers who have a money market or IRA account.

J. List the first and last name of all customers who completed a transaction at either branch. Sort customers by last name within branches.

K. How many transactions were completed on Dec 2, 2011?

L. Calculate the total amount of money deposited at National Bank West on December 6, 2011.

M. For every account, list the last name, first name, address, city, state, ZIP code, and phone number of the owner. Sort by owner's last name.

N. For every transaction in the Transaction table, list the first and last name of the owner, teller name, branch name, transaction amount, and transaction type.

O. List the owner's last name, account number, transaction amount, and transaction type for all transactions completed by Michael Roans.

P. Create a new table named IRA Customers using the data in the CustID, AccountNo, and CurrentBal fields for all IRA account holders.

Q. Use an update query to change the address for Arthur Lewis to 86 Oak Park Ln.

4. Explain how this RDBMS that you have created benefits the bank, its customers, and its employees. Be sure to include the advantages and disadvantages of using such a system.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92085575
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question? 


Related Questions in DBMS

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Real time analytics - data analytics assignment -this is a

Real Time Analytics - Data Analytics Assignment - This is a business analytics project aimed at generating innovative analytics solutions for a Global Food Consulting firm working in the area of Animal agriculture and fa ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

Question create the physical data model for the logical

Question: Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL. Your submission should include all DDL needed to: Create the tab ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

Database and information retrieval assignment - data

Database and Information Retrieval Assignment - Data Privacy Essay Task - Write an essay (aim for 750 words) that addresses issues associated with data proivacy. Use the Australian Privacy Principles - discussed in class ...

You can work on this assignment individually or in a group

You can work on this assignment individually or in a group of 2. If you are working in a group please establish a group in Assignment 2 Group on Canvas In this assignment you are asked to explore the use of neural networ ...

Answer the following question explain the difference

Answer the following Question : Explain the difference between a database management system (DBMS) and a database. Are Microsoft Access, SQL Server, and Oracle examples of databases or database management systems (DBMS)?

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As