Sunteți pe pagina 1din 17

QUEZON CITY POLYTECHNIC UNIVERSITY

Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Database Design 1. Table Description in Normalized Form

Tuition Fee Assessment and Record Management System

1|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Tuition Fee Assessment and Record Management System

2|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

2. Table Relationships/Entity Relationship Diagram

Tuition Fee Assessment and Record Management System

3|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

3. Data Structure

Table Name: Stud_Info Field Name Stud_No L_name F_name M_name Grade_level Address Contact_No Size 6 15 15 15 15 50 13 Format Number Number Number/Character Number/Character Number/Character Variable/Character Number/Character Type Integer Integer Nchar Nchar Nchar Varchar Nchar

Table Name: Transaction Info Field Name Trans_No Stud_No Trans_Date Trans_Time OR_No Size 6 6 Sho rt 7 10 Format Number Number mm-dd-yy hh:mm-:s Number Type Integer Integer Date/Time Time Integer

Table Name: Tuition Info Field Name Stud_No Tuition_amt Misc_amt P_method Discount_amt OR_No Status Balance Check_Payment Size 6 15 15 15 15 10 20 15 15 Format Number Number Number Number/Character Number Variable/Character Character Number/Character Number/Character Type Integer Integer Integer Nchar Integer Varchar Nchar Nchar Nchar

Tuition Fee Assessment and Record Management System

4|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Table Name: Check_Payment Field Name Stud_No Check_No Bank Branch Size 6 15 30 30 Format Number Number Number/Character Number/Character Type Integer Integer Varchar Varchar

Table Name: Mode_of_Payment Field Name Stud_No M_payment Semi_annual Quarterly Size 6 15 15 15 Format Number Number Number Number Type Integer Integer Integer Integer

Tuition Fee Assessment and Record Management System

5|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

4. Data Dictionary Data Dictionary (Stud_Info) Name: Stud_No Type: Integer Size: 6 Format: Numbers Description: This refers to the Student Number Author: Frensallyn Britt Data Structure Stud_No = {Number} Number = {Legal Character} Legal Character = {0 9} Name: L_Name Type: Nchar Size: 15 Format: Alphabet Description: This refers to last name of the Student Author: Frensallyn Britt Data Structure L_Name = {Alphabet} Alphabet = {Legal Characters} Legal Characters = {A-Z| a-z} Alias: Storage: Database: TFARMS Table: Stud_Info Alias: Storage: Database: TFARMS Table: Stud_Info

Date: 10-06-2012

Date: 10-06-2012

Tuition Fee Assessment and Record Management System

6|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Name: F_Name Alias: Type: Nchar Storage: Size: 15 Database: TFARMS Format: Alphabet Table: Stud_Info Description: This refers to the first name of the Student Author: Frensallyn Britt Data Structure F_Name = {Alphabet} Alphabet = {Legal Characters} Legal Characters = {A-Z| a-z} Name: M_Name Type: Nchar Size: 15 Format: Alphabet Description: This refers to the middle name of the student Author: Frensallyn Britt Date: 10-06-2012 Data Structure M_Name= {Alphabet} Alphabet= {Legal Characters} Legal Characters = {A-Z| a-z} Name: Grade_Level Alias: Type: VarChar Storage: Size: 15 Database: TFARMS Format: Alphabet/Number Table: Stud_Info Description: This refers to the grade level of the enrolled student Author: Frensallyn Britt Data Structure Grade_Level = {Alphabet/Number} Alphabet= {Legal Characters} Legal Characters = {A-Z| a-z 0-9} Date: 10-06-2012 Alias: Storage: Database: TFARMS Table: Stud_Info Date: 10-06-2012

Tuition Fee Assessment and Record Management System

7|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Name: Address Alias: Type: Varchar Storage: Size: 50 Database: TFARMS Format: Alphabet/Number Table: Stud_Info Description: This refers to the address of the Student Author: Frensallyn Britt Date: 10-06-2012 Data Structure Address= {Alphabet/Number} Alphabet/Number = {Legal Characters} Legal Characters = {A-Z| a-z 0-9} Name: ContactNo Type: Integer Size: 13 Format: Numbers Description: This refers to the contact number of the Student Author: Frensallyn Britt Data Structure ContactNo= {Numbers} Number = {Legal Characters} Legal Characters = {0 9} Alias: Storage: Database: TFARMS Table: Stud_Info

Date: 10-06-2012

Tuition Fee Assessment and Record Management System

8|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Data Dictionary (Tuition_Info) Name: Stud_No Type: Integer Size: 6 Format: Numbers Description: This refers to the Student Number Author: Frensallyn Britt Alias: Storage: Database: TFARMS Table: Tuition_Info

Date: 10-06-2012

Data Structure Stud_No = {Number} Number = {Legal Characters} Legal Characters = {0-9 } Name: Tuition_Amt Alias: Type: Integer Storage: Size: 6 Database: TFARMS Table: Tuition_Info Format: Description: This refers to the amount of the student's tuition fee Author: Frensallyn Britt Date: 10-06-2012 Data Structure Tuition_Amt = {Number} Number = {Legal Character} Legal Character = {0 -9} Name: Misc_amt Alias: Type: Integer Storage: Database: TFARMS Size: 15 Format: Number Table: Tuition_Info Description: This refers to the amount of the miscellaneous fee Author: Frensallyn Britt Date: 10-06-2012 Data Structure Misc_amt = {Number} Number = {Legal Characters}

Tuition Fee Assessment and Record Management System

9|Page

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Legal Characters = [0-9] Name: P_method Type: NChar Size: 15 Format: Alphabet Description: This refers to the terms of payment of the enrollee Author: Frensallyn Britt

Alias: Storage: Database: TFARMS Table: Tuition_Info

Date: 10-06-2012 Data Structure P_method = {Alphabet} Alphabet = {Legal Characters} Legal Characters = [A-Z|a-z] Name: Discount_amt Type: Integer Size: 15 Format: Number Description: This refers to the discount applied when the tuition is paid fully in cash Author: Frensallyn Britt Data Structure Discount_amt = {Number} Number = {Legal Characters} Legal Characters = [0-9] Name: OR_No Type: VarChar Size: 7 Format: Variable/Character Description: This refers to the official receipt number Author: Frensallyn Britt Data Structure OR_No = {Variable/Character} Variable/Character = {Legal Characters} Legal Characters = [0-9] Alias: Storage: Database: TFARMS Table: Tuition_Info Date: 10-06-2012

Alias: Storage: Database: TFARMS Table: Tuition_Info

Date: 10-06-2012

Tuition Fee Assessment and Record Management System

10 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Name: Status Type: NChar Size: 15 Format: Alphabet Description: This refers to the status of the student if he is fully paid or not Author: Frensallyn Britt Data Structure Status = {Alphabet} Alphabet= {Legal Characters} Legal Characters = [A-Z| a-z] Name: Balance Type: Integer Size: 15 Format: Number Description: This refers to the amount that is left and to be paid by the student Author: Frensallyn Britt Data Structure Balance = {Integer} {Integer} = {Legal Characters} Legal Characters = {0-9} Name: Check_Payment Type: NChar Size: 15 Format: Alphabet Description: This refers to the option whether the tuition is paid in cash or check Author: Frensallyn Britt Data Structure Check_Payment = {Alphabet} Alphabet = {Legal Characters}

Alias: Storage: Database: TFARMS Table: Tuition_Info

Date: 10-06-2012

Alias: Storage: Database: TFARMS Table: Tuition_Info

Date: 10-06-2012

Alias: Storage: Database: TFARMS Table: Tuition_Info

Date: 10-06-2012

Tuition Fee Assessment and Record Management System

11 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Legal Characters = {A-Z| a-z} Data Dictionary (Transaction Info) Name: Trans_No Alias: Type: Integer Storage: Size: 6 Database: TFARMS Format: Numbers Table: Transaction_Info Description: This refers to the transaction number Date: 09-30-2011 Author: Frensallyn Britt Data Structure Trans_No = {Number} Number = {Legal Character} Legal Character = {0 9} Name: Stud_No Type: Integer Size: 6 Format: Number Description: This refers to the Student Number Author: Frensallyn Britt Data Structure Stud_No = {Number} Number = {Legal Characters} Legal Characters = [0-9] Name: Trans_Date Type: Date Size: 7 Format: mm-dd-yy Description: This refers to the date that the transaction has been made. Author: Frensallyn Britt Data Structure Trans_Date = {Alphabet/Number} Alphabet/Number = {Legal Characters} Legal Characters = [A-Z | a-z | 0-9] Alias: Storage: Database: TFARMS Table: Transaction_Info Alias: Storage: Database: TFARMS Table: Transaction_Info

Date: 10-06-2012

Date: 10-06-2012

Tuition Fee Assessment and Record Management System

12 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Name: Trans_Time Alias: Type: Time Storage: Size: 7 Database: TFARMS Format: hh:mm:ss Table: Transaction_Info Description: This refers to the time that the transaction has been made Author: Frensallyn Britt Data Structure Trans_Time = {Time} Time = {Legal Characters} Legal Characters = [0-9 | :] Name: OR_No Type: VarChar Size: 7 Format: Variable/Character Description: This refers to the official receipt number Author: Frensallyn Britt Data Structure OR_No = {Variable/Character} Variable/Character = {Legal Characters} Legal Characters = [0-9] Alias: Storage: Database: TFARMS Table: Transaction_Info Date: 10-06-2012

Date: 10-06-2012

Data Dictionary (Check_payment)

Tuition Fee Assessment and Record Management System

13 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Name: Stud_No Type: Integer Size: 6 Format: Numbers Description: This refers to the Student Number Author: Frensallyn Britt Data Structure Stud_No = {Number} Number = {Legal Character} Legal Character = {0 9}

Alias: Storage: Database: TFARMS Table: Check_payment

Date: 10-06-2012

Name: Check_No Alias: Type: Integer Storage: Size: 15 Database: TFARMS Format: Number Table: Check_payment Description: This refers to the number of the issued check Author: Frensallyn Britt Data Structure Check_No = {Number} Number = {Legal Characters} Legal Characters = [0-9] Date: 10-06-2012

Name: Bank

Alias:

Tuition Fee Assessment and Record Management System

14 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Type: NChar Size: 30 Format: Alphabet Description: This refers to the bank where the check came from Author: Frensallyn Britt Data Structure Bank = {Alphabet} Alphabet = {Legal Character} Legal Character = {A-Z|a-z} Name: Branch Type: NChar Size: 30 Format: Alphabet Description: This refers to where the bank is located Author: Frensallyn Britt Data Structure Branch = {Alphabet} Alphabet = {Legal Characters} Legal Characters = {A-Z|a-z}

Storage: Database: TFARMS Table: Check_payment

Date: 10-06-2012

Alias: Storage: Database: TFARMS Table: Check_payment

Date: 10-06-2012

Tuition Fee Assessment and Record Management System

15 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Data Dictionary (Mode_of_payment) Name: Stud_No Type: Integer Size: 6 Format: Number Description: This refers to the Student Number Author: Frensallyn Britt Date: 10-06-2012 Data Structure Stud_No = {Number} Number = {Legal Characters} Legal Characters = [0-9] Name: M_payment Alias: Birthday Type: Integer Storage: Size: 15 Database: TFARMS Format: Number Table: Mode_of_payment Description: This refers to the amount of the monthly payment Author: Frensallyn Britt Data Structure M_payment = {Number} Number = {Legal Characters} Legal Characters = [0-9] Date: 10-06-2012 Alias: Storage: Database: TFARMS Table: Mode_of_payment

Name: Semi_annual

Alias:

Tuition Fee Assessment and Record Management System

16 | P a g e

QUEZON CITY POLYTECHNIC UNIVERSITY


Department of Information Technology 673 Quirino Highway, San Bartolome, Novaliches, Quezon City

Type: Integer Storage: Size: 15 Database: TFARMS Format: Numbers Table: Mode_of_payment Description: This refers to the amount of the semi-annual payment Date: 10-06-2012 Author: Frensallyn Britt Data Structure Semi_annual = {Number} Number = {Legal Character} Legal Character = {0 9} Name: Quarterly Alias: Type: Integer Storage: Size: 15 Database: TFARMS Format: Numbers Table: Mode_of_payment Description: This refers to the amount of the quarterly payment Author: Frensallyn Britt Data Structure Quarterly = {Number} Number = {Legal Characters} Legal Characters = {0-9} Date: 10-06-2012

Tuition Fee Assessment and Record Management System

17 | P a g e

S-ar putea să vă placă și