CREATE TABLE `subclass` (
  `subclass_id` int(11) NOT NULL AUTO_INCREMENT,
  `subclass_name` varchar(30) NOT NULL,
  PRIMARY KEY (`subclass_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `subject_class` (
  `subject_class_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  PRIMARY KEY (`subject_class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1;


INSERT INTO subject_class VALUES
("26","13","1"),
("27","21","1"),
("28","22","1"),
("29","23","1"),
("30","24","1"),
("31","25","1"),
("32","26","1"),
("33","27","1"),
("38","1","1"),
("39","32","1"),
("40","33","1"),
("41","1","2"),
("42","7","2"),
("44","13","2"),
("45","21","2"),
("46","22","2"),
("47","23","2"),
("48","24","2"),
("49","25","2"),
("50","26","2"),
("51","27","2"),
("53","29","2"),
("58","1","3"),
("59","10","3"),
("60","13","3"),
("61","21","3"),
("62","22","3"),
("63","23","3"),
("64","24","3"),
("65","25","3"),
("66","26","3"),
("67","27","3"),
("68","28","3"),
("69","29","3"),
("70","30","3"),
("71","31","3"),
("72","32","3"),
("73","33","3"),
("74","7","3"),
("75","29","1"),
("76","31","1"),
("77","7","1"),
("79","30","1");




CREATE TABLE `subjects` (
  `subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_name` varchar(50) NOT NULL,
  `subject_short` varchar(30) NOT NULL,
  `groups` varchar(100) NOT NULL,
  PRIMARY KEY (`subject_id`),
  KEY `groups` (`groups`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1;


INSERT INTO subjects VALUES
("1","ENGLISH LANGUAGE","ENG","both"),
("2","NUMERACY","NUMERACY","junior"),
("3","CREATIVE ART","CRE-ART","junior"),
("4","LITERACY","LIT","junior"),
("5"," RELIGIOUS STUDIES","RELIGIOUS","junior"),
("6","NURSERY SCIENCE","NUR SCI","junior"),
("7","INFORMATION TECHNOLOGY","ICT","both"),
("8","PRACTICAL LIFE","PRA LIFE","junior"),
("9","BUSINESS STUDIES","BUS","junior"),
("10","SPEECH SCIENCE","SPEECH","junior"),
("11","FRENCH LANGUAGE","FRE","junior"),
("12","RELIGIOUS & VALUE EDUCATION","R & VE","junior"),
("13","MATHEMATICS","MATHS","both"),
("14","BASIC SCIENCE AND TECHNOLOGY","BASIC SCI & TECH","junior"),
("15","PRE VOCATIONAL STUDIES","P.V.S","junior"),
("16","NIGERIAN LANGUAGE","NIG LANG","junior"),
("18","QUANTITATIVE REASONING","QUAN ","junior"),
("19","VERBAL REASONING","VERBAL","junior"),
("20","CULTURAL & CREATIVE ART","CCA","junior"),
("21","PHYSICS","PHYS","senior"),
("22","CHEMISTRY","CHEM","both"),
("23","BIOLOGY","BIO","both"),
("24","AGRICULTURAL SCIENCE","AGRIC","senior"),
("25","CIVIC EDUCATION","CIVIC","both"),
("26","FURTHER MATHEMATICS","F MATHS","both"),
("27","ECONOMICS","ECONS","both"),
("28","COMMERCE","COMM","senior"),
("29","DATA PROCESSING","DATA","both"),
("30","GEOGRAPHY","GEO","both"),
("31","RELIGIOUS STUDIES","CRS/IRS","senior"),
("32","LITERATURE IN ENGLISH","LIT-IN-ENG","senior"),
("33","GOVERNMENT","GOVT","senior");




CREATE TABLE `test` (
  `test_id` int(11) NOT NULL AUTO_INCREMENT,
  `test_page_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `student_score` float DEFAULT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` char(20) NOT NULL,
  `terms` char(20) NOT NULL,
  PRIMARY KEY (`test_id`),
  KEY `test_page_id` (`test_page_id`),
  KEY `class_id` (`class_id`),
  KEY `subclass_id` (`subclass_id`),
  KEY `subject_id` (`subject_id`),
  KEY `student_score` (`student_score`),
  KEY `status` (`status`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `test_page` (
  `test_page_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `test_title` varchar(100) NOT NULL,
  `total_score` float NOT NULL,
  `students` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` char(20) NOT NULL,
  `terms` char(20) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`test_page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `topic` (
  `topic_id` int(11) NOT NULL AUTO_INCREMENT,
  `topic_name` varchar(200) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `published` varchar(20) NOT NULL DEFAULT 'not_published',
  `discussion_signal` tinyint(4) NOT NULL,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`topic_id`),
  KEY `class_id` (`class_id`),
  KEY `subclass_id` (`subclass_id`),
  KEY `subject_id` (`subject_id`),
  KEY `user_id` (`user_id`),
  KEY `published` (`published`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `topic_discussions` (
  `topic_discussions_id` int(11) NOT NULL AUTO_INCREMENT,
  `topic_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `discussion` varchar(300) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`topic_discussions_id`),
  KEY `user_id` (`user_id`),
  KEY `topic_id` (`topic_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `transfer_current_fees_info` (
  `current_fees_info_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int(11) unsigned NOT NULL,
  `class_id` int(10) unsigned NOT NULL,
  `current_school_fees` decimal(15,2) NOT NULL,
  `past_debt` decimal(15,2) NOT NULL,
  `amount_to_pay` decimal(15,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `discount` decimal(15,2) NOT NULL,
  `surcharge_amount` decimal(15,2) NOT NULL,
  `surcharge_reason` varchar(500) NOT NULL,
  `wave_over` decimal(15,2) NOT NULL,
  `owing` decimal(15,2) NOT NULL,
  `present_owing` decimal(15,2) NOT NULL,
  `class_fee` decimal(15,2) NOT NULL,
  `plan_fee` decimal(15,2) NOT NULL,
  `new_student_fee` decimal(15,2) NOT NULL,
  `room_fee` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`current_fees_info_id`),
  KEY `student_id` (`student_id`),
  KEY `sess_term` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_fees_discount` (
  `fees_discount_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `reason` varchar(300) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`fees_discount_id`),
  KEY `student_id` (`student_id`),
  KEY `session_term` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_result_main` (
  `result_main_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `class_name` char(50) NOT NULL,
  `section` varchar(10) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subclass_name` char(50) NOT NULL,
  `total` float NOT NULL,
  `cumulative_total` float NOT NULL,
  `total_obtainable` float NOT NULL,
  `cumu_total_obtainable` float NOT NULL,
  `average` varchar(10) NOT NULL,
  `cumulative_average` varchar(10) NOT NULL,
  `position_class` varchar(20) NOT NULL,
  `cumulative_position_class` varchar(20) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `cumulative_position_subclass` varchar(20) NOT NULL,
  `student_attendance` int(11) DEFAULT NULL,
  `total_attendance` int(11) DEFAULT NULL,
  `total_student_class` int(10) unsigned NOT NULL,
  `total_student_subclass` int(10) unsigned NOT NULL,
  `cumulative_total_student_class` int(10) unsigned NOT NULL,
  `cumulative_total_student_subclass` int(10) unsigned NOT NULL,
  `handwriting` int(11) NOT NULL,
  `cumulative_handwriting` int(11) NOT NULL,
  `neatness` int(11) NOT NULL,
  `cumulative_neatness` int(11) NOT NULL,
  `punctuality` int(11) NOT NULL,
  `cumulative_punctuality` int(11) NOT NULL,
  `attentiveness` int(11) NOT NULL,
  `cumulative_attentiveness` int(11) NOT NULL,
  `initiative` int(11) NOT NULL,
  `cumulative_initiative` int(11) NOT NULL,
  `respect` int(11) NOT NULL,
  `cumulative_respect` int(11) NOT NULL,
  `obedience` int(11) NOT NULL,
  `cumulative_obedience` int(11) NOT NULL,
  `attitude` int(11) NOT NULL,
  `cumulative_attitude` int(11) NOT NULL,
  `honesty` int(11) NOT NULL,
  `cumulative_honesty` int(11) NOT NULL,
  `creativity` int(11) NOT NULL,
  `cumulative_creativity` int(11) NOT NULL,
  `behaviour1_name` varchar(100) NOT NULL,
  `behaviour2_name` varchar(100) NOT NULL,
  `behaviour3_name` varchar(100) NOT NULL,
  `behaviour4_name` varchar(100) NOT NULL,
  `behaviour5_name` varchar(100) NOT NULL,
  `behaviour6_name` varchar(100) NOT NULL,
  `behaviour7_name` varchar(100) NOT NULL,
  `behaviour8_name` varchar(100) NOT NULL,
  `behaviour9_name` varchar(100) NOT NULL,
  `behaviour10_name` varchar(100) NOT NULL,
  `promotion` varchar(50) NOT NULL,
  `promotion_class_id` int(11) NOT NULL,
  `promotion_class_name` varchar(50) NOT NULL,
  `promotion_comment` varchar(500) NOT NULL,
  `promotion_subclass_id` int(11) NOT NULL,
  `promotion_subclass_name` varchar(50) NOT NULL,
  `pass_ave` varchar(5) NOT NULL,
  `scratch_card_number` varchar(16) NOT NULL,
  `next_term_begins` date NOT NULL,
  `ca1_total_score` float NOT NULL,
  `ca2_total_score` float NOT NULL,
  `ca3_total_score` float NOT NULL,
  `ca4_total_score` float NOT NULL,
  `ca5_total_score` float NOT NULL,
  `ca6_total_score` float NOT NULL,
  `ca_total_score` float NOT NULL,
  `exam_total_score` float NOT NULL,
  `no_of_ca` int(11) NOT NULL,
  `exam_name` varchar(50) NOT NULL,
  `ca_name_1` varchar(50) NOT NULL,
  `ca_name_2` varchar(50) NOT NULL,
  `ca_name_3` varchar(50) NOT NULL,
  `ca_name_4` varchar(50) NOT NULL,
  `ca_name_5` varchar(50) NOT NULL,
  `ca_name_6` varchar(50) NOT NULL,
  `principal_name` varchar(100) NOT NULL,
  `principal_comment` text NOT NULL,
  `form_staff_name` varchar(200) NOT NULL,
  `form_staff_comment` text NOT NULL,
  `student_affairs_comment` text NOT NULL,
  `cumulative_principal_comment` text NOT NULL,
  `cumulative_form_staff_comment` text NOT NULL,
  `principal_signature` varchar(150) NOT NULL,
  `second_principal_signature` varchar(60) NOT NULL,
  `visited` int(11) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`result_main_id`),
  KEY `student_id` (`student_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `promotion` (`promotion`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_result_subject` (
  `result_subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `ca1` float DEFAULT NULL,
  `ca2` float DEFAULT NULL,
  `ca3` float DEFAULT NULL,
  `ca4` float DEFAULT NULL,
  `ca5` float DEFAULT NULL,
  `ca6` float DEFAULT NULL,
  `ca` float DEFAULT NULL,
  `exam` float DEFAULT NULL,
  `sum_total` float DEFAULT NULL,
  `total` float NOT NULL,
  `cumulative_score` float NOT NULL,
  `cumulative_score_percent` float DEFAULT NULL,
  `cumulative_position` char(10) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `grade` varchar(5) NOT NULL,
  `grade_comment` varchar(50) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `staff_comment` varchar(60) NOT NULL,
  `attendance` int(11) DEFAULT NULL,
  `percent_attendance` varchar(10) DEFAULT NULL,
  `handwriting` int(11) NOT NULL,
  `neatness` int(11) NOT NULL,
  `punctuality` int(11) NOT NULL,
  `attentiveness` int(11) NOT NULL,
  `initiative` int(11) NOT NULL,
  `respect` int(11) NOT NULL,
  `obedience` int(11) NOT NULL,
  `attitude` int(11) NOT NULL,
  `honesty` int(11) NOT NULL,
  `creativity` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  PRIMARY KEY (`result_subject_id`),
  KEY `sess_term` (`sessions`,`terms`),
  KEY `foreign_keys` (`student_id`,`class_id`,`subclass_id`,`subject_id`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_salary_info` (
  `salary_info_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `current_salary` decimal(15,2) NOT NULL,
  `past_debt` decimal(15,2) NOT NULL,
  `amount_to_pay` decimal(15,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `wave_over` decimal(15,2) NOT NULL,
  `current_debt` decimal(15,2) NOT NULL,
  `deduct` decimal(15,2) NOT NULL,
  `appreciation_amount` decimal(15,2) NOT NULL,
  `appreciation_reason` varchar(500) NOT NULL,
  `owing` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  PRIMARY KEY (`salary_info_id`),
  KEY `staff_id` (`staff_id`),
  KEY `sessions` (`sessions`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_salary_payment` (
  `salary_payment_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `accountant_id` int(10) unsigned NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`salary_payment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_school_fees` (
  `school_fees_id` int(11) NOT NULL AUTO_INCREMENT,
  `transaction_id` char(20) NOT NULL,
  `student_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  `school_fees_payment_mode_id` int(11) NOT NULL,
  `payment_mode` varchar(300) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `payment_no` varchar(20) NOT NULL,
  `fees_status` varchar(20) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`school_fees_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `transaction_id` (`transaction_id`),
  KEY `school_fees_payment_mode_id` (`school_fees_payment_mode_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transferred_students` (
  `transferred_student_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `student_name` varchar(300) NOT NULL,
  `class_id` int(11) NOT NULL,
  `old_class_name` varchar(100) NOT NULL,
  `new_class_name` varchar(100) NOT NULL,
  `serial_number` varchar(50) NOT NULL,
  `school_id` int(11) NOT NULL,
  `database_name` varchar(100) NOT NULL,
  `status` varchar(30) NOT NULL,
  `date_transferred` datetime NOT NULL,
  PRIMARY KEY (`transferred_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `zoom` (
  `zoom_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `class_category_id` int(11) NOT NULL,
  `email` varchar(100) NOT NULL,
  `pass` varchar(50) NOT NULL,
  `api_key` varchar(200) NOT NULL,
  `api_secret` varchar(200) NOT NULL,
  `meeting_id` varchar(20) NOT NULL,
  `meeting_password` varchar(30) NOT NULL,
  `meeting_url_pwd` varchar(400) NOT NULL,
  `host_key` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`zoom_id`),
  KEY `class_id` (`class_id`),
  KEY `class_category_id` (`class_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


--
-- Database: `zeonglob_zap_trustacademy_sec_nassarawa`
--




CREATE TABLE `about_us` (
  `about_us_id` int(11) NOT NULL AUTO_INCREMENT,
  `map` varchar(300) NOT NULL,
  `about_us_text` text NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`about_us_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `activity` (
  `assignment_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `topic_id` int(11) NOT NULL,
  `table_name` varchar(30) NOT NULL,
  `assignment_title` varchar(200) NOT NULL,
  `assignment_text` text NOT NULL,
  `due_date` datetime NOT NULL,
  `property` varchar(20) NOT NULL,
  `activation` varchar(20) NOT NULL DEFAULT 'active',
  `total_score` decimal(15,2) NOT NULL,
  `assignment_date` datetime NOT NULL DEFAULT current_timestamp(),
  `answer_text` text NOT NULL,
  `answer_status` varchar(10) NOT NULL,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`assignment_id`),
  KEY `due_date` (`due_date`),
  KEY `topic_id` (`topic_id`),
  KEY `activation` (`activation`),
  KEY `answer_status` (`answer_status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `activity_comment` (
  `activity_comment_id` int(11) NOT NULL AUTO_INCREMENT,
  `assignment_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `comment` varchar(500) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`activity_comment_id`),
  KEY `assignment_id` (`assignment_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_class` (
  `admission_class_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_sessions_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `price` decimal(15,2) NOT NULL,
  PRIMARY KEY (`admission_class_id`),
  KEY `admission_session_id` (`admission_sessions_id`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_exam_questions` (
  `admission_exam_question_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_exam_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`admission_exam_question_id`),
  KEY `admission_exam_id` (`admission_exam_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_exam_student_questions` (
  `admission_exam_student_question_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_exam_student_id` int(11) NOT NULL,
  `question_options_id` int(11) NOT NULL,
  PRIMARY KEY (`admission_exam_student_question_id`),
  KEY `admission_exam_student_id` (`admission_exam_student_id`),
  KEY `question_options_id` (`question_options_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_exam_students` (
  `admission_exam_student_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_exam_id` int(11) NOT NULL,
  `admission_student_id` int(11) NOT NULL,
  `start_date` datetime NOT NULL DEFAULT current_timestamp(),
  `end_date` datetime NOT NULL,
  `score` decimal(15,2) DEFAULT NULL,
  `revised_score` decimal(15,2) DEFAULT NULL,
  `total_score` decimal(15,2) DEFAULT NULL,
  `score_percentage` decimal(15,2) DEFAULT NULL,
  `revised_score_percentage` decimal(15,2) DEFAULT NULL,
  `approval` tinyint(4) NOT NULL,
  `fullscreen_exits` int(11) NOT NULL,
  `exam_ended_cond` varchar(30) NOT NULL,
  PRIMARY KEY (`admission_exam_student_id`),
  KEY `admission_exam_id` (`admission_exam_id`),
  KEY `student_id` (`admission_student_id`),
  KEY `approval` (`approval`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_exam_webcams` (
  `admission_exam_webcam_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_exam_id` int(11) NOT NULL,
  `admission_student_id` int(11) NOT NULL,
  `google_drive_id` varchar(300) NOT NULL,
  `timestamp` varchar(20) NOT NULL,
  PRIMARY KEY (`admission_exam_webcam_id`),
  KEY `admission_exam_id` (`admission_exam_id`,`admission_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_exams` (
  `admission_exam_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_class_id` int(11) NOT NULL,
  `exam_name` varchar(300) NOT NULL,
  `exam_description` text NOT NULL,
  `exam_type` varchar(20) NOT NULL DEFAULT 'multiple_choice',
  `duration` int(11) NOT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `maximum_attempt` tinyint(4) NOT NULL,
  `minimum_percentage` tinyint(4) NOT NULL,
  `view_answers` tinyint(4) NOT NULL,
  `surveillance` tinyint(4) NOT NULL,
  `activation` varchar(10) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`admission_exam_id`),
  KEY `activation` (`activation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_form` (
  `admission_form_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_form` text NOT NULL,
  `upload_instruction` varchar(500) NOT NULL,
  PRIMARY KEY (`admission_form_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;


INSERT INTO admission_form VALUES
("1","[{\"type\":\"text\",\"required\":true,\"label\":\"Last Name\",\"placeholder\":\"ENTER LAST NAME\",\"className\":\"form-control\",\"name\":\"last_name\",\"access\":false,\"subtype\":\"text\"},{\"type\":\"text\",\"required\":true,\"label\":\"First Name\",\"placeholder\":\"ENTER FIRST NAME\",\"className\":\"form-control\",\"name\":\"first_name\",\"access\":false,\"subtype\":\"text\"},{\"type\":\"text\",\"required\":false,\"label\":\"Other Name\",\"placeholder\":\"ENTER OTHER NAME\",\"className\":\"form-control\",\"name\":\"other_name\",\"access\":false,\"subtype\":\"text\"},{\"type\":\"select\",\"required\":true,\"label\":\"Gender\",\"className\":\"form-control\",\"name\":\"gender\",\"access\":false,\"values\":[{\"label\":\"MALE\",\"value\":\"male\",\"selected\":true},{\"label\":\"FEMALE\",\"value\":\"female\"}]},{\"type\":\"select\",\"required\":true,\"label\":\"Religion\",\"placeholder\":\"Religion\",\"className\":\"form-control\",\"name\":\"religion\",\"access\":false,\"values\":[{\"label\":\"CHRISTIANITY \",\"value\":\"Christianity\"},{\"label\":\"ISLAM \",\"value\":\"Islam\"}]},{\"type\":\"date\",\"required\":true,\"label\":\"Date of Birth\",\"className\":\"form-control\",\"name\":\"dob\",\"access\":false},{\"type\":\"text\",\"required\":true,\"label\":\"Parent Name\",\"placeholder\":\"ENTER PARENT NAME\",\"className\":\"form-control\",\"name\":\"parent_name\",\"access\":false,\"subtype\":\"text\"},{\"type\":\"text\",\"required\":true,\"label\":\"Parent Address\",\"placeholder\":\"ENTER PARENT ADDRESS\",\"className\":\"form-control\",\"name\":\"home_address\",\"access\":false,\"subtype\":\"text\"},{\"type\":\"text\",\"required\":true,\"label\":\"Parent Occupation\",\"placeholder\":\"ENTER PARENT OCCUPATION\",\"className\":\"form-control\",\"name\":\"occupation\",\"access\":false,\"subtype\":\"text\"},{\"type\":\"autocomplete\",\"required\":true,\"label\":\"Parent State of Origin\",\"className\":\"form-control\",\"name\":\"parent_state_origin\",\"access\":false,\"requireValidOption\":true,\"values\":[{\"label\":\"ABIA\",\"value\":\"ABIA\"},{\"label\":\"ADAMAWA\",\"value\":\"ADAMAWA\"},{\"label\":\"AKWA IBOM\",\"value\":\"AKWA IBOM\"},{\"label\":\"ANAMBRA\",\"value\":\"ANAMBRA\"},{\"label\":\"BAUCHI\",\"value\":\"BAUCHI\"},{\"label\":\"BAYELSA\",\"value\":\"BAYELSA\"},{\"label\":\"BENUE\",\"value\":\"BENUE\"},{\"label\":\"BORNO\",\"value\":\"BORNO\"},{\"label\":\"CROSS RIVER\",\"value\":\"CROSS RIVER\"},{\"label\":\"DELTA\",\"value\":\"DELTA\"},{\"label\":\"EBONYI\",\"value\":\"EBONYI\"},{\"label\":\"EDO\",\"value\":\"EDO\"},{\"label\":\"EKITI\",\"value\":\"EKITI\"},{\"label\":\"ENUGU\",\"value\":\"ENUGU\"},{\"label\":\"FCT\",\"value\":\"FCT\"},{\"label\":\"GOMBE\",\"value\":\"GOMBE\"},{\"label\":\"IMO\",\"value\":\"IMO\"},{\"label\":\"JIGAWA\",\"value\":\"JIGAWA\"},{\"label\":\"KADUNA\",\"value\":\"KADUNA\"},{\"label\":\"KANO\",\"value\":\"KANO\"},{\"label\":\"KATSINA\",\"value\":\"KATSINA\"},{\"label\":\"KEBBI\",\"value\":\"KEBBI\"},{\"label\":\"KOGI\",\"value\":\"KOGI\"},{\"label\":\"KWARA\",\"value\":\"KWARA\"},{\"label\":\"LAGOS\",\"value\":\"LAGOS\"},{\"label\":\"NASARAWA\",\"value\":\"NASARAWA\"},{\"label\":\"NIGER\",\"value\":\"NIGER\"},{\"label\":\"OGUN\",\"value\":\"OGUN\"},{\"label\":\"ONDO\",\"value\":\"ONDO\"},{\"label\":\"OSUN\",\"value\":\"OSUN\"},{\"label\":\"OYO\",\"value\":\"OYO\"},{\"label\":\"PLATEAU\",\"value\":\"PLATEAU\"},{\"label\":\"RIVERS\",\"value\":\"RIVERS\"},{\"label\":\"SOKOTO\",\"value\":\"SOKOTO\"},{\"label\":\"TARABA\",\"value\":\"TARABA\"},{\"label\":\"YOBE\",\"value\":\"YOBE\"},{\"label\":\"ZAMFARA\",\"value\":\"ZAMFARA\"}]},{\"type\":\"select\",\"required\":true,\"label\":\"Parent Religion\",\"placeholder\":\"Religion\",\"className\":\"form-control\",\"name\":\"select-1595660440643\",\"access\":false,\"values\":[{\"label\":\"CHRISTIANITY \",\"value\":\"Christianity\",\"selected\":true},{\"label\":\"ISLAM \",\"value\":\"Islam\"}]}]","");




CREATE TABLE `admission_sessions` (
  `admission_sessions_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_sessions_name` varchar(300) NOT NULL,
  `admission_status` varchar(100) NOT NULL DEFAULT 'active',
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`admission_sessions_id`),
  KEY `admission_status` (`admission_status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `admission_students` (
  `admission_student_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_class_id` int(11) NOT NULL,
  `main_phonenumber` varchar(20) NOT NULL,
  `phone_number2` varchar(20) DEFAULT NULL,
  `email` varchar(300) NOT NULL,
  `student_info` text NOT NULL,
  `payment` varchar(10) NOT NULL,
  `application_status` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`admission_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `admission_uploads` (
  `admission_upload_id` int(11) NOT NULL AUTO_INCREMENT,
  `admission_student_id` int(11) NOT NULL,
  `upload_title` varchar(50) NOT NULL,
  `google_drive_id` varchar(100) NOT NULL,
  `google_drive_title` varchar(50) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`admission_upload_id`),
  KEY `admission_student_id` (`admission_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `album` (
  `album_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `album_cat` varchar(20) NOT NULL,
  `album_name` varchar(100) NOT NULL,
  `album_date` datetime NOT NULL,
  PRIMARY KEY (`album_id`),
  KEY `album_cat` (`album_cat`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `album_images` (
  `album_images_id` int(11) NOT NULL AUTO_INCREMENT,
  `album_id` int(11) NOT NULL,
  `image_name` varchar(20) NOT NULL,
  `image_dir` varchar(300) NOT NULL,
  `google_drive_id` varchar(300) DEFAULT NULL,
  `image_google_drive_dir` varchar(300) DEFAULT NULL,
  `image_embed_dir` varchar(300) DEFAULT NULL,
  `image_thumb_dir` varchar(300) DEFAULT NULL,
  PRIMARY KEY (`album_images_id`),
  KEY `album_id` (`album_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `alumni` (
  `alumni_id` int(11) NOT NULL AUTO_INCREMENT,
  `alumni_class_id` int(11) NOT NULL,
  `last_name` varchar(50) NOT NULL,
  `first_name` varchar(50) NOT NULL,
  `address` varchar(400) NOT NULL,
  `phonenumber` varchar(20) NOT NULL,
  `email` varchar(200) NOT NULL,
  `payment_reference` varchar(50) DEFAULT NULL,
  `year_you_left` varchar(20) NOT NULL,
  `set_name` varchar(15) NOT NULL,
  `brief_info` varchar(400) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`alumni_id`),
  KEY `alumni_class_id` (`alumni_class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `alumni_class` (
  `alumni_class_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_name` varchar(50) NOT NULL,
  `class_group` varchar(10) NOT NULL,
  `class_order` int(11) NOT NULL,
  PRIMARY KEY (`alumni_class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `app_token` (
  `app_token_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `table_name` varchar(100) NOT NULL,
  `user_key` varchar(100) NOT NULL,
  `browser_token` varchar(100) NOT NULL,
  `db_name` varchar(100) NOT NULL,
  `token` varchar(300) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  `last_updated` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`app_token_id`),
  KEY `user_key` (`user_key`,`token`),
  KEY `browser_token` (`browser_token`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `assignments` (
  `assignment_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `assignment_title` varchar(200) NOT NULL,
  `assignment_text` text NOT NULL,
  `assignment_dir` varchar(500) NOT NULL,
  `assignment_date` datetime NOT NULL,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`assignment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `assignments_answer_file` (
  `assignments_answer_file_id` int(11) NOT NULL AUTO_INCREMENT,
  `assignment_id` int(11) NOT NULL,
  `file_name` varchar(100) NOT NULL,
  `file_dir` varchar(300) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `google_drive_title` varchar(200) NOT NULL,
  `google_drive_thumbnail_link` varchar(300) NOT NULL,
  `google_drive_dir` varchar(300) NOT NULL,
  `google_drive_embed_link` varchar(300) NOT NULL,
  `google_drive_filesize` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`assignments_answer_file_id`),
  KEY `assignment_id` (`assignment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `assignments_files` (
  `assignments_file_id` int(11) NOT NULL AUTO_INCREMENT,
  `assignment_id` int(11) NOT NULL,
  `file_name` varchar(200) NOT NULL,
  `file_dir` varchar(300) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `google_drive_title` varchar(200) NOT NULL,
  `google_drive_thumbnail_link` varchar(300) NOT NULL,
  `google_drive_dir` varchar(300) NOT NULL,
  `google_drive_embed_link` varchar(300) NOT NULL,
  `google_drive_filesize` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`assignments_file_id`),
  KEY `assignment_id` (`assignment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `assignments_marked_file` (
  `assignments_marked_file_id` int(11) NOT NULL AUTO_INCREMENT,
  `assignments_submitted_id` int(11) NOT NULL,
  `file_name` varchar(200) NOT NULL,
  `file_dir` varchar(300) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `google_drive_title` varchar(200) NOT NULL,
  `google_drive_thumbnail_link` varchar(300) NOT NULL,
  `google_drive_dir` varchar(300) NOT NULL,
  `google_drive_embed_link` varchar(300) NOT NULL,
  `google_drive_filesize` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`assignments_marked_file_id`),
  KEY `assignments_submitted_id` (`assignments_submitted_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `assignments_submitted` (
  `assignments_submitted_id` int(11) NOT NULL AUTO_INCREMENT,
  `assignment_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `typed_assignment` text NOT NULL,
  `uploaded_assignment` varchar(500) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `student_submit_status` varchar(30) NOT NULL,
  `staff_marked_status` varchar(30) NOT NULL,
  `typed_marked` text NOT NULL,
  `student_score` decimal(15,2) DEFAULT NULL,
  `date_marked` datetime NOT NULL,
  PRIMARY KEY (`assignments_submitted_id`),
  KEY `assignment_id` (`assignment_id`),
  KEY `student_id` (`student_id`),
  KEY `staff_id` (`staff_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `assignments_submitted_file` (
  `assignments_submitted_file_id` int(11) NOT NULL AUTO_INCREMENT,
  `assignments_submitted_id` int(11) NOT NULL,
  `file_name` varchar(200) NOT NULL,
  `file_dir` varchar(300) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `google_drive_title` varchar(200) NOT NULL,
  `google_drive_thumbnail_link` varchar(300) NOT NULL,
  `google_drive_dir` varchar(300) NOT NULL,
  `google_drive_embed_link` varchar(300) NOT NULL,
  `google_drive_filesize` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`assignments_submitted_file_id`),
  KEY `assignments_submitted_id` (`assignments_submitted_id`),
  KEY `date_added` (`date_added`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `attendance_behaviour` (
  `attendance_behaviour_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `student_attendance` int(11) DEFAULT NULL,
  `total_attendance` int(11) NOT NULL,
  `handwriting` int(11) NOT NULL,
  `neatness` int(11) NOT NULL,
  `punctuality` int(11) NOT NULL,
  `attentiveness` int(11) NOT NULL,
  `initiative` int(11) NOT NULL,
  `respect` int(11) NOT NULL,
  `obedience` int(11) NOT NULL,
  `attitude` int(11) NOT NULL,
  `honesty` int(11) NOT NULL,
  `creativity` int(11) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`attendance_behaviour_id`),
  KEY `student_id` (`student_id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=latin1;


INSERT INTO attendance_behaviour VALUES
("1","5","100","106","5","5","3","5","5","5","5","5","3","5","2020/2021","1st Term"),
("2","20","94","106","4","4","3","3","3","3","3","3","3","3","2020/2021","1st Term"),
("3","7","92","106","4","3","3","3","3","3","3","3","3","3","2020/2021","1st Term"),
("4","9","104","106","4","3","3","3","3","3","3","3","3","5","2020/2021","1st Term"),
("5","10","106","106","0","0","0","0","0","0","0","0","0","0","2020/2021","1st Term"),
("6","19","102","106","3","3","3","3","3","3","3","3","3","3","2020/2021","1st Term"),
("7","20","94","0","3","3","3","3","3","3","3","3","3","3","2020/2021","2nd Term"),
("8","5","98","0","4","4","3","5","4","4","4","4","3","4","2020/2021","2nd Term"),
("9","7","97","0","3","3","3","3","3","3","3","3","3","3","2020/2021","2nd Term"),
("10","9","98","0","3","3","3","3","3","4","4","4","3","3","2020/2021","2nd Term"),
("11","10","96","0","3","3","3","4","4","5","4","5","5","3","2020/2021","2nd Term"),
("12","19","96","0","3","3","3","3","3","4","4","4","4","3","2020/2021","2nd Term"),
("13","5","106","0","4","4","3","5","4","4","4","4","3","5","2020/2021","3rd Term"),
("14","20","102","0","3","3","3","3","3","3","3","3","3","3","2020/2021","3rd Term"),
("15","7","90","0","4","4","3","3","3","3","3","3","3","3","2020/2021","3rd Term"),
("16","9","104","0","3","3","3","3","3","3","3","5","3","3","2020/2021","3rd Term"),
("17","10","104","0","3","3","3","4","3","5","5","5","3","3","2020/2021","3rd Term"),
("18","19","104","0","3","3","5","4","3","5","5","4","3","3","2020/2021","3rd Term"),
("19","5","96","0","0","0","0","0","0","0","0","0","0","0","2021/2022","1st Term"),
("20","7","72","0","0","0","0","0","0","0","0","0","0","0","2021/2022","1st Term"),
("21","10","86","0","0","0","0","0","0","0","0","0","0","0","2021/2022","1st Term"),
("22","19","96","0","0","0","0","0","0","0","0","0","0","0","2021/2022","1st Term"),
("23","22","94","96","4","5","5","4","5","3","5","3","5","4","2021/2022","1st Term"),
("24","24","86","96","4","3","4","4","3","5","5","5","5","3","2021/2022","1st Term"),
("25","23","94","96","5","5","5","5","5","5","5","5","5","5","2021/2022","1st Term"),
("26","25","96","96","2","5","5","5","5","5","5","5","5","4","2021/2022","1st Term"),
("27","21","96","96","4","4","5","5","5","5","5","5","5","4","2021/2022","1st Term"),
("28","26","94","96","4","5","5","5","4","5","5","5","5","4","2021/2022","1st Term"),
("29","27","89","96","3","4","5","5","5","5","5","5","5","5","2021/2022","1st Term"),
("30","28","96","96","4","5","2","5","4","5","5","5","5","4","2021/2022","1st Term"),
("31","22","126","126","3","5","5","4","5","5","5","3","5","5","2021/2022","2nd Term"),
("32","23","126","126","4","5","4","5","5","5","5","4","5","5","2021/2022","2nd Term"),
("33","24","126","126","3","3","3","3","3","5","5","3","5","3","2021/2022","2nd Term"),
("34","25","124","126","3","5","4","4","4","5","5","4","5","3","2021/2022","2nd Term"),
("35","21","124","126","3","4","4","4","4","5","5","4","5","4","2021/2022","2nd Term"),
("36","26","126","126","3","4","5","4","4","5","5","3","5","3","2021/2022","2nd Term"),
("37","27","118","126","3","3","5","4","4","5","5","4","5","4","2021/2022","2nd Term"),
("38","28","116","126","3","4","2","4","4","4","4","5","5","4","2021/2022","2nd Term"),
("39","5","124","126","5","5","5","5","5","5","5","5","5","5","2021/2022","2nd Term"),
("40","7","100","126","5","3","2","4","5","5","5","3","3","5","2021/2022","2nd Term"),
("41","10","122","126","4","2","5","5","5","5","5","5","5","5","2021/2022","2nd Term"),
("42","19","120","126","3","5","5","5","5","5","5","5","5","5","2021/2022","2nd Term");




CREATE TABLE `autologin` (
  `user_key` varchar(100) NOT NULL,
  `token` char(32) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `browser_token` char(32) NOT NULL,
  `dbname` varchar(300) NOT NULL,
  `data` text DEFAULT NULL,
  `used` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`user_key`,`token`),
  KEY `dbname` (`dbname`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






CREATE TABLE `backup_class` (
  `backup_class_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class_id` int(10) unsigned NOT NULL,
  `class_name` varchar(10) NOT NULL,
  `class_order` int(10) unsigned NOT NULL,
  `section` varchar(10) NOT NULL,
  `promotional_average` varchar(5) NOT NULL,
  `new_student_fee` decimal(15,2) unsigned NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`backup_class_id`),
  KEY `session_term` (`sessions`,`terms`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;


INSERT INTO backup_class VALUES
("1","1","HIGH SCHOO","1","senior","50","0.00","2020/2021","1st Term"),
("2","1","HIGH SCHOO","1","senior","50","0.00","2020/2021","2nd Term"),
("3","1","HIGH SCHOO","1","senior","50","0.00","2020/2021","3rd Term"),
("4","1","HIGH SCHOO","1","senior","50","0.00","2021/2022","1st Term"),
("5","2","HIGH SCHOO","2","senior","50","0.00","2021/2022","1st Term"),
("6","3","HIGH SCHOO","3","senior","50","0.00","2021/2022","1st Term");




CREATE TABLE `backup_new_fees_class` (
  `backup_new_fees_class_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `new_fees_class_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `term` varchar(20) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`backup_new_fees_class_id`),
  KEY `session_term` (`sessions`,`terms`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;


INSERT INTO backup_new_fees_class VALUES
("1","1","1","0.00","1st Term","2020/2021","1st Term"),
("2","2","1","0.00","2nd Term","2020/2021","1st Term"),
("3","3","1","0.00","3rd Term","2020/2021","1st Term"),
("4","1","1","0.00","1st Term","2020/2021","2nd Term"),
("5","2","1","0.00","2nd Term","2020/2021","2nd Term"),
("6","3","1","0.00","3rd Term","2020/2021","2nd Term"),
("7","1","1","0.00","1st Term","2020/2021","3rd Term"),
("8","2","1","0.00","2nd Term","2020/2021","3rd Term"),
("9","3","1","0.00","3rd Term","2020/2021","3rd Term"),
("10","1","1","0.00","1st Term","2021/2022","1st Term"),
("11","2","1","0.00","2nd Term","2021/2022","1st Term"),
("12","3","1","0.00","3rd Term","2021/2022","1st Term"),
("13","4","2","0.00","1st Term","2021/2022","1st Term"),
("14","5","2","0.00","2nd Term","2021/2022","1st Term"),
("15","6","2","0.00","3rd Term","2021/2022","1st Term"),
("16","7","3","0.00","1st Term","2021/2022","1st Term"),
("17","8","3","0.00","2nd Term","2021/2022","1st Term"),
("18","9","3","0.00","3rd Term","2021/2022","1st Term");




CREATE TABLE `backup_plan` (
  `backup_plan_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `plan_id` int(10) unsigned NOT NULL,
  `plan_name` varchar(100) NOT NULL,
  `amount` decimal(15,2) unsigned NOT NULL,
  `date_added` datetime NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`backup_plan_id`),
  KEY `session_term` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `behaviours` (
  `behaviour_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `behaviour_order` int(11) NOT NULL,
  `behaviour_name` varchar(200) NOT NULL,
  PRIMARY KEY (`behaviour_id`),
  KEY `class_id` (`class_id`,`behaviour_order`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;


INSERT INTO behaviours VALUES
("1","1","1","HANDWRITING"),
("2","1","2","NEATNESS"),
("3","1","3","PUNCTUALITY"),
("4","1","4","ATTENTIVENESS"),
("5","1","5","INITIATIVE"),
("6","1","6","RESPECT"),
("7","1","7","OBEDIENCE"),
("8","1","8","ATTITUDE"),
("9","1","9","HONESTY"),
("10","1","10","CREATIVITY"),
("11","2","1","HANDWRITING"),
("12","2","2","NEATNESS"),
("13","2","3","PUNCTUALITY"),
("14","2","4","ATTENTIVENESS"),
("15","2","5","INITIATIVE"),
("16","2","6","RESPECT"),
("17","2","7","OBEDIENCE"),
("18","2","8","ATTITUDE"),
("19","2","9","HONESTY"),
("20","2","10","CREATIVITY"),
("21","3","1","HANDWRITING"),
("22","3","2","NEATNESS"),
("23","3","3","PUNCTUALITY"),
("24","3","4","ATTENTIVENESS"),
("25","3","5","INITIATIVE"),
("26","3","6","RESPECT"),
("27","3","7","OBEDIENCE"),
("28","3","8","ATTITUDE"),
("29","3","9","HONESTY"),
("30","3","10","CREATIVITY");




CREATE TABLE `class` (
  `class_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_name` varchar(30) NOT NULL,
  `class_order` int(10) unsigned NOT NULL,
  `section` varchar(10) NOT NULL,
  `promotional_average` varchar(5) NOT NULL,
  `new_student_fee` decimal(15,2) unsigned NOT NULL,
  PRIMARY KEY (`class_id`),
  KEY `order` (`class_order`),
  KEY `section` (`section`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


INSERT INTO class VALUES
("1","HIGH SCHOOL 1","1","senior","50","0.00"),
("2","HIGH SCHOOL 2","2","senior","50","0.00"),
("3","HIGH SCHOOL 3","3","senior","50","0.00");




CREATE TABLE `class_approval` (
  `class_approval_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `old_class_id` int(11) NOT NULL,
  `new_class_id` int(11) NOT NULL,
  `old_status` char(20) NOT NULL,
  `mode` char(20) NOT NULL,
  `date_sent` datetime NOT NULL,
  PRIMARY KEY (`class_approval_id`),
  KEY `old_status` (`old_status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `class_category` (
  `class_category_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_category_name` varchar(80) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`class_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `class_class_category` (
  `class_class_category_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `class_category_id` int(11) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`class_class_category_id`),
  KEY `class_id` (`class_id`),
  KEY `class_category_id` (`class_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `class_storages` (
  `class_storage_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `class_storage_title` varchar(200) NOT NULL,
  `class_storage_dir` varchar(500) NOT NULL,
  `class_storage_date` datetime NOT NULL,
  PRIMARY KEY (`class_storage_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `class_subclass` (
  `class_subclass_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class_id` int(10) unsigned NOT NULL,
  `subclass_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`class_subclass_id`),
  KEY `class_id` (`class_id`),
  KEY `subclass_id` (`subclass_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


INSERT INTO class_subclass VALUES
("1","1","0"),
("2","2","0"),
("3","3","0");




CREATE TABLE `contact_us` (
  `contact_us_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  `role` varchar(200) NOT NULL,
  `phonenumber` varchar(100) NOT NULL,
  `email` varchar(200) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`contact_us_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `current_fees_info` (
  `current_fees_info_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int(11) unsigned NOT NULL,
  `class_id` int(10) unsigned NOT NULL,
  `current_school_fees` decimal(15,2) NOT NULL,
  `past_debt` decimal(15,2) NOT NULL,
  `amount_to_pay` decimal(15,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `discount` decimal(15,2) NOT NULL,
  `surcharge_amount` decimal(15,2) NOT NULL,
  `surcharge_reason` varchar(500) NOT NULL,
  `wave_over` decimal(15,2) NOT NULL,
  `owing` decimal(15,2) NOT NULL,
  `present_owing` decimal(15,2) NOT NULL,
  `class_fee` decimal(15,2) NOT NULL,
  `plan_fee` decimal(15,2) NOT NULL,
  `new_student_fee` decimal(15,2) NOT NULL,
  `room_fee` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`current_fees_info_id`),
  KEY `student_id` (`student_id`),
  KEY `sess_term` (`sessions`,`terms`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;


INSERT INTO current_fees_info VALUES
("1","4","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("2","5","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("3","6","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("4","7","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("5","8","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("6","9","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("7","10","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("8","11","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("9","12","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("10","13","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("11","14","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("12","15","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("13","16","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("14","17","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("15","18","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("16","19","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("17","20","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2020/2021","1st Term"),
("18","9","2","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("19","20","2","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("20","21","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("21","22","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("22","23","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("23","24","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("24","25","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("25","26","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("26","27","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term"),
("27","28","1","0.00","0.00","0.00","0.00","0.00","0.00","","0.00","0.00","0.00","0.00","0.00","0.00","0.00","2021/2022","1st Term");




CREATE TABLE `e_library_cat` (
  `e_library_cat_id` int(11) NOT NULL AUTO_INCREMENT,
  `e_library_cat_name` varchar(200) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`e_library_cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `e_library_file` (
  `e_library_file_id` int(11) NOT NULL AUTO_INCREMENT,
  `e_library_cat_id` int(11) NOT NULL,
  `topic_id` int(11) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `title` varchar(300) NOT NULL,
  `google_drive_title` varchar(200) NOT NULL,
  `google_drive_thumbnail_link` varchar(300) NOT NULL,
  `description` varchar(500) NOT NULL,
  `preview_status` varchar(20) NOT NULL DEFAULT 'preview_download',
  `mode` varchar(20) NOT NULL,
  `activation` varchar(20) NOT NULL DEFAULT 'active',
  `file_dir` varchar(300) NOT NULL,
  `google_drive_dir` varchar(300) NOT NULL,
  `google_drive_embed_link` varchar(300) NOT NULL,
  `google_drive_filesize` varchar(30) NOT NULL,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`e_library_file_id`),
  KEY `e_library_cat_id` (`e_library_cat_id`),
  KEY `subclass_id` (`subclass_id`),
  KEY `subject_id` (`subject_id`),
  KEY `class_id` (`class_id`),
  KEY `staff_id` (`staff_id`),
  KEY `topic_id` (`topic_id`),
  KEY `activation` (`activation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `e_r_cat` (
  `e_r_cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `e_r_cat_name` varchar(300) NOT NULL,
  `e_r_scratch_card` varchar(4) NOT NULL DEFAULT 'no',
  PRIMARY KEY (`e_r_cat_id`),
  KEY `e_r_scratch_card` (`e_r_scratch_card`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `e_r_class_term` (
  `e_r_class_term_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `e_r_cat_id` int(10) unsigned NOT NULL,
  `class_id` int(10) unsigned NOT NULL,
  `terms` varchar(10) NOT NULL,
  PRIMARY KEY (`e_r_class_term_id`),
  KEY `e_r_cat_id` (`e_r_cat_id`,`class_id`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `e_r_main` (
  `e_r_main_id` int(11) NOT NULL AUTO_INCREMENT,
  `e_r_cat_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `e_r_cat_name` varchar(100) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `section` varchar(10) NOT NULL,
  `total` float NOT NULL,
  `total_obtainable` float NOT NULL,
  `average` varchar(10) NOT NULL,
  `position_class` varchar(20) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `total_student_class` int(11) NOT NULL,
  `total_student_subclass` int(11) NOT NULL,
  `pass_ave` varchar(5) NOT NULL,
  `subcat1_total` float NOT NULL,
  `subcat2_total` float NOT NULL,
  `subcat3_total` float NOT NULL,
  `subcat4_total` float NOT NULL,
  `subcat5_total` float NOT NULL,
  `subcat6_total` float NOT NULL,
  `subcat7_total` float NOT NULL,
  `subcat8_total` float NOT NULL,
  `subcat9_total` float NOT NULL,
  `subcat10_total` float NOT NULL,
  `subcat1_name` varchar(50) NOT NULL,
  `subcat2_name` varchar(50) NOT NULL,
  `subcat3_name` varchar(50) NOT NULL,
  `subcat4_name` varchar(50) NOT NULL,
  `subcat5_name` varchar(50) NOT NULL,
  `subcat6_name` varchar(50) NOT NULL,
  `subcat7_name` varchar(50) NOT NULL,
  `subcat8_name` varchar(50) NOT NULL,
  `subcat9_name` varchar(50) NOT NULL,
  `subcat10_name` varchar(50) NOT NULL,
  `subcat1_short_name` varchar(40) NOT NULL,
  `subcat2_short_name` varchar(40) NOT NULL,
  `subcat3_short_name` varchar(40) NOT NULL,
  `subcat4_short_name` varchar(40) NOT NULL,
  `subcat5_short_name` varchar(40) NOT NULL,
  `subcat6_short_name` varchar(40) NOT NULL,
  `subcat7_short_name` varchar(40) NOT NULL,
  `subcat8_short_name` varchar(40) NOT NULL,
  `subcat9_short_name` varchar(40) NOT NULL,
  `subcat10_short_name` varchar(40) NOT NULL,
  `count_subcat` int(11) NOT NULL,
  `scratch_card_number` varchar(16) NOT NULL,
  `principal_name` varchar(100) NOT NULL,
  `principal_comment` varchar(200) NOT NULL,
  `form_staff_name` varchar(200) NOT NULL,
  `form_staff_comment` varchar(300) NOT NULL,
  `principal_signature` varchar(60) NOT NULL,
  `second_principal_signature` varchar(60) NOT NULL,
  `visited` int(11) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`e_r_main_id`),
  KEY `e_r_cat_id` (`e_r_cat_id`,`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `e_r_subcat` (
  `e_r_subcat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `e_r_cat_id` int(10) unsigned NOT NULL,
  `e_r_subcat_name` varchar(300) NOT NULL,
  `e_r_short_form` varchar(100) NOT NULL,
  `total_score` float NOT NULL,
  PRIMARY KEY (`e_r_subcat_id`),
  KEY `e_r_cat_id` (`e_r_cat_id`),
  KEY `e_r_cat_id_2` (`e_r_cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `e_r_subject` (
  `e_r_subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `e_r_cat_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `class_name` varchar(300) NOT NULL,
  `subclass_name` varchar(300) NOT NULL,
  `subject_name` varchar(300) NOT NULL,
  `subcat1` float DEFAULT NULL,
  `subcat2` float DEFAULT NULL,
  `subcat3` float DEFAULT NULL,
  `subcat4` float DEFAULT NULL,
  `subcat5` float DEFAULT NULL,
  `subcat6` float DEFAULT NULL,
  `subcat7` float DEFAULT NULL,
  `subcat8` float DEFAULT NULL,
  `subcat9` float DEFAULT NULL,
  `subcat10` float DEFAULT NULL,
  `total` float NOT NULL,
  `total_percent` varchar(10) NOT NULL,
  `position_subclass` varchar(30) NOT NULL,
  `grade` varchar(20) NOT NULL,
  `grade_comment` varchar(300) NOT NULL,
  `staff_name` varchar(300) NOT NULL,
  `staff_comment` varchar(300) NOT NULL,
  `status` varchar(20) NOT NULL,
  `generate_result` varchar(20) NOT NULL DEFAULT 'not_generated',
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`e_r_subject_id`),
  KEY `e_r_cat_id` (`e_r_cat_id`,`student_id`,`class_id`,`subclass_id`,`subject_id`),
  KEY `class_id` (`class_id`,`subclass_id`,`subject_id`,`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `end_term_info` (
  `end_term_id` int(11) NOT NULL AUTO_INCREMENT,
  `new_student_number` int(11) NOT NULL,
  `no_of_students` int(11) NOT NULL,
  `no_of_male_students` int(11) NOT NULL,
  `no_of_female_students` int(11) NOT NULL,
  `no_of_grad_students` int(11) NOT NULL,
  `no_of_deact_students` int(11) NOT NULL,
  `no_of_parents` int(11) NOT NULL,
  `no_of_staff` int(11) NOT NULL,
  `no_of_academic_staff` int(11) NOT NULL,
  `no_of_non_academic_staff` int(11) NOT NULL,
  `no_of_accountant` int(11) NOT NULL,
  `no_of_admin` int(11) NOT NULL,
  `owing` int(11) NOT NULL,
  `annual_only_last_subjects` varchar(5) NOT NULL,
  `third_term_in_annual` varchar(3) NOT NULL DEFAULT 'no',
  `allow_finance` varchar(5) NOT NULL,
  `scratch_card` varchar(5) NOT NULL,
  `generate_result` varchar(20) NOT NULL,
  `publish_result` char(30) NOT NULL,
  `next_term_begins` date NOT NULL,
  `publish_result_deadline` date NOT NULL,
  `report_ready` varchar(15) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `date_entered` datetime NOT NULL DEFAULT current_timestamp(),
  `account_balanced` varchar(12) NOT NULL,
  PRIMARY KEY (`end_term_id`),
  KEY `sess_term` (`sessions`,`terms`),
  KEY `report_ready` (`report_ready`),
  KEY `date_entered` (`date_entered`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=latin1;


INSERT INTO end_term_info VALUES
("18","6","6","3","3","0","0","0","1","1","0","0","0","0","no","no","no","no","generated","published","2021-04-12","2021-06-24","ready","2020/2021","1st Term","2018-04-14 13:39:26","unbalanced"),
("19","0","6","3","3","0","0","0","1","1","0","0","0","0","no","no","no","no","generated","published","2021-07-05","2021-06-30","ready","2020/2021","2nd Term","2021-06-24 10:12:59","unbalanced"),
("20","0","6","3","3","0","0","0","1","1","0","0","0","0","no","no","no","no","generated","published","2021-10-11","2021-10-19","ready","2020/2021","3rd Term","2021-09-16 12:43:56","unbalanced"),
("21","8","12","5","7","0","2","0","2","2","0","0","0","0","no","no","no","no","generated","published","2022-01-10","2022-01-07","ready","2021/2022","1st Term","2021-12-04 21:14:05","unbalanced"),
("22","0","0","0","0","0","0","0","0","0","0","0","0","0","no","no","no","no","not_generated","not_published","2022-04-09","2022-04-07","not_ready","2021/2022","2nd Term","2022-04-01 11:00:47","unbalanced");




CREATE TABLE `end_term_inventory` (
  `end_term_inventory_id` int(11) NOT NULL AUTO_INCREMENT,
  `account_balanced` varchar(20) NOT NULL DEFAULT 'unbalanced',
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`end_term_inventory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `end_term_ledger` (
  `end_term_ledger_id` int(11) NOT NULL AUTO_INCREMENT,
  `account_balanced` varchar(15) NOT NULL DEFAULT 'unbalanced',
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`end_term_ledger_id`),
  KEY `terms` (`terms`,`sessions`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `end_term_school_fees` (
  `end_term_school_fees_id` int(11) NOT NULL AUTO_INCREMENT,
  `account_balanced` varchar(20) DEFAULT 'unbalanced',
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  PRIMARY KEY (`end_term_school_fees_id`),
  KEY `sessions` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `event` (
  `event_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `event_title` varchar(300) NOT NULL,
  `event_cat` varchar(20) NOT NULL,
  `event_image` varchar(300) NOT NULL,
  `location` varchar(300) NOT NULL,
  `description` text NOT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`event_id`),
  KEY `date_created` (`date_created`),
  KEY `event_cat` (`event_cat`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `exam_questions` (
  `exam_question_id` int(11) NOT NULL AUTO_INCREMENT,
  `exam_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`exam_question_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `exam_student_questions` (
  `exam_student_question_id` int(11) NOT NULL AUTO_INCREMENT,
  `exam_student_id` int(11) NOT NULL,
  `question_options_id` int(11) NOT NULL,
  PRIMARY KEY (`exam_student_question_id`),
  KEY `exam_student_id` (`exam_student_id`),
  KEY `question_options_id` (`question_options_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `exam_student_theory` (
  `exam_student_theory_id` int(11) NOT NULL AUTO_INCREMENT,
  `exam_student_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `question_text` text NOT NULL,
  `corrected_text` text NOT NULL,
  `score` decimal(15,2) DEFAULT NULL,
  `total_score` decimal(15,2) DEFAULT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`exam_student_theory_id`),
  KEY `exam_student_id` (`exam_student_id`),
  KEY `question_id` (`question_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `exam_student_theory_images` (
  `exam_student_theory_images_id` int(11) NOT NULL AUTO_INCREMENT,
  `exam_student_id` int(11) NOT NULL,
  `question_id` int(11) NOT NULL,
  `google_drive_id` varchar(50) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`exam_student_theory_images_id`),
  KEY `exam_student_id` (`exam_student_id`),
  KEY `question_id` (`question_id`),
  KEY `google_drive_id` (`google_drive_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `exam_students` (
  `exam_student_id` int(11) NOT NULL AUTO_INCREMENT,
  `exam_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `start_date` datetime NOT NULL DEFAULT current_timestamp(),
  `end_date` datetime NOT NULL,
  `score` decimal(15,2) DEFAULT NULL,
  `revised_score` decimal(15,2) DEFAULT NULL,
  `total_score` decimal(15,2) DEFAULT NULL,
  `score_percentage` decimal(15,2) DEFAULT NULL,
  `revised_score_percentage` decimal(15,2) DEFAULT NULL,
  `approval` tinyint(4) NOT NULL,
  `fullscreen_exits` int(11) NOT NULL,
  `exam_ended_cond` varchar(30) NOT NULL,
  PRIMARY KEY (`exam_student_id`),
  KEY `exam_id` (`exam_id`),
  KEY `student_id` (`student_id`),
  KEY `approval` (`approval`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `exam_webcams` (
  `exam_webcam_id` int(11) NOT NULL AUTO_INCREMENT,
  `exam_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `google_drive_id` varchar(300) NOT NULL,
  `timestamp` varchar(20) NOT NULL,
  PRIMARY KEY (`exam_webcam_id`),
  KEY `exam_id` (`exam_id`,`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `exams` (
  `exam_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `topic_id` int(11) NOT NULL,
  `exam_name` varchar(300) NOT NULL,
  `exam_description` text NOT NULL,
  `exam_pass` varchar(300) NOT NULL,
  `exam_pass_hash` varchar(300) NOT NULL,
  `duration` int(11) NOT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `maximum_attempt` tinyint(4) NOT NULL,
  `minimum_percentage` tinyint(4) NOT NULL,
  `view_answers` tinyint(4) NOT NULL,
  `surveillance` tinyint(4) NOT NULL,
  `randomize_question` tinyint(4) NOT NULL,
  `exam_type` varchar(20) NOT NULL,
  `activation` varchar(10) NOT NULL,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`exam_id`),
  KEY `activation` (`activation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `executives` (
  `executive_id` int(11) NOT NULL AUTO_INCREMENT,
  `school_id` int(10) unsigned NOT NULL,
  `user_key` varchar(100) DEFAULT NULL,
  `serial_number` varchar(30) NOT NULL,
  `pass` char(255) NOT NULL,
  `new_password` char(255) NOT NULL,
  `email` varchar(200) NOT NULL,
  `status` varchar(30) NOT NULL,
  `phone_number` varchar(20) NOT NULL,
  `forget_token` varchar(200) NOT NULL,
  `login_attempt` int(11) NOT NULL,
  `login_last_time` int(10) unsigned NOT NULL,
  PRIMARY KEY (`executive_id`),
  UNIQUE KEY `user_key` (`user_key`),
  KEY `school_id` (`school_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;


INSERT INTO executives VALUES
("1","0","1b86783ae","O/16/0001","$2y$10$/WPShfudvtky2Lvam61YyuCdOUGnP1SL6eY7ovm0doCDrnTPli/AW","","zeonorganisation@gmail.com","","","","0","1505998587"),
("2","0","2df20249c","B/16/0001","$2y$10$n407Q9ygVsOdUWfe52PHNO6SYlzLRcUq2CQdZdfjF4fnDgt25v8W2","Mynameisbackend","zeonglobal@gmail.com","","","","0","1505995243"),
("3","0","392f989c6","U/16/0001","$2y$10$hXRdO2YNOVyphYSz.pPHEuD4Zw9PhdaG6SNGJHJgQb87QUWV22tV.","","","admin","","","0","1505981376"),
("4","0","4a0978df3","A/16/0001","$2y$10$Gg5mWpO2Pt/lM7sClJy90u7orPh02Z9.ST0B5RSMl9ckFg6ls6a8K","","","account","","","0","1506032093");




CREATE TABLE `facility` (
  `facility_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `facility_cat` varchar(100) NOT NULL,
  `facility_name` varchar(300) NOT NULL,
  `facility_date` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`facility_id`),
  KEY `facility_cat` (`facility_cat`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `facility_images` (
  `facility_images_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `facility_id` int(10) unsigned NOT NULL,
  `image_name` varchar(300) NOT NULL,
  `image_dir` varchar(500) NOT NULL,
  PRIMARY KEY (`facility_images_id`),
  KEY `facility_id` (`facility_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `fees_discount` (
  `fees_discount_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `reason` varchar(300) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`fees_discount_id`),
  KEY `student_id` (`student_id`),
  KEY `session_term` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `form_staff_class_subclass` (
  `form_staff_class_subclass_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  PRIMARY KEY (`form_staff_class_subclass_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


INSERT INTO form_staff_class_subclass VALUES
("1","1","1","0"),
("3","3","2","0");




CREATE TABLE `grading` (
  `grading_id` int(11) NOT NULL AUTO_INCREMENT,
  `grade_from` int(11) NOT NULL,
  `grade_to` int(11) NOT NULL,
  `grade` char(20) NOT NULL,
  `remark` char(100) NOT NULL,
  `principal_name` char(200) NOT NULL,
  `principal_comment` text NOT NULL,
  `form_staff_comment` text NOT NULL,
  `subject_comment` text NOT NULL,
  `groups` char(20) NOT NULL,
  PRIMARY KEY (`grading_id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;


INSERT INTO grading VALUES
("1","0","29","F9","FAIL","","YOU CAN BE A STAR! YOU HAVE THE POTENTIALS IN YOU. BRING IT OUT SO YOU CAN SHINE NEXT TIME.","WE WILL WORK TOWARDS IMPROVING ON THIS NEXT TERM","FAIR, YOU CAN DO BETTER","lower"),
("2","30","34","F9","FAIL","","YOU CAN BE A STAR! YOU HAVE THE POTENTIALS IN YOU. BRING IT OUT SO YOU CAN SHINE NEXT TIME.","WE WILL WORK TOWARDS IMPROVING ON THIS NEXT TERM","FAIR, YOU CAN DO BETTER","lower"),
("3","35","39","F9","FAIL","","YOU CAN SOAR HIGH LIKE AN EAGLE. PUT MORE EFFORT, IT\'S IN YOU TO SUCCEED.","WE WILL WORK TOWARDS IMPROVING ON THIS NEXT TERM","FAIR, YOU CAN DO BETTER","lower"),
("4","40","44","E8","VERY POOR","","YOU HAVE THE POTENTIALS FOR GREATNESS IN YOU, BRING IT OUT. YOU WILL DO BETTER NEXT TIME.","ALMOST THERE, LETS WORK FOR A BETTER RESULT NEXT TERM","FAIR, TRY HARDER NEXT TIME","lower"),
("5","45","49","D7","POOR","","YOU HAVE THE POTENTIALS TO FLY, RELEASE MORE OF IT, AND YOU WILL FLY WITH MASTERY.","ALMOST THERE, LETS WORK FOR A BETTER RESULT NEXT TERM","FAIR, TRY HARDER NEXT TIME","lower"),
("6","50","54","C6","CREDIT","","IMPRESSIVE EFFORT, YOU ARE MIDDLE WAY TO SUCCESS, WELL DONE! YOU CAN DO MORE.","GOOD RESULT, PUT IN MORE EFFORT","GOOD WORK. WORK HARDER","lower"),
("7","55","59","C5","CREDIT","","WELL DONE! YOU ARE ABOUT TO FLY, WITH MORE HARD WORK YOU CAN SCALE HIGHER WITH FLYING COLOURS.","GOOD RESULT, PUT IN MORE EFFORT","GOOD WORK. WORK HARDER","lower"),
("8","60","64","C4","CREDIT","","GREAT EFFORT. YOU DESERVE TO BE CELEBRATED, YOU HAVE SHOWN POTENTIALS FOR SUCCESS. YOU CAN DO BETTER.","GOOD RESULT, PUT IN MORE EFFORT","SATISFACTORY. YOU CAN DO BETTER.","lower"),
("9","65","69","B3","GOOD","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","GOOD RESULT, PUT IN MORE EFFORT","SATISFACTORY. YOU CAN DO BETTER.","lower"),
("10","70","74","B2","VERY GOOD","","YOU HAVE UNLOCKED THE SUCCESS KEY, KEEP IT UP. THE SKY IS YOUR STARTING POINT.","VERY GOOD PERFORMANCE","VERY GOOD, WELL DONE","lower"),
("11","75","79","B2","VERY GOOD","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","VERY GOOD PERFORMANCE","VERY GOOD, WELL DONE","lower"),
("12","80","84","A1","EXCELLENT","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","EXECELLENT RESULT, KEEP IT UP","EXCELLENT PERFORMANCE, KEEP IT UP","lower"),
("13","85","89","A1","EXCELLENT","","VERY IMPRESSIVE WORK, WONDERFULLY DONE! YOU HAVE MADE A DIFFERENCE, YOU ARE NOW A REFERENCE POINT.","EXECELLENT RESULT, KEEP IT UP","EXCELLENT PERFORMANCE, KEEP IT UP","lower"),
("14","90","94","A1","EXCELLENT","","YOU HAVE HIT THE MARK OF A CHAMPION, BRILLIANT PERFORMANCE. SOAR TO THE PEAK","EXECELLENT RESULT, KEEP IT UP","EXCEPTIONAL WORK. WONDERFULLY DONE.","lower"),
("15","95","100","A1","EXCELLENT","","YOU ARE A GENERAL, YOU HAVE EARNED YOURSELF AN EXCEPTIONAL PLACE. WELL DONE! KEEP ON SOARING","EXECELLENT RESULT, KEEP IT UP","EXCEPTIONAL WORK. WONDERFULLY DONE.","lower"),
("16","0","29","F9","FAIL","","YOU CAN BE A STAR! YOU HAVE THE POTENTIALS IN YOU. BRING IT OUT SO YOU CAN SHINE NEXT TIME.","WE WILL WORK TOWARDS IMPROVING ON THIS NEXT TERM","FAIR, YOU CAN DO BETTER","higher"),
("17","30","34","F9","FAIL","","YOU CAN BE A STAR! YOU HAVE THE POTENTIALS IN YOU. BRING IT OUT SO YOU CAN SHINE NEXT TIME.","WE WILL WORK TOWARDS IMPROVING ON THIS NEXT TERM","FAIR, YOU CAN DO BETTER","higher"),
("18","35","39","F9","FAIL","","YOU CAN SOAR HIGH LIKE AN EAGLE. PUT MORE EFFORT, IT\'S IN YOU TO SUCCEED.","WE WILL WORK TOWARDS IMPROVING ON THIS NEXT TERM","FAIR, YOU CAN DO BETTER","higher"),
("19","40","44","E8","VERY POOR","","YOU HAVE THE POTENTIALS FOR GREATNESS IN YOU, BRING IT OUT. YOU WILL DO BETTER NEXT TIME.","ALMOST THERE, LETS WORK FOR A BETTER RESULT NEXT TERM","FAIR, TRY HARDER NEXT TIME","higher"),
("20","45","49","D7","POOR","","YOU HAVE THE POTENTIALS TO FLY, RELEASE MORE OF IT, AND YOU WILL FLY WITH MASTERY.","ALMOST THERE, LETS WORK FOR A BETTER RESULT NEXT TERM","FAIR, TRY HARDER NEXT TIME","higher"),
("21","50","54","C6","CREDIT","","IMPRESSIVE EFFORT, YOU ARE MIDDLE WAY TO SUCCESS, WELL DONE! YOU CAN DO MORE.","GOOD RESULT, PUT IN MORE EFFORT","GOOD WORK. WORK HARDER","higher"),
("22","55","59","C5","CREDIT","","WELL DONE! YOU ARE ABOUT TO FLY, WITH MORE HARD WORK YOU CAN SCALE HIGHER WITH FLYING COLOURS.","GOOD RESULT, PUT IN MORE EFFORT","GOOD WORK. WORK HARDER","higher"),
("23","60","64","C4","CREDIT","","GREAT EFFORT. YOU DESERVE TO BE CELEBRATED, YOU HAVE SHOWN POTENTIALS FOR SUCCESS. YOU CAN DO BETTER.","GOOD RESULT, PUT IN MORE EFFORT","SATISFACTORY. YOU CAN DO BETTER.","higher"),
("24","65","69","B3","GOOD","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","GOOD RESULT, PUT IN MORE EFFORT","SATISFACTORY. YOU CAN DO BETTER.","higher"),
("25","70","74","B2","VERY GOOD","","YOU HAVE UNLOCKED THE SUCCESS KEY, KEEP IT UP. THE SKY IS YOUR STARTING POINT.","VERY GOOD PERFORMANCE","VERY GOOD, WELL DONE","higher"),
("26","75","79","B2","VERY GOOD","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","VERY GOOD PERFORMANCE","VERY GOOD, WELL DONE","higher"),
("27","80","84","A1","EXCELLENT","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","EXECELLENT RESULT, KEEP IT UP","EXCELLENT PERFORMANCE, KEEP IT UP","higher"),
("28","85","89","A1","EXCELLENT","","VERY IMPRESSIVE WORK, WONDERFULLY DONE! YOU HAVE MADE A DIFFERENCE, YOU ARE NOW A REFERENCE POINT.","EXECELLENT RESULT, KEEP IT UP","EXCELLENT PERFORMANCE, KEEP IT UP","higher"),
("29","90","94","A1","EXCELLENT","","YOU HAVE HIT THE MARK OF A CHAMPION, BRILLIANT PERFORMANCE. SOAR TO THE PEAK","EXECELLENT RESULT, KEEP IT UP","EXCEPTIONAL WORK. WONDERFULLY DONE.","higher"),
("30","95","100","A1","EXCELLENT","","YOU ARE A GENERAL, YOU HAVE EARNED YOURSELF AN EXCEPTIONAL PLACE. WELL DONE! KEEP ON SOARING","EXECELLENT RESULT, KEEP IT UP","EXCEPTIONAL WORK. WONDERFULLY DONE.","higher");




CREATE TABLE `hostel_rooms` (
  `room_id` int(11) NOT NULL AUTO_INCREMENT,
  `hostel_id` int(11) NOT NULL,
  `room_name` varchar(400) NOT NULL,
  `bedspace_prefix` varchar(400) NOT NULL,
  `room_fee` int(11) NOT NULL,
  `room_space` int(11) NOT NULL,
  `available` int(11) NOT NULL,
  PRIMARY KEY (`room_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `hostels` (
  `hostel_id` int(11) NOT NULL AUTO_INCREMENT,
  `hostel_name` varchar(400) NOT NULL,
  `hostel_gender` varchar(20) NOT NULL,
  PRIMARY KEY (`hostel_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `html5_games` (
  `html5_games_id` int(11) NOT NULL AUTO_INCREMENT,
  `html5_games_category_id` int(11) NOT NULL,
  `game_name` varchar(50) NOT NULL,
  `game_image` varchar(150) NOT NULL,
  `game_link` varchar(300) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`html5_games_id`),
  KEY `html5_games_category_id` (`html5_games_category_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;


INSERT INTO html5_games VALUES
("1","1","Trivia Quiz","/app/private/images/games/1.jpg","https://html5.gamedistribution.com/66c37511b2d14fe4a2b5ce334c986cae/","2020-04-19 00:56:55"),
("2","1","Quiz Story Animal","https://www.h5games.com/imgs/d1bjj4kazoovdg.cloudfront.net/assets/games/quiz-story-animal/big_icon.jpg","https://games.softgames.com/games/quiz-story-animal/gamesites/6326/locale/en","2020-04-19 00:56:55"),
("3","1","Words with Owl","https://www.h5games.com/imgs/d1bjj4kazoovdg.cloudfront.net/assets/games/words-with-owl/big_icon.jpg","https://games.softgames.com/games/words-with-owl/gamesites/6326/locale/en","2020-04-19 00:56:55"),
("4","2","Waffle Game","https://www.h5games.com/imgs/img.GameDistribution.com/c501bf4c7c124cad960a0bfcedf74e49.jpg","https://html5.gamedistribution.com/c501bf4c7c124cad960a0bfcedf74e49/","2020-04-19 00:56:55"),
("5","2","Word Finder","https://www.h5games.com/imgs/img.GameDistribution.com/06f2049a0e14444eace08ead61b295aa.jpg","https://html5.gamedistribution.com/06f2049a0e14444eace08ead61b295aa/","2020-04-19 00:56:55"),
("6","3","Matt Vs Math","https://www.h5games.com/imgs/d1bjj4kazoovdg.cloudfront.net/assets/games/matt-vs-math/big_icon.jpg","https://games.softgames.com/games/matt-vs-math/gamesites/6326/locale/en","2020-04-19 01:02:09"),
("7","2","Tetra","https://www.h5games.com/imgs/d1bjj4kazoovdg.cloudfront.net/assets/games/2020-tetra/big_icon.jpg","https://games.softgames.com/games/2020-tetra/gamesites/6326/locale/en","2020-04-19 01:02:09"),
("8","2","4 Images and 1 Word","https://www.h5games.com/imgs/img.GameDistribution.com/2fcdda0631b24da5902b0a837d94f21d.jpg","https://html5.gamedistribution.com/2fcdda0631b24da5902b0a837d94f21d/","2020-04-19 01:02:09"),
("9","3","Number Search","https://cdn.htmlgames.com/NumberSearch/img/icon/icon-196x196.png","https://cdn.htmlgames.com/NumberSearch/index.html","2020-04-19 01:06:56"),
("10","3","Numbers In The City","https://cdn.htmlgames.com/NumbersInTheCity/img/icon/icon-196x196.png","https://cdn.htmlgames.com/NumbersInTheCity/index.html","2020-04-19 01:28:16");




CREATE TABLE `html5_games_category` (
  `html5_games_category_id` int(11) NOT NULL AUTO_INCREMENT,
  `category_name` varchar(50) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`html5_games_category_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


INSERT INTO html5_games_category VALUES
("1","WORDS TRIVIA","2020-04-19 00:51:16"),
("2","PUZZLE","2020-04-19 00:51:16"),
("3","MATHS TRIVIA","2020-04-19 00:58:15");




CREATE TABLE `inv_cat` (
  `cat_id` int(11) NOT NULL AUTO_INCREMENT,
  `cat_name` varchar(200) NOT NULL,
  PRIMARY KEY (`cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `inv_payment` (
  `inv_payment_id` int(11) NOT NULL AUTO_INCREMENT,
  `subcat_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `transaction_id` int(11) NOT NULL,
  `quantity` int(11) DEFAULT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `inv_payment_delete` tinyint(4) NOT NULL DEFAULT 0,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`inv_payment_id`),
  KEY `subcat_id` (`subcat_id`),
  KEY `student_id` (`student_id`),
  KEY `transaction_id` (`transaction_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `inv_stack_payment` (
  `stack_payment_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` int(11) NOT NULL,
  `subcat_id` int(11) NOT NULL,
  `accountant_id` int(10) unsigned NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `sold` int(11) NOT NULL,
  `each_amount` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`stack_payment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `inv_stock_cat` (
  `stock_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` int(11) NOT NULL,
  `accountant_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `no_of_stock` int(11) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`stock_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `inv_stock_subcat` (
  `inv_stock_subcat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `stock_id` int(11) NOT NULL,
  `cat_id` int(11) NOT NULL,
  `subcat_id` int(11) NOT NULL,
  `no_of_sub` int(11) NOT NULL,
  PRIMARY KEY (`inv_stock_subcat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `inv_subcat` (
  `subcat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` int(11) NOT NULL,
  `sub_cat_name` varchar(200) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  PRIMARY KEY (`subcat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `inv_transaction` (
  `trans_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` int(10) unsigned NOT NULL,
  `subcat_id` int(11) NOT NULL,
  `total_no` int(11) NOT NULL,
  `remaining` int(11) NOT NULL,
  `bought` int(11) NOT NULL,
  `total_amount` decimal(15,2) NOT NULL,
  `expected_income` decimal(15,2) NOT NULL,
  `current_income` decimal(15,2) NOT NULL,
  `damaged_items` int(11) NOT NULL,
  `damages` decimal(15,2) NOT NULL,
  `damage_reason` varchar(300) NOT NULL,
  `remove` varchar(10) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`trans_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `ledger_category` (
  `ledger_category_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `category_name` varchar(200) NOT NULL,
  `status` varchar(20) NOT NULL,
  PRIMARY KEY (`ledger_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `ledger_expense` (
  `ledger_expense_id` int(11) NOT NULL AUTO_INCREMENT,
  `ledger_category_id` int(11) NOT NULL,
  `accountant_id` int(10) unsigned NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `amount_spent` decimal(15,2) NOT NULL,
  `f_explain` varchar(400) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`ledger_expense_id`),
  KEY `ledger_category_id` (`ledger_category_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `ledger_income` (
  `ledger_income_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ledger_category_id` int(10) unsigned NOT NULL,
  `accountant_id` int(10) unsigned NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `amount_gotten` decimal(15,2) unsigned NOT NULL,
  `f_explain` varchar(400) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`ledger_income_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `ledger_category_id` (`ledger_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `ledger_info` (
  `ledger_info_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ledger_category_id` int(10) unsigned NOT NULL,
  `income` decimal(15,2) NOT NULL,
  `expense` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`ledger_info_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `ledger_category_id` (`ledger_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `lesson_note_template` (
  `lesson_note_template_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `topic` varchar(500) NOT NULL,
  `date` datetime NOT NULL,
  `ages` varchar(500) NOT NULL,
  `no_of_period` varchar(500) NOT NULL,
  `specific_objectives` varchar(500) NOT NULL,
  `instructional_materials` varchar(500) NOT NULL,
  `resource_materials` varchar(500) NOT NULL,
  `teaching_methods` varchar(500) NOT NULL,
  `previous_knowledge` varchar(500) NOT NULL,
  `teachers_intro` varchar(500) NOT NULL,
  `students_intro` varchar(500) NOT NULL,
  `learning_intro` varchar(500) NOT NULL,
  `teachers_step_one` varchar(500) NOT NULL,
  `students_step_one` varchar(500) NOT NULL,
  `learning_step_one` varchar(500) NOT NULL,
  `teachers_step_two` varchar(500) NOT NULL,
  `students_step_two` varchar(500) NOT NULL,
  `learning_step_two` varchar(500) NOT NULL,
  `teachers_step_three` varchar(500) NOT NULL,
  `students_step_three` varchar(500) NOT NULL,
  `learning_step_three` varchar(500) NOT NULL,
  `teachers_step_four` varchar(500) NOT NULL,
  `students_step_four` varchar(500) NOT NULL,
  `learning_step_four` varchar(500) NOT NULL,
  `teachers_classwork` varchar(500) NOT NULL,
  `students_classwork` varchar(500) NOT NULL,
  `learning_classwork` varchar(500) NOT NULL,
  `teachers_assignment` varchar(500) NOT NULL,
  `students_assignment` varchar(500) NOT NULL,
  `learning_assignment` varchar(500) NOT NULL,
  `teachers_conclusion` varchar(500) NOT NULL,
  `students_conclusion` varchar(500) NOT NULL,
  `learning_conclusion` varchar(500) NOT NULL,
  `summary_note` text NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`lesson_note_template_id`),
  KEY `class_id` (`class_id`,`subclass_id`,`subject_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `new_fees_class` (
  `new_fees_class_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `term` varchar(20) NOT NULL,
  PRIMARY KEY (`new_fees_class_id`),
  KEY `term` (`term`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;


INSERT INTO new_fees_class VALUES
("1","1","0.00","1st Term"),
("2","1","0.00","2nd Term"),
("3","1","0.00","3rd Term"),
("4","2","0.00","1st Term"),
("5","2","0.00","2nd Term"),
("6","2","0.00","3rd Term"),
("7","3","0.00","1st Term"),
("8","3","0.00","2nd Term"),
("9","3","0.00","3rd Term");




CREATE TABLE `news` (
  `news_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `news_title` varchar(300) NOT NULL,
  `news_message` text NOT NULL,
  `news_category` varchar(11) NOT NULL,
  `news_image` varchar(500) NOT NULL,
  `news_date` datetime NOT NULL,
  PRIMARY KEY (`news_id`),
  KEY `news_category` (`news_category`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;


INSERT INTO news VALUES
("1","0","0","RESULT FOR 2020/2021 1ST TERM IS READY !!!","<p style=\"text-align: justify;\">All students and parents of Trust Academy should be informed that the result of <strong>2020/2021 1st Term</strong> has been published. Please you are required to complete all fee payment before checking your result.</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: center;\"><strong><span style=\"text-decoration: underline;\">OUTSTANDING STUDENTS</span></strong></p>
\n		<p style=\"text-align: justify;\">From the outcome of the result, these are the best students in their various classes:</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p><p style=\"text-align: justify;\">HIGH SCHOOL 1: <strong>IKE GOODNESS </strong></p>
\n						<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">Signed</p>
\n		<p style=\"text-align: justify;\">Management</p>","secondary","/private/images/default_result.png","2021-06-24 10:08:52"),
("2","0","0","RESULT FOR 2020/2021 2ND TERM IS READY !!!","<p style=\"text-align: justify;\">All students and parents of Trust Academy should be informed that the result of <strong>2020/2021 2nd Term</strong> has been published. Please you are required to complete all fee payment before checking your result.</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: center;\"><strong><span style=\"text-decoration: underline;\">OUTSTANDING STUDENTS</span></strong></p>
\n		<p style=\"text-align: justify;\">From the outcome of the result, these are the best students in their various classes:</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p><p style=\"text-align: justify;\">HIGH SCHOOL 1: <strong>IKE GOODNESS </strong></p>
\n						<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">Signed</p>
\n		<p style=\"text-align: justify;\">Management</p>","secondary","/private/images/default_result.png","2021-07-30 12:11:49"),
("3","0","0","RESULT FOR 2020/2021 3RD TERM IS READY !!!","<p style=\"text-align: justify;\">All students and parents of Trust Academy should be informed that the result of <strong>2020/2021 3rd Term</strong> has been published. Please you are required to complete all fee payment before checking your result.</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: center;\"><strong><span style=\"text-decoration: underline;\">OUTSTANDING STUDENTS</span></strong></p>
\n		<p style=\"text-align: justify;\">From the outcome of the result, these are the best students in their various classes:</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p><p style=\"text-align: justify;\">HIGH SCHOOL 1: <strong>IKE GOODNESS </strong></p>
\n						<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">Signed</p>
\n		<p style=\"text-align: justify;\">Management</p>","secondary","/private/images/default_result.png","2021-10-18 14:21:10"),
("4","0","0","RESULT FOR 2020/2021 3RD TERM IS READY !!!","<p style=\"text-align: justify;\">All students and parents of Trust Academy should be informed that the result of <strong>2020/2021 3rd Term</strong> has been published. Please you are required to complete all fee payment before checking your result.</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: center;\"><strong><span style=\"text-decoration: underline;\">OUTSTANDING STUDENTS</span></strong></p>
\n		<p style=\"text-align: justify;\">From the outcome of the result, these are the best students in their various classes:</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p><p style=\"text-align: justify;\">HIGH SCHOOL 1: <strong>IKE GOODNESS </strong></p>
\n						<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">Signed</p>
\n		<p style=\"text-align: justify;\">Management</p>","secondary","/private/images/default_result.png","2021-10-18 14:49:47"),
("5","0","0","RESULT FOR 2021/2022 1ST TERM IS READY !!!","<p style=\"text-align: justify;\">All students and parents of Trust Academy should be informed that the result of <strong>2021/2022 1st Term</strong> has been published. Please you are required to complete all fee payment before checking your result.</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: center;\"><strong><span style=\"text-decoration: underline;\">OUTSTANDING STUDENTS</span></strong></p>
\n		<p style=\"text-align: justify;\">From the outcome of the result, these are the best students in their various classes:</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p><p style=\"text-align: justify;\">HIGH SCHOOL 1: <strong>ABDULLAHI FADILA </strong></p>
\n						<p style=\"text-align: justify;\">&nbsp;</p><p style=\"text-align: justify;\">HIGH SCHOOL 2: <strong>IKE GOODNESS </strong></p>
\n						<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">&nbsp;</p>
\n		<p style=\"text-align: justify;\">Signed</p>
\n		<p style=\"text-align: justify;\">Management</p>","secondary","/private/images/default_result.png","2022-01-06 06:38:16");




CREATE TABLE `news_images` (
  `news_images_id` int(11) NOT NULL AUTO_INCREMENT,
  `news_id` int(11) NOT NULL,
  `image_name` varchar(300) NOT NULL,
  `image_dir` varchar(300) NOT NULL,
  PRIMARY KEY (`news_images_id`),
  KEY `news_id` (`news_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `notify` (
  `notify_id` int(11) NOT NULL AUTO_INCREMENT,
  `notify_collection_id` int(10) unsigned NOT NULL,
  `person_id` int(11) NOT NULL,
  `notify_table_name` varchar(20) NOT NULL,
  `notify_title` varchar(300) NOT NULL,
  `notify_message` text NOT NULL,
  `notify_status` varchar(100) NOT NULL,
  `notify_icon` varchar(100) NOT NULL,
  `notify_color` varchar(20) NOT NULL,
  `notify_date` datetime NOT NULL,
  PRIMARY KEY (`notify_id`),
  KEY `notify_collection_id` (`notify_collection_id`),
  KEY `notify_date` (`notify_date`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `notify_attachments` (
  `notify_attachment_id` int(11) NOT NULL AUTO_INCREMENT,
  `notify_collection_id` int(11) NOT NULL,
  `attachment_name` varchar(300) NOT NULL,
  `attachment_dir` varchar(300) NOT NULL,
  PRIMARY KEY (`notify_attachment_id`),
  KEY `notify_collection_id` (`notify_collection_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `notify_collection` (
  `notify_collection_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `notify_table_name` varchar(20) NOT NULL,
  `notify_title` varchar(300) NOT NULL,
  `notify_message` text NOT NULL,
  `notify_icon` varchar(100) NOT NULL,
  `notify_color` varchar(20) NOT NULL,
  `notify_date` datetime NOT NULL,
  PRIMARY KEY (`notify_collection_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `order_scratch_card` (
  `order_scratch_card_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` varchar(20) NOT NULL,
  `number_bought` int(10) unsigned NOT NULL,
  `amount` varchar(20) NOT NULL,
  `status` varchar(20) NOT NULL,
  `payment_mode` varchar(5) NOT NULL,
  `date_bought` datetime NOT NULL,
  PRIMARY KEY (`order_scratch_card_id`),
  UNIQUE KEY `transaction_id` (`transaction_id`),
  KEY `mode` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `other_fees_cat` (
  `other_fees_cat_id` int(11) NOT NULL AUTO_INCREMENT,
  `other_fees_cat_name` varchar(200) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`other_fees_cat_id`),
  KEY `other_fees_cat_name` (`other_fees_cat_name`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `other_fees_subcat` (
  `other_fees_subcat_id` int(11) NOT NULL AUTO_INCREMENT,
  `other_fees_cat_id` int(11) NOT NULL,
  `other_fees_subcat_name` varchar(200) NOT NULL,
  `other_fees_subcat_amount` varchar(200) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`other_fees_subcat_id`),
  KEY `other_fees_cat_id` (`other_fees_cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `other_fees_subcat_payment` (
  `other_fees_subcat_payment_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `transaction_id` varchar(20) NOT NULL,
  `other_fees_subcat_id` int(11) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `other_fees_delete` tinyint(4) NOT NULL DEFAULT 0,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`other_fees_subcat_payment_id`),
  KEY `student_id` (`student_id`),
  KEY `other_fees_subcat_id` (`other_fees_subcat_id`),
  KEY `sessions` (`sessions`,`terms`),
  KEY `transaction_id` (`transaction_id`),
  KEY `other_fees_delete` (`other_fees_delete`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `parent_student_school` (
  `parent_student_school_id` int(11) NOT NULL AUTO_INCREMENT,
  `parent_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `school_id` int(11) NOT NULL,
  PRIMARY KEY (`parent_student_school_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `parents` (
  `parent_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_key` varchar(100) DEFAULT NULL,
  `school_id` int(11) NOT NULL,
  `parent_name` varchar(200) NOT NULL,
  `serial_number` varchar(100) NOT NULL,
  `pass` char(255) NOT NULL,
  `first_password` varchar(200) NOT NULL,
  `new_password` varchar(255) NOT NULL,
  `email` varchar(200) NOT NULL,
  `main_phonenumber` bigint(20) NOT NULL,
  `phone_number2` bigint(20) NOT NULL,
  `phone_number3` bigint(20) NOT NULL,
  `occupation` varchar(200) NOT NULL,
  `home_address` text NOT NULL,
  `office_address` text NOT NULL,
  `state_origin` varchar(200) NOT NULL,
  `religion` varchar(200) NOT NULL,
  `local_govt` varchar(200) NOT NULL,
  `country` varchar(200) NOT NULL,
  `sent_serial_pass_sms` char(3) NOT NULL,
  `login_attempt` int(11) NOT NULL,
  `login_last_time` int(11) unsigned NOT NULL,
  `forget_token` varchar(200) NOT NULL,
  `activation` varchar(50) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`parent_id`),
  UNIQUE KEY `user_key` (`user_key`),
  KEY `activation` (`activation`),
  KEY `sent_serial_pass_sms` (`sent_serial_pass_sms`),
  KEY `religion` (`religion`),
  KEY `date_created` (`date_created`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `plans` (
  `plan_id` int(11) NOT NULL AUTO_INCREMENT,
  `plan_name` varchar(100) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`plan_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `print_slip_dates` (
  `print_slip_dates_id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(30) NOT NULL,
  `date_printed` date NOT NULL,
  PRIMARY KEY (`print_slip_dates_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `push_subscriptions` (
  `push_subscriptions_id` int(11) NOT NULL AUTO_INCREMENT,
  `endpoint` varchar(500) NOT NULL,
  `p256dh` varchar(500) NOT NULL,
  `auth` varchar(500) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  `user_id` int(11) NOT NULL,
  `school_id` int(11) NOT NULL,
  `table_name` varchar(100) NOT NULL,
  `user_key` varchar(100) NOT NULL,
  `browser_token` char(32) NOT NULL,
  PRIMARY KEY (`push_subscriptions_id`),
  KEY `user_id` (`user_id`),
  KEY `school_id` (`school_id`),
  KEY `table_name` (`table_name`),
  KEY `user_key` (`user_key`),
  KEY `browser_token` (`browser_token`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `question_bank` (
  `question_bank_id` int(11) NOT NULL AUTO_INCREMENT,
  `question_bank_title` varchar(30) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `question_bank_type` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`question_bank_id`),
  KEY `class_id` (`class_id`),
  KEY `subject_id` (`subject_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






CREATE TABLE `question_lead` (
  `question_lead_id` int(11) NOT NULL AUTO_INCREMENT,
  `question_bank_id` int(11) NOT NULL,
  `question_lead_title` varchar(300) NOT NULL,
  `question_lead_description` text NOT NULL,
  `question_lead_dir` varchar(500) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `question_lead_embed_dir` varchar(300) NOT NULL,
  `question_lead_thumb_dir` varchar(300) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`question_lead_id`),
  KEY `question_bank_id` (`question_bank_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






CREATE TABLE `question_options` (
  `question_options_id` int(11) NOT NULL AUTO_INCREMENT,
  `question_id` int(11) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `option_text` varchar(500) NOT NULL,
  `option_dir` varchar(300) NOT NULL,
  `option_embed_dir` varchar(300) NOT NULL,
  `option_thumb_dir` varchar(200) NOT NULL,
  `answer` tinyint(4) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`question_options_id`),
  KEY `question_id` (`question_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `questions` (
  `question_id` int(11) NOT NULL AUTO_INCREMENT,
  `question_bank_id` int(11) NOT NULL,
  `question_lead_id` int(11) NOT NULL,
  `google_drive_id` varchar(200) NOT NULL,
  `correct_answer` int(11) NOT NULL,
  `incorrect_answer` int(11) NOT NULL,
  `question_type` varchar(30) NOT NULL,
  `question_text` text NOT NULL,
  `question_dir` varchar(500) NOT NULL,
  `question_embed_dir` varchar(200) NOT NULL,
  `question_thumb_dir` varchar(200) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`question_id`),
  KEY `question_bank_id` (`question_bank_id`),
  KEY `question_lead_id` (`question_lead_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






CREATE TABLE `received_students` (
  `received_students_id` int(11) NOT NULL AUTO_INCREMENT,
  `old_student_id` int(11) NOT NULL,
  `new_student_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `student_name` varchar(300) NOT NULL,
  `class_id` int(11) NOT NULL,
  `old_class_name` varchar(100) NOT NULL,
  `new_class_name` varchar(100) NOT NULL,
  `old_serial_number` varchar(30) NOT NULL,
  `new_serial_number` varchar(30) NOT NULL,
  `school_id` int(11) NOT NULL,
  `database_name` varchar(300) NOT NULL,
  `status` varchar(20) NOT NULL,
  `date_created` datetime NOT NULL,
  PRIMARY KEY (`received_students_id`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `remark_result` (
  `remark_result_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `remark_result_name` varchar(300) NOT NULL,
  `class_id` int(10) unsigned NOT NULL,
  `terms` varchar(20) NOT NULL,
  `activation` varchar(20) NOT NULL DEFAULT 'activated',
  PRIMARY KEY (`remark_result_id`),
  KEY `class_id` (`class_id`),
  KEY `activation` (`activation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `remark_result_cat` (
  `remark_result_cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `remark_result_id` int(10) unsigned NOT NULL,
  `remark_result_cat_name` varchar(300) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`remark_result_cat_id`),
  KEY `remark_result_id` (`remark_result_id`),
  KEY `date_created` (`date_created`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `remark_result_column` (
  `remark_result_column_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `remark_result_id` int(10) unsigned NOT NULL,
  `remark_result_column_name` varchar(300) NOT NULL,
  PRIMARY KEY (`remark_result_column_id`),
  KEY `remark_result_id` (`remark_result_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `remark_result_mark` (
  `remark_result_mark_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `remark_result_id` int(10) unsigned NOT NULL,
  `grade_from` int(11) NOT NULL,
  `grade_to` int(11) NOT NULL,
  `remark_result_mark_name` varchar(300) NOT NULL,
  `remark_result_mark_desc` varchar(500) NOT NULL,
  PRIMARY KEY (`remark_result_mark_id`),
  KEY `remark_result_id` (`remark_result_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `remark_result_student` (
  `remark_result_student_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int(10) unsigned NOT NULL,
  `class_id` int(10) unsigned NOT NULL,
  `subclass_id` int(10) unsigned NOT NULL,
  `remark_result_id` int(10) unsigned NOT NULL,
  `remark_result_cat_id` int(10) unsigned NOT NULL,
  `remark_result_subcat_id` int(10) unsigned NOT NULL,
  `remark_result_column_id` int(10) unsigned NOT NULL,
  `remark_result_mark_id` int(10) unsigned NOT NULL,
  `class_name` varchar(300) NOT NULL,
  `subclass_name` varchar(300) NOT NULL,
  `remark_result_name` varchar(300) NOT NULL,
  `remark_result_cat_name` varchar(300) NOT NULL,
  `remark_result_subcat_name` varchar(300) NOT NULL,
  `remark_result_column_name` varchar(300) NOT NULL,
  `remark_result_mark_name` varchar(300) NOT NULL,
  `remark_result_mark_desc` varchar(500) NOT NULL,
  `score` int(11) DEFAULT NULL,
  `student_attendance` int(11) DEFAULT NULL,
  `total_attendance` int(11) DEFAULT NULL,
  `form_staff_name` varchar(200) NOT NULL,
  `form_staff_comment` text NOT NULL,
  `principal_name` varchar(200) NOT NULL,
  `principal_comment` text NOT NULL,
  `principal_signature` varchar(400) NOT NULL,
  `scratch_card_number` varchar(16) NOT NULL,
  `next_term_begins` date NOT NULL,
  `status` varchar(20) NOT NULL,
  `publish_result` varchar(20) NOT NULL DEFAULT 'not_published',
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`remark_result_student_id`),
  KEY `student_id` (`student_id`,`class_id`,`subclass_id`,`remark_result_id`,`remark_result_cat_id`,`remark_result_subcat_id`,`remark_result_column_id`,`remark_result_mark_id`),
  KEY `status` (`status`),
  KEY `publish_result` (`publish_result`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `remark_result_subcat` (
  `remark_result_subcat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `remark_result_id` int(10) unsigned NOT NULL,
  `remark_result_cat_id` int(10) unsigned NOT NULL,
  `remark_result_subcat_name` varchar(300) NOT NULL,
  PRIMARY KEY (`remark_result_subcat_id`),
  KEY `remark_result_id` (`remark_result_id`,`remark_result_cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `result_class` (
  `result_class_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `class_name` varchar(30) NOT NULL,
  `generate_result` varchar(30) NOT NULL,
  `skip_result` varchar(20) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`result_class_id`),
  KEY `class_id` (`class_id`,`generate_result`,`sessions`,`terms`),
  KEY `skip_result` (`skip_result`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;


INSERT INTO result_class VALUES
("1","1","JSS1","generated","not_skipped","2020/2021","1st Term"),
("2","2","JSS2","generated","not_skipped","2020/2021","1st Term"),
("3","3","JSS3","generated","not_skipped","2020/2021","1st Term"),
("4","4","SSS1","generated","not_skipped","2020/2021","1st Term"),
("5","5","SSS2","generated","not_skipped","2020/2021","1st Term"),
("6","6","SSS3","generated","not_skipped","2020/2021","1st Term"),
("7","1","HIGH SCHOOL 1","generated","not_skipped","2020/2021","1st Term"),
("8","1","HIGH SCHOOL 1","generated","not_skipped","2020/2021","2nd Term"),
("9","1","HIGH SCHOOL 1","generated","not_skipped","2020/2021","3rd Term"),
("10","1","HIGH SCHOOL 1","generated","not_skipped","2021/2022","1st Term"),
("11","2","HIGH SCHOOL 2","generated","not_skipped","2021/2022","1st Term"),
("12","3","HIGH SCHOOL 3","generated","not_skipped","2021/2022","1st Term"),
("13","1","HIGH SCHOOL 1","generated","not_skipped","2021/2022","2nd Term"),
("14","2","HIGH SCHOOL 2","generated","not_skipped","2021/2022","2nd Term"),
("15","3","HIGH SCHOOL 3","not_generated","not_skipped","2021/2022","2nd Term");




CREATE TABLE `result_class_score` (
  `result_class_score_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class_id` int(11) unsigned NOT NULL,
  `no_of_ca` int(11) NOT NULL,
  `ca1_total_score` float NOT NULL,
  `ca2_total_score` float NOT NULL,
  `ca3_total_score` float NOT NULL,
  `ca4_total_score` float NOT NULL,
  `ca5_total_score` float NOT NULL,
  `ca6_total_score` float NOT NULL,
  `ca7_total_score` float NOT NULL,
  `ca8_total_score` float NOT NULL,
  `ca9_total_score` float NOT NULL,
  `ca10_total_score` float NOT NULL,
  `exam_total_score` float NOT NULL,
  `total_score` float NOT NULL,
  `ca_name_1` varchar(50) NOT NULL,
  `ca_name_2` varchar(50) NOT NULL,
  `ca_name_3` varchar(50) NOT NULL,
  `ca_name_4` varchar(50) NOT NULL,
  `ca_name_5` varchar(50) NOT NULL,
  `ca_name_6` varchar(50) NOT NULL,
  `ca_name_7` varchar(50) NOT NULL,
  `ca_name_8` varchar(50) NOT NULL,
  `ca_name_9` varchar(50) NOT NULL,
  `ca_name_10` varchar(50) NOT NULL,
  `exam_name` varchar(50) NOT NULL,
  `terms` varchar(10) NOT NULL,
  PRIMARY KEY (`result_class_score_id`),
  KEY `class_id` (`class_id`,`terms`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;


INSERT INTO result_class_score VALUES
("1","1","1","40","0","0","0","0","0","0","0","0","0","60","100","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","EXAM","1st Term"),
("2","1","1","40","0","0","0","0","0","0","0","0","0","60","100","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","EXAM","2nd Term"),
("3","1","1","40","0","0","0","0","0","0","0","0","0","60","100","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","EXAM","3rd Term"),
("4","2","1","40","0","0","0","0","0","0","0","0","0","60","100","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","EXAM","1st Term"),
("5","2","1","40","0","0","0","0","0","0","0","0","0","60","100","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","EXAM","2nd Term"),
("6","2","1","40","0","0","0","0","0","0","0","0","0","0","0","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","Exam","3rd Term"),
("7","3","1","40","0","0","0","0","0","0","0","0","0","0","0","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","Exam","1st Term"),
("8","3","1","40","0","0","0","0","0","0","0","0","0","0","0","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","Exam","2nd Term"),
("9","3","1","40","0","0","0","0","0","0","0","0","0","0","0","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","Exam","3rd Term");




CREATE TABLE `result_class_term` (
  `result_class_term` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`result_class_term`),
  KEY `class_id` (`class_id`,`terms`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;


INSERT INTO result_class_term VALUES
("1","1","1st Term"),
("2","1","2nd Term"),
("3","1","3rd Term"),
("4","2","1st Term"),
("5","2","2nd Term"),
("6","2","3rd Term"),
("7","3","1st Term"),
("8","3","2nd Term"),
("9","3","3rd Term");




CREATE TABLE `result_main` (
  `result_main_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `class_name` char(50) NOT NULL,
  `section` varchar(10) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subclass_name` char(50) NOT NULL,
  `total` float NOT NULL,
  `cumulative_total` float NOT NULL,
  `total_obtainable` float NOT NULL,
  `cumu_total_obtainable` float NOT NULL,
  `average` varchar(10) NOT NULL,
  `cumulative_average` varchar(10) NOT NULL,
  `position_class` varchar(20) NOT NULL,
  `cumulative_position_class` varchar(20) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `cumulative_position_subclass` varchar(20) NOT NULL,
  `student_attendance` int(11) DEFAULT NULL,
  `total_attendance` int(11) DEFAULT NULL,
  `total_student_class` int(10) unsigned NOT NULL,
  `total_student_subclass` int(10) unsigned NOT NULL,
  `cumulative_total_student_class` int(10) unsigned NOT NULL,
  `cumulative_total_student_subclass` int(10) unsigned NOT NULL,
  `handwriting` int(11) NOT NULL,
  `cumulative_handwriting` int(11) NOT NULL,
  `neatness` int(11) NOT NULL,
  `cumulative_neatness` int(11) NOT NULL,
  `punctuality` int(11) NOT NULL,
  `cumulative_punctuality` int(11) NOT NULL,
  `attentiveness` int(11) NOT NULL,
  `cumulative_attentiveness` int(11) NOT NULL,
  `initiative` int(11) NOT NULL,
  `cumulative_initiative` int(11) NOT NULL,
  `respect` int(11) NOT NULL,
  `cumulative_respect` int(11) NOT NULL,
  `obedience` int(11) NOT NULL,
  `cumulative_obedience` int(11) NOT NULL,
  `attitude` int(11) NOT NULL,
  `cumulative_attitude` int(11) NOT NULL,
  `honesty` int(11) NOT NULL,
  `cumulative_honesty` int(11) NOT NULL,
  `creativity` int(11) NOT NULL,
  `cumulative_creativity` int(11) NOT NULL,
  `behaviour1_name` varchar(100) NOT NULL,
  `behaviour2_name` varchar(100) NOT NULL,
  `behaviour3_name` varchar(100) NOT NULL,
  `behaviour4_name` varchar(100) NOT NULL,
  `behaviour5_name` varchar(100) NOT NULL,
  `behaviour6_name` varchar(100) NOT NULL,
  `behaviour7_name` varchar(100) NOT NULL,
  `behaviour8_name` varchar(100) NOT NULL,
  `behaviour9_name` varchar(100) NOT NULL,
  `behaviour10_name` varchar(100) NOT NULL,
  `promotion` varchar(50) NOT NULL,
  `promotion_class_id` int(11) NOT NULL,
  `promotion_class_name` varchar(50) NOT NULL,
  `promotion_comment` varchar(500) NOT NULL,
  `promotion_subclass_id` int(11) NOT NULL,
  `promotion_subclass_name` varchar(50) NOT NULL,
  `pass_ave` varchar(5) NOT NULL,
  `scratch_card_number` varchar(16) NOT NULL,
  `next_term_begins` date NOT NULL,
  `ca1_total_score` float NOT NULL,
  `ca2_total_score` float NOT NULL,
  `ca3_total_score` float NOT NULL,
  `ca4_total_score` float NOT NULL,
  `ca5_total_score` float NOT NULL,
  `ca6_total_score` float NOT NULL,
  `ca7_total_score` float NOT NULL,
  `ca8_total_score` float NOT NULL,
  `ca9_total_score` float NOT NULL,
  `ca10_total_score` float NOT NULL,
  `ca_total_score` float NOT NULL,
  `exam_total_score` float NOT NULL,
  `no_of_ca` int(11) NOT NULL,
  `exam_name` varchar(50) NOT NULL,
  `ca_name_1` varchar(50) NOT NULL,
  `ca_name_2` varchar(50) NOT NULL,
  `ca_name_3` varchar(50) NOT NULL,
  `ca_name_4` varchar(50) NOT NULL,
  `ca_name_5` varchar(50) NOT NULL,
  `ca_name_6` varchar(50) NOT NULL,
  `ca_name_7` varchar(50) NOT NULL,
  `ca_name_8` varchar(50) NOT NULL,
  `ca_name_9` varchar(50) NOT NULL,
  `ca_name_10` varchar(50) NOT NULL,
  `principal_name` varchar(100) NOT NULL,
  `principal_comment` text NOT NULL,
  `form_staff_name` varchar(200) NOT NULL,
  `form_staff_comment` text NOT NULL,
  `student_affairs_comment` text NOT NULL,
  `cumulative_principal_comment` text NOT NULL,
  `cumulative_form_staff_comment` text NOT NULL,
  `principal_signature` varchar(150) NOT NULL,
  `second_principal_signature` varchar(60) NOT NULL,
  `visited` int(11) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`result_main_id`),
  KEY `student_id` (`student_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `promotion` (`promotion`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=latin1;


INSERT INTO result_main VALUES
("1","5","1","HIGH SCHOOL 1","senior","0","","1203","0","1400","0","85.93","","2nd","","2nd","","100","106","6","6","0","0","5","0","5","0","3","0","5","0","5","0","5","0","5","0","5","0","3","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-04-12","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","VERY IMPRESSIVE WORK, WONDERFULLY DONE! YOU HAVE MADE A DIFFERENCE, YOU ARE NOW A REFERENCE POINT.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","1st Term"),
("2","7","1","HIGH SCHOOL 1","senior","0","","1245","0","1400","0","88.93","","1st","","1st","","92","106","6","6","0","0","4","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-04-12","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","VERY IMPRESSIVE WORK, WONDERFULLY DONE! YOU HAVE MADE A DIFFERENCE, YOU ARE NOW A REFERENCE POINT.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","1st Term"),
("3","9","1","HIGH SCHOOL 1","senior","0","","1079","0","1400","0","77.07","","5th","","5th","","104","106","6","6","0","0","4","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-04-12","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","1st Term"),
("4","10","1","HIGH SCHOOL 1","senior","0","","1158","0","1400","0","82.71","","3rd","","3rd","","106","106","6","6","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-04-12","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","1st Term"),
("5","19","1","HIGH SCHOOL 1","senior","0","","904","0","1400","0","64.57","","6th","","6th","","102","106","6","6","0","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-04-12","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","GREAT EFFORT. YOU DESERVE TO BE CELEBRATED, YOU HAVE SHOWN POTENTIALS FOR SUCCESS. YOU CAN DO BETTER.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","1st Term"),
("6","20","1","HIGH SCHOOL 1","senior","0","","1111","0","1400","0","79.36","","4th","","4th","","94","106","6","6","0","0","4","0","4","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-04-12","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","","","images/principal_signatures/f31fff.jpg","","2","2020/2021","1st Term"),
("7","5","1","HIGH SCHOOL 1","senior","0","","908","0","1100","0","82.55","","3rd","","3rd","","98","","6","6","0","0","4","0","4","0","3","0","5","0","4","0","4","0","4","0","4","0","3","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-07-05","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","2nd Term"),
("8","7","1","HIGH SCHOOL 1","senior","0","","981","0","1100","0","89.18","","1st","","1st","","97","","6","6","0","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-07-05","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","VERY IMPRESSIVE WORK, WONDERFULLY DONE! YOU HAVE MADE A DIFFERENCE, YOU ARE NOW A REFERENCE POINT.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","2nd Term"),
("9","9","1","HIGH SCHOOL 1","senior","0","","841.5","0","1100","0","76.5","","5th","","5th","","98","","6","6","0","0","3","0","3","0","3","0","3","0","3","0","4","0","4","0","4","0","3","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-07-05","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","2nd Term"),
("10","10","1","HIGH SCHOOL 1","senior","0","","918","0","1100","0","83.45","","2nd","","2nd","","96","","6","6","0","0","3","0","3","0","3","0","4","0","4","0","5","0","4","0","5","0","5","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-07-05","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/f31fff.jpg","","0","2020/2021","2nd Term"),
("11","19","1","HIGH SCHOOL 1","senior","0","","750.5","0","1100","0","68.23","","6th","","6th","","96","","6","6","0","0","3","0","3","0","3","0","3","0","3","0","4","0","4","0","4","0","4","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-07-05","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","","","images/principal_signatures/f31fff.jpg","","1","2020/2021","2nd Term"),
("12","20","1","HIGH SCHOOL 1","senior","0","","845","0","1100","0","76.82","","4th","","4th","","94","","6","6","0","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2021-07-05","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","","","images/principal_signatures/f31fff.jpg","","3","2020/2021","2nd Term"),
("13","5","1","HIGH SCHOOL 1","senior","0","","998.5","1010.35","1200","1100","83.21","91.85","3rd","2nd","3rd","2nd","106","0","6","6","6","6","4","4","4","4","3","3","5","5","4","4","4","4","4","4","4","4","3","3","5","5","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","graduated","0","","GRADUATED","0","","50","","2021-10-11","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","YOU HAVE HIT THE MARK OF A CHAMPION, BRILLIANT PERFORMANCE. SOAR TO THE PEAK","EXECELLENT RESULT, KEEP IT UP","images/principal_signatures/1d1b03.png","images/principal_signatures/706209.png","0","2020/2021","3rd Term"),
("14","7","1","HIGH SCHOOL 1","senior","0","","1066","1065.5","1200","1100","88.83","96.86","1st","1st","1st","1st","90","0","6","6","6","6","4","4","4","4","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","graduated","0","","GRADUATED","0","","50","","2021-10-11","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","","VERY IMPRESSIVE WORK, WONDERFULLY DONE! YOU HAVE MADE A DIFFERENCE, YOU ARE NOW A REFERENCE POINT.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","YOU ARE A GENERAL, YOU HAVE EARNED YOURSELF AN EXCEPTIONAL PLACE. WELL DONE! KEEP ON SOARING","EXECELLENT RESULT, KEEP IT UP","images/principal_signatures/1d1b03.png","images/principal_signatures/706209.png","1","2020/2021","3rd Term"),
("15","9","1","HIGH SCHOOL 1","senior","0","","938","923.34","1200","1100","78.17","83.94","5th","4th","5th","4th","104","0","6","6","6","6","3","3","3","3","3","3","3","3","3","3","3","3","3","3","5","5","3","3","3","3","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","graduated","0","","GRADUATED","0","","50","","2021-10-11","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","EXECELLENT RESULT, KEEP IT UP","images/principal_signatures/1d1b03.png","images/principal_signatures/706209.png","0","2020/2021","3rd Term"),
("16","10","1","HIGH SCHOOL 1","senior","0","","1018","1001.32","1200","1100","84.83","91.03","2nd","3rd","2nd","3rd","104","0","6","6","6","6","3","3","3","3","3","3","4","4","3","3","5","5","5","5","5","5","3","3","3","3","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","graduated","0","","GRADUATED","0","","50","","2021-10-11","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","YOU HAVE HIT THE MARK OF A CHAMPION, BRILLIANT PERFORMANCE. SOAR TO THE PEAK","EXECELLENT RESULT, KEEP IT UP","images/principal_signatures/1d1b03.png","images/principal_signatures/706209.png","0","2020/2021","3rd Term"),
("17","19","1","HIGH SCHOOL 1","senior","0","","892.5","833.84","1200","1100","74.38","75.8","6th","6th","6th","6th","104","0","6","6","6","6","3","3","3","3","5","5","4","4","3","3","5","5","5","5","4","4","3","3","3","3","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","graduated","0","","GRADUATED","0","","50","","2021-10-11","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","","YOU HAVE UNLOCKED THE SUCCESS KEY, KEEP IT UP. THE SKY IS YOUR STARTING POINT.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","VERY GOOD PERFORMANCE","images/principal_signatures/1d1b03.png","images/principal_signatures/706209.png","1","2020/2021","3rd Term"),
("18","20","1","HIGH SCHOOL 1","senior","0","","944","922.84","1200","1100","78.67","83.89","4th","5th","4th","5th","102","0","6","6","6","6","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","3","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","graduated","0","","GRADUATED","0","","50","","2021-10-11","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","H","H","H","H","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","EXECELLENT RESULT, KEEP IT UP","images/principal_signatures/1d1b03.png","images/principal_signatures/706209.png","0","2020/2021","3rd Term"),
("19","5","2","HIGH SCHOOL 2","senior","0","","914","0","1200","0","76.17","","3rd","","3rd","","96","0","4","4","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OGONNA NWAEFUNA","Well done Esther. Keep it up.","","","Well done Esther. Keep it up.","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("20","7","2","HIGH SCHOOL 2","senior","0","","977","0","1200","0","81.42","","1st","","1st","","72","0","4","4","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OGONNA NWAEFUNA","Well done Goodness. Keep it up.","","","Well done Goodness. Keep it up.","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("21","10","2","HIGH SCHOOL 2","senior","0","","951.5","0","1200","0","79.29","","2nd","","2nd","","86","0","4","4","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OGONNA NWAEFUNA","Nice work Gift. Keep it up.","","","Nice work Gift. Keep it up.","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("22","19","2","HIGH SCHOOL 2","senior","0","","796","0","1200","0","66.33","","4th","","4th","","96","0","4","4","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","OGONNA NWAEFUNA","Just a little more effort Japheth and you will get there. Don\'t relent.","","","Just a little more effort Japheth and you will get there. Don\'t relent.","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("23","21","1","HIGH SCHOOL 1","senior","0","","1069.5","0","1400","0","76.39","","3rd","","3rd","","96","96","8","8","0","0","4","0","4","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","YOU HAVE RANKED  YOURSELF AMONG THE ACADEMIC GLADIATORS, WELL DONE!  KEEP IT UP. THERE ARE MORE GROUNDS TO CONQUER.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("24","22","1","HIGH SCHOOL 1","senior","0","","1179.5","0","1400","0","84.25","","1st","","1st","","94","96","8","8","0","0","4","0","5","0","5","0","4","0","5","0","3","0","5","0","3","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("25","23","1","HIGH SCHOOL 1","senior","0","","1157.5","0","1400","0","82.68","","2nd","","2nd","","94","96","8","8","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","OUTSTANDING PERFORMANCE. YOU ARE IN A CLASS OF GOAL GETTERS. WELL DONE! KEEP THE SPIRIT UP.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("26","24","1","HIGH SCHOOL 1","senior","0","","743","0","1400","0","53.07","","8th","","8th","","86","96","8","8","0","0","4","0","3","0","4","0","4","0","3","0","5","0","5","0","5","0","5","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","IMPRESSIVE EFFORT, YOU ARE MIDDLE WAY TO SUCCESS, WELL DONE! YOU CAN DO MORE.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("27","25","1","HIGH SCHOOL 1","senior","0","","927.5","0","1400","0","66.25","","6th","","6th","","96","96","8","8","0","0","2","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("28","26","1","HIGH SCHOOL 1","senior","0","","915","0","1400","0","65.36","","7th","","7th","","94","96","8","8","0","0","4","0","5","0","5","0","5","0","4","0","5","0","5","0","5","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("29","27","1","HIGH SCHOOL 1","senior","0","","948","0","1400","0","67.71","","5th","","5th","","89","96","8","8","0","0","3","0","4","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","IMPRESSIVE WORK. YOU ARE ON THE PATH TO EXCELLENCE, JUST A LITTLE MORE EFFORT AND YOU ARE ON TOP.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("30","28","1","HIGH SCHOOL 1","senior","0","","982.5","0","1400","0","70.18","","4th","","4th","","96","96","8","8","0","0","4","0","5","0","2","0","5","0","4","0","5","0","5","0","5","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-01-10","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","YOU HAVE UNLOCKED THE SUCCESS KEY, KEEP IT UP. THE SKY IS YOUR STARTING POINT.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","","","images/principal_signatures/081c86.jpg","images/principal_signatures/d140fa.jpg","0","2021/2022","1st Term"),
("31","5","2","HIGH SCHOOL 2","senior","0","","1000.6","0","1200","0","83.38","","2nd","","2nd","","124","126","4","4","0","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","Always an outstanding performance. Keep the fire burning.","EDET MABE","Nice one Esther. It can only get better. Keep it up.","","Always an outstanding performance. Keep the fire burning.","Nice one Esther. It can only get better. Keep it up.","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("32","7","2","HIGH SCHOOL 2","senior","0","","952","0","1200","0","79.33","","3rd","","3rd","","100","126","4","4","0","0","5","0","3","0","2","0","4","0","5","0","5","0","5","0","3","0","3","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","The beginning of a thing is not as good as the end thereof. Work harder next term","EDET MABE","You can do better Goodness","","The beginning of a thing is not as good as the end thereof. Work harder next term","You can do better Goodness","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("33","10","2","HIGH SCHOOL 2","senior","0","","1027","0","1200","0","85.58","","1st","","1st","","122","126","4","4","0","0","4","0","2","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","Good to see you at the top. Well done Gift!","EDET MABE","Well done Gift. I am impressed. Keep it up","","Good to see you at the top. Well done Gift!","Well done Gift. I am impressed. Keep it up","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("34","19","2","HIGH SCHOOL 2","senior","0","","850.5","0","1200","0","70.88","","4th","","4th","","120","126","4","4","0","0","3","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","CA7","CA8","CA9","CA10","","Don\'t stop working hard for the best. Limit those things that distract you from studying.","EDET MABE","It keeps getting better. Can\'t wait to see you at the top Japhet.","","Don\'t stop working hard for the best. Limit those things that distract you from studying.","It keeps getting better. Can\'t wait to see you at the top Japhet.","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("35","21","1","HIGH SCHOOL 1","senior","0","","952.5","0","1200","0","79.38","","3rd","","3rd","","124","126","8","8","0","0","3","0","4","0","4","0","4","0","4","0","5","0","5","0","4","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","A very good result but you can do better.","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","A very good result but you can do better.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("36","22","1","HIGH SCHOOL 1","senior","0","","1061","0","1200","0","88.42","","2nd","","2nd","","126","126","8","8","0","0","3","0","5","0","5","0","4","0","5","0","5","0","5","0","3","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","A wonderful result. Keep it up.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","A wonderful result. Keep it up.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("37","23","1","HIGH SCHOOL 1","senior","0","","1078.1","0","1200","0","89.84","","1st","","1st","","126","126","8","8","0","0","4","0","5","0","4","0","5","0","5","0","5","0","5","0","4","0","5","0","5","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","An excellent performance.\nDo not relent my daughter.","OMORUYI ELIZABETH","EXECELLENT RESULT, KEEP IT UP","","An excellent performance.\nDo not relent my daughter.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("38","24","1","HIGH SCHOOL 1","senior","0","","689.5","0","1200","0","57.46","","8th","","8th","","126","126","8","8","0","0","3","0","3","0","3","0","3","0","3","0","5","0","5","0","3","0","5","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","Work harder for a better result. Limit your play.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","Work harder for a better result. Limit your play.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("39","25","1","HIGH SCHOOL 1","senior","0","","810.5","0","1200","0","67.54","","7th","","7th","","124","126","8","8","0","0","3","0","5","0","4","0","4","0","4","0","5","0","5","0","4","0","5","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","You just need to wake up and study harder.\nYou can do far better than this.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","You just need to wake up and study harder.\nYou can do far better than this.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("40","26","1","HIGH SCHOOL 1","senior","0","","843.5","0","1200","0","70.29","","4th","","4th","","126","126","8","8","0","0","3","0","4","0","5","0","4","0","4","0","5","0","5","0","3","0","5","0","3","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","You are intelligent but you need to prove that!","OMORUYI ELIZABETH","VERY GOOD PERFORMANCE","","You are intelligent but you need to prove that!","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("41","27","1","HIGH SCHOOL 1","senior","0","","816","0","1200","0","68","","6th","","6th","","118","126","8","8","0","0","3","0","3","0","5","0","4","0","4","0","5","0","5","0","4","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","There is a little improvement but the best still lies in you.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","There is a little improvement but the best still lies in you.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term"),
("42","28","1","HIGH SCHOOL 1","senior","0","","823.5","0","1200","0","68.63","","5th","","5th","","116","126","8","8","0","0","3","0","4","0","2","0","4","0","4","0","4","0","4","0","5","0","5","0","4","0","HANDWRITING","NEATNESS","PUNCTUALITY","ATTENTIVENESS","INITIATIVE","RESPECT","OBEDIENCE","ATTITUDE","HONESTY","CREATIVITY","","0","","","0","","50","","2022-04-09","40","0","0","0","0","0","0","0","0","0","0","60","1","EXAM","CA","CA 2","CA 3","CA 4","CA 5","CA 6","","","","","","A good result Uzoma but there is room for improvement. Work harder for the best.","OMORUYI ELIZABETH","GOOD RESULT, PUT IN MORE EFFORT","","A good result Uzoma but there is room for improvement. Work harder for the best.","","images/principal_signatures/e1287f.png","images/principal_signatures/d140fa.jpg","0","2021/2022","2nd Term");




CREATE TABLE `result_page` (
  `result_page_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `status` char(10) NOT NULL,
  `students` int(11) NOT NULL,
  `t_attendance` int(11) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  PRIMARY KEY (`result_page_id`),
  KEY `status` (`status`),
  KEY `class_id` (`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;


INSERT INTO result_page VALUES
("1","31","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","submit","6","0","2020/2021","1st Term"),
("2","30","1","0","HIGH SCHOOL 1","","GEOGRAPHY","submit","6","0","2020/2021","1st Term"),
("3","28","1","0","HIGH SCHOOL 1","","COMMERCE","submit","6","0","2020/2021","1st Term"),
("4","13","1","0","HIGH SCHOOL 1","","MATHEMATICS","submit","6","0","2020/2021","1st Term"),
("5","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","submit","6","0","2020/2021","1st Term"),
("6","23","1","0","HIGH SCHOOL 1","","BIOLOGY","submit","6","0","2020/2021","1st Term"),
("7","27","1","0","HIGH SCHOOL 1","","ECONOMICS","submit","6","0","2020/2021","1st Term"),
("8","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","submit","6","0","2020/2021","1st Term"),
("9","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","submit","6","0","2020/2021","1st Term"),
("10","1","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","submit","6","0","2020/2021","1st Term"),
("11","29","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","submit","6","0","2020/2021","1st Term"),
("12","21","1","0","HIGH SCHOOL 1","","PHYSICS","submit","6","0","2020/2021","1st Term"),
("13","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","submit","6","0","2020/2021","1st Term"),
("14","13","1","0","HIGH SCHOOL 1","","MATHEMATICS","submit","6","0","2020/2021","2nd Term"),
("15","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","submit","6","0","2020/2021","2nd Term"),
("16","23","1","0","HIGH SCHOOL 1","","BIOLOGY","submit","6","0","2020/2021","2nd Term"),
("17","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","submit","6","0","2020/2021","2nd Term"),
("18","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","submit","6","0","2020/2021","2nd Term"),
("19","27","1","0","HIGH SCHOOL 1","","ECONOMICS","submit","6","0","2020/2021","2nd Term"),
("20","1","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","submit","6","0","2020/2021","2nd Term"),
("21","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","submit","6","0","2020/2021","2nd Term"),
("22","21","1","0","HIGH SCHOOL 1","","PHYSICS","submit","6","0","2020/2021","2nd Term"),
("23","32","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","submit","6","0","2020/2021","2nd Term"),
("24","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","submit","6","0","2020/2021","3rd Term"),
("25","23","1","0","HIGH SCHOOL 1","","BIOLOGY","submit","6","0","2020/2021","3rd Term"),
("26","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","submit","6","0","2020/2021","3rd Term"),
("27","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","submit","6","0","2020/2021","3rd Term"),
("28","27","1","0","HIGH SCHOOL 1","","ECONOMICS","submit","6","0","2020/2021","3rd Term"),
("29","1","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","submit","6","0","2020/2021","3rd Term"),
("30","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","submit","6","0","2020/2021","3rd Term"),
("31","32","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","submit","6","0","2020/2021","3rd Term"),
("32","13","1","0","HIGH SCHOOL 1","","MATHEMATICS","submit","6","0","2020/2021","3rd Term"),
("33","21","1","0","HIGH SCHOOL 1","","PHYSICS","submit","6","0","2020/2021","3rd Term"),
("34","33","1","0","HIGH SCHOOL 1","","GOVERNMENT","submit","6","0","2020/2021","3rd Term"),
("35","27","1","0","HIGH SCHOOL 1","","ECONOMICS","submit","8","0","2021/2022","1st Term"),
("36","23","1","0","HIGH SCHOOL 1","","BIOLOGY","submit","8","0","2021/2022","1st Term"),
("37","13","1","0","HIGH SCHOOL 1","","MATHEMATICS","submit","8","0","2021/2022","1st Term"),
("38","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","submit","8","0","2021/2022","1st Term"),
("39","23","2","0","HIGH SCHOOL 2","","BIOLOGY","submit","4","0","2021/2022","1st Term"),
("40","13","2","0","HIGH SCHOOL 2","","MATHEMATICS","submit","4","0","2021/2022","1st Term"),
("41","26","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","submit","4","0","2021/2022","1st Term"),
("42","25","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","submit","4","0","2021/2022","1st Term"),
("43","27","2","0","HIGH SCHOOL 2","","ECONOMICS","submit","4","0","2021/2022","1st Term"),
("44","24","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","submit","4","0","2021/2022","1st Term"),
("45","1","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","submit","4","0","2021/2022","1st Term"),
("46","29","2","0","HIGH SCHOOL 2","","DATA PROCESSING","submit","4","0","2021/2022","1st Term"),
("47","7","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","submit","4","0","2021/2022","1st Term"),
("48","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","submit","8","0","2021/2022","1st Term"),
("49","1","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","submit","8","0","2021/2022","1st Term"),
("50","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","submit","8","0","2021/2022","1st Term"),
("51","33","1","0","HIGH SCHOOL 1","","GOVERNMENT","submit","8","0","2021/2022","1st Term"),
("52","31","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","submit","8","0","2021/2022","1st Term"),
("53","29","1","0","HIGH SCHOOL 1","","DATA PROCESSING","submit","8","0","2021/2022","1st Term"),
("54","7","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","submit","8","0","2021/2022","1st Term"),
("55","32","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","submit","8","0","2021/2022","1st Term"),
("56","22","2","0","HIGH SCHOOL 2","","CHEMISTRY","submit","4","0","2021/2022","1st Term"),
("57","21","2","0","HIGH SCHOOL 2","","PHYSICS","submit","4","0","2021/2022","1st Term"),
("58","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","submit","8","0","2021/2022","1st Term"),
("59","21","1","0","HIGH SCHOOL 1","","PHYSICS","submit","8","0","2021/2022","1st Term"),
("60","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","submit","8","0","2021/2022","2nd Term"),
("61","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","submit","8","0","2021/2022","2nd Term"),
("62","23","1","0","HIGH SCHOOL 1","","BIOLOGY","submit","8","0","2021/2022","2nd Term"),
("63","29","1","0","HIGH SCHOOL 1","","DATA PROCESSING","submit","8","0","2021/2022","2nd Term"),
("64","1","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","submit","8","0","2021/2022","2nd Term"),
("65","7","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","submit","8","0","2021/2022","2nd Term"),
("66","32","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","submit","8","0","2021/2022","2nd Term"),
("67","21","1","0","HIGH SCHOOL 1","","PHYSICS","submit","8","0","2021/2022","2nd Term"),
("68","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","submit","8","0","2021/2022","2nd Term"),
("69","24","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","submit","4","0","2021/2022","2nd Term"),
("70","23","2","0","HIGH SCHOOL 2","","BIOLOGY","submit","4","0","2021/2022","2nd Term"),
("71","22","2","0","HIGH SCHOOL 2","","CHEMISTRY","submit","4","0","2021/2022","2nd Term"),
("72","29","2","0","HIGH SCHOOL 2","","DATA PROCESSING","submit","4","0","2021/2022","2nd Term"),
("73","27","2","0","HIGH SCHOOL 2","","ECONOMICS","submit","4","0","2021/2022","2nd Term"),
("74","1","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","submit","4","0","2021/2022","2nd Term"),
("75","7","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","submit","4","0","2021/2022","2nd Term"),
("76","26","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","submit","4","0","2021/2022","2nd Term"),
("77","21","2","0","HIGH SCHOOL 2","","PHYSICS","submit","4","0","2021/2022","2nd Term"),
("78","13","2","0","HIGH SCHOOL 2","","MATHEMATICS","submit","4","0","2021/2022","2nd Term"),
("79","25","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","submit","4","0","2021/2022","2nd Term"),
("80","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","submit","8","0","2021/2022","2nd Term"),
("81","27","1","0","HIGH SCHOOL 1","","ECONOMICS","submit","8","0","2021/2022","2nd Term"),
("82","13","1","0","HIGH SCHOOL 1","","MATHEMATICS","submit","8","0","2021/2022","2nd Term");




CREATE TABLE `result_subject` (
  `result_subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `ca1` float DEFAULT NULL,
  `ca2` float DEFAULT NULL,
  `ca3` float DEFAULT NULL,
  `ca4` float DEFAULT NULL,
  `ca5` float DEFAULT NULL,
  `ca6` float DEFAULT NULL,
  `ca7` float DEFAULT NULL,
  `ca8` float DEFAULT NULL,
  `ca9` float DEFAULT NULL,
  `ca10` float DEFAULT NULL,
  `ca` float DEFAULT NULL,
  `exam` float DEFAULT NULL,
  `sum_total` float DEFAULT NULL,
  `total` float NOT NULL,
  `cumulative_score` float NOT NULL,
  `cumulative_score_percent` float DEFAULT NULL,
  `cumulative_position` char(10) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `grade` varchar(5) NOT NULL,
  `grade_comment` varchar(50) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `staff_comment` varchar(60) NOT NULL,
  `attendance` int(11) DEFAULT NULL,
  `percent_attendance` varchar(10) DEFAULT NULL,
  `handwriting` int(11) DEFAULT NULL,
  `neatness` int(11) DEFAULT NULL,
  `punctuality` int(11) DEFAULT NULL,
  `attentiveness` int(11) DEFAULT NULL,
  `initiative` int(11) DEFAULT NULL,
  `respect` int(11) DEFAULT NULL,
  `obedience` int(11) DEFAULT NULL,
  `attitude` int(11) DEFAULT NULL,
  `honesty` int(11) DEFAULT NULL,
  `creativity` int(11) DEFAULT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  PRIMARY KEY (`result_subject_id`),
  KEY `sess_term` (`sessions`,`terms`),
  KEY `foreign_keys` (`student_id`,`class_id`,`subclass_id`,`subject_id`),
  KEY `status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=501 DEFAULT CHARSET=latin1;


INSERT INTO result_subject VALUES
("1","5","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","31","30","","","","","","0","0","0","0","30","48","78","78","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("2","20","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","31","30","","","","","","0","0","0","0","30","45","75","75","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("3","7","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","31","30","","","","","","0","0","0","0","30","58","88","88","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("4","9","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","31","30","","","","","","0","0","0","0","30","47","77","77","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("5","10","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","31","30","","","","","","0","0","0","0","30","41","71","71","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("6","19","1","0","HIGH SCHOOL 1","","CHRISTIAN RELIGIOUS STUDIES","31","30","","","","","","0","0","0","0","30","21","51","51","0","","","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("7","5","1","0","HIGH SCHOOL 1","","GEOGRAPHY","30","34","","","","","","0","0","0","0","34","53","87","87","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("8","20","1","0","HIGH SCHOOL 1","","GEOGRAPHY","30","32","","","","","","0","0","0","0","32","51","83","83","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("9","7","1","0","HIGH SCHOOL 1","","GEOGRAPHY","30","38","","","","","","0","0","0","0","38","57","95","95","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("10","9","1","0","HIGH SCHOOL 1","","GEOGRAPHY","30","35","","","","","","0","0","0","0","35","48","83","83","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("11","10","1","0","HIGH SCHOOL 1","","GEOGRAPHY","30","35","","","","","","0","0","0","0","35","56.5","91.5","91.5","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("12","19","1","0","HIGH SCHOOL 1","","GEOGRAPHY","30","35","","","","","","0","0","0","0","35","35.5","70.5","70.5","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("13","5","1","0","HIGH SCHOOL 1","","COMMERCE","28","33","","","","","","0","0","0","0","33","45","78","78","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("14","20","1","0","HIGH SCHOOL 1","","COMMERCE","28","35","","","","","","0","0","0","0","35","51","86","86","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("15","7","1","0","HIGH SCHOOL 1","","COMMERCE","28","35","","","","","","0","0","0","0","35","50.5","85.5","85.5","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("16","9","1","0","HIGH SCHOOL 1","","COMMERCE","28","32","","","","","","0","0","0","0","32","45","77","77","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("17","10","1","0","HIGH SCHOOL 1","","COMMERCE","28","35","","","","","","0","0","0","0","35","48","83","83","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("18","19","1","0","HIGH SCHOOL 1","","COMMERCE","28","32","","","","","","0","0","0","0","32","41","73","73","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("19","5","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","37","","","","","","0","0","0","0","37","47.5","84.5","84.5","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("20","20","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","28","","","","","","0","0","0","0","28","33","61","61","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("21","7","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","36","","","","","","0","0","0","0","36","50.5","86.5","86.5","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("22","9","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","28","","","","","","0","0","0","0","28","36","64","64","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("23","10","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","36","","","","","","0","0","0","0","36","51.5","87.5","87.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("24","19","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","27","","","","","","0","0","0","0","27","15","42","42","0","","","6th","E8","VERY POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("25","5","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","37","","","","","","0","0","0","0","37","51","88","88","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("26","20","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","33","","","","","","0","0","0","0","33","41","74","74","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("27","7","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","36","","","","","","0","0","0","0","36","48","84","84","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("28","9","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","31","","","","","","0","0","0","0","31","43","74","74","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("29","10","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","35","","","","","","0","0","0","0","35","43","78","78","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("30","19","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","29","","","","","","0","0","0","0","29","20","49","49","0","","","6th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("31","5","1","0","HIGH SCHOOL 1","","BIOLOGY","23","34","","","","","","0","0","0","0","34","52","86","86","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("32","20","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","0","0","0","0","39","47","86","86","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("33","7","1","0","HIGH SCHOOL 1","","BIOLOGY","23","38","","","","","","0","0","0","0","38","43","81","81","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("34","9","1","0","HIGH SCHOOL 1","","BIOLOGY","23","34","","","","","","0","0","0","0","34","41","75","75","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("35","10","1","0","HIGH SCHOOL 1","","BIOLOGY","23","38","","","","","","0","0","0","0","38","51","89","89","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("36","19","1","0","HIGH SCHOOL 1","","BIOLOGY","23","34","","","","","","0","0","0","0","34","36","70","70","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("37","5","1","0","HIGH SCHOOL 1","","ECONOMICS","27","34","","","","","","0","0","0","0","34","38","72","72","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("38","20","1","0","HIGH SCHOOL 1","","ECONOMICS","27","34","","","","","","0","0","0","0","34","46","80","80","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("39","7","1","0","HIGH SCHOOL 1","","ECONOMICS","27","34","","","","","","0","0","0","0","34","48","82","82","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("40","9","1","0","HIGH SCHOOL 1","","ECONOMICS","27","32","","","","","","0","0","0","0","32","39","71","71","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("41","10","1","0","HIGH SCHOOL 1","","ECONOMICS","27","35","","","","","","0","0","0","0","35","45","80","80","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("42","19","1","0","HIGH SCHOOL 1","","ECONOMICS","27","34","","","","","","0","0","0","0","34","34","68","68","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("43","5","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","0","0","0","0","40","52","92","92","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("44","20","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","0","0","0","0","40","52","92","92","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("45","7","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","0","0","0","0","40","56","96","96","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("46","9","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","0","0","0","0","40","56","96","96","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("47","10","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","0","0","0","0","40","53","93","93","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("48","19","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","38","","","","","","0","0","0","0","38","46","84","84","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("49","5","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","34.5","","","","","","0","0","0","0","34.5","54","88.5","88.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("50","20","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35","","","","","","0","0","0","0","35","40.5","75.5","75.5","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("51","7","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35.5","","","","","","0","0","0","0","35.5","51","86.5","86.5","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("52","9","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","32","","","","","","0","0","0","0","32","40","72","72","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("53","10","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","36.5","","","","","","0","0","0","0","36.5","41","77.5","77.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("54","19","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","32","","","","","","0","0","0","0","32","27","59","59","0","","","6th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("55","5","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","39","","","","","","0","0","0","0","39","53","92","92","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("56","20","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","34.5","","","","","","0","0","0","0","34.5","40","74.5","74.5","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("57","7","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","40","","","","","","0","0","0","0","40","53","93","93","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("58","9","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","35.5","","","","","","0","0","0","0","35.5","38","73.5","73.5","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("59","10","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","36","","","","","","0","0","0","0","36","43","79","79","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("60","19","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","32","","","","","","0","0","0","0","32","33","65","65","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("61","5","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","29","37","","","","","","0","0","0","0","37","54","91","91","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("62","20","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","29","35","","","","","","0","0","0","0","35","52","87","87","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("63","7","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","29","38","","","","","","0","0","0","0","38","55","93","93","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("64","9","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","29","31","","","","","","0","0","0","0","31","52","83","83","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("65","10","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","29","33","","","","","","0","0","0","0","33","50","83","83","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("66","19","1","0","HIGH SCHOOL 1","","COMPUTER SCIENCE","29","32","","","","","","0","0","0","0","32","38","70","70","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("67","5","1","0","HIGH SCHOOL 1","","PHYSICS","21","36.5","","","","","","0","0","0","0","36.5","46.5","83","83","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("68","20","1","0","HIGH SCHOOL 1","","PHYSICS","21","31.5","","","","","","0","0","0","0","31.5","43","74.5","74.5","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("69","7","1","0","HIGH SCHOOL 1","","PHYSICS","21","38.5","","","","","","0","0","0","0","38.5","49","87.5","87.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("70","9","1","0","HIGH SCHOOL 1","","PHYSICS","21","34","","","","","","0","0","0","0","34","44","78","78","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("71","10","1","0","HIGH SCHOOL 1","","PHYSICS","21","33.5","","","","","","0","0","0","0","33.5","45","78.5","78.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("72","19","1","0","HIGH SCHOOL 1","","PHYSICS","21","30","","","","","","0","0","0","0","30","37.5","67.5","67.5","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("73","5","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","36","","","","","","0","0","0","0","36","55","91","91","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("74","20","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","36","","","","","","0","0","0","0","36","52","88","88","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("75","7","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","37","","","","","","0","0","0","0","37","57","94","94","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("76","9","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","32","","","","","","0","0","0","0","32","50","82","82","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("77","10","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","36","","","","","","0","0","0","0","36","52","88","88","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("78","19","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","30","","","","","","0","0","0","0","30","40","70","70","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","1st Term"),
("79","5","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","31","","","","","","0","0","0","0","31","51","82","82","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("80","20","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","25.5","","","","","","0","0","0","0","25.5","40.5","66","66","0","","","4th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("81","7","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","31","","","","","","0","0","0","0","31","51","82","82","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("82","9","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","23","","","","","","0","0","0","0","23","35.5","58.5","58.5","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("83","10","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","31","","","","","","0","0","0","0","31","47.5","78.5","78.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("84","19","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","19","","","","","","0","0","0","0","19","28","47","47","0","","","6th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("85","5","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","36","","","","","","0","0","0","0","36","49","85","85","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("86","20","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","38","","","","","","0","0","0","0","38","56","94","94","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("87","7","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","38","","","","","","0","0","0","0","38","59","97","97","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("88","9","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","32","","","","","","0","0","0","0","32","44","76","76","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("89","10","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","36","","","","","","0","0","0","0","36","38","74","74","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("90","19","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","37","","","","","","0","0","0","0","37","36","73","73","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("91","5","1","0","HIGH SCHOOL 1","","BIOLOGY","23","37","","","","","","0","0","0","0","37","44","81","81","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("92","20","1","0","HIGH SCHOOL 1","","BIOLOGY","23","35","","","","","","0","0","0","0","35","52","87","87","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("93","7","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","0","0","0","0","39","49","88","88","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("94","9","1","0","HIGH SCHOOL 1","","BIOLOGY","23","36","","","","","","0","0","0","0","36","48","84","84","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("95","10","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","0","0","0","0","39","52","91","91","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("96","19","1","0","HIGH SCHOOL 1","","BIOLOGY","23","34","","","","","","0","0","0","0","34","22","56","56","0","","","6th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("97","5","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","39","","","","","","0","0","0","0","39","41","80","80","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("98","20","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35","","","","","","0","0","0","0","35","47","82","82","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("99","7","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","36","","","","","","0","0","0","0","36","48","84","84","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("100","9","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35","","","","","","0","0","0","0","35","42","77","77","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term");
INSERT INTO result_subject VALUES
("101","10","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","39","","","","","","0","0","0","0","39","37","76","76","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("102","19","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35","","","","","","0","0","0","0","35","39","74","74","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("103","5","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","28","","","","","","0","0","0","0","28","46","74","74","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("104","20","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","32","","","","","","0","0","0","0","32","26","58","58","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("105","7","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","32","","","","","","0","0","0","0","32","48","80","80","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("106","9","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","36","","","","","","0","0","0","0","36","22","58","58","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("107","10","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","36","","","","","","0","0","0","0","36","37","73","73","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("108","19","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","36","","","","","","0","0","0","0","36","27","63","63","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("109","5","1","0","HIGH SCHOOL 1","","ECONOMICS","27","34","","","","","","0","0","0","0","34","46","80","80","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("110","20","1","0","HIGH SCHOOL 1","","ECONOMICS","27","38","","","","","","0","0","0","0","38","43","81","81","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("111","7","1","0","HIGH SCHOOL 1","","ECONOMICS","27","36","","","","","","0","0","0","0","36","54","90","90","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("112","9","1","0","HIGH SCHOOL 1","","ECONOMICS","27","33","","","","","","0","0","0","0","33","54","87","87","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("113","10","1","0","HIGH SCHOOL 1","","ECONOMICS","27","35","","","","","","0","0","0","0","35","54","89","89","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("114","19","1","0","HIGH SCHOOL 1","","ECONOMICS","27","33","","","","","","0","0","0","0","33","40","73","73","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("115","5","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","38","","","","","","0","0","0","0","38","53","91","91","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("116","20","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","34","","","","","","0","0","0","0","34","35.5","69.5","69.5","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("117","7","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","37","","","","","","0","0","0","0","37","55","92","92","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("118","9","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","35","","","","","","0","0","0","0","35","43","78","78","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("119","10","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","38","","","","","","0","0","0","0","38","52.5","90.5","90.5","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("120","19","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","32","","","","","","0","0","0","0","32","47","79","79","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("121","5","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","34","","","","","","0","0","0","0","34","44","78","78","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("122","20","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","32","","","","","","0","0","0","0","32","36","68","68","0","","","5th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("123","7","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","37","","","","","","0","0","0","0","37","51","88","88","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("124","9","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","35","","","","","","0","0","0","0","35","49","84","84","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("125","10","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","35.5","","","","","","0","0","0","0","35.5","46","81.5","81.5","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("126","19","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","28.5","","","","","","0","0","0","0","28.5","26","54.5","54.5","0","","","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("127","5","1","0","HIGH SCHOOL 1","","PHYSICS","21","38","","","","","","0","0","0","0","38","44","82","82","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("128","20","1","0","HIGH SCHOOL 1","","PHYSICS","21","35","","","","","","0","0","0","0","35","52","87","87","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("129","7","1","0","HIGH SCHOOL 1","","PHYSICS","21","36","","","","","","0","0","0","0","36","58","94","94","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("130","9","1","0","HIGH SCHOOL 1","","PHYSICS","21","35","","","","","","0","0","0","0","35","45","80","80","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("131","10","1","0","HIGH SCHOOL 1","","PHYSICS","21","38","","","","","","0","0","0","0","38","50","88","88","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("132","19","1","0","HIGH SCHOOL 1","","PHYSICS","21","32","","","","","","0","0","0","0","32","45","77","77","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("133","5","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","35","","","","","","0","0","0","0","35","49","84","84","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("134","20","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","38","","","","","","0","0","0","0","38","45","83","83","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("135","7","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","40","","","","","","0","0","0","0","40","54","94","94","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("136","9","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","36","","","","","","0","0","0","0","36","45","81","81","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("137","10","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","38","","","","","","0","0","0","0","38","48","86","86","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("138","19","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","33","","","","","","0","0","0","0","33","42","75","75","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","2nd Term"),
("139","5","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","54","94","94","90","90","3rd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("140","20","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","53","93","93","91.67","91.67","2nd","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("141","7","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","53","93","93","94.67","94.67","1st","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("142","9","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","55","95","95","84.33","84.33","5th","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("143","10","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","54","94","94","85.33","85.33","4th","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("144","19","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","50","90","90","77.67","77.67","6th","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("145","5","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","","","","","39","54","93","93","86.67","86.67","4th","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("146","20","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","","","","","39","58","97","97","90","90","2nd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("147","7","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","","","","","39","58","97","97","88.67","88.67","3rd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("148","9","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","","","","","39","59","98","98","85.67","85.67","5th","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("149","10","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","","","","","39","54","93","93","91","91","1st","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("150","19","1","0","HIGH SCHOOL 1","","BIOLOGY","23","39","","","","","","","","","","39","45","84","84","70","70","6th","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("151","5","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","56","94","94","87.5","87.5","2nd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("152","20","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","55","93","93","83.5","83.5","3rd","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("153","7","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","57","95","95","88.5","88.5","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("154","9","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","41","79","79","76","76","5th","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("155","10","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","55","93","93","82.17","82.17","4th","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("156","19","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","55","93","93","75.33","75.33","6th","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("157","5","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","32","","","","","","","","","","32","57","89","89","85","85","2nd","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("158","20","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","29","","","","","","","","","","29","55","84","84","78","78","4th","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("159","7","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","31","","","","","","","","","","31","57","88","88","88","88","1st","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("160","9","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","29","","","","","","","","","","29","50","79","79","77.67","77.67","5th","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("161","10","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","28","","","","","","","","","","28","56","84","84","83.33","83.33","3rd","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("162","19","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","31","","","","","","","","","","31","52","83","83","76.67","76.67","6th","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("163","5","1","0","HIGH SCHOOL 1","","ECONOMICS","27","35","","","","","","","","","","35","49","84","84","78.67","78.67","5th","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("164","20","1","0","HIGH SCHOOL 1","","ECONOMICS","27","37","","","","","","","","","","37","56","93","93","84.67","84.67","2nd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("165","7","1","0","HIGH SCHOOL 1","","ECONOMICS","27","36","","","","","","","","","","36","58","94","94","88.67","88.67","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("166","9","1","0","HIGH SCHOOL 1","","ECONOMICS","27","34","","","","","","","","","","34","53","87","87","81.67","81.67","4th","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("167","10","1","0","HIGH SCHOOL 1","","ECONOMICS","27","38","","","","","","","","","","38","46","84","84","84.33","84.33","3rd","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("168","19","1","0","HIGH SCHOOL 1","","ECONOMICS","27","35","","","","","","","","","","35","47","82","82","74.33","74.33","6th","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("169","5","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","32","","","","","","","","","","32","32","64","64","82.33","82.33","2nd","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("170","20","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","28","","","","","","","","","","28","31","59","59","67.67","67.67","6th","6th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("171","7","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","34","","","","","","","","","","34","47","81","81","88.67","88.67","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("172","9","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","33","","","","","","","","","","33","39","72","72","74.5","74.5","4th","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("173","10","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","34","","","","","","","","","","34","41","75","75","81.5","81.5","3rd","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("174","19","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","29","","","","","","","","","","29","32","61","61","68.33","68.33","5th","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("175","5","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","35.5","","","","","","","","","","35.5","48","83.5","83.5","83.17","83.17","2nd","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("176","20","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","32","","","","","","","","","","32","41","73","73","71.67","71.67","4th","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("177","7","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","34","","","","","","","","","","34","53","87","87","86.33","86.33","1st","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("178","9","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","26","","","","","","","","","","26","29","55","55","71","71","5th","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("179","10","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","35","","","","","","","","","","35","54","89","89","82.83","82.83","3rd","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("180","19","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","27","","","","","","","","","","27","23","50","50","51.17","51.17","6th","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("181","5","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","33","","","","","","","","","","33","38","71","71","77.5","77.5","3rd","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("182","20","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","33","","","","","","","","","","33","35","68","68","75.5","75.5","4th","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("183","7","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","37","","","","","","","","","","37","45","82","82","88","88","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("184","9","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","35","","","","","","","","","","35","35","70","70","75.5","75.5","4th","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("185","10","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","32","","","","","","","","","","32","43","75","75","80.5","80.5","2nd","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("186","19","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","33","","","","","","","","","","33","38","71","71","73","73","6th","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("187","5","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","36","","","","","","","","","","36","48","84","84","83.5","83.5","3rd","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("188","20","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","33","","","","","","","","","","33","44","77","77","68","68","4th","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("189","7","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","36","","","","","","","","","","36","55","91","91","86.5","86.5","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("190","9","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","30","","","","","","","","","","30","37","67","67","63.17","63.17","5th","5th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("191","10","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","36.5","","","","","","","","","","36.5","50.5","87","87","84.33","84.33","2nd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("192","19","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","29.5","","","","","","","","","","29.5","34","63.5","63.5","50.83","50.83","6th","6th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("193","5","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","50","89","89","84.67","84.67","3rd","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("194","20","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","47","86","86","82.5","82.5","4th","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("195","7","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","49","88","88","89.83","89.83","1st","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("196","9","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","47","86","86","81.33","81.33","5th","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("197","10","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","51","90","90","85.5","85.5","2nd","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("198","19","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","42","81","81","75.17","75.17","6th","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("199","5","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","32","","","","","","","","","","32","57","89","89","89","89","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("200","20","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","22","","","","","","","","","","22","40","62","62","62","62","6th","6th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term");
INSERT INTO result_subject VALUES
("201","7","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","32","","","","","","","","","","32","57","89","89","89","89","1st","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("202","9","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","25","","","","","","","","","","25","53","78","78","78","78","4th","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("203","10","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","25","","","","","","","","","","25","54","79","79","79","79","3rd","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("204","19","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","22","","","","","","","","","","22","51","73","73","73","73","5th","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2020/2021","3rd Term"),
("205","22","1","0","HIGH SCHOOL 1","","ECONOMICS","27","28","","","","","","","","","","28","53","81","81","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("206","23","1","0","HIGH SCHOOL 1","","ECONOMICS","27","26","","","","","","","","","","26","53","79","79","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("207","24","1","0","HIGH SCHOOL 1","","ECONOMICS","27","5","","","","","","","","","","5","28","33","33","0","","","8th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("208","25","1","0","HIGH SCHOOL 1","","ECONOMICS","27","15","","","","","","","","","","15","45","60","60","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("209","21","1","0","HIGH SCHOOL 1","","ECONOMICS","27","21","","","","","","","","","","21","47","68","68","0","","","3rd","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("210","26","1","0","HIGH SCHOOL 1","","ECONOMICS","27","16","","","","","","","","","","16","34","50","50","0","","","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("211","27","1","0","HIGH SCHOOL 1","","ECONOMICS","27","27","","","","","","","","","","27","21","48","48","0","","","7th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("212","28","1","0","HIGH SCHOOL 1","","ECONOMICS","27","17","","","","","","","","","","17","46","63","63","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("213","22","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","53","93","93","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("214","23","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","58","98","98","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("215","24","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","30","70","70","0","","","8th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("216","25","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","40","80","80","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("217","21","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","40","80","80","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("218","26","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","50","90","90","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("219","27","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","52","92","92","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("220","28","1","0","HIGH SCHOOL 1","","BIOLOGY","23","40","","","","","","","","","","40","45","85","85","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("221","22","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","32","","","","","","","","","","32","57","89","89","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("222","23","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","32","","","","","","","","","","32","58","90","90","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("223","24","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","25","","","","","","","","","","25","22","47","47","0","","","8th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("224","25","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","25","","","","","","","","","","25","35","60","60","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("225","21","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","30","","","","","","","","","","30","40.5","70.5","70.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("226","26","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","26","","","","","","","","","","26","24","50","50","0","","","7th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("227","27","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","27","","","","","","","","","","27","33","60","60","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("228","28","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","28","","","","","","","","","","28","38","66","66","0","","","4th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("229","22","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","32","","","","","","","","","","32","57","89","89","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("230","23","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","34","","","","","","","","","","34","58","92","92","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("231","24","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","23","","","","","","","","","","23","20","43","43","0","","","7th","E8","VERY POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("232","25","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","28","","","","","","","","","","28","32","60","60","0","","","6th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("233","21","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","31","","","","","","","","","","31","42","73","73","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("234","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","22","","","","","","","","","","22","13","35","35","0","","","8th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("235","27","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","28","","","","","","","","","","28","34","62","62","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("236","28","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","30","","","","","","","","","","30","36","66","66","0","","","4th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("237","5","2","0","HIGH SCHOOL 2","","BIOLOGY","23","40","","","","","","","","","","40","40","80","80","0","","","3rd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("238","7","2","0","HIGH SCHOOL 2","","BIOLOGY","23","40","","","","","","","","","","40","53","93","93","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("239","10","2","0","HIGH SCHOOL 2","","BIOLOGY","23","40","","","","","","","","","","40","45","85","85","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("240","19","2","0","HIGH SCHOOL 2","","BIOLOGY","23","40","","","","","","","","","","40","30","70","70","0","","","4th","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("241","5","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","30","","","","","","","","","","30","48.5","78.5","78.5","0","","","3rd","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("242","7","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","32","","","","","","","","","","32","52","84","84","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("243","10","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","38","","","","","","","","","","38","51","89","89","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("244","19","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","26","","","","","","","","","","26","41","67","67","0","","","4th","B3","GOOD","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("245","5","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","33","","","","","","","","","","33","52.5","85.5","85.5","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("246","7","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","29","","","","","","","","","","29","57","86","86","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("247","10","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","30","","","","","","","","","","30","53","83","83","0","","","3rd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("248","19","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","25","","","","","","","","","","25","26","51","51","0","","","4th","C6","CREDIT","OGONNA NWAEFUNA","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("249","5","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","30","","","","","","","","","","30","56","86","86","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("250","7","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","28","","","","","","","","","","28","56","84","84","0","","","3rd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("251","10","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","38","","","","","","","","","","38","56","94","94","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("252","19","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","30","","","","","","","","","","30","53","83","83","0","","","4th","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("253","5","2","0","HIGH SCHOOL 2","","ECONOMICS","27","34","","","","","","","","","","34","42","76","76","0","","","3rd","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("254","7","2","0","HIGH SCHOOL 2","","ECONOMICS","27","36","","","","","","","","","","36","50","86","86","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("255","10","2","0","HIGH SCHOOL 2","","ECONOMICS","27","33","","","","","","","","","","33","52","85","85","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("256","19","2","0","HIGH SCHOOL 2","","ECONOMICS","27","33","","","","","","","","","","33","32","65","65","0","","","4th","B3","GOOD","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("257","5","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","35","","","","","","","","","","35","36","71","71","0","","","3rd","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("258","7","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","35","","","","","","","","","","35","40","75","75","0","","","1st","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("259","10","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","34","","","","","","","","","","34","40","74","74","0","","","2nd","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("260","19","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","35","","","","","","","","","","35","31","66","66","0","","","4th","B3","GOOD","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("261","5","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","36","","","","","","","","","","36","38","74","74","0","","","3rd","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("262","7","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","40","","","","","","","","","","40","46","86","86","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("263","10","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","34","","","","","","","","","","34","41","75","75","0","","","2nd","B2","VERY GOOD","OGONNA NWAEFUNA","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("264","19","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","30","","","","","","","","","","30","32","62","62","0","","","4th","C4","CREDIT","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("265","5","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","17","","","","","","","","","","17","37","54","54","0","","","3rd","C6","CREDIT","OGONNA NWAEFUNA","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("266","7","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","21","","","","","","","","","","21","42","63","63","0","","","1st","C4","CREDIT","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("267","10","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","16","","","","","","","","","","16","40","56","56","0","","","2nd","C5","CREDIT","OGONNA NWAEFUNA","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("268","19","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","19","","","","","","","","","","19","29","48","48","0","","","4th","D7","POOR","OGONNA NWAEFUNA","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("269","5","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","22","","","","","","","","","","22","41","63","63","0","","","3rd","C4","CREDIT","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("270","7","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","19","","","","","","","","","","19","50","69","69","0","","","1st","B3","GOOD","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("271","10","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","19","","","","","","","","","","19","46","65","65","0","","","2nd","B3","GOOD","OGONNA NWAEFUNA","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("272","19","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","13","","","","","","","","","","13","39","52","52","0","","","4th","C6","CREDIT","OGONNA NWAEFUNA","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("273","22","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","34","","","","","","","","","","34","48","82","82","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("274","23","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","32","","","","","","","","","","32","50","82","82","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("275","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","29","","","","","","","","","","29","28","57","57","0","","","8th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("276","25","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","29","","","","","","","","","","29","38","67","67","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("277","21","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","32","","","","","","","","","","32","51","83","83","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("278","26","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","31","","","","","","","","","","31","36","67","67","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("279","27","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","30","","","","","","","","","","30","43","73","73","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("280","28","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","30","","","","","","","","","","30","41","71","71","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("281","22","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","39","","","","","","","","","","39","50","89","89","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("282","23","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","36","","","","","","","","","","36","53","89","89","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("283","24","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","29","","","","","","","","","","29","31","60","60","0","","","8th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("284","25","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","29","","","","","","","","","","29","35","64","64","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("285","21","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","31","","","","","","","","","","31","47","78","78","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("286","26","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","36","","","","","","","","","","36","38","74","74","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("287","27","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","27","","","","","","","","","","27","37","64","64","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("288","28","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","27","","","","","","","","","","27","36","63","63","0","","","7th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("289","22","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","35","","","","","","","","","","35","57","92","92","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("290","23","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","33","","","","","","","","","","33","58","91","91","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("291","24","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","31","","","","","","","","","","31","31","62","62","0","","","8th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("292","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","32","","","","","","","","","","32","50","82","82","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("293","21","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","33","","","","","","","","","","33","45","78","78","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("294","26","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","30","","","","","","","","","","30","47","77","77","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("295","27","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","28","","","","","","","","","","28","48","76","76","0","","","7th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("296","28","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","34","","","","","","","","","","34","46","80","80","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("297","22","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","26","","","","","","","","","","26","52","78","78","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("298","23","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","33","","","","","","","","","","33","53","86","86","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("299","24","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","24","","","","","","","","","","24","35","59","59","0","","","8th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("300","25","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","27","","","","","","","","","","27","48","75","75","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term");
INSERT INTO result_subject VALUES
("301","21","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","29","","","","","","","","","","29","46","75","75","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("302","26","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","28","","","","","","","","","","28","43","71","71","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("303","27","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","26","","","","","","","","","","26","38","64","64","0","","","7th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("304","28","1","0","HIGH SCHOOL 1","","GOVERNMENT","33","30","","","","","","","","","","30","43","73","73","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("305","24","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","25","","","","","","","","","","25","51","76","76","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("306","25","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","26","","","","","","","","","","26","52","78","78","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("307","21","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","31","","","","","","","","","","31","52","83","83","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("308","26","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","30","","","","","","","","","","30","46","76","76","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("309","27","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","31","","","","","","","","","","31","47","78","78","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("310","28","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","31","","","","","","","","","","31","54","85","85","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("311","22","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","34","","","","","","","","","","34","44","78","78","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("312","23","1","0","HIGH SCHOOL 1","","RELIGIOUS STUDIES","31","33","","","","","","","","","","33","36","69","69","0","","","8th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("313","22","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","23","","","","","","","","","","23","52","75","75","0","","","1st","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("314","23","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","19","","","","","","","","","","19","45","64","64","0","","","3rd","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("315","24","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","14","","","","","","","","","","14","31","45","45","0","","","8th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("316","25","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","14","","","","","","","","","","14","34","48","48","0","","","7th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("317","21","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","20","","","","","","","","","","20","51","71","71","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("318","26","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","21","","","","","","","","","","21","36","57","57","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("319","27","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","14","","","","","","","","","","14","43","57","57","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("320","28","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","21","","","","","","","","","","21","41","62","62","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("321","22","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","29","","","","","","","","","","29","51","80","80","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("322","23","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","27","","","","","","","","","","27","43","70","70","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("323","24","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","17","","","","","","","","","","17","20","37","37","0","","","8th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("324","25","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","20","","","","","","","","","","20","28","48","48","0","","","7th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("325","21","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","25","","","","","","","","","","25","45","70","70","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("326","26","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","26","","","","","","","","","","26","34","60","60","0","","","6th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("327","27","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","22","","","","","","","","","","22","41","63","63","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("328","28","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","24","","","","","","","","","","24","39","63","63","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("329","22","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","36","","","","","","","","","","36","46","82","82","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("330","23","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","29","","","","","","","","","","29","44","73","73","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("331","24","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","22","","","","","","","","","","22","8","30","30","0","","","8th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("332","25","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","25","","","","","","","","","","25","21","46","46","0","","","7th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("333","21","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","35","","","","","","","","","","35","42","77","77","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("334","26","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","24","","","","","","","","","","24","34","58","58","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("335","27","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","30","","","","","","","","","","30","26","56","56","0","","","6th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("336","28","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","26","","","","","","","","","","26","33","59","59","0","","","4th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("337","5","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","34","","","","","","","","","","34","52","86","86","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("338","7","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","30","","","","","","","","","","30","54","84","84","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("339","10","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","33.5","","","","","","","","","","33.5","49","82.5","82.5","0","","","3rd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("340","19","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","32","","","","","","","","","","32","49","81","81","0","","","4th","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("341","5","2","0","HIGH SCHOOL 2","","PHYSICS","21","31","","","","","","","","","","31","55","86","86","0","","","3rd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("342","7","2","0","HIGH SCHOOL 2","","PHYSICS","21","25","","","","","","","","","","25","56","81","81","0","","","4th","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("343","10","2","0","HIGH SCHOOL 2","","PHYSICS","21","33","","","","","","","","","","33","55","88","88","0","","","2nd","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("344","19","2","0","HIGH SCHOOL 2","","PHYSICS","21","35","","","","","","","","","","35","54","89","89","0","","","1st","A1","EXCELLENT","OGONNA NWAEFUNA","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("345","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","37","","","","","","","","","","37","49","86","86","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("346","23","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","36.5","","","","","","","","","","36.5","55","91.5","91.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("347","24","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","25.5","","","","","","","","","","25.5","36","61.5","61.5","0","","","8th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("348","25","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","31","","","","","","","","","","31","49","80","80","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("349","21","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","32","","","","","","","","","","32","55","87","87","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("350","26","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","32","","","","","","","","","","32","47","79","79","0","","","7th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("351","27","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","30","","","","","","","","","","30","52","82","82","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("352","28","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","29","","","","","","","","","","29","51","80","80","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("353","22","1","0","HIGH SCHOOL 1","","PHYSICS","21","33.5","","","","","","","","","","33.5","52","85.5","85.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("354","23","1","0","HIGH SCHOOL 1","","PHYSICS","21","37","","","","","","","","","","37","46","83","83","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("355","24","1","0","HIGH SCHOOL 1","","PHYSICS","21","29.5","","","","","","","","","","29.5","33","62.5","62.5","0","","","8th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("356","25","1","0","HIGH SCHOOL 1","","PHYSICS","21","31.5","","","","","","","","","","31.5","48","79.5","79.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("357","21","1","0","HIGH SCHOOL 1","","PHYSICS","21","31","","","","","","","","","","31","45","76","76","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("358","26","1","0","HIGH SCHOOL 1","","PHYSICS","21","32","","","","","","","","","","32","39","71","71","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("359","27","1","0","HIGH SCHOOL 1","","PHYSICS","21","30","","","","","","","","","","30","43","73","73","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("360","28","1","0","HIGH SCHOOL 1","","PHYSICS","21","34.5","","","","","","","","","","34.5","32","66.5","66.5","0","","","7th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","1st Term"),
("361","22","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","38","","","","","","","","","","38","42","80","80","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("362","23","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","50","90","90","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("363","24","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","31.5","","","","","","","","","","31.5","20","51.5","51.5","0","","","8th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("364","25","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","28","","","","","","","","","","28","34","62","62","0","","","7th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("365","21","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","38.5","","","","","","","","","","38.5","52","90.5","90.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("366","26","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","37.5","","","","","","","","","","37.5","33","70.5","70.5","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("367","27","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","30","","","","","","","","","","30","41","71","71","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("368","28","1","0","HIGH SCHOOL 1","","AGRICULTURAL SCIENCE","24","37","","","","","","","","","","37","34","71","71","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("369","22","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","39","","","","","","","","","","39","55","94","94","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("370","23","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","40","","","","","","","","","","40","55","95","95","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("371","24","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","33","","","","","","","","","","33","43","76","76","0","","","8th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("372","25","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35.5","","","","","","","","","","35.5","43","78.5","78.5","0","","","7th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("373","21","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","36","","","","","","","","","","36","54","90","90","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("374","26","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","35","","","","","","","","","","35","49","84","84","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("375","27","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","36","","","","","","","","","","36","49","85","85","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("376","28","1","0","HIGH SCHOOL 1","","CHEMISTRY","22","38","","","","","","","","","","38","50.5","88.5","88.5","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("377","22","1","0","HIGH SCHOOL 1","","BIOLOGY","23","36","","","","","","","","","","36","57","93","93","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("378","23","1","0","HIGH SCHOOL 1","","BIOLOGY","23","35.5","","","","","","","","","","35.5","57","92.5","92.5","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("379","24","1","0","HIGH SCHOOL 1","","BIOLOGY","23","26","","","","","","","","","","26","34","60","60","0","","","8th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("380","25","1","0","HIGH SCHOOL 1","","BIOLOGY","23","27","","","","","","","","","","27","47","74","74","0","","","7th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("381","21","1","0","HIGH SCHOOL 1","","BIOLOGY","23","33","","","","","","","","","","33","53","86","86","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("382","26","1","0","HIGH SCHOOL 1","","BIOLOGY","23","35.5","","","","","","","","","","35.5","45","80.5","80.5","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("383","27","1","0","HIGH SCHOOL 1","","BIOLOGY","23","30","","","","","","","","","","30","52","82","82","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("384","28","1","0","HIGH SCHOOL 1","","BIOLOGY","23","36","","","","","","","","","","36","53","89","89","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("385","22","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","35","","","","","","","","","","35","60","95","95","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("386","23","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","31","","","","","","","","","","31","60","91","91","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("387","24","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","32","","","","","","","","","","32","56","88","88","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("388","25","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","30","","","","","","","","","","30","58","88","88","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("389","21","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","32","","","","","","","","","","32","53","85","85","0","","","7th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("390","26","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","31","","","","","","","","","","31","55","86","86","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("391","27","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","32","","","","","","","","","","32","55","87","87","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("392","28","1","0","HIGH SCHOOL 1","","DATA PROCESSING","29","30","","","","","","","","","","30","42","72","72","0","","","8th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("393","22","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","40","","","","","","","","","","40","47","87","87","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("394","23","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","40","","","","","","","","","","40","45","85","85","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("395","24","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","25","","","","","","","","","","25","24","49","49","0","","","8th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("396","25","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","30","","","","","","","","","","30","31","61","61","0","","","7th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("397","21","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","38","","","","","","","","","","38","41","79","79","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("398","26","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","39","","","","","","","","","","39","41","80","80","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("399","27","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","36","","","","","","","","","","36","40","76","76","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("400","28","1","0","HIGH SCHOOL 1","","ENGLISH LANGUAGE","1","35","","","","","","","","","","35","38","73","73","0","","","6th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term");
INSERT INTO result_subject VALUES
("401","22","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","34","","","","","","","","","","34","60","94","94","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("402","23","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","37","","","","","","","","","","37","59","96","96","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("403","24","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","32","","","","","","","","","","32","47","79","79","0","","","7th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("404","25","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","34","","","","","","","","","","34","49","83","83","0","","","5th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("405","21","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","30","","","","","","","","","","30","54","84","84","0","","","4th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("406","26","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","33","","","","","","","","","","33","52","85","85","0","","","3rd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("407","27","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","34","","","","","","","","","","34","44","78","78","0","","","8th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("408","28","1","0","HIGH SCHOOL 1","","INFORMATION TECHNOLOGY","7","33","","","","","","","","","","33","49","82","82","0","","","6th","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("409","22","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","32","","","","","","","","","","32","51","83","83","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("410","23","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","33","","","","","","","","","","33","54","87","87","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("411","24","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","22","","","","","","","","","","22","18","40","40","0","","","8th","E8","VERY POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("412","25","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","25","","","","","","","","","","25","29","54","54","0","","","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("413","21","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","33","","","","","","","","","","33","41","74","74","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("414","26","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","32","","","","","","","","","","32","32","64","64","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("415","27","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","27","","","","","","","","","","27","27","54","54","0","","","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("416","28","1","0","HIGH SCHOOL 1","","LITERATURE IN ENGLISH","32","29","","","","","","","","","","29","37","66","66","0","","","4th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("417","22","1","0","HIGH SCHOOL 1","","PHYSICS","21","36","","","","","","","","","","36","56","92","92","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("418","23","1","0","HIGH SCHOOL 1","","PHYSICS","21","39","","","","","","","","","","39","52","91","91","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("419","24","1","0","HIGH SCHOOL 1","","PHYSICS","21","25","","","","","","","","","","25","24","49","49","0","","","8th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("420","25","1","0","HIGH SCHOOL 1","","PHYSICS","21","32.5","","","","","","","","","","32.5","35","67.5","67.5","0","","","5th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("421","21","1","0","HIGH SCHOOL 1","","PHYSICS","21","31.5","","","","","","","","","","31.5","45","76.5","76.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("422","26","1","0","HIGH SCHOOL 1","","PHYSICS","21","30.5","","","","","","","","","","30.5","45","75.5","75.5","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("423","27","1","0","HIGH SCHOOL 1","","PHYSICS","21","30","","","","","","","","","","30","33","63","63","0","","","6th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("424","28","1","0","HIGH SCHOOL 1","","PHYSICS","21","29.5","","","","","","","","","","29.5","28","57.5","57.5","0","","","7th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("425","22","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","40","","","","","","","","","","40","58.5","98.5","98.5","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("426","23","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","40","","","","","","","","","","40","58","98","98","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("427","24","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","26","","","","","","","","","","26","24","50","50","0","","","7th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("428","25","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","30","","","","","","","","","","30","36","66","66","0","","","4th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("429","21","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","34","","","","","","","","","","34","38.5","72.5","72.5","0","","","3rd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("430","26","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","32","","","","","","","","","","32","18","50","50","0","","","7th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("431","27","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","26","","","","","","","","","","26","28","54","54","0","","","6th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("432","28","1","0","HIGH SCHOOL 1","","FURTHER MATHEMATICS","26","26","","","","","","","","","","26","34","60","60","0","","","5th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("433","5","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","40","","","","","","","","","","40","28","68","68","0","","","3rd","B3","GOOD","EDET MABE","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("434","7","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","39","","","","","","","","","","39","16","55","55","0","","","4th","C5","CREDIT","EDET MABE","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("435","10","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","31","","","","","","","","","","31","45","76","76","0","","","1st","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("436","19","2","0","HIGH SCHOOL 2","","AGRICULTURAL SCIENCE","24","32","","","","","","","","","","32","38","70","70","0","","","2nd","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("437","5","2","0","HIGH SCHOOL 2","","BIOLOGY","23","34","","","","","","","","","","34","54","88","88","0","","","1st","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("438","7","2","0","HIGH SCHOOL 2","","BIOLOGY","23","31","","","","","","","","","","31","48","79","79","0","","","3rd","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("439","10","2","0","HIGH SCHOOL 2","","BIOLOGY","23","38","","","","","","","","","","38","50","88","88","0","","","1st","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("440","19","2","0","HIGH SCHOOL 2","","BIOLOGY","23","30","","","","","","","","","","30","26","56","56","0","","","4th","C5","CREDIT","EDET MABE","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("441","5","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","38","","","","","","","","","","38","52","90","90","0","","","1st","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("442","7","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","34","","","","","","","","","","34","44","78","78","0","","","4th","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("443","10","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","38","","","","","","","","","","38","47","85","85","0","","","2nd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("444","19","2","0","HIGH SCHOOL 2","","CHEMISTRY","22","37","","","","","","","","","","37","43","80","80","0","","","3rd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("445","5","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","36","","","","","","","","","","36","54","90","90","0","","","3rd","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("446","7","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","38","","","","","","","","","","38","55","93","93","0","","","1st","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("447","10","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","35","","","","","","","","","","35","58","93","93","0","","","1st","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("448","19","2","0","HIGH SCHOOL 2","","DATA PROCESSING","29","32","","","","","","","","","","32","49","81","81","0","","","4th","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("449","5","2","0","HIGH SCHOOL 2","","ECONOMICS","27","37","","","","","","","","","","37","46","83","83","0","","","2nd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("450","7","2","0","HIGH SCHOOL 2","","ECONOMICS","27","37","","","","","","","","","","37","39","76","76","0","","","3rd","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("451","10","2","0","HIGH SCHOOL 2","","ECONOMICS","27","38","","","","","","","","","","38","47","85","85","0","","","1st","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("452","19","2","0","HIGH SCHOOL 2","","ECONOMICS","27","37","","","","","","","","","","37","38","75","75","0","","","4th","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("453","5","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","39","","","","","","","","","","39","40","79","79","0","","","2nd","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("454","7","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","33","","","","","","","","","","33","41","74","74","0","","","3rd","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("455","10","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","39","","","","","","","","","","39","44","83","83","0","","","1st","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("456","19","2","0","HIGH SCHOOL 2","","ENGLISH LANGUAGE","1","36","","","","","","","","","","36","32","68","68","0","","","4th","B3","GOOD","EDET MABE","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("457","5","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","37","","","","","","","","","","37","59","96","96","0","","","2nd","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("458","7","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","40","","","","","","","","","","40","58","98","98","0","","","1st","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("459","10","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","35","","","","","","","","","","35","58","93","93","0","","","3rd","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("460","19","2","0","HIGH SCHOOL 2","","INFORMATION TECHNOLOGY","7","31","","","","","","","","","","31","56","87","87","0","","","4th","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("461","5","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","37","","","","","","","","","","37","46.6","83.6","83.6","0","","","3rd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("462","7","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","34","","","","","","","","","","34","51.5","85.5","85.5","0","","","2nd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("463","10","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","35","","","","","","","","","","35","51.5","86.5","86.5","0","","","1st","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("464","19","2","0","HIGH SCHOOL 2","","FURTHER MATHEMATICS","26","35","","","","","","","","","","35","25","60","60","0","","","4th","C4","CREDIT","EDET MABE","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("465","5","2","0","HIGH SCHOOL 2","","PHYSICS","21","35","","","","","","","","","","35","54","89","89","0","","","2nd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("466","7","2","0","HIGH SCHOOL 2","","PHYSICS","21","30","","","","","","","","","","30","52","82","82","0","","","4th","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("467","10","2","0","HIGH SCHOOL 2","","PHYSICS","21","35","","","","","","","","","","35","57","92","92","0","","","1st","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("468","19","2","0","HIGH SCHOOL 2","","PHYSICS","21","33","","","","","","","","","","33","51","84","84","0","","","3rd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("469","5","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","38","","","","","","","","","","38","35","73","73","0","","","2nd","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("470","7","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","32.5","","","","","","","","","","32.5","35","67.5","67.5","0","","","3rd","B3","GOOD","EDET MABE","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("471","10","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","34","","","","","","","","","","34","44.5","78.5","78.5","0","","","1st","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("472","19","2","0","HIGH SCHOOL 2","","MATHEMATICS","13","25.5","","","","","","","","","","25.5","25","50.5","50.5","0","","","4th","C6","CREDIT","EDET MABE","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("473","5","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","40","","","","","","","","","","40","42","82","82","0","","","3rd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("474","7","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","39","","","","","","","","","","39","51","90","90","0","","","1st","A1","EXCELLENT","EDET MABE","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("475","10","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","40","","","","","","","","","","40","44","84","84","0","","","2nd","A1","EXCELLENT","EDET MABE","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("476","19","2","0","HIGH SCHOOL 2","","CIVIC EDUCATION","25","38","","","","","","","","","","38","33","71","71","0","","","4th","B2","VERY GOOD","EDET MABE","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("477","22","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","","","","","40","40","80","80","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("478","23","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","40","","","","","","","","","","40","39","79","79","0","","","4th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("479","24","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","36","","","","","","","","","","36","32","68","68","0","","","6th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("480","25","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","37","","","","","","","","","","37","39","76","76","0","","","5th","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("481","21","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","39","","","","","","","","","","39","47","86","86","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("482","26","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","38","","","","","","","","","","38","42","80","80","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("483","27","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","37","","","","","","","","","","37","25","62","62","0","","","8th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("484","28","1","0","HIGH SCHOOL 1","","CIVIC EDUCATION","25","37","","","","","","","","","","37","28.5","65.5","65.5","0","","","7th","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("485","22","1","0","HIGH SCHOOL 1","","ECONOMICS","27","36","","","","","","","","","","36","39","75","75","0","","","2nd","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("486","23","1","0","HIGH SCHOOL 1","","ECONOMICS","27","37","","","","","","","","","","37","40","77","77","0","","","1st","B2","VERY GOOD","OMORUYI ELIZABETH","VERY GOOD, WELL DONE","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("487","24","1","0","HIGH SCHOOL 1","","ECONOMICS","27","23","","","","","","","","","","23","24","47","47","0","","","8th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("488","25","1","0","HIGH SCHOOL 1","","ECONOMICS","27","28","","","","","","","","","","28","28","56","56","0","","","6th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("489","21","1","0","HIGH SCHOOL 1","","ECONOMICS","27","27","","","","","","","","","","27","34","61","61","0","","","4th","C4","CREDIT","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("490","26","1","0","HIGH SCHOOL 1","","ECONOMICS","27","27","","","","","","","","","","27","31","58","58","0","","","5th","C5","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("491","27","1","0","HIGH SCHOOL 1","","ECONOMICS","27","30","","","","","","","","","","30","38","68","68","0","","","3rd","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("492","28","1","0","HIGH SCHOOL 1","","ECONOMICS","27","27","","","","","","","","","","27","27","54","54","0","","","7th","C6","CREDIT","OMORUYI ELIZABETH","GOOD WORK. WORK HARDER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("493","22","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","34.5","","","","","","","","","","34.5","55","89.5","89.5","0","","","2nd","A1","EXCELLENT","OMORUYI ELIZABETH","EXCELLENT PERFORMANCE, KEEP IT UP","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("494","23","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","37","","","","","","","","","","37","59.6","96.6","96.6","0","","","1st","A1","EXCELLENT","OMORUYI ELIZABETH","EXCEPTIONAL WORK. WONDERFULLY DONE.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("495","24","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","16","","","","","","","","","","16","16","32","32","0","","","7th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("496","25","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","18.5","","","","","","","","","","18.5","26","44.5","44.5","0","","","5th","E8","VERY POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("497","21","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","31","","","","","","","","","","31","37","68","68","0","","","3rd","B3","GOOD","OMORUYI ELIZABETH","SATISFACTORY. YOU CAN DO BETTER.","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("498","26","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","18","","","","","","","","","","18","12","30","30","0","","","8th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("499","27","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","16","","","","","","","","","","16","20","36","36","0","","","6th","F9","FAIL","OMORUYI ELIZABETH","FAIR, YOU CAN DO BETTER","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term"),
("500","28","1","0","HIGH SCHOOL 1","","MATHEMATICS","13","22","","","","","","","","","","22","23","45","45","0","","","4th","D7","POOR","OMORUYI ELIZABETH","FAIR, TRY HARDER NEXT TIME","0","100","5","5","5","5","5","5","5","5","5","5","submit","2021/2022","2nd Term");




CREATE TABLE `result_subject_group_assign` (
  `result_subject_group_assign_id` int(11) NOT NULL AUTO_INCREMENT,
  `result_subject_group_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  PRIMARY KEY (`result_subject_group_assign_id`),
  KEY `result_subject_group_id` (`result_subject_group_id`,`subject_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `result_subject_groups` (
  `result_subject_group_id` int(11) NOT NULL AUTO_INCREMENT,
  `result_subject_group_name` varchar(300) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`result_subject_group_id`),
  UNIQUE KEY `result_subject_group_name` (`result_subject_group_name`),
  KEY `date_created` (`date_created`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `salary_deduct` (
  `salary_deduct_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `reason` varchar(400) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  PRIMARY KEY (`salary_deduct_id`),
  KEY `staff_id` (`staff_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `months` (`months`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `salary_info` (
  `salary_info_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `current_salary` decimal(15,2) NOT NULL,
  `past_debt` decimal(15,2) NOT NULL,
  `amount_to_pay` decimal(15,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `wave_over` decimal(15,2) NOT NULL,
  `current_debt` decimal(15,2) NOT NULL,
  `deduct` decimal(15,2) NOT NULL,
  `appreciation_amount` decimal(15,2) NOT NULL,
  `appreciation_reason` varchar(500) NOT NULL,
  `owing` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  PRIMARY KEY (`salary_info_id`),
  KEY `staff_id` (`staff_id`),
  KEY `sessions` (`sessions`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `salary_payment` (
  `salary_payment_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `accountant_id` int(10) unsigned NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`salary_payment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `school_fees` (
  `school_fees_id` int(11) NOT NULL AUTO_INCREMENT,
  `transaction_id` char(20) NOT NULL,
  `student_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  `school_fees_payment_mode_id` int(11) NOT NULL,
  `payment_mode` varchar(300) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `payment_no` varchar(20) NOT NULL,
  `payment_date` date NOT NULL,
  `fees_status` varchar(20) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`school_fees_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `transaction_id` (`transaction_id`),
  KEY `school_fees_payment_mode_id` (`school_fees_payment_mode_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `school_fees_payment_modes` (
  `school_fees_payment_mode_id` int(11) NOT NULL AUTO_INCREMENT,
  `payment_mode` varchar(300) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`school_fees_payment_mode_id`),
  UNIQUE KEY `payment_mode` (`payment_mode`),
  KEY `date_created` (`date_created`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `school_storages` (
  `school_storage_id` int(11) NOT NULL AUTO_INCREMENT,
  `school_storage_title` varchar(200) NOT NULL,
  `school_storage_dir` varchar(500) NOT NULL,
  `school_storage_date` datetime NOT NULL,
  PRIMARY KEY (`school_storage_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `sent_sms` (
  `sent_sms_id` int(11) NOT NULL AUTO_INCREMENT,
  `unit_spent` varchar(300) NOT NULL,
  `message` text NOT NULL,
  `people` text NOT NULL,
  `date_sent` datetime NOT NULL,
  PRIMARY KEY (`sent_sms_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `session_month` (
  `session_month_id` int(11) NOT NULL AUTO_INCREMENT,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  PRIMARY KEY (`session_month_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `session_term` (
  `session_term_id` int(11) NOT NULL AUTO_INCREMENT,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`session_term_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;


INSERT INTO session_term VALUES
("4","2020/2021","1st Term"),
("5","2020/2021","2nd Term"),
("6","2020/2021","3rd Term"),
("7","2021/2022","1st Term"),
("8","2021/2022","2nd Term");




CREATE TABLE `sessions` (
  `sid` varchar(40) NOT NULL,
  `expiry` int(10) unsigned NOT NULL,
  `data` text NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`sid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






CREATE TABLE `settings` (
  `settings_id` int(11) NOT NULL AUTO_INCREMENT,
  `setting_name` varchar(300) NOT NULL,
  `setting_value` varchar(300) NOT NULL,
  PRIMARY KEY (`settings_id`),
  KEY `setting_name` (`setting_name`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=latin1;


INSERT INTO settings VALUES
("1","total_sms","100"),
("2","school_name","TRUST ACADEMY"),
("3","school_login_logo","assets/images/logo.png"),
("4","login_attempt","30"),
("5","holiday_project","yes"),
("6","cumulate_test","yes"),
("7","show_test","yes"),
("8","show_waec","yes"),
("9","show_neco","yes"),
("10","lower_ca_score","30"),
("11","lower_exam_score","70"),
("12","school_phonenumber","2340000000000"),
("13","teacher_subclass","yes"),
("14","country","NIGERIA"),
("15","country_code","234"),
("16","phonenumber_length","10"),
("17","full_phonenumber_length","11"),
("18","main_phonenumber_length","13"),
("19","one_sms_amount","3"),
("20","result_cumulative","yes"),
("21","result_school_fees","no"),
("22","school_address","PLOT 56, KARU GRA LAYOUT PHASE 1, NEW NYANYA, NASARAWA STATE"),
("23","principal_finance","no"),
("24","one_card_amount","1000"),
("25","principal_name","SCHOOL HEAD"),
("26","principal_signature","images/principal_signatures/e1287f.png"),
("27","third_term_lower","no"),
("28","third_term_higher","no"),
("29","allow_finance","no"),
("30","order_class","no"),
("31","online_school_fees_payment","no"),
("32","sms_sender","NO NAME"),
("33","school_email","school@mail.com"),
("34","school_email_password","DÓ¬øÇÍÕ³J©A#ÏÌÏ"),
("35","school_email_name","School Name"),
("36","scratch_card","no"),
("37","higher_ca_score","30"),
("38","higher_exam_score","70"),
("39","class_approval","no"),
("40","allow_hostel","no"),
("41","result_attendance","no"),
("42","second_principal_signature","images/principal_signatures/e3ead3.png"),
("43","lower_no_of_ca","1"),
("44","higher_no_of_ca","1"),
("45","lower_ca1","40"),
("46","lower_ca2","0"),
("47","lower_ca3","0"),
("48","lower_ca4","0"),
("49","lower_ca5","0"),
("50","lower_ca6","0"),
("51","higher_ca1","40"),
("52","higher_ca2","0"),
("53","higher_ca3","0"),
("54","higher_ca4","0"),
("55","higher_ca5","0"),
("56","higher_ca6","0"),
("57","lower_ca_name_1","CA"),
("58","lower_ca_name_2","CA 2"),
("59","lower_ca_name_3","CA 3"),
("60","lower_ca_name_4","CA 4"),
("61","lower_ca_name_5","CA 5"),
("62","lower_ca_name_6","CA 6"),
("63","higher_ca_name_1","CA"),
("64","higher_ca_name_2","CA 2"),
("65","higher_ca_name_3","CA 3"),
("66","higher_ca_name_4","CA 4"),
("67","higher_ca_name_5","CA 5"),
("68","higher_ca_name_6","CA 6"),
("69","lower_exam_name","Exam"),
("70","higher_exam_name","Exam"),
("71","main_school_id","1"),
("72","school_id","1"),
("73","school_storage","yes"),
("74","class_storage","yes"),
("75","class_teacher_comment_setting","yes"),
("76","student_affairs","no"),
("77","admission_number","no"),
("78","admission_format",""),
("79","paystack_subaccount","ACCT_t3w6pmnwzvmv2np"),
("80","currency","&#8358;"),
("81","annual_position_for_last_term","yes"),
("82","annual_only_last_subjects","no"),
("83","parent_finance","yes"),
("84","third_term_in_annual","no"),
("85","admin_class_check_result","yes"),
("86","refresh_token","1//050SH4EtODsccCgYIARAAGAUSNwF-L9Irppe_Bv2rl35Mkj_CsbQEnCFFKltUjnWiPalTUqfLeXyBcZNM05DkpzD5NJ3CFyfFfUM"),
("87","folder_id",""),
("88","google_client_id","150277175744-n19rn2vsuio1lt7ot1cirgvfp3ehjp2l.apps.googleusercontent.com"),
("89","google_client_secret","eTWa1cXmNcG-Ky2h32o7bv4n"),
("90","online_class","no"),
("91","payment_warning","no"),
("92","instalmental_payment","yes"),
("93","classroom_materials","no"),
("94","class_activity_name","CLASS ACTIVITY"),
("95","upload_admission_form","yes"),
("96","admit_student_button","yes");




CREATE TABLE `sms_account` (
  `sms_account_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` varchar(20) NOT NULL,
  `unit_bought` int(10) unsigned NOT NULL,
  `amount` varchar(20) NOT NULL,
  `status` varchar(20) NOT NULL,
  `mode` varchar(20) NOT NULL,
  `date_bought` datetime NOT NULL,
  PRIMARY KEY (`sms_account_id`),
  UNIQUE KEY `transaction_id` (`transaction_id`),
  KEY `mode` (`mode`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `staff` (
  `staff_id` int(11) NOT NULL AUTO_INCREMENT,
  `school_id` int(10) unsigned NOT NULL,
  `user_key` varchar(100) DEFAULT NULL,
  `serial_number` varchar(200) NOT NULL,
  `pass` varchar(255) NOT NULL,
  `first_password` varchar(200) NOT NULL,
  `new_password` varchar(255) NOT NULL,
  `first_name` varchar(200) NOT NULL,
  `other_name` varchar(200) NOT NULL,
  `last_name` varchar(100) NOT NULL,
  `gender` varchar(10) NOT NULL,
  `status` varchar(50) NOT NULL,
  `groups` varchar(20) NOT NULL,
  `position` varchar(200) NOT NULL,
  `student_affairs` varchar(20) NOT NULL,
  `address` varchar(200) NOT NULL,
  `dob` date NOT NULL,
  `phone_number` bigint(20) unsigned NOT NULL,
  `email` varchar(200) NOT NULL,
  `country` varchar(200) NOT NULL,
  `state_origin` varchar(200) NOT NULL,
  `religion` varchar(50) NOT NULL,
  `disability` varchar(300) NOT NULL,
  `passport` varchar(200) NOT NULL,
  `form` varchar(5) NOT NULL,
  `sent_serial_pass_sms` char(3) NOT NULL,
  `forget_token` varchar(200) NOT NULL,
  `login_attempt` int(11) NOT NULL,
  `login_last_time` int(11) unsigned NOT NULL,
  `skip` varchar(5) NOT NULL,
  `activation` varchar(50) NOT NULL,
  `year_of_employment` varchar(15) NOT NULL,
  `term_of_employment` varchar(15) NOT NULL,
  PRIMARY KEY (`staff_id`),
  UNIQUE KEY `user_key` (`user_key`),
  KEY `activation` (`activation`),
  KEY `serial_number` (`serial_number`),
  KEY `status` (`status`),
  KEY `religion` (`religion`),
  KEY `sent_serial_pass_sms` (`sent_serial_pass_sms`),
  KEY `skip` (`skip`),
  KEY `school_id` (`school_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


INSERT INTO staff VALUES
("1","168","1168d0769401","T/20/0001","$2y$10$9fKPEDjHqrwges/1rDjmPeGTPK84XezDVZZ9alVW37XTXmVAvvwLK","yielizabeth","yielizabeth","ELIZABETH","","OMORUYI","female","academic","both","","","TRUST ACADEMY","1986-06-23","2348140417543","","NIGERIA","EDO","Christianity","Fit","","form","","","0","1649084235","","activated","2020/2021","1st Term"),
("2","168","21681567aa6e","T/21/0001","$2y$10$H5F.EaI5cgCDcpLLbmk7duIaeV0GwVVo9b9ZfcPZxgXCOZ3xPu8kG","nanwaefuna","nanwaefuna","NWAEFUNA","","OGONNA","female","academic","both","","","NEW NUANYA","1989-08-07","2347037252071","","NIGERIA","ABIA","Christianity","Fit","","","","","0","1640616724","","deactivated","2021/2022","1st Term"),
("3","168","3168f3b5998b","T/21/0002","$2y$10$X0mPuClXTX7cRzvVh6nEzuS2g8kUhkzfXz5.GmNehcjeu.NKKEItG","etmabe","etmabe","MABE","","EDET","female","academic","both","","","CIVILIAN BARRACKS PHASE 4 NEW NYANYA","1990-05-31","2348169248759","euniceumoru@gmail.com","NIGERIA","KOGI","Christianity","fit","","form","","","0","1649172850","","activated","2021/2022","1st Term");




CREATE TABLE `staff_salary` (
  `staff_salary_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  PRIMARY KEY (`staff_salary_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


INSERT INTO staff_salary VALUES
("1","1","0.00"),
("2","2","0.00"),
("3","3","0.00");




CREATE TABLE `staff_subject` (
  `staff_subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  PRIMARY KEY (`staff_subject_id`),
  KEY `staff_subject_class` (`staff_id`,`subject_id`,`class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1;


INSERT INTO staff_subject VALUES
("58","0","1","3"),
("74","0","7","3"),
("59","0","10","3"),
("60","0","13","3"),
("61","0","21","3"),
("62","0","22","3"),
("63","0","23","3"),
("64","0","24","3"),
("65","0","25","3"),
("66","0","26","3"),
("67","0","27","3"),
("68","0","28","3"),
("69","0","29","3"),
("79","0","30","1"),
("70","0","30","3"),
("76","0","31","1"),
("71","0","31","3"),
("72","0","32","3"),
("40","0","33","1"),
("73","0","33","3"),
("38","1","1","1"),
("77","1","7","1"),
("26","1","13","1"),
("27","1","21","1"),
("28","1","22","1"),
("29","1","23","1"),
("30","1","24","1"),
("31","1","25","1"),
("32","1","26","1"),
("33","1","27","1"),
("75","1","29","1"),
("39","1","32","1"),
("41","3","1","2"),
("42","3","7","2"),
("44","3","13","2"),
("45","3","21","2"),
("46","3","22","2"),
("47","3","23","2"),
("48","3","24","2"),
("49","3","25","2"),
("50","3","26","2"),
("51","3","27","2"),
("53","3","29","2");




CREATE TABLE `staff_subject_subclass` (
  `staff_subject_subclass_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  PRIMARY KEY (`staff_subject_subclass_id`),
  UNIQUE KEY `staff_subject_subclass` (`staff_id`,`subject_id`,`class_id`,`subclass_id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1;


INSERT INTO staff_subject_subclass VALUES
("58","0","1","3","0"),
("74","0","7","3","0"),
("59","0","10","3","0"),
("60","0","13","3","0"),
("61","0","21","3","0"),
("62","0","22","3","0"),
("63","0","23","3","0"),
("64","0","24","3","0"),
("65","0","25","3","0"),
("66","0","26","3","0"),
("67","0","27","3","0"),
("68","0","28","3","0"),
("69","0","29","3","0"),
("79","0","30","1","0"),
("70","0","30","3","0"),
("76","0","31","1","0"),
("71","0","31","3","0"),
("72","0","32","3","0"),
("40","0","33","1","0"),
("73","0","33","3","0"),
("38","1","1","1","0"),
("77","1","7","1","0"),
("26","1","13","1","0"),
("27","1","21","1","0"),
("28","1","22","1","0"),
("29","1","23","1","0"),
("30","1","24","1","0"),
("31","1","25","1","0"),
("32","1","26","1","0"),
("33","1","27","1","0"),
("75","1","29","1","0"),
("39","1","32","1","0"),
("41","3","1","2","0"),
("42","3","7","2","0"),
("44","3","13","2","0"),
("45","3","21","2","0"),
("46","3","22","2","0"),
("47","3","23","2","0"),
("48","3","24","2","0"),
("49","3","25","2","0"),
("50","3","26","2","0"),
("51","3","27","2","0"),
("53","3","29","2","0");




CREATE TABLE `student_plan` (
  `student_plan_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  PRIMARY KEY (`student_plan_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `student_subject` (
  `student_subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  PRIMARY KEY (`student_subject_id`),
  KEY `student_subject_status` (`student_id`,`subject_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=563 DEFAULT CHARSET=latin1;


INSERT INTO student_subject VALUES
("1","4","1","doing"),
("376","4","1","doing"),
("5","4","13","doing"),
("359","4","21","doing"),
("196","4","22","doing"),
("197","4","23","doing"),
("198","4","25","doing"),
("199","4","26","doing"),
("200","4","27","doing"),
("399","4","32","doing"),
("416","4","33","doing"),
("14","5","1","doing"),
("370","5","1","doing"),
("556","5","7","doing"),
("18","5","13","doing"),
("353","5","21","doing"),
("205","5","22","doing"),
("206","5","23","doing"),
("387","5","24","doing"),
("207","5","25","doing"),
("208","5","26","doing"),
("209","5","27","doing"),
("555","5","29","doing"),
("27","6","1","doing"),
("377","6","1","doing"),
("31","6","13","doing"),
("360","6","21","doing"),
("214","6","22","doing"),
("215","6","23","doing"),
("216","6","25","doing"),
("217","6","26","doing"),
("218","6","27","doing"),
("400","6","32","doing"),
("417","6","33","doing"),
("40","7","1","doing"),
("371","7","1","doing"),
("558","7","7","doing"),
("44","7","13","doing"),
("354","7","21","doing"),
("223","7","22","doing"),
("224","7","23","doing"),
("389","7","24","doing"),
("225","7","25","doing"),
("226","7","26","doing"),
("227","7","27","doing"),
("557","7","29","doing"),
("53","8","1","doing"),
("378","8","1","doing"),
("57","8","13","doing"),
("361","8","21","doing"),
("232","8","22","doing"),
("233","8","23","doing"),
("234","8","25","doing"),
("235","8","26","doing"),
("236","8","27","doing"),
("401","8","32","doing"),
("418","8","33","doing"),
("66","9","1","doing"),
("372","9","1","doing"),
("70","9","13","doing"),
("355","9","21","doing"),
("241","9","22","doing"),
("242","9","23","doing"),
("390","9","24","doing"),
("243","9","25","doing"),
("244","9","26","doing"),
("245","9","27","doing"),
("79","10","1","doing"),
("373","10","1","doing"),
("560","10","7","doing"),
("83","10","13","doing"),
("356","10","21","doing"),
("250","10","22","doing"),
("251","10","23","doing"),
("391","10","24","doing"),
("252","10","25","doing"),
("253","10","26","doing"),
("254","10","27","doing"),
("559","10","29","doing"),
("92","11","1","doing"),
("379","11","1","doing"),
("96","11","13","doing"),
("362","11","21","doing"),
("259","11","22","doing"),
("260","11","23","doing"),
("261","11","25","doing"),
("262","11","26","doing"),
("263","11","27","doing"),
("402","11","32","doing"),
("419","11","33","doing"),
("105","12","1","doing"),
("380","12","1","doing"),
("109","12","13","doing"),
("363","12","21","doing"),
("268","12","22","doing"),
("269","12","23","doing"),
("270","12","25","doing"),
("271","12","26","doing"),
("272","12","27","doing"),
("403","12","32","doing");
INSERT INTO student_subject VALUES
("420","12","33","doing"),
("118","13","1","doing"),
("381","13","1","doing"),
("122","13","13","doing"),
("364","13","21","doing"),
("277","13","22","doing"),
("278","13","23","doing"),
("279","13","25","doing"),
("280","13","26","doing"),
("281","13","27","doing"),
("404","13","32","doing"),
("421","13","33","doing"),
("131","14","1","doing"),
("382","14","1","doing"),
("135","14","13","doing"),
("365","14","21","doing"),
("286","14","22","doing"),
("287","14","23","doing"),
("288","14","25","doing"),
("289","14","26","doing"),
("290","14","27","doing"),
("405","14","32","doing"),
("422","14","33","doing"),
("144","15","1","doing"),
("383","15","1","doing"),
("148","15","13","doing"),
("366","15","21","doing"),
("295","15","22","doing"),
("296","15","23","doing"),
("297","15","25","doing"),
("298","15","26","doing"),
("299","15","27","doing"),
("406","15","32","doing"),
("423","15","33","doing"),
("157","16","1","doing"),
("384","16","1","doing"),
("161","16","13","doing"),
("367","16","21","doing"),
("304","16","22","doing"),
("305","16","23","doing"),
("306","16","25","doing"),
("307","16","26","doing"),
("308","16","27","doing"),
("407","16","32","doing"),
("424","16","33","doing"),
("170","17","1","doing"),
("385","17","1","doing"),
("174","17","13","doing"),
("368","17","21","doing"),
("313","17","22","doing"),
("314","17","23","doing"),
("315","17","25","doing"),
("316","17","26","doing"),
("317","17","27","doing"),
("408","17","32","doing"),
("425","17","33","doing"),
("183","18","1","doing"),
("386","18","1","doing"),
("187","18","13","doing"),
("369","18","21","doing"),
("322","18","22","doing"),
("323","18","23","doing"),
("324","18","25","doing"),
("325","18","26","doing"),
("326","18","27","doing"),
("409","18","32","doing"),
("426","18","33","doing"),
("331","19","1","doing"),
("374","19","1","doing"),
("562","19","7","doing"),
("332","19","13","doing"),
("357","19","21","doing"),
("333","19","22","doing"),
("334","19","23","doing"),
("392","19","24","doing"),
("335","19","25","doing"),
("336","19","26","doing"),
("337","19","27","doing"),
("561","19","29","doing"),
("342","20","1","doing"),
("375","20","1","doing"),
("343","20","13","doing"),
("358","20","21","doing"),
("344","20","22","doing"),
("345","20","23","doing"),
("388","20","24","doing"),
("346","20","25","doing"),
("347","20","26","doing"),
("348","20","27","doing"),
("435","21","1","doing"),
("517","21","7","doing"),
("427","21","13","doing"),
("428","21","21","doing"),
("429","21","22","doing"),
("430","21","23","doing"),
("431","21","24","doing"),
("432","21","25","doing"),
("433","21","26","doing"),
("434","21","27","doing"),
("515","21","29","doing");
INSERT INTO student_subject VALUES
("540","21","30","doing"),
("516","21","31","doing"),
("436","21","32","doing"),
("437","21","33","doing"),
("446","22","1","doing"),
("520","22","7","doing"),
("438","22","13","doing"),
("439","22","21","doing"),
("440","22","22","doing"),
("441","22","23","doing"),
("442","22","24","doing"),
("443","22","25","doing"),
("444","22","26","doing"),
("445","22","27","doing"),
("518","22","29","doing"),
("542","22","30","doing"),
("519","22","31","doing"),
("447","22","32","doing"),
("448","22","33","doing"),
("457","23","1","doing"),
("523","23","7","doing"),
("449","23","13","doing"),
("450","23","21","doing"),
("451","23","22","doing"),
("452","23","23","doing"),
("453","23","24","doing"),
("454","23","25","doing"),
("455","23","26","doing"),
("456","23","27","doing"),
("521","23","29","doing"),
("544","23","30","doing"),
("522","23","31","doing"),
("458","23","32","doing"),
("459","23","33","doing"),
("468","24","1","doing"),
("526","24","7","doing"),
("460","24","13","doing"),
("461","24","21","doing"),
("462","24","22","doing"),
("463","24","23","doing"),
("464","24","24","doing"),
("465","24","25","doing"),
("466","24","26","doing"),
("467","24","27","doing"),
("524","24","29","doing"),
("546","24","30","doing"),
("525","24","31","doing"),
("469","24","32","doing"),
("470","24","33","doing"),
("479","25","1","doing"),
("529","25","7","doing"),
("471","25","13","doing"),
("472","25","21","doing"),
("473","25","22","doing"),
("474","25","23","doing"),
("475","25","24","doing"),
("476","25","25","doing"),
("477","25","26","doing"),
("478","25","27","doing"),
("527","25","29","doing"),
("548","25","30","doing"),
("528","25","31","doing"),
("480","25","32","doing"),
("481","25","33","doing"),
("490","26","1","doing"),
("532","26","7","doing"),
("482","26","13","doing"),
("483","26","21","doing"),
("484","26","22","doing"),
("485","26","23","doing"),
("486","26","24","doing"),
("487","26","25","doing"),
("488","26","26","doing"),
("489","26","27","doing"),
("530","26","29","doing"),
("550","26","30","doing"),
("531","26","31","doing"),
("491","26","32","doing"),
("492","26","33","doing"),
("501","27","1","doing"),
("535","27","7","doing"),
("493","27","13","doing"),
("494","27","21","doing"),
("495","27","22","doing"),
("496","27","23","doing"),
("497","27","24","doing"),
("498","27","25","doing"),
("499","27","26","doing"),
("500","27","27","doing"),
("533","27","29","doing"),
("552","27","30","doing"),
("534","27","31","doing"),
("502","27","32","doing"),
("503","27","33","doing"),
("512","28","1","doing"),
("538","28","7","doing"),
("504","28","13","doing"),
("505","28","21","doing"),
("506","28","22","doing"),
("507","28","23","doing");
INSERT INTO student_subject VALUES
("508","28","24","doing"),
("509","28","25","doing"),
("510","28","26","doing"),
("511","28","27","doing"),
("536","28","29","doing"),
("554","28","30","doing"),
("537","28","31","doing"),
("513","28","32","doing"),
("514","28","33","doing");




CREATE TABLE `students` (
  `student_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_key` varchar(100) DEFAULT NULL,
  `school_id` int(10) unsigned NOT NULL,
  `parent_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  `hostel_id` int(11) NOT NULL,
  `room_id` int(11) NOT NULL,
  `bedspace` int(11) DEFAULT NULL,
  `first_name` varchar(50) NOT NULL,
  `other_name` varchar(50) NOT NULL,
  `last_name` varchar(50) NOT NULL,
  `serial_number` varchar(50) NOT NULL,
  `pass` char(255) NOT NULL,
  `first_password` varchar(200) NOT NULL,
  `new_password` varchar(200) NOT NULL,
  `email` varchar(200) NOT NULL,
  `dob` date NOT NULL,
  `gender` varchar(10) NOT NULL,
  `religion` varchar(50) NOT NULL,
  `reg_no` varchar(20) NOT NULL,
  `adm_no` varchar(60) NOT NULL,
  `graduation_year` varchar(20) NOT NULL,
  `graduation_term` varchar(10) NOT NULL,
  `deactivation_sess` char(20) NOT NULL,
  `deactivation_term` char(10) NOT NULL,
  `disability` varchar(300) NOT NULL,
  `passport` varchar(200) NOT NULL,
  `relationship` varchar(20) NOT NULL,
  `new_student` varchar(20) NOT NULL,
  `new_student_finance` varchar(20) NOT NULL,
  `forget_token` varchar(50) NOT NULL,
  `login_attempt` int(11) NOT NULL,
  `login_last_time` int(11) unsigned NOT NULL,
  `scratch_card_attempt` int(10) unsigned NOT NULL,
  `scratch_card_last_time` int(10) unsigned NOT NULL,
  `transfer` char(20) NOT NULL,
  `transfer_school_id` int(11) NOT NULL,
  `exempt` char(10) NOT NULL,
  `check_result` varchar(20) NOT NULL DEFAULT 'check_result',
  `activation` varchar(20) NOT NULL,
  `date_created` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`student_id`),
  UNIQUE KEY `user_key` (`user_key`),
  KEY `activation` (`activation`),
  KEY `parent_id` (`parent_id`),
  KEY `plan_id` (`plan_id`),
  KEY `class_subclass` (`class_id`,`subclass_id`,`activation`),
  KEY `exempt` (`exempt`),
  KEY `check_result` (`check_result`),
  KEY `date_created` (`date_created`),
  KEY `school_id` (`school_id`),
  KEY `serial_number` (`serial_number`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;


INSERT INTO students VALUES
("4","41683279af79","168","0","0","0","0","0","0","","GOLD","ISAAC","ADEYEYE","S/20/0036","$2y$10$JxGWya96hVuvXXcmu4sDIeUrgYWmJrVr39QRxuhWf5GbEjQuAaSxC","yegold","yegold","","2008-08-25","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/7a1b9c.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("5","5168b551dc07","168","0","2","0","0","0","0","","ESTHER","","BAMIDELE","S/20/0036","$2y$10$bGLfV11.gPftAgl2S2H1NePwFdtDkIIk5KJXl8.CsmI5IUGghz1uK","leesther","leesther","","2007-09-15","female","Christianity","","","","","","","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/ae58ad.jpg","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-04-07 07:49:36"),
("6","61684aea3389","168","0","0","0","0","0","0","","RUTH","","IPUSU","S/20/0036","$2y$10$lPhxKdex./QX.tjcm78CAuS7yWHozWqn.LnIQLnzbsrZFLFe78A8O","suruth","suruth","","2007-06-10","female","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/9a54d9.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("7","71684abcdc1f","168","0","2","0","0","0","0","","GOODNESS","","IKE","S/20/0036","$2y$10$7AkVD1CbkCeaR7uhdE19rOkLUkiapEtRzeYMWKufowjN.CWuNsgy6","kegoodness","kegoodness","","2005-11-01","male","Christianity","","","","","","","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/ff9925.jpg","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-04-07 07:49:36"),
("8","8168ed234d17","168","0","0","0","0","0","0","","OSHOBUGE","COLLINS","MOSES","S/20/0036","$2y$10$syJ4NiIGeTvrRfibsalote/1xMM0QxNxHH4qV0Fk7BDv0pCIk/55C","esoshobuge","esoshobuge","","2007-10-03","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/b1f2ab.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("9","9168ee573e1c","168","36","2","0","0","0","0","","PEACE","","NJAGU","S/20/0036","$2y$10$G/ZV0XpHitXBMln6ZrsO/uLr/7nsdG4K3jHerEDirSWZ93TPLkjK6","gupeace","gupeace","","2007-08-08","female","Christianity","","","","","2021/2022","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/a1cdcb.jpg","","","new_student","","0","0","0","0","","0","","check_result","deactivated","2021-04-07 07:49:36"),
("10","10168a64b4cc8","168","0","2","0","0","0","0","","EVJOWOKE","GIFT","SOLOMON","S/20/0036","$2y$10$Oc9OrYhDvdt46NViLpj.OOiBLfSUKQ2pRLvu4t6fw9C5h7cmEjlsa","onevjowoke","onevjowoke","","2007-03-06","female","Christianity","","","","","","","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/ee1414.jpg","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-04-07 07:49:36"),
("11","11168eb0ab71f","168","69","0","0","0","0","0","","JOSHUA","","UCHE","S/20/0036","$2y$10$Nyp8JgfZljFXaXwbTmBUm.ibqpx0EzgYotHZZrUL.ReCPUfipcJsu","hejoshua","hejoshua","","2007-11-27","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/c75a21.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("12","12168bd7e4c93","168","20","0","0","0","0","0","","VICTOR","","YAKUBU","S/20/0036","$2y$10$/X6GxqCHyn8AUrhqRl6KhuIXrr41CbDZT1uleeowI2FV0DVxmRCDi","buvictor","buvictor","","2005-09-30","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/86f9a9.jpg","PARENT","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("13","13168e483c5f1","168","0","0","0","0","0","0","","FORTUNE","","ADEYEYE","S/20/0036","$2y$10$o6bj2WdRKb.wk2PjwPzF3uMJpsnVtXe/r2P3O0sWJIDqSwce476Nu","yefortune","yefortune","","2018-11-01","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/096bb3.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("14","141682db384bd","168","52","0","0","0","0","0","","DESTINY","ONYEKACHI","EJIOGU","S/20/0036","$2y$10$66yQ5M6wlHHGOh5RTGCXBu53VQhx/8j3UlGGh8PxaMtclafDTcvmm","gudestiny","gudestiny","zejiogu@yahoo.com","2005-02-10","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/669062.jpg","PARENT","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("15","1516861811c67","168","0","0","0","0","0","0","","JOELLA","","JOELSON","S/20/0036","$2y$10$nAzf520Q8U7DOOjL/ni3zunoDZFGlmC9B7cqserl5vV6O2NHTsdja","onjoella","onjoella","","2018-11-01","female","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/de1447.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("16","16168ce511a19","168","0","0","0","0","0","0","","HOPE","","JOHNSON","S/20/0036","$2y$10$xy1OYLZlu2V6LQ1pmu9weu6LKzA543i89w9rYALaGM/U5igGChCFS","onhope","onhope","","2018-11-01","male","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","","/home/zeonglob/public_html/trustacademy//private/images/student_passport/7a5262.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("17","1716824ac3925","168","87","0","0","0","0","0","","EPHRAIM","","KULA","S/20/0036","$2y$10$vuKQyCVzNsCt6LRDwxPGx.lq8m4UhcBBPG8sh39R5Jlm0C/IIpPT6","zeonglobal","zeonglobal","","2006-07-15","male","Christianity","340","","2020/2021","3rd Term","2020/2021","1st Term","FIT","","PARENT","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("18","181686f10024d","168","0","0","0","0","0","0","","BEAUTY","","ABOKONDU","S/20/0036","$2y$10$ABo0IyvGn4QC.PsQQ1pA/.7EJ.g5w3I44gXpMEyiEJVDovBIuO78.","dubeauty","dubeauty","","2015-06-18","female","Christianity","","","2020/2021","3rd Term","2020/2021","1st Term","FIT","/home/zeonglob/public_html/trustacademy//private/images/student_passport/c9f0f6.jpg","","","new_student","","0","0","0","0","","0","","check_result","graduated","2021-04-07 07:49:36"),
("19","19168c2e2cb10","168","0","2","0","0","0","0","","JAHKIM","JAPHETH","SUKEIMAN","S/20/0037","$2y$10$.rayK5gL8yEZv0PMZHsWru4PrTtHCm80fBSU1VDxERRJQJLFinQkW","anjahkim","anjahkim","","2006-02-12","male","Christianity","","","","","","","Fit","/home/zeonglob/public_html/trustacademy//private/images/student_passport/6aa8a9.jpg","","","new_student","","0","1625477573","0","0","","0","","check_result","activated","2021-04-30 09:00:48"),
("20","20168aeb09a4e","168","0","2","0","0","0","0","","UCHE","SAMUEL","BERNARD","S/20/0038","$2y$10$/aevcjjEWQQ6Fpbg3hv4ZOkoGJRqU66CwCTrJ95Ota.Bg8HOvWyUK","rduche","rduche","","2005-11-11","male","Christianity","","","","","2021/2022","1st Term","Fit","/home/zeonglob/public_html/trustacademy//private/images/student_passport/a6db23.jpg","","","new_student","","0","1625479789","0","0","","0","","check_result","deactivated","2021-04-30 09:04:11"),
("21","21168cf9658d5","168","0","1","0","0","0","0","","EMMANUELLA","","OBAEDO","S/21/0001","$2y$10$c0Xsa8MUip77WPHV1.6zEOj1DhuAc5W0ZVG6WpRouue2u5EkHTAmS","doemmanuella","doemmanuella","","2008-12-25","female","Christianity","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 09:59:18"),
("22","2216837ee68ce","168","0","1","0","0","0","0","","FADILA","","ABDULLAHI","S/21/0002","$2y$10$ahXb/21FcHtfBbiVxJ5vZ.hX5u.tB4hv1.RVmm1pdu/IQeg3FbY9i","hifadila","hifadila","","2009-01-23","female","Islam","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:00:22"),
("23","23168aa8cf4d2","168","0","1","0","0","0","0","","FAWZIYA","","ABDULLAHI","S/21/0003","$2y$10$rCBoXAYHF1DNZ2pbrNKKpO0lOMMGABquqfArlANvNdB0E3n0uhmMy","hifawziya","hifawziya","","2009-01-23","female","Islam","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:01:42"),
("24","241680fd328c5","168","0","1","0","0","0","0","","PAUL","","DOGO","S/21/0004","$2y$10$10fY3/iufuVINYK2uVzpeOQLZHlZRoZIpBAEqfekV/oKLuOjonf5C","gopaul","gopaul","","2006-09-30","male","Christianity","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:02:33"),
("25","25168158c5aba","168","0","1","0","0","0","0","","GRADUATE","","KENNEDY","S/21/0005","$2y$10$cGj2WQpbA8ODPZXUNPOsC.hRlvkfLBAfLPEFHdK/wjp4CfwY4t8Em","dygraduate","dygraduate","","2007-10-11","male","Christianity","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:03:28"),
("26","26168964edd7b","168","0","1","0","0","0","0","","JEMIMAH","","PAUL","S/21/0006","$2y$10$gavjXfyQTX8n97xVYbFEJ.ReSaYEHqB5SmToelK85GHtT1.Ab3wa2","uljemimah","uljemimah","","2008-09-10","female","Christianity","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:04:27"),
("27","271687bcb609e","168","0","1","0","0","0","0","","DANIEL","","SAMBO","S/21/0007","$2y$10$iAGeAEyOWsUC1ODlNDGSv.lBXDWoGG.FRi8trsQHXes1XmF8BWie2","bodaniel","bodaniel","","2007-08-27","male","Christianity","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:05:22"),
("28","28168de82abae","168","0","1","0","0","0","0","","PRAISE","","UZOMA","S/21/0008","$2y$10$RFBrUSRRwRW1M5lG9djPw.El9AARK6F6RHMNcR6vyHNcvQPbCHwdW","mapraise","mapraise","","2009-10-01","female","Christianity","","","","","","","Fit","","","","new_student","","0","0","0","0","","0","","check_result","activated","2021-12-22 10:06:04");




CREATE TABLE `subclass` (
  `subclass_id` int(11) NOT NULL AUTO_INCREMENT,
  `subclass_name` varchar(30) NOT NULL,
  PRIMARY KEY (`subclass_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `subject_class` (
  `subject_class_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  PRIMARY KEY (`subject_class_id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=latin1;


INSERT INTO subject_class VALUES
("26","13","1"),
("27","21","1"),
("28","22","1"),
("29","23","1"),
("30","24","1"),
("31","25","1"),
("32","26","1"),
("33","27","1"),
("38","1","1"),
("39","32","1"),
("40","33","1"),
("41","1","2"),
("42","7","2"),
("44","13","2"),
("45","21","2"),
("46","22","2"),
("47","23","2"),
("48","24","2"),
("49","25","2"),
("50","26","2"),
("51","27","2"),
("53","29","2"),
("58","1","3"),
("59","10","3"),
("60","13","3"),
("61","21","3"),
("62","22","3"),
("63","23","3"),
("64","24","3"),
("65","25","3"),
("66","26","3"),
("67","27","3"),
("68","28","3"),
("69","29","3"),
("70","30","3"),
("71","31","3"),
("72","32","3"),
("73","33","3"),
("74","7","3"),
("75","29","1"),
("76","31","1"),
("77","7","1"),
("79","30","1");




CREATE TABLE `subjects` (
  `subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_name` varchar(50) NOT NULL,
  `subject_short` varchar(30) NOT NULL,
  `groups` varchar(100) NOT NULL,
  PRIMARY KEY (`subject_id`),
  KEY `groups` (`groups`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1;


INSERT INTO subjects VALUES
("1","ENGLISH LANGUAGE","ENG","both"),
("2","NUMERACY","NUMERACY","junior"),
("3","CREATIVE ART","CRE-ART","junior"),
("4","LITERACY","LIT","junior"),
("5"," RELIGIOUS STUDIES","RELIGIOUS","junior"),
("6","NURSERY SCIENCE","NUR SCI","junior"),
("7","INFORMATION TECHNOLOGY","ICT","both"),
("8","PRACTICAL LIFE","PRA LIFE","junior"),
("9","BUSINESS STUDIES","BUS","junior"),
("10","SPEECH SCIENCE","SPEECH","junior"),
("11","FRENCH LANGUAGE","FRE","junior"),
("12","RELIGIOUS & VALUE EDUCATION","R & VE","junior"),
("13","MATHEMATICS","MATHS","both"),
("14","BASIC SCIENCE AND TECHNOLOGY","BASIC SCI & TECH","junior"),
("15","PRE VOCATIONAL STUDIES","P.V.S","junior"),
("16","NIGERIAN LANGUAGE","NIG LANG","junior"),
("18","QUANTITATIVE REASONING","QUAN ","junior"),
("19","VERBAL REASONING","VERBAL","junior"),
("20","CULTURAL & CREATIVE ART","CCA","junior"),
("21","PHYSICS","PHYS","senior"),
("22","CHEMISTRY","CHEM","both"),
("23","BIOLOGY","BIO","both"),
("24","AGRICULTURAL SCIENCE","AGRIC","senior"),
("25","CIVIC EDUCATION","CIVIC","both"),
("26","FURTHER MATHEMATICS","F MATHS","both"),
("27","ECONOMICS","ECONS","both"),
("28","COMMERCE","COMM","senior"),
("29","DATA PROCESSING","DATA","both"),
("30","GEOGRAPHY","GEO","both"),
("31","RELIGIOUS STUDIES","CRS/IRS","senior"),
("32","LITERATURE IN ENGLISH","LIT-IN-ENG","senior"),
("33","GOVERNMENT","GOVT","senior");




CREATE TABLE `test` (
  `test_id` int(11) NOT NULL AUTO_INCREMENT,
  `test_page_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `student_score` float DEFAULT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` char(20) NOT NULL,
  `terms` char(20) NOT NULL,
  PRIMARY KEY (`test_id`),
  KEY `test_page_id` (`test_page_id`),
  KEY `class_id` (`class_id`),
  KEY `subclass_id` (`subclass_id`),
  KEY `subject_id` (`subject_id`),
  KEY `student_score` (`student_score`),
  KEY `status` (`status`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `test_page` (
  `test_page_id` int(11) NOT NULL AUTO_INCREMENT,
  `subject_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `test_title` varchar(100) NOT NULL,
  `total_score` float NOT NULL,
  `students` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` char(20) NOT NULL,
  `terms` char(20) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`test_page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `topic` (
  `topic_id` int(11) NOT NULL AUTO_INCREMENT,
  `topic_name` varchar(200) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `published` varchar(20) NOT NULL DEFAULT 'not_published',
  `discussion_signal` tinyint(4) NOT NULL,
  `sessions` varchar(15) NOT NULL,
  `terms` varchar(15) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`topic_id`),
  KEY `class_id` (`class_id`),
  KEY `subclass_id` (`subclass_id`),
  KEY `subject_id` (`subject_id`),
  KEY `user_id` (`user_id`),
  KEY `published` (`published`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `topic_discussions` (
  `topic_discussions_id` int(11) NOT NULL AUTO_INCREMENT,
  `topic_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `table_name` varchar(20) NOT NULL,
  `discussion` varchar(300) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`topic_discussions_id`),
  KEY `user_id` (`user_id`),
  KEY `topic_id` (`topic_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;






CREATE TABLE `transfer_current_fees_info` (
  `current_fees_info_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int(11) unsigned NOT NULL,
  `class_id` int(10) unsigned NOT NULL,
  `current_school_fees` decimal(15,2) NOT NULL,
  `past_debt` decimal(15,2) NOT NULL,
  `amount_to_pay` decimal(15,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `discount` decimal(15,2) NOT NULL,
  `surcharge_amount` decimal(15,2) NOT NULL,
  `surcharge_reason` varchar(500) NOT NULL,
  `wave_over` decimal(15,2) NOT NULL,
  `owing` decimal(15,2) NOT NULL,
  `present_owing` decimal(15,2) NOT NULL,
  `class_fee` decimal(15,2) NOT NULL,
  `plan_fee` decimal(15,2) NOT NULL,
  `new_student_fee` decimal(15,2) NOT NULL,
  `room_fee` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`current_fees_info_id`),
  KEY `student_id` (`student_id`),
  KEY `sess_term` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_fees_discount` (
  `fees_discount_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `reason` varchar(300) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`fees_discount_id`),
  KEY `student_id` (`student_id`),
  KEY `session_term` (`sessions`,`terms`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_result_main` (
  `result_main_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `class_name` char(50) NOT NULL,
  `section` varchar(10) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `subclass_name` char(50) NOT NULL,
  `total` float NOT NULL,
  `cumulative_total` float NOT NULL,
  `total_obtainable` float NOT NULL,
  `cumu_total_obtainable` float NOT NULL,
  `average` varchar(10) NOT NULL,
  `cumulative_average` varchar(10) NOT NULL,
  `position_class` varchar(20) NOT NULL,
  `cumulative_position_class` varchar(20) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `cumulative_position_subclass` varchar(20) NOT NULL,
  `student_attendance` int(11) DEFAULT NULL,
  `total_attendance` int(11) DEFAULT NULL,
  `total_student_class` int(10) unsigned NOT NULL,
  `total_student_subclass` int(10) unsigned NOT NULL,
  `cumulative_total_student_class` int(10) unsigned NOT NULL,
  `cumulative_total_student_subclass` int(10) unsigned NOT NULL,
  `handwriting` int(11) NOT NULL,
  `cumulative_handwriting` int(11) NOT NULL,
  `neatness` int(11) NOT NULL,
  `cumulative_neatness` int(11) NOT NULL,
  `punctuality` int(11) NOT NULL,
  `cumulative_punctuality` int(11) NOT NULL,
  `attentiveness` int(11) NOT NULL,
  `cumulative_attentiveness` int(11) NOT NULL,
  `initiative` int(11) NOT NULL,
  `cumulative_initiative` int(11) NOT NULL,
  `respect` int(11) NOT NULL,
  `cumulative_respect` int(11) NOT NULL,
  `obedience` int(11) NOT NULL,
  `cumulative_obedience` int(11) NOT NULL,
  `attitude` int(11) NOT NULL,
  `cumulative_attitude` int(11) NOT NULL,
  `honesty` int(11) NOT NULL,
  `cumulative_honesty` int(11) NOT NULL,
  `creativity` int(11) NOT NULL,
  `cumulative_creativity` int(11) NOT NULL,
  `behaviour1_name` varchar(100) NOT NULL,
  `behaviour2_name` varchar(100) NOT NULL,
  `behaviour3_name` varchar(100) NOT NULL,
  `behaviour4_name` varchar(100) NOT NULL,
  `behaviour5_name` varchar(100) NOT NULL,
  `behaviour6_name` varchar(100) NOT NULL,
  `behaviour7_name` varchar(100) NOT NULL,
  `behaviour8_name` varchar(100) NOT NULL,
  `behaviour9_name` varchar(100) NOT NULL,
  `behaviour10_name` varchar(100) NOT NULL,
  `promotion` varchar(50) NOT NULL,
  `promotion_class_id` int(11) NOT NULL,
  `promotion_class_name` varchar(50) NOT NULL,
  `promotion_comment` varchar(500) NOT NULL,
  `promotion_subclass_id` int(11) NOT NULL,
  `promotion_subclass_name` varchar(50) NOT NULL,
  `pass_ave` varchar(5) NOT NULL,
  `scratch_card_number` varchar(16) NOT NULL,
  `next_term_begins` date NOT NULL,
  `ca1_total_score` float NOT NULL,
  `ca2_total_score` float NOT NULL,
  `ca3_total_score` float NOT NULL,
  `ca4_total_score` float NOT NULL,
  `ca5_total_score` float NOT NULL,
  `ca6_total_score` float NOT NULL,
  `ca_total_score` float NOT NULL,
  `exam_total_score` float NOT NULL,
  `no_of_ca` int(11) NOT NULL,
  `exam_name` varchar(50) NOT NULL,
  `ca_name_1` varchar(50) NOT NULL,
  `ca_name_2` varchar(50) NOT NULL,
  `ca_name_3` varchar(50) NOT NULL,
  `ca_name_4` varchar(50) NOT NULL,
  `ca_name_5` varchar(50) NOT NULL,
  `ca_name_6` varchar(50) NOT NULL,
  `principal_name` varchar(100) NOT NULL,
  `principal_comment` text NOT NULL,
  `form_staff_name` varchar(200) NOT NULL,
  `form_staff_comment` text NOT NULL,
  `student_affairs_comment` text NOT NULL,
  `cumulative_principal_comment` text NOT NULL,
  `cumulative_form_staff_comment` text NOT NULL,
  `principal_signature` varchar(150) NOT NULL,
  `second_principal_signature` varchar(60) NOT NULL,
  `visited` int(11) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  PRIMARY KEY (`result_main_id`),
  KEY `student_id` (`student_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `promotion` (`promotion`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_result_subject` (
  `result_subject_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `subclass_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `subclass_name` varchar(50) NOT NULL,
  `subject_name` varchar(100) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `ca1` float DEFAULT NULL,
  `ca2` float DEFAULT NULL,
  `ca3` float DEFAULT NULL,
  `ca4` float DEFAULT NULL,
  `ca5` float DEFAULT NULL,
  `ca6` float DEFAULT NULL,
  `ca` float DEFAULT NULL,
  `exam` float DEFAULT NULL,
  `sum_total` float DEFAULT NULL,
  `total` float NOT NULL,
  `cumulative_score` float NOT NULL,
  `cumulative_score_percent` float DEFAULT NULL,
  `cumulative_position` char(10) NOT NULL,
  `position_subclass` varchar(20) NOT NULL,
  `grade` varchar(5) NOT NULL,
  `grade_comment` varchar(50) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `staff_comment` varchar(60) NOT NULL,
  `attendance` int(11) DEFAULT NULL,
  `percent_attendance` varchar(10) DEFAULT NULL,
  `handwriting` int(11) NOT NULL,
  `neatness` int(11) NOT NULL,
  `punctuality` int(11) NOT NULL,
  `attentiveness` int(11) NOT NULL,
  `initiative` int(11) NOT NULL,
  `respect` int(11) NOT NULL,
  `obedience` int(11) NOT NULL,
  `attitude` int(11) NOT NULL,
  `honesty` int(11) NOT NULL,
  `creativity` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  PRIMARY KEY (`result_subject_id`),
  KEY `sess_term` (`sessions`,`terms`),
  KEY `foreign_keys` (`student_id`,`class_id`,`subclass_id`,`subject_id`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_salary_info` (
  `salary_info_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `current_salary` decimal(15,2) NOT NULL,
  `past_debt` decimal(15,2) NOT NULL,
  `amount_to_pay` decimal(15,2) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `wave_over` decimal(15,2) NOT NULL,
  `current_debt` decimal(15,2) NOT NULL,
  `deduct` decimal(15,2) NOT NULL,
  `appreciation_amount` decimal(15,2) NOT NULL,
  `appreciation_reason` varchar(500) NOT NULL,
  `owing` decimal(15,2) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  PRIMARY KEY (`salary_info_id`),
  KEY `staff_id` (`staff_id`),
  KEY `sessions` (`sessions`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_salary_payment` (
  `salary_payment_id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `accountant_id` int(10) unsigned NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(20) NOT NULL,
  `months` varchar(30) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`salary_payment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transfer_school_fees` (
  `school_fees_id` int(11) NOT NULL AUTO_INCREMENT,
  `transaction_id` char(20) NOT NULL,
  `student_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  `school_fees_payment_mode_id` int(11) NOT NULL,
  `payment_mode` varchar(300) NOT NULL,
  `staff_name` varchar(200) NOT NULL,
  `amount_paid` decimal(15,2) NOT NULL,
  `payment_no` varchar(20) NOT NULL,
  `fees_status` varchar(20) NOT NULL,
  `sessions` varchar(20) NOT NULL,
  `terms` varchar(10) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`school_fees_id`),
  KEY `sessions` (`sessions`),
  KEY `terms` (`terms`),
  KEY `transaction_id` (`transaction_id`),
  KEY `school_fees_payment_mode_id` (`school_fees_payment_mode_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `transferred_students` (
  `transferred_student_id` int(11) NOT NULL AUTO_INCREMENT,
  `student_id` int(11) NOT NULL,
  `parent_id` int(11) NOT NULL,
  `student_name` varchar(300) NOT NULL,
  `class_id` int(11) NOT NULL,
  `old_class_name` varchar(100) NOT NULL,
  `new_class_name` varchar(100) NOT NULL,
  `serial_number` varchar(50) NOT NULL,
  `school_id` int(11) NOT NULL,
  `database_name` varchar(100) NOT NULL,
  `status` varchar(30) NOT NULL,
  `date_transferred` datetime NOT NULL,
  PRIMARY KEY (`transferred_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;






CREATE TABLE `zoom` (
  `zoom_id` int(11) NOT NULL AUTO_INCREMENT,
  `class_id` int(11) NOT NULL,
  `class_category_id` int(11) NOT NULL,
  `email` varchar(100) NOT NULL,
  `pass` varchar(50) NOT NULL,
  `api_key` varchar(200) NOT NULL,
  `api_secret` varchar(200) NOT NULL,
  `meeting_id` varchar(20) NOT NULL,
  `meeting_password` varchar(30) NOT NULL,
  `meeting_url_pwd` varchar(400) NOT NULL,
  `host_key` varchar(20) NOT NULL,
  `date_added` datetime NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`zoom_id`),
  KEY `class_id` (`class_id`),
  KEY `class_category_id` (`class_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;






