--------- --------- | STUDENT |>--------------<| SUBJECT | --------- --------- di tambah entiti REGISTRATION menjadi --------- A -------------- B --------- | STUDENT |- - - -----<| REGISTRATION |>----- - - -| SUBJECT | --------- -------------- --------- IC ITM PK --------> FK FK <---------PK SUBJ CODE PK = Primary Key FK = Foreign Key Gambarajah 1 |
PK -----> FK PK ----> FK --------- ----------- --------- | A |- - - -----<| B |- - - -----<| C | --------- ----------- --------- Gambarajah 2
---------- --------- | LECTURER |- - - -----<| STUDENT | ---------- --------- Gambarajah 3
--------- A --------- B -------------- C --------- | STUDENT |- - ----<| SEM REC |- - ----<| REGISTRATION |>---- - -| SUBJECT | --------- --------- -------------- --------- * IC ITM PK ---> FK * SEMESTER PK ----> FK Grade FK <--- PK * SUBJ CODE Name Gpa Subj name Sex Cgpa Credit hours Address1 Gpa Crdt Address2 Cgpa Crdt PostCode City State PK = Primary Key FK = Foreign Key * = Atribut ini merupakan PRIMARY KEY bagi entiti berkenaan Gambarajah 4(A)
STUDENTS IC_ITM NUMBER(8,0) NAME CHAR(35) SEX CHAR(1) ADDRESS1 CHAR(35) ADDRESS2 CHAR(35) POSTCODE NUMBER(5,0) CITY CHAR(20) STATE CHAR(20) SEMESTER_RECORDS SEMESTER DATE STUD_IC_ITM NUMBER(8,0) GPA NUMBER(4,2) CGPA NUMBER(4,2) GPA_CRDT NUMBER(3,0) CGPA_CRDT NUMBER(3,0) REGISTRATIONS STUD_IC_ITM NUMBER(8,0) SEMREC_SEMESTER DATE SUBJ_SUBJ_CODE CHAR(6) GRADE CHAR(2) SUBJECTS SUBJ_CODE CHAR(6) SUBJ_NAME CHAR(25) CREDIT_HOURS NUMBER(2,0)[Isi Kandungan]
![]() |
Copyright © 1995-1999 Fz Sdc nsr@melayu.com http://www.melayu.com/nsr |