The document defines the attributes and data types for several database tables including Students, Users, Clubs, Classroom, and Budget. The Students table includes attributes for student ID, name, contact details, and other profile information. The Users table contains username, password, and user ID attributes. The Clubs table has club ID, name, and category attributes. The Classroom table lists classroom ID, name, availability, and remarks. Finally, the Budget table connects a club ID to its credit, debit, and remarks.
The document defines the attributes and data types for several database tables including Students, Users, Clubs, Classroom, and Budget. The Students table includes attributes for student ID, name, contact details, and other profile information. The Users table contains username, password, and user ID attributes. The Clubs table has club ID, name, and category attributes. The Classroom table lists classroom ID, name, availability, and remarks. Finally, the Budget table connects a club ID to its credit, debit, and remarks.
The document defines the attributes and data types for several database tables including Students, Users, Clubs, Classroom, and Budget. The Students table includes attributes for student ID, name, contact details, and other profile information. The Users table contains username, password, and user ID attributes. The Clubs table has club ID, name, and category attributes. The Classroom table lists classroom ID, name, availability, and remarks. Finally, the Budget table connects a club ID to its credit, debit, and remarks.
Name Description Required Data Type Primary Key / Foreign Key Students StudentID Each ID represent one Student NOT NULL VARCHAR(5) PK Name Students name NOT NULL VARCHAR(50) IC No. Students identity card number (local) NULL VARCHAR(30) Passport No. Students passport number (foreigner) NULL VARCHAR(30) Gender Male of Female NOT NULL VARCHAR(10) Nationality Students nationality NOT NULL VARCHAR(50) Contact Number Students contact number NOT NULL VARCHAR(20) E-mail Students e- mail NOT NULL VARCHAR(50)
Table Name Attributes Name Description Required Data Type Primary Key / Foreign Key Users Username User who is logging in NOT NULL VARCHAR(20) PK Password Users password converted to MD5 hash NOT NULL VARCHAR(255) UserID Each ID represent one user NOT NULL VARCHAR(5) FK
Table Name Attributes Description Required Data Type Primary Key / Name Foreign Key Clubs ClubID Each club with own ID NOT NULL VARCHAR(5) PK Club Name Clubs name NOT NULL VARCHAR(150) FK Category Clubs category; education, sports etc. NULL VARCHAR(30)
Table Name Attributes Name Description Required Data Type Primary Key / Foreign Key Classroom ClassID Each classroom with an ID NOT NULL VARCHAR(5) PK Room Name Classrooms name; L1-9, Auditorium 5 etc. NOT NULL VARCHAR(15) FK Availability Available or Not Available NOT NULL VARCHAR(30) Remarks Time that it can be used or other information NULL VARCHAR(255)
Table Name Attributes Name Description Required Data Type Primary Key / Foreign Key Budget ClubID Each club with own ID NOT NULL VARCHAR(5) PK,FK Credit Clubs expenditure NOT NULL VARCHAR(30) Debit Clubs income NOT NULL VARCHAR(30) Remarks Extra information on cash flow NULL VARCHAR(255)