Jump to content

Discussion about normal forms in SQL


Recommended Posts

Posted

[quote author=meghana9 link=topic=219396.msg2702810#msg2702810 date=1312299614]
NOrmals forms aipoina tarvatha ..we can discuss Performance tuning... bcos Normalisation ardhamithe then denormalisation ardhamavuthundhi which is a performance tuning
[/quote]

wakey.. S%Hi

  • Replies 198
  • Created
  • Last Reply

Top Posters In This Topic

  • galigannarao

    40

  • Ranga_The_Donga

    22

  • manoghna

    22

  • ronitreddy

    17

Top Posters In This Topic

Posted

[quote author=jamesbond link=topic=219396.msg2702835#msg2702835 date=1312299824]
namma Bengalooru huduga :P
[/quote] !q# !q# !q# !q# !q# !q# !q#

Posted

[quote author=galigannarao link=topic=219396.msg2702812#msg2702812 date=1312299624]
Normalization

A logical design method which minimizes data redundancy and reduces design flaws.

Consists of applying various β€œnormal” forms to the database design.
The normal forms break down large tables into smaller subsets.

[/quote]

ante data ni database lo pette mundu aa database ni ela create cheyyalo use chese paddathi aa idi ?? i never came across these terms anduke aduguthunna

Posted

[quote author=jamesbond link=topic=219396.msg2702831#msg2702831 date=1312299789]
yeah ade anukuntanna.... I never came across these

Probably database developer use chestaaremo... memedo chinna analyst lamΒ  @3$%
[/quote]

kani me analystlu requirements for a prj ela develop chestaru ba....... sCo_^Y sCo_^Y sCo_^Y

Posted

[quote author=jamesbond link=topic=219396.msg2702835#msg2702835 date=1312299824]
namma Bengalooru huduga :P
[/quote]

magaaaaa [img]http://www.gifsoup.com/view1/2119144/raga-o.gif[/img]

Posted

Table : Employee (1NF)
emp_no name dept_no dept_name skills
1 Kevin Jacobs 201 R&D C
1 Kevin Jacobs 201 R&D Perl
1 Kevin Jacobs 201 R&D Java
2 Barbara Jones 224 IT Linux
2 Barbara Jones 224 IT Mac
3 Jake Rivera 201 R&D DB2
3 Jake Rivera 201 R&D Oracle
3 Jake Rivera 201 R&D Java


Name, dept_no, and dept_name are functionally dependent on emp_no.Β  (emp_no -> name, dept_no, dept_name)

Skills is not functionally dependent on emp_no since it is not unique to each emp_no.

Table: Employee (2NF)
emp_no name dept_no dept_name skills
1 Kevin Jacobs 201 R&D C, Perl, Java
2 Barbara Jones 224 IT Linux, Mac
3 Jake Rivera 201 R&D DB2, Oracle, Java

Table: Skills (2NF)
emp_no skills
1 C
1 Perl
1 Java
2 Linux
2 Mac
3 DB2
3 Oracle
3 Java


Posted

akkada job chesevaadivaa.Β  [quote author=jamesbond link=topic=219396.msg2702835#msg2702835 date=1312299824]
namma Bengalooru huduga :P
[/quote]

Posted

[quote author=jamesbond link=topic=219396.msg2702835#msg2702835 date=1312299824]
namma Bengalooru huduga :P
[/quote]

HegidiyaΒ  H&*() H&*()

Posted

[quote author=charygaru link=topic=219396.msg2702841#msg2702841 date=1312299894]
ante data ni database lo pette mundu aa database ni ela create cheyyalo use chese paddathi aa idi ?? i never came across these terms anduke aduguthunna
[/quote]

exactlyΒ  H&*() H&*() H&*()Β  ela create cheste efficient ga vuntado ani decide cheskune padhati anukuntaΒ  s%H# s%H# s%H#

Posted

[quote author=ronitreddy link=topic=219396.msg2702851#msg2702851 date=1312299960]
HegidiyaΒ  H&*() H&*()
[/quote]

chennagid iyaΒ  sCo_^Y sCo_^Y sCo_^Y sCo_^Y

Posted

[quote author=charygaru link=topic=219396.msg2702841#msg2702841 date=1312299894]
ante data ni database lo pette mundu aa database ni ela create cheyyalo use chese paddathi aa idi ?? i never came across these terms anduke aduguthunna
[/quote]avnu baa these are all the basic steps need to be followed while creating a database H&*()

Posted

[quote author=Virat Kohli link=topic=219396.msg2702838#msg2702838 date=1312299855]
!q# !q# !q# !q# !q# !q# !q#
[/quote]
10gay bheΒ  ^G#W

Posted

[quote author=Virat Kohli link=topic=219396.msg2702854#msg2702854 date=1312299973]
exactlyΒ  H&*() H&*() H&*()Β  ela create cheste efficient ga vuntado ani decide cheskune padhati anukuntaΒ  s%H# s%H# s%H#
[/quote]

@gr33d database design....

Posted

Data Intergrity(continuous to my previous quote)

Insert Anomaly - adding null values.Β  eg, inserting a new department does not require the primary key of emp_no to be added.
Update Anomaly - multiple updates for a single name change, causes performance degradation.Β  eg, changing IT dept_name to IS
Delete Anomaly - deleting wanted information.Β  eg, deleting the IT department removes employee Barbara Jones from the database

Posted

[quote author=galigannarao link=topic=219396.msg2702848#msg2702848 date=1312299943]
Table : Employee (1NF)
emp_no name dept_no dept_name skills
1 Kevin Jacobs 201 R&D C
1 Kevin Jacobs 201 R&D Perl
1 Kevin Jacobs 201 R&D Java
2 Barbara Jones 224 IT Linux
2 Barbara Jones 224 IT Mac
3 Jake Rivera 201 R&D DB2
3 Jake Rivera 201 R&D Oracle
3 Jake Rivera 201 R&D Java


Name, dept_no, and dept_name are functionally dependent on emp_no.Β  (emp_no -> name, dept_no, dept_name)

Skills is not functionally dependent on emp_no since it is not unique to each emp_no.

Table: Employee (2NF)
emp_no name dept_no dept_name skills
1 Kevin Jacobs 201 R&D C, Perl, Java
2 Barbara Jones 224 IT Linux, Mac
3 Jake Rivera 201 R&D DB2, Oracle, Java

Table: Skills (2NF)
emp_no skills
1 C
1 Perl
1 Java
2 Linux
2 Mac
3 DB2
3 Oracle
3 Java
[/quote] thankyou thankyou thankyou thankyou thankyou CITI_$D# CITI_$D# CITI_$D# CITI_$D# CITI_$D#

×
×
  • Create New...