Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assignment: Database Principles

Do the following tasks.

1. What is sequential access? What is direct access? Which of the two is more important in today's business environment? Why?

2. Answer the following questions based on the following two tables from the Super Baseball League's relational database.

Team number

Team Name

City

Manager

137

Eagles

Orlando

Smith

275

Cowboys

San Jose

Jones

294

Statesmen

Springfield

Edwards

368

Pandas

El Paso

Adams

422

Sharks

Jackson

Vega

(a) TEAM TABLE

Player Number Player Name Age Position Team Number

Player Number

Player Name

Age

Position

Team Number

1209

Steve Marks

24

Catcher

294

1254

Roscoe Gomez

19

Pitcher

422

1536

Mark Norton

32

First Baseman

368

1953

Alan Randall

24

Pitcher

137

2753

John Harbor

22

Shortstop

294

2843

John Yancy

27

Center Fielder

137

3002

Stuart Clark

20

Catcher

422

3274

Lefty Smith

31

Third Baseman

137

3388

Kevin Taylor

25

Shortstop

294

3740

Juan Vidora

25

Catcher

368

(b) PLAYER table.

a. Regarding the Super Baseball League Player file:i.Describe the file's record type.ii.Describe the set or range of values that the Player Number field can take.

b. Assume that the records of the Player file are physically stored in the order shown.

i.Retrieve all of the records of the file physically sequentially.
ii.Retrieve all of the records of the file logically sequentially based on the Player Name field.
iii.Retrieve all of the records of the file logically sequentially based on the Player Number field.
iv.Retrieve all of the records of the file logically sequentially based on the Team Number field.
v.Perform a direct retrieval of the records with a Player Number field value of 3388.
vi.Perform a direct retrieval of the records with a Team Number field value of 275.
vii.Perform a direct retrieval of the records with an Age field value of 24.

c. The value 294 appears as a team number once in the TEAM table and three times in the PLAYER table. Does this constitute data redundancy? Explain.

d. Merge the TEAM and PLAYER tables based on the common Team Number field (in a manner similar to Figure 3.8 for the General Hardware database.) Is the merged table an improvement over the two separate tables in terms of: i.Data redundancy? Explain.ii.Data integration? Explain.

e. Explain why the Team Number field is in the PLAYER table.

f. Explain why team number 422 appears twice in the PLAYER table.

g. How many tables must be accessed to find:i.The age of player number 1953?ii.The name of the team on which player number 3388 plays?iii.The number of the team on which player number 3388 plays?

h. Describe the procedure for finding the name of the city in which player number 3002 is based.

i. What is the mechanism for recording the one-to-many relationship between players and teams in the Super Baseball League database, above?

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92751260

Have any Question?


Related Questions in DBMS

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Question 1 describe 1nf 2nf 3nf2 explain why 4nf is a

Question: 1: Describe 1NF, 2NF, 3NF. 2: Explain why 4NF is a normal form more desirable than BCNF. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.

Question create an erd for the following scenario once you

Question: Create an ERD for the following scenario. Once you submit you will get access to the correct way to create the ERD. Please watch the video and correct any errors in your submission and resubmit. A small company ...

This is a starting out with visual basic programming

This is a starting out with visual basic programming problem, meaning its a basic programming nothing advanced. Question: Add a linq statement to the combo box text-changed event to dispaly the city field of the selected ...

Question 1 what isdata-manipulation language dml there are

Question: 1. What isData-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last_ ...

Databases assignment - monash library services monlib case

Databases Assignment - Monash Library Services (MonLib) Case Study TASK 1: Data Definition For this task you are required to complete the following: 1.1 - Add to your solutions script, the CREATE TABLE and CONSTRAINT def ...

Q1 given the following file for assignment workercom

Q1. Given the following file for assignment worker.com, identify data anomalies that must be removed before data can be loaded in data warehouse. Worker_assignment ← -----------------on course web site File is available ...

Question create an erd for the following scenarioa small

Question: Create an ERD for the following scenario. A small company ABC wants a database to keep track of internal company information. Â Given the following information create an ERD. The ABC Company has several departm ...

Question 1 a- consider that you are asked to design an

Question: 1. (a)- Consider that you are asked to design an entity relationship diagram based on the below scenario: A university consists of a number of departments (id, d_name) and each department offers some courses. A ...

Sql transactions exercisesconsider table itemnameprice

SQL Transactions Exercises Consider table Item(name,price) where name is a key, and the following two concurrent transactions. T1: Begin Transaction; Update Item Set price = 2*price Where name = 'pencil'; Insert Into Ite ...

  • 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