student record management

i want a program for student record management for a college including modules of

  1. new addition
  2. cgpa calculation of all semesters
  3. List students
  4. display all records
  5. student personal information record

/* use sql queries to do so e.g. */
create table student_record(student_name varchar(20) not null,cgpa decimal(3,1) not null);

//