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 35 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
:D TYSM


Viet Thy

  • Member
  • Posts: 329
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

The first war in which wide-scale use of anesthetics occurred was the Civil War, and 80% of all wounds were in the extremities.

Did you know?

Signs of depression include feeling sad most of the time for 2 weeks or longer; loss of interest in things normally enjoyed; lack of energy; sleep and appetite disturbances; weight changes; feelings of hopelessness, helplessness, or worthlessness; an inability to make decisions; and thoughts of death and suicide.

Did you know?

According to animal studies, the typical American diet is damaging to the liver and may result in allergies, low energy, digestive problems, and a lack of ability to detoxify harmful substances.

Did you know?

Hippocrates noted that blood separates into four differently colored liquids when removed from the body and examined: a pure red liquid mixed with white liquid material with a yellow-colored froth at the top and a black substance that settles underneath; he named these the four humors (for blood, phlegm, yellow bile, and black bile).

Did you know?

Atropine, along with scopolamine and hyoscyamine, is found in the Datura stramonium plant, which gives hallucinogenic effects and is also known as locoweed.

For a complete list of videos, visit our video library