![]() | |
#41
| |||
| |||
|
|
greetings My book claims that for table to be in 1NF, we must: * Eliminate remove repeating groups of data * Create separate tables for each group of related data and identify each row with a unique column ( the primary key ) I know that for table to be in 1NF, we must remove repeating groups of data. But is it ( for relation to be in 1NF ) also required to create separate tables for each group of related data or is that just recommended and thus optional? |
|
Say we have non-normalized table STUDENT: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT1#, SUBJECT2#, SUBJECT1_NAME, SUBJECT2_NAME, TEACHER1_NAME, TEACHER2_NAME ) I realize best thing to do would be to create two tables: STUDENT-SUBJECT ( STUDENT#, SUBJECT#, SUBJECT_NAME, TEACHER_NAME ) STUDENT ( STUDENT#, STUDENT_NAME) But would the following table also be considered in 1NF: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT, SUBJECT_NAME, TEACHER ) |
#42
| |||
| |||
|
|
greetings My book claims that for table to be in 1NF, we must: * Eliminate remove repeating groups of data * Create separate tables for each group of related data and identify each row with a unique column ( the primary key ) I know that for table to be in 1NF, we must remove repeating groups of data. But is it ( for relation to be in 1NF ) also required to create separate tables for each group of related data or is that just recommended and thus optional? |
|
Say we have non-normalized table STUDENT: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT1#, SUBJECT2#, SUBJECT1_NAME, SUBJECT2_NAME, TEACHER1_NAME, TEACHER2_NAME ) I realize best thing to do would be to create two tables: STUDENT-SUBJECT ( STUDENT#, SUBJECT#, SUBJECT_NAME, TEACHER_NAME ) STUDENT ( STUDENT#, STUDENT_NAME) But would the following table also be considered in 1NF: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT, SUBJECT_NAME, TEACHER ) |
#43
| |||
| |||
|
|
greetings My book claims that for table to be in 1NF, we must: * Eliminate remove repeating groups of data * Create separate tables for each group of related data and identify each row with a unique column ( the primary key ) I know that for table to be in 1NF, we must remove repeating groups of data. But is it ( for relation to be in 1NF ) also required to create separate tables for each group of related data or is that just recommended and thus optional? |
|
Say we have non-normalized table STUDENT: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT1#, SUBJECT2#, SUBJECT1_NAME, SUBJECT2_NAME, TEACHER1_NAME, TEACHER2_NAME ) I realize best thing to do would be to create two tables: STUDENT-SUBJECT ( STUDENT#, SUBJECT#, SUBJECT_NAME, TEACHER_NAME ) STUDENT ( STUDENT#, STUDENT_NAME) But would the following table also be considered in 1NF: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT, SUBJECT_NAME, TEACHER ) |
#44
| |||
| |||
|
|
greetings My book claims that for table to be in 1NF, we must: * Eliminate remove repeating groups of data * Create separate tables for each group of related data and identify each row with a unique column ( the primary key ) I know that for table to be in 1NF, we must remove repeating groups of data. But is it ( for relation to be in 1NF ) also required to create separate tables for each group of related data or is that just recommended and thus optional? |
|
Say we have non-normalized table STUDENT: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT1#, SUBJECT2#, SUBJECT1_NAME, SUBJECT2_NAME, TEACHER1_NAME, TEACHER2_NAME ) I realize best thing to do would be to create two tables: STUDENT-SUBJECT ( STUDENT#, SUBJECT#, SUBJECT_NAME, TEACHER_NAME ) STUDENT ( STUDENT#, STUDENT_NAME) But would the following table also be considered in 1NF: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT, SUBJECT_NAME, TEACHER ) |
#45
| |||
| |||
|
|
greetings My book claims that for table to be in 1NF, we must: * Eliminate remove repeating groups of data * Create separate tables for each group of related data and identify each row with a unique column ( the primary key ) I know that for table to be in 1NF, we must remove repeating groups of data. But is it ( for relation to be in 1NF ) also required to create separate tables for each group of related data or is that just recommended and thus optional? |
|
Say we have non-normalized table STUDENT: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT1#, SUBJECT2#, SUBJECT1_NAME, SUBJECT2_NAME, TEACHER1_NAME, TEACHER2_NAME ) I realize best thing to do would be to create two tables: STUDENT-SUBJECT ( STUDENT#, SUBJECT#, SUBJECT_NAME, TEACHER_NAME ) STUDENT ( STUDENT#, STUDENT_NAME) But would the following table also be considered in 1NF: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT, SUBJECT_NAME, TEACHER ) |
#46
| |||
| |||
|
|
greetings My book claims that for table to be in 1NF, we must: * Eliminate remove repeating groups of data * Create separate tables for each group of related data and identify each row with a unique column ( the primary key ) I know that for table to be in 1NF, we must remove repeating groups of data. But is it ( for relation to be in 1NF ) also required to create separate tables for each group of related data or is that just recommended and thus optional? |
|
Say we have non-normalized table STUDENT: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT1#, SUBJECT2#, SUBJECT1_NAME, SUBJECT2_NAME, TEACHER1_NAME, TEACHER2_NAME ) I realize best thing to do would be to create two tables: STUDENT-SUBJECT ( STUDENT#, SUBJECT#, SUBJECT_NAME, TEACHER_NAME ) STUDENT ( STUDENT#, STUDENT_NAME) But would the following table also be considered in 1NF: STUDENT ( STUDENT#, STUDENT_NAME, SUBJECT, SUBJECT_NAME, TEACHER ) |
#47
| |||
| |||
|
|
"paul c" <toledobythesea (AT) oohay (DOT) ac> wrote in message .... Heh, just to muddy the waters a little or even a lot, the conventional normalization discipline is really just a way to help determine a simple structure that avoids a lot of constraint verbiage. From what I gather of the typical SQL product it is effectively a sop that allows them to cop-out and not give very full constraint support. Nah! |
#48
| |||
| |||
|
|
"paul c" <toledobythesea (AT) oohay (DOT) ac> wrote in message .... Heh, just to muddy the waters a little or even a lot, the conventional normalization discipline is really just a way to help determine a simple structure that avoids a lot of constraint verbiage. From what I gather of the typical SQL product it is effectively a sop that allows them to cop-out and not give very full constraint support. Nah! |
#49
| |||
| |||
|
|
"paul c" <toledobythesea (AT) oohay (DOT) ac> wrote in message .... Heh, just to muddy the waters a little or even a lot, the conventional normalization discipline is really just a way to help determine a simple structure that avoids a lot of constraint verbiage. From what I gather of the typical SQL product it is effectively a sop that allows them to cop-out and not give very full constraint support. Nah! |
#50
| |||
| |||
|
|
"paul c" <toledobythesea (AT) oohay (DOT) ac> wrote in message .... Heh, just to muddy the waters a little or even a lot, the conventional normalization discipline is really just a way to help determine a simple structure that avoids a lot of constraint verbiage. From what I gather of the typical SQL product it is effectively a sop that allows them to cop-out and not give very full constraint support. Nah! |
![]() |
| Thread Tools | |
| Display Modes | |
| |