26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

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.

Figure :- 10.1 Repeating groups example<br />

For in the above example city1 and city2 are repeating.In order this table to be in First<br />

normal form you have to modify the table structure as follows.Also not that the Customer<br />

Name is now broken down to first name and last name (First normal form data should be<br />

broken down to smallest unit).<br />

Figure :- 10.2 Customer table normalized to first normal form<br />

Second Normal form<br />

The second normal form states that each field in a multiple field primary keytable must<br />

be directly related to the entire primary key. Or in other words,each non-key field should<br />

be a fact about all the fields in the primary key.<br />

In the above table of customer , city is not linked to any primary field.<br />

Figure :- 10.3 Normalized customer table.<br />

194

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

Saved successfully!

Ooh no, something went wrong!