dbTalk Databases Forums  

Few confusing things about first normal form

comp.databases.theory comp.databases.theory


Discuss Few confusing things about first normal form in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #41  
Old   
David Portas
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 01:01 AM






On 23 Oct, 01:28, Sru... (AT) gmail (DOT) com wrote:
Quote:
greetings

I realize that the arguments you gave here basically also answered my
first question in another thread. But with regards to my second
question in that other thread, your argument here is also that SQL
doesn’t allow multi valued attributes. But if we limit our discussion
just to the theory, then multi valued attributes can exist. Thus table
( where ITEM column holds multiple values ) in my second question

ORDER ( ORDER_ID, ITEM )

is not normalized and as such the question is still valid?

If ITEM truly is multi-valued then ORDER is not a relation. All
attributes are equally important. The fact that it has a regular
scalar attribute as a key is irrelevant because if ITEM isn't one
value then the operators like equality, assignment and projection
can't apply in their usual sense.

I don't mean to exclude the possibility of relation-valued attributes.
A relation is a value so RVA's are perfectly OK in principle.

--
David Portas


Reply With Quote
  #42  
Old   
David Portas
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 01:01 AM






On 23 Oct, 01:28, Sru... (AT) gmail (DOT) com wrote:
Quote:
greetings

I realize that the arguments you gave here basically also answered my
first question in another thread. But with regards to my second
question in that other thread, your argument here is also that SQL
doesn’t allow multi valued attributes. But if we limit our discussion
just to the theory, then multi valued attributes can exist. Thus table
( where ITEM column holds multiple values ) in my second question

ORDER ( ORDER_ID, ITEM )

is not normalized and as such the question is still valid?

If ITEM truly is multi-valued then ORDER is not a relation. All
attributes are equally important. The fact that it has a regular
scalar attribute as a key is irrelevant because if ITEM isn't one
value then the operators like equality, assignment and projection
can't apply in their usual sense.

I don't mean to exclude the possibility of relation-valued attributes.
A relation is a value so RVA's are perfectly OK in principle.

--
David Portas


Reply With Quote
  #43  
Old   
David Portas
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 01:01 AM



On 23 Oct, 01:28, Sru... (AT) gmail (DOT) com wrote:
Quote:
greetings

I realize that the arguments you gave here basically also answered my
first question in another thread. But with regards to my second
question in that other thread, your argument here is also that SQL
doesn’t allow multi valued attributes. But if we limit our discussion
just to the theory, then multi valued attributes can exist. Thus table
( where ITEM column holds multiple values ) in my second question

ORDER ( ORDER_ID, ITEM )

is not normalized and as such the question is still valid?

If ITEM truly is multi-valued then ORDER is not a relation. All
attributes are equally important. The fact that it has a regular
scalar attribute as a key is irrelevant because if ITEM isn't one
value then the operators like equality, assignment and projection
can't apply in their usual sense.

I don't mean to exclude the possibility of relation-valued attributes.
A relation is a value so RVA's are perfectly OK in principle.

--
David Portas


Reply With Quote
  #44  
Old   
David Portas
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 01:01 AM



On 23 Oct, 01:28, Sru... (AT) gmail (DOT) com wrote:
Quote:
greetings

I realize that the arguments you gave here basically also answered my
first question in another thread. But with regards to my second
question in that other thread, your argument here is also that SQL
doesn’t allow multi valued attributes. But if we limit our discussion
just to the theory, then multi valued attributes can exist. Thus table
( where ITEM column holds multiple values ) in my second question

ORDER ( ORDER_ID, ITEM )

is not normalized and as such the question is still valid?

If ITEM truly is multi-valued then ORDER is not a relation. All
attributes are equally important. The fact that it has a regular
scalar attribute as a key is irrelevant because if ITEM isn't one
value then the operators like equality, assignment and projection
can't apply in their usual sense.

I don't mean to exclude the possibility of relation-valued attributes.
A relation is a value so RVA's are perfectly OK in principle.

--
David Portas


Reply With Quote
  #45  
Old   
David Portas
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 01:01 AM



On 23 Oct, 01:28, Sru... (AT) gmail (DOT) com wrote:
Quote:
greetings

I realize that the arguments you gave here basically also answered my
first question in another thread. But with regards to my second
question in that other thread, your argument here is also that SQL
doesn’t allow multi valued attributes. But if we limit our discussion
just to the theory, then multi valued attributes can exist. Thus table
( where ITEM column holds multiple values ) in my second question

ORDER ( ORDER_ID, ITEM )

is not normalized and as such the question is still valid?

If ITEM truly is multi-valued then ORDER is not a relation. All
attributes are equally important. The fact that it has a regular
scalar attribute as a key is irrelevant because if ITEM isn't one
value then the operators like equality, assignment and projection
can't apply in their usual sense.

I don't mean to exclude the possibility of relation-valued attributes.
A relation is a value so RVA's are perfectly OK in principle.

--
David Portas


Reply With Quote
  #46  
Old   
David Portas
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 01:01 AM



On 23 Oct, 01:28, Sru... (AT) gmail (DOT) com wrote:
Quote:
greetings

I realize that the arguments you gave here basically also answered my
first question in another thread. But with regards to my second
question in that other thread, your argument here is also that SQL
doesn’t allow multi valued attributes. But if we limit our discussion
just to the theory, then multi valued attributes can exist. Thus table
( where ITEM column holds multiple values ) in my second question

ORDER ( ORDER_ID, ITEM )

is not normalized and as such the question is still valid?

If ITEM truly is multi-valued then ORDER is not a relation. All
attributes are equally important. The fact that it has a regular
scalar attribute as a key is irrelevant because if ITEM isn't one
value then the operators like equality, assignment and projection
can't apply in their usual sense.

I don't mean to exclude the possibility of relation-valued attributes.
A relation is a value so RVA's are perfectly OK in principle.

--
David Portas


Reply With Quote
  #47  
Old   
Roy Hann
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 04:56 AM



paul c wrote:

Quote:
Srubys (AT) gmail (DOT) com wrote:
greetings


1) For DB to be in 1NF there must be no multi-valued attributes, and
no repeating groups. When so, data is said to be atomic. ...


When Codd first used the word "atomic", he may have intended it very
casually, as some of his intended audience were decision-makers, but
(just as they often are today) many of those were non-technical people.
I think we can be certain he did intend it casually because he never
went on to make any argument based on what it (might) mean. So in
effect his failure to define it is no more significant than Euclid
failing to define or comment on the concept of colour.

Furthermore we know that relational algebra doesn't provide tools to
discern the internal structure of any value. If we were going to
explain that to someone we'd probably also say values are atomic. It's
an excellent word for the idea.

The usual misunderstanding seems to be to think that RT and SQL tell us
we have to do something to our designs to *make* our values atomic. But
that is backwards. We can use any kind of value we want, including the
classic list of pizza toppings, but RT (if not SQL) will only ever be
able to treat it as an atom. (Having said that, I am still not at all
happy with RVAs! :-)

--
Roy



Reply With Quote
  #48  
Old   
Roy Hann
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 04:56 AM



paul c wrote:

Quote:
Srubys (AT) gmail (DOT) com wrote:
greetings


1) For DB to be in 1NF there must be no multi-valued attributes, and
no repeating groups. When so, data is said to be atomic. ...


When Codd first used the word "atomic", he may have intended it very
casually, as some of his intended audience were decision-makers, but
(just as they often are today) many of those were non-technical people.
I think we can be certain he did intend it casually because he never
went on to make any argument based on what it (might) mean. So in
effect his failure to define it is no more significant than Euclid
failing to define or comment on the concept of colour.

Furthermore we know that relational algebra doesn't provide tools to
discern the internal structure of any value. If we were going to
explain that to someone we'd probably also say values are atomic. It's
an excellent word for the idea.

The usual misunderstanding seems to be to think that RT and SQL tell us
we have to do something to our designs to *make* our values atomic. But
that is backwards. We can use any kind of value we want, including the
classic list of pizza toppings, but RT (if not SQL) will only ever be
able to treat it as an atom. (Having said that, I am still not at all
happy with RVAs! :-)

--
Roy



Reply With Quote
  #49  
Old   
Roy Hann
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 04:56 AM



paul c wrote:

Quote:
Srubys (AT) gmail (DOT) com wrote:
greetings


1) For DB to be in 1NF there must be no multi-valued attributes, and
no repeating groups. When so, data is said to be atomic. ...


When Codd first used the word "atomic", he may have intended it very
casually, as some of his intended audience were decision-makers, but
(just as they often are today) many of those were non-technical people.
I think we can be certain he did intend it casually because he never
went on to make any argument based on what it (might) mean. So in
effect his failure to define it is no more significant than Euclid
failing to define or comment on the concept of colour.

Furthermore we know that relational algebra doesn't provide tools to
discern the internal structure of any value. If we were going to
explain that to someone we'd probably also say values are atomic. It's
an excellent word for the idea.

The usual misunderstanding seems to be to think that RT and SQL tell us
we have to do something to our designs to *make* our values atomic. But
that is backwards. We can use any kind of value we want, including the
classic list of pizza toppings, but RT (if not SQL) will only ever be
able to treat it as an atom. (Having said that, I am still not at all
happy with RVAs! :-)

--
Roy



Reply With Quote
  #50  
Old   
Roy Hann
 
Posts: n/a

Default Re: Few confusing things about first normal form - 10-23-2008 , 04:56 AM



paul c wrote:

Quote:
Srubys (AT) gmail (DOT) com wrote:
greetings


1) For DB to be in 1NF there must be no multi-valued attributes, and
no repeating groups. When so, data is said to be atomic. ...


When Codd first used the word "atomic", he may have intended it very
casually, as some of his intended audience were decision-makers, but
(just as they often are today) many of those were non-technical people.
I think we can be certain he did intend it casually because he never
went on to make any argument based on what it (might) mean. So in
effect his failure to define it is no more significant than Euclid
failing to define or comment on the concept of colour.

Furthermore we know that relational algebra doesn't provide tools to
discern the internal structure of any value. If we were going to
explain that to someone we'd probably also say values are atomic. It's
an excellent word for the idea.

The usual misunderstanding seems to be to think that RT and SQL tell us
we have to do something to our designs to *make* our values atomic. But
that is backwards. We can use any kind of value we want, including the
classic list of pizza toppings, but RT (if not SQL) will only ever be
able to treat it as an atom. (Having said that, I am still not at all
happy with RVAs! :-)

--
Roy



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.