This topic contains a solution. Click here to go to the answer

Author Question: Explain denormalization, and why it may be appropriate to denormalize a set of tables. What will ... (Read 37 times)

MGLQZ

  • Hero Member
  • *****
  • Posts: 579
Explain denormalization, and why it may be appropriate to denormalize a set of tables.
 
  What will be an ideal response?

Question 2

Explain the MySQL control-of-flow statements.
 
  What will be an ideal response?



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

skipfourms123

  • Sr. Member
  • ****
  • Posts: 343
Answer to Question 1

Denormalization is the process of taking a normalized set of relations and converting them into a smaller set of relations that is in a lower normal form and thus vulnerable to a greater number of anomalies. While the fully normalized set of relations is more desirable from a theoretical perspective, it does have some disadvantages. The greater the number of relations in the database, the more work that is required by the database whenever data must be retrieved from multiple relations to reconstruct the users' view of the data. In some circumstances, the anomalies introduced by denormalizing a data model may be considered an acceptable cost for the performance improvement from reducing the overhead work performed by the database.

Answer to Question 2

The MySQL control-of-flow statements are used to direct which blocks of code are executed and in what order. Blocks of code can be labeled with block labels to identify them. The IF..THEN...ELSE..EN D IF structure is used to test conditions and execute code blocks based on the results, and also includes an IF...ELSEIF...END variant. The REPEAT and WHILE LOOP keywords are used to create repeating blocks of code. The LEAVE BlockLabel keywords are used to exit a block of code.




MGLQZ

  • Member
  • Posts: 579
Reply 2 on: Jul 7, 2018
Excellent


lindahyatt42

  • Member
  • Posts: 322
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

There are more bacteria in your mouth than there are people in the world.

Did you know?

Women are 50% to 75% more likely than men to experience an adverse drug reaction.

Did you know?

Asthma cases in Americans are about 75% higher today than they were in 1980.

Did you know?

The cure for trichomoniasis is easy as long as the patient does not drink alcoholic beverages for 24 hours. Just a single dose of medication is needed to rid the body of the disease. However, without proper precautions, an individual may contract the disease repeatedly. In fact, most people develop trichomoniasis again within three months of their last treatment.

Did you know?

Human kidneys will clean about 1 million gallons of blood in an average lifetime.

For a complete list of videos, visit our video library