Question

Q1: Define normalization in DBMS. Explain with examples two possible anomalies in a relational database tables...


Q1: Define normalization in DBMS. Explain with examples two possible anomalies in a relational database tables in which those tables need to be normalized
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Normalisation can be regarded as the most basic as well as the most essential part of a database designing, a database designer must have a good understanding of semantics of data, in order to build an efficient design which can be achieved by using the concept of normalisation.

There are several purposes of normalisations which are given below:-

  • Minimize Data Redundancy
  • Removing various type of anomalies such as insert delete and update anamoly during database activities
  • The process of reorganizing the data can be eliminated when a relation is modified or enhanced
  • Normalisation reduces complex view to a small and stable subgroups of fields / relations.

Normalisation is achieved in various forms which are described as:

  1. FIRST NORMAL FORM (1NF) : first normal form is achieved in a relation when there is no multivalued dependencies and relation is already in unnormalized form and it has no repeating group.
  2. SECOND NORMAL FORM (2NF) : relation is said to be in a second normal form when it has already achieved first normal form and there is no partial dependency in a relation
  3. THIRD NORMAL FORM (3NF) : a relation is in third normal form when it is already in 2nd normal form and it has no transitive dependency
  4. BOYCE CODD NORMAL FORM (BCNF) : Boyce codd normal form is achieved, when relation is already in a third normal form and every determinant is a candidate key.
  5. FOURTH NORMAL FORM ( 4NF) : fourth normal form is achieved when BCNF is achieved and relation has no multivalued dependency.
  6. FIRST NORMAL FORM (5NF) : relation is already in 3NF and no join dependency is there in a relation.

Various types of ANOMALIES which are there in a relation when normalisation is not achieved are:

  • UPDATE ANOMALY
  • INSERTION ANOMALY
  • DELETION ANOMALY

For example:

let there be a relation of "invoice of a book company" having some relations as

  1. Customer (cust_no, cust_name,cust_add)
  2. Customer_book (cust_no, ISBN, Title,Author_name,Author_country,Qty,Unit_price)

Insertion anomaly:

In relation 2, data of new book can only be added when a customer buys a book, no DATA of new book can be added when a book is published thus data is added only when customer buys a book.

Deletion anomaly:

In relation 2, if a book is purchased by only one customer then the book data will be lost when we delete that record after fully satisfying that customer order

THANK YOU. PLEASE UPV

Add a comment
Know the answer?
Add Answer to:
Q1: Define normalization in DBMS. Explain with examples two possible anomalies in a relational database tables...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • What is the purpose of conducting normalization to a relational database? Use examples to explain your...

    What is the purpose of conducting normalization to a relational database? Use examples to explain your answer.

  • The following tables form part of a database held in a relational DBMS for University campuses:...

    The following tables form part of a database held in a relational DBMS for University campuses: -  Building (buildingNo , area)  ClassRoom (roomNo , buildingNo , capacity)  Reserving ( buildingNo , courseNo , timeFrom , day, roomNo)  Course (courseNo , courseName) Generate the tuple relational calculus, and domain relational calculus expressions for the following queries: 1. List all buildings. 2. List all class rooms in building 14Kh with capacity >30 students 3. List all course names,...

  • Q. Normalization and Denormalization are two essential techniques in relational databases. Define in detail the both...

    Q. Normalization and Denormalization are two essential techniques in relational databases. Define in detail the both techniques with examples.

  • 6. With respect to database systems, which of the following statement(s) is (are) true? a. The...

    6. With respect to database systems, which of the following statement(s) is (are) true? a. The physical view of data is how people conceptually organize and understand the relationships among data items. b. The DML builds the data dictionary, creates the database, describes logical views for each user, and specifies security constraints. c. A record layout shows the items stored in a file, including the type of data stored and both the order and length of the data fields. d....

  • Consider a relationship with (0,N)-(0,N) cardinalities; explain the rule used to create relational database tables from...

    Consider a relationship with (0,N)-(0,N) cardinalities; explain the rule used to create relational database tables from a conceptual model. How should the relationship be implemented and why does it need to be implemented that way? Does the rule differ if either or both of the minimum cardinalities are changed to 1?

  • The following tables form part of a database held in a relational DBMS: Hotel (hotelNo, hotelName,...

    The following tables form part of a database held in a relational DBMS: Hotel (hotelNo, hotelName, city) Room (roomNo, hotelNo, type, price) Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo) Guest (guestNo, guestName, guestAddress) where Hotel contains hotel details and hotelNo is the primary key; Room contains room details for each hotel and (roomNo, hoteINo) forms the primary key; Booking contains details of bookings and (hoteINo, guestNo, dateFrom) forms the primary key; Guest contains guest details and guestNo is the primary key....

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • Questions: Assume you are creating a database for IS paint store. Suppose you have an ER diagram ...

    Questions: Assume you are creating a database for IS paint store. Suppose you have an ER diagram like the following: Please answer the following questions. Explain your answer. 1. Convert the ER diagrams to relational tables. 2. Specify primary keys and foreign keys in each table. For foreign keys, specify which primary key it references to. 3. Please create the tables in SQL for the relational tables in our ER diagrams. You also need to define primary keys and foreign...

  • (Subject Database) Q1. Define, compare and contrast Conceptual, logical and physical database design Q2. What are...

    (Subject Database) Q1. Define, compare and contrast Conceptual, logical and physical database design Q2. What are the data elements necessary to create an invoice for a customer? Save this query as a view named Invoice View Q3. Create an alphabetical index on customer name in the Customer table. Q4. Prepare a report that evaluates possible client/server solutions to handle new customer application system for all branch offices? What technology characteristic you will evaluate? Q5. What is a query optimizer in...

  • SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for...

    SUBJECT: INFORMATION TECHNOLOGY, CLASS: ADVANCE DATABASE MANAGEMENT Hello Everyone, I need help on a project for my ITD 256 Class. These are the questions I am suppose to answer: Project: The project should include designing a database deals with making a proposal for the database implementation. You can either try to fix an existing problem in your business or create a new database for the new projects or new clients. Please define the objective, scope, and time frame of your...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT