17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8: Being Normal: Normalization and Other Basic Design Issues<br />

Exercises<br />

1. Normalize the following data into the third normal form:<br />

260<br />

Patient SSN Physician Hospital Treatment AdmitDate ReleaseDate<br />

Sam Spade 555-55-<br />

5555<br />

Sally Nally 333-33-<br />

3333<br />

Peter Piper 222-22-<br />

2222<br />

Nicki<br />

Doohickey<br />

123-45-<br />

6789<br />

Albert<br />

Schweitzer<br />

Albert<br />

Schweitzer<br />

Mayo<br />

Clinic<br />

Mo Betta Mustard<br />

Clinic<br />

Sheila<br />

Sheeze<br />

NULL Cortizone<br />

Injection<br />

Mustard<br />

Clinic<br />

Lobotomy 10/01/2005 11/07/2005<br />

Pickle<br />

Extraction<br />

Cortizone<br />

Injection<br />

10/10/2005 10/10/2005<br />

11/07/2005 11/07/2005<br />

11/07/2005 11/07/2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!