dbTalk Databases Forums  

ERD attributes or?

comp.databases comp.databases


Discuss ERD attributes or? in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shannon
 
Posts: n/a

Default ERD attributes or? - 12-17-2003 , 03:48 AM






hi all,

I need to construct an ER diagram involving a student. The student has
the usual attributes including student number, name, telephone etc.

In addition I am told that he is in a CLASS, freshman, sophomore, etc

and that he may be part of major or minor DEPARTMENTS,

and DEGREE PROGRAM (B.A., B.S., ..., Ph.D.).

How do i treat class, departments and degree?

Can they be attributes of student, or something else..?

thanks

Shannon


Reply With Quote
  #2  
Old   
dataman
 
Posts: n/a

Default Re: ERD attributes or? - 12-17-2003 , 01:59 PM







shannon <shannon (AT) nolunchmeat (DOT) com> wrote:
Quote:
hi all,

I need to construct an ER diagram involving a student. The student has
the usual attributes including student number, name, telephone etc.

In addition I am told that he is in a CLASS, freshman, sophomore, etc

and that he may be part of major or minor DEPARTMENTS,

and DEGREE PROGRAM (B.A., B.S., ..., Ph.D.).

How do i treat class, departments and degree?

Can they be attributes of student, or something else..?

thanks

Shannon

Class = attribute of student
department - entity with relationship to degree
(student) degree - entity with relationship to student


Reply With Quote
  #3  
Old   
Alan
 
Posts: n/a

Default Re: ERD attributes or? - 12-17-2003 , 02:14 PM



Read your textbook. No one here will do your homework for you.


"shannon" <shannon (AT) nolunchmeat (DOT) com> wrote

Quote:
hi all,

I need to construct an ER diagram involving a student. The student has
the usual attributes including student number, name, telephone etc.

In addition I am told that he is in a CLASS, freshman, sophomore, etc

and that he may be part of major or minor DEPARTMENTS,

and DEGREE PROGRAM (B.A., B.S., ..., Ph.D.).

How do i treat class, departments and degree?

Can they be attributes of student, or something else..?

thanks

Shannon




Reply With Quote
  #4  
Old   
shannon
 
Posts: n/a

Default Re: ERD attributes or? - 12-17-2003 , 02:25 PM



whats up, I am just tryin to learn DB,

if you can't help then thats okay,

Alan wrote:

Quote:
Read your textbook. No one here will do your homework for you.


"shannon" <shannon (AT) nolunchmeat (DOT) com> wrote in message
news:brp8q5$pq3$01$1 (AT) news (DOT) t-online.com...

hi all,

I need to construct an ER diagram involving a student. The student has
the usual attributes including student number, name, telephone etc.

In addition I am told that he is in a CLASS, freshman, sophomore, etc

and that he may be part of major or minor DEPARTMENTS,

and DEGREE PROGRAM (B.A., B.S., ..., Ph.D.).

How do i treat class, departments and degree?

Can they be attributes of student, or something else..?

thanks

Shannon






Reply With Quote
  #5  
Old   
Arto V. Viitanen
 
Posts: n/a

Default Re: ERD attributes or? - 12-18-2003 , 02:26 AM



Quote:
"shannon" == shannon <shannon (AT) nolunchmeat (DOT) com> writes:
shannon> whats up, I am just tryin to learn DB, if you can't help then thats
shannon> okay,

shannon> Alan wrote:

Quote:
Read your textbook. No one here will do your homework for you.
How do i treat class, departments and degree?

Can they be attributes of student, or something else..?
What Alan (I guess) meant is that books tell, that it depends. If you have no
other information of the degree but its name, then it is an attribute. If you
have lots of information, like how many points (we use term study week) it
lasts, when the degree was given etc., then it is an entity.

I guess one approach is to make all things entitites, and then collect those
together you can. Another is to make a one big entity (or universal relation
in relation system), and split it to smaller ones.

But as Alan said, read your textbook.

--
Arto V. Viitanen av (AT) cs (DOT) uta.fi
University of Tampere, Department of Computer Sciences
Tampere, Finland http://www.cs.uta.fi/~av/


Reply With Quote
  #6  
Old   
shannon
 
Posts: n/a

Default Elmasri or Date - 12-18-2003 , 02:43 PM



As all insist I should read my text book, then I guess its time to buy one,

I am doing online tutorials but there is not enough content in them to
make the complex stuff understandable,

the two textbooks that I see most mentioned are,

Fundamentals of Database systems
(Ramez Elmasri, Shamkant Navathe)

An Introduction to Database Systems
(C.J.Date)


Fundamentals is vastly more expensive than the other, Is it worth it?

Are there acceptable alternatives?

Greetings

Shannon



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

Default Re: Elmasri or Date - 12-18-2003 , 02:50 PM



Any good public library system should have both even if perhaps not the
latest edition.

"shannon" <shannon (AT) nolunchmeat (DOT) com> wrote

Quote:
As all insist I should read my text book, then I guess its time to buy
one,

I am doing online tutorials but there is not enough content in them to
make the complex stuff understandable,

the two textbooks that I see most mentioned are,

Fundamentals of Database systems
(Ramez Elmasri, Shamkant Navathe)

An Introduction to Database Systems
(C.J.Date)


Fundamentals is vastly more expensive than the other, Is it worth it?

Are there acceptable alternatives?

Greetings

Shannon





Reply With Quote
  #8  
Old   
Alan
 
Posts: n/a

Default Re: Elmasri or Date - 12-18-2003 , 02:53 PM



Elmasri is a very good book, and is a standard text in many colleges. If you
are not mathematically minded, you can skip the algebraic gobbildy-gook that
permeates the book. Most of it is not necessary, but is helpful if you are
thus inclined.

"shannon" <shannon (AT) nolunchmeat (DOT) com> wrote

Quote:
As all insist I should read my text book, then I guess its time to buy
one,

I am doing online tutorials but there is not enough content in them to
make the complex stuff understandable,

the two textbooks that I see most mentioned are,

Fundamentals of Database systems
(Ramez Elmasri, Shamkant Navathe)

An Introduction to Database Systems
(C.J.Date)


Fundamentals is vastly more expensive than the other, Is it worth it?

Are there acceptable alternatives?

Greetings

Shannon





Reply With Quote
  #9  
Old   
Barry
 
Posts: n/a

Default Re: ERD attributes or? - 12-18-2003 , 04:07 PM



shannon <shannon (AT) nolunchmeat (DOT) com> wrote

Quote:
hi all,

I need to construct an ER diagram involving a student. The student has
the usual attributes including student number, name, telephone etc.
I suggest a different approach based on studying relevant Data Models
and then creating one that meets your requirements.

This the approach that I would suggest which will help you in
constructing an ER diagram that culd be used to design a Database for
an operational system :-
1) Start by looking at the Student-related Models on this page of
the Database Answers web site :-
http://www.databaseanswers.com/data_models/index.htm
2) Identify the Data Model(s) that most closely match your
requirements.
3) Choose the Entities that you need (a valuable learning
experience)
4) Assemble the corresponding Business Rules
5) Modify the Rules as appropriate.
6) Assemble some Test Data - just 10 or 20 records.
7) Define a typical User Scenario based on the test data.
8) Put 4 pieces of paper on a desk or table -
i) Data MOdels
ii) Business Rules
iii) User Scenarios
iv) Test Data
9) Reflect on them while driving, in the shower, on the bus/train,
out walking and so on.
10) Prepare a presentation to show the requirements,(Rules), and the
logic of
your solution.
11) Let me know how it goes !

Good luck.

Barry Williams


Reply With Quote
  #10  
Old   
Costin Cozianu
 
Posts: n/a

Default Re: Elmasri or Date - 12-18-2003 , 05:17 PM



shannon wrote:
Quote:
As all insist I should read my text book, then I guess its time to buy one,

I am doing online tutorials but there is not enough content in them to
make the complex stuff understandable,

the two textbooks that I see most mentioned are,

Fundamentals of Database systems
(Ramez Elmasri, Shamkant Navathe)

An Introduction to Database Systems
(C.J.Date)


Fundamentals is vastly more expensive than the other, Is it worth it?

Are there acceptable alternatives?

Greetings

Shannon


A book that I would strongly recommend is

Lewis, Bernstein and Kifer: Databases and Transaction Processing - An
Application Oriented Approach

It is well worth the money, and touches more subjects as far as I can tell.



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.