Click here to Skip to main content
15,891,136 members
Home / Discussions / Database
   

Database

 
QuestionADO question moved to .NET forum Pin
T210225-Nov-09 19:58
T210225-Nov-09 19:58 
AnswerWrong Forum Pin
dan!sh 25-Nov-09 20:05
professional dan!sh 25-Nov-09 20:05 
Questiontable normalization Pin
netJP12L25-Nov-09 18:47
netJP12L25-Nov-09 18:47 
AnswerRe: table normalization Pin
_Damian S_25-Nov-09 19:02
professional_Damian S_25-Nov-09 19:02 
AnswerRe: table normalization Pin
Mycroft Holmes25-Nov-09 22:32
professionalMycroft Holmes25-Nov-09 22:32 
GeneralRe: table normalization Pin
Jörgen Andersson26-Nov-09 1:17
professionalJörgen Andersson26-Nov-09 1:17 
GeneralRe: table normalization Pin
Mycroft Holmes26-Nov-09 12:17
professionalMycroft Holmes26-Nov-09 12:17 
GeneralRe: table normalization [modified] Pin
netJP12L26-Nov-09 5:18
netJP12L26-Nov-09 5:18 
Thanks you fellows for your guidance. I have corrected alot of mistakes I had made earlier. I have revised and resposted my work again. I am not sure of the Class and Enrollement tables relationship.

Isn't whenever the Foregin Key is involved it becomes 1 to many relationship. Please correct me. Also, shouldn't the CourseStartDate and CourseExpiryDate be in the Class table and student enrolledDate in Enrollement table.

STUDENT[StudentID(PK), StudentFName]

COURSE[CourseID(PK), CourseName]

INSTRUCTOR[InstructorID(PK), InstructorName]

CLASS[ClassID(PK),CourseID(FK), InstructorID, Location, CourseStartDate,CourseExpiryDate]

ENROLLEMENT[ClassID(PK), StudentID(PK),Grade, EnrolledDate]


Relationships are as follows:
Course and Class: 1 to many
Class and Instructor: 1 to many.

modified on Thursday, November 26, 2009 11:34 AM

GeneralRe: table normalization Pin
The Man from U.N.C.L.E.26-Nov-09 11:24
The Man from U.N.C.L.E.26-Nov-09 11:24 
GeneralRe: table normalization Pin
Mycroft Holmes26-Nov-09 12:13
professionalMycroft Holmes26-Nov-09 12:13 
QuestionBuilding an SQL Statement in a stored procedure Pin
Paul McGann25-Nov-09 6:32
professionalPaul McGann25-Nov-09 6:32 
AnswerRe: Building an SQL Statement in a stored procedure Pin
Shameel25-Nov-09 7:59
professionalShameel25-Nov-09 7:59 
AnswerRe: Building an SQL Statement in a stored procedure Pin
Shameel25-Nov-09 8:01
professionalShameel25-Nov-09 8:01 
AnswerRe: Building an SQL Statement in a stored procedure Pin
Mycroft Holmes25-Nov-09 13:21
professionalMycroft Holmes25-Nov-09 13:21 
GeneralRe: Building an SQL Statement in a stored procedure Pin
Paul McGann25-Nov-09 21:43
professionalPaul McGann25-Nov-09 21:43 
QuestionStart records from Specific Number Pin
Gandalf_TheWhite25-Nov-09 4:04
professionalGandalf_TheWhite25-Nov-09 4:04 
AnswerRe: Start records from Specific Number Pin
Abhijit Jana25-Nov-09 4:36
professionalAbhijit Jana25-Nov-09 4:36 
GeneralRe: Start records from Specific Number Pin
Gandalf_TheWhite25-Nov-09 21:53
professionalGandalf_TheWhite25-Nov-09 21:53 
GeneralRe: Start records from Specific Number Pin
Abhijit Jana25-Nov-09 22:03
professionalAbhijit Jana25-Nov-09 22:03 
AnswerRe: Start records from Specific Number Pin
Shameel25-Nov-09 4:55
professionalShameel25-Nov-09 4:55 
GeneralRe: Start records from Specific Number Pin
Gandalf_TheWhite25-Nov-09 21:56
professionalGandalf_TheWhite25-Nov-09 21:56 
GeneralRe: Start records from Specific Number Pin
Shameel26-Nov-09 4:58
professionalShameel26-Nov-09 4:58 
QuestionSSIS Script Task Pin
David Muir24-Nov-09 23:34
David Muir24-Nov-09 23:34 
AnswerRe: SSIS Script Task Pin
Vimalsoft(Pty) Ltd25-Nov-09 2:28
professionalVimalsoft(Pty) Ltd25-Nov-09 2:28 
Question[Message Deleted] Pin
mobius11100124-Nov-09 5:24
mobius11100124-Nov-09 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.