dbTalk Databases Forums  

normalization review

comp.databases.theory comp.databases.theory


Discuss normalization review in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
landonkelsey via DBMonster.com
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 06:17 PM






HMMM! Strange how a simple question aroused such smallmindedness!

Psychology is simple!

landonkelsey wrote:
Quote:
sound like a bunch of teenage girls!

grow up and learn something!

one could make a number ( a large number) of assumptions about any question

[quoted text clipped - 8 lines]
Larry Coon
University of California
--
Message posted via http://www.dbmonster.com



Reply With Quote
  #22  
Old   
landonkelsey via DBMonster.com
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 06:27 PM






I figured it out!

I unknowingly joined a forum at "Mad Comic Book"

I give free psycho advice! Tell me : where are the true scientists?



landonkelsey wrote:
Quote:
HMMM! Strange how a simple question aroused such smallmindedness!

Psychology is simple!

sound like a bunch of teenage girls!

[quoted text clipped - 5 lines]
Larry Coon
University of California
--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....heory/200708/1



Reply With Quote
  #23  
Old   
landonkelsey via DBMonster.com
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 06:42 PM



lets see what you boys know!

why doesn't the following work?

mysql> select * from girls full outer join boys where girls.city = boys.city;

where :

drop table girls;
drop table boys;
create table girls (name varchar(12), city varchar(12));
create table boys (name varchar(12), city varchar(12));
insert into girls values('Mary', 'Boston');
insert into girls values('Nancy', null);
insert into girls values('Susan', 'Chicago');
insert into girls values('Betty', 'Chicago');
insert into girls values('Anne', 'Denver');
insert into boys values('John', 'Boston');
insert into boys values('Henry', 'Boston');
insert into boys values('George', null);
insert into boys values('Sam', 'Chicago');
insert into boys values('James', 'Dallas');

If needed, I can go into insert and create for you!

BTW left and right work OK!












landonkelsey wrote:
Quote:
I figured it out!

I unknowingly joined a forum at "Mad Comic Book"

I give free psycho advice! Tell me : where are the true scientists?

HMMM! Strange how a simple question aroused such smallmindedness!

[quoted text clipped - 5 lines]
Larry Coon
University of California
--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....heory/200708/1



Reply With Quote
  #24  
Old   
paul c
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 06:43 PM



Bob Badour wrote:
Quote:
landonkelsey wrote:

2 is violated ...why?

Because you have made up a set of FD's whereby it violates 2nf.
The second sentence that mentioned candidates contradicted the first but
as a spec, I thought the first one was precise enough: "A telephone call
is uniquely identified by telephone number and time of call."

That made it seem clear to me that cell phones aren't involved and even
if they were, I thought they could move between transmitters during the
call. Anyway, without the second sentence, seems like it isn't BCNF as
several others mentioned, with the second sentence, seems like it isn't
2NF as Bob B clarified. Once normalized, I would have thought any
question involving location would have to do with the application, not
normal form.

p



Reply With Quote
  #25  
Old   
Bob Badour
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 06:43 PM



I assume you mean "other than the two who already plonked you" ?

Plonk!

landonkelsey via DBMonster.com wrote:

Quote:
I figured it out!

I unknowingly joined a forum at "Mad Comic Book"

I give free psycho advice! Tell me : where are the true scientists?

landonkelsey wrote:

HMMM! Strange how a simple question aroused such smallmindedness!

Psychology is simple!

sound like a bunch of teenage girls!

[quoted text clipped - 5 lines]

Larry Coon
University of California

Reply With Quote
  #26  
Old   
landonkelsey via DBMonster.com
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 06:56 PM



I got it! I got it!

You fell off your skateboards and medications!

Well! have fun texting each other down at the arcade!

Bob Badour wrote:
Quote:
I assume you mean "other than the two who already plonked you" ?

Plonk!

I figured it out!

[quoted text clipped - 12 lines]
Larry Coon
University of California
--
Message posted via http://www.dbmonster.com



Reply With Quote
  #27  
Old   
landonkelsey via DBMonster.com
 
Posts: n/a

Default Re: normalization review - 08-27-2007 , 07:25 PM



Larry! I am worried! who is this guy? Under an assumed name?

(1) Dr Lecter (not hopkins)
(2) faculty...our prof in the course we are taking "MS Access"
(3) mafia member
(4) some other psycho!
(5) Iranian

It is dark outside and I just heard a car door close outside!

There a dog is barking!

I'm calling for mommy!!!!


landonkelsey wrote:
Quote:
I got it! I got it!

You fell off your skateboards and medications!

Well! have fun texting each other down at the arcade!

I assume you mean "other than the two who already plonked you" ?

[quoted text clipped - 5 lines]
Larry Coon
University of California
--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....heory/200708/1



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

Default Re: normalization review - 08-30-2007 , 07:53 AM



On 28 Aug, 00:42, "landonkelsey via DBMonster.com" <u36972@uwe> wrote:
Quote:
lets see what you boys know!

why doesn't the following work?

mysql> select * from girls full outer join boys where girls.city = boys.city;

where :

drop table girls;
drop table boys;
create table girls (name varchar(12), city varchar(12));
create table boys (name varchar(12), city varchar(12));
insert into girls values('Mary', 'Boston');
insert into girls values('Nancy', null);
insert into girls values('Susan', 'Chicago');
insert into girls values('Betty', 'Chicago');
insert into girls values('Anne', 'Denver');
insert into boys values('John', 'Boston');
insert into boys values('Henry', 'Boston');
insert into boys values('George', null);
insert into boys values('Sam', 'Chicago');
insert into boys values('James', 'Dallas');

Is "does not work" considered to be an adequate description of a
problem in your organization / place of study?

Perhaps the answer is that your query is not valid SQL (because the
correct syntax is FULL OUTER JOIN ... ON).
Perhaps the answer is that you omitted to declare any keys for either
table.

--
David Portas



Reply With Quote
  #29  
Old   
landonkelsey via DBMonster.com
 
Posts: n/a

Default Re: normalization review - 08-30-2007 , 12:29 PM



somebody tried the SQL on Oracle and it worked!

It worked on MS SQL Server!

the left and right outer joins worked...yes I fixed the where->on

what kind of sick forum did I get myself into!

a bunch of arrogant people with NO scientific knowledge some disturbed by my
simple little normalization problem

I've always found arrogance and talent to be mutually exclusive!

I am out of this forum!

The world will hit you like a freight train once you get out of that little
college into the real world.

THAT IS IT! You are there thinking you should have gone to Stanford or that
other place!

Let go of that failure and learn all you can!

David Portas wrote:
Quote:
lets see what you boys know!

[quoted text clipped - 18 lines]
insert into boys values('Sam', 'Chicago');
insert into boys values('James', 'Dallas');

Is "does not work" considered to be an adequate description of a
problem in your organization / place of study?

Perhaps the answer is that your query is not valid SQL (because the
correct syntax is FULL OUTER JOIN ... ON).
Perhaps the answer is that you omitted to declare any keys for either
table.

--
David Portas
--
Message posted via DBMonster.com
http://www.dbmonster.com/Uwe/Forums....heory/200708/1



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.