Wednesday 27 February 2013

Database Concepts

Name: Troy Dowling Student No: s3338219 Assignment 2

Q1.
shortly explain each of the following database terms. Use no more(prenominal) than 2 -3 lines for each term.

1. DBMS:
A (DBMS) Database Management arranging is a collection of software programs that allow the creation and concern of databases. A DBMS allows the company to manage large amounts of data easily and effectively. A DBMS is used by a database administrator (DBAs).

2. Update Anomaly:
A update anomaly is when one tuple is updated save the aforementioned(prenominal) information in another(prenominal) tuple is not changed. A relation can be designed so this can not happen.

3. also jazzn as (referring to postpones in SQL queries):
An Alias (AS) can change the title of the mainstay in the table produced use SQL. e.g. To use TITLE for a header of the column instead of MOVIE.

4. Weak Entity:
A weak entity allows the creation of kindred named relations in different tuples. This allows multiple entries to have the same name but different relations.

Ordercustompaper.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!



Q2

Q3A
A = ITEM_NO, B = ITEM_DESCRIPTION C = CUST_NO D = CUST_CONTACT E = LOANDURATION F =SUPPLIERNAME G = DISCOUNT

A:
if (ac > e) and (e > g) hence using transitivity replace (ac > e with ac > e, g) and except (e > g) if (ac > e, g) and (c > d) then using augmentation and transitivity replace (ac > e, g with ac > e, g, d) remove (c > d) then make RHS singletons the remaining FD are: ac > e ac > d ac > g a>b a>f using FD on LHS to determine key for relation: FD = {ac > e ac > d ac > g a>b a>f} a+ = a, b, f ac+ = a, c, b, f, d, e, g = SUPERKEY {ace} = {ITEM_NO, CUST_NO} {ITEM_NO, CUST_NO} is the superkey because without these attributes you can not know any of the other attributes.

B:
R ( a b c d e f g) the FD (ac > d) is in BCNF, but the FD (a > b) is not as the LHS does not contain the superkey.

c:
BCNF impingement a > b {a+} = a, b, f R1 ( a* b f ) FDs = a > b, a > f = BCNF

R2 ( a c d e g ) FDs = ac > e, ac > d, ac > g = BCNF Relation 1 (ITEM_NO, ITEM_DESCRIPTION, SUPPLIERNAME)...If you want to get a full essay, order it on our website: Ordercustompaper.com



If you want to get a full essay, wisit our page: write my paper

No comments:

Post a Comment