If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > 3rd NF question

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-10, 11:32
si.gates si.gates is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
3rd NF question

I have a table; its a university enrolements database-

tblModules

GroupNo (PK)
Title
TutorCode(FK)
DayNo
Time
Room
Semester

Time; I dont think it is dependent on the Primary Key.

I think it should go in a seperate table like this-

tblTimes

TimeSlot(PK)
Day
Time

So it will look like this-

TimesSlot|Day|Time|

m1 |MON|9:00 - 11:00|
m2 |MON|11:15 - 1:15|
t1 |TUE|9:00 - 11:00|
t2 |TUE|11:15 - 1:15|

Do you guys think this is overkill?

I think it is required so they can query for any free timeslots and other tasks like what day is GroupNO "BAF3"; Thats if I add a composite PrimaryKey table called tblTimeTables with GroupNo and TimeSlot.

Would this even be 3rd Normal Form or 4th maybe even 5th???

Thanks Guys

Last edited by si.gates; 03-07-10 at 13:54.
Reply With Quote
  #2 (permalink)  
Old 03-07-10, 13:22
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
Quote:
Originally Posted by si.gates View Post
I have a table; its a univercity enrolements database-
I believe it's spelt university
__________________
Mike
Reply With Quote
  #3 (permalink)  
Old 03-07-10, 13:25
si.gates si.gates is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
Quote:
Originally Posted by mike_bike_kite View Post
I believe it's spelt university
I believe your right, I also believe this is a typo!
Reply With Quote
  #4 (permalink)  
Old 03-07-10, 13:29
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,517
Quote:
Originally Posted by si.gates View Post
I also believe this is a typo!
Fair enough - I'll stop shaking my head then
__________________
Mike
Reply With Quote
  #5 (permalink)  
Old 03-07-10, 13:50
si.gates si.gates is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
Quote:
Originally Posted by mike_bike_kite View Post
Fair enough - I'll stop shaking my head then

What do you think of the database?
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On