.

Wednesday, February 5, 2014

Database Concepts

Name: Troy Dowling Student No: s3338219 Assignment 2 Q1. shortly explain each of the following entropybase terms. Use no more(prenominal) than 2 -3 lines for each term. 1. DBMS: A (DBMS) Database Management arrangement is a collection of software programs that allow the creation and have-to doe with of databases. A DBMS allows the company to manage large amounts of data easily and effectively. A DBMS is affaird by a database administrator (DBAs). 2. Update Anomaly: A update anomalousness is when one tuple is updated save the aforementioned(prenominal) information in another(prenominal) tuple is not changed. A relation usher out be designed so this feces 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 conjure upd dealin gs in different tuples. This allows multiple entries to have the same name barely different relations. 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) therefore victimization transitivity replace (ac > e with ac > e, g) and debar (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 whop 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 impaction 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, visit our page: write my paper

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.