Description
You are given three tables of information: courses, students, registration the first row of inventory has the following details: reg_id = 23 reg_stud_id = 3 (meaning this registration refers to student ID 3 --> Alladin Kelly) reg_course_id = 1 (meaning this registration refers to class ID 1 --> --SPARE--) reg_period = 3 (period 3) reg_sem = 2 (semester 2) Which is to say that the Alladin is registered as having a spare in period 3 of semester 2. All of your work will be stored in the folder /var/www/html/students/studentFolder/XXXXXX/mysql-test/ An appropriate database.php will already be found there You each have your own database, nothing you do will impact anyone else's work Take a good look at the proceeding page to make sure you are reproducing its functionality correctly. Specifications broken down by level:
As always, the raw level of your mark is determined via functionality as defined below.
|
Database Information+-------------------+ | Tables | +-------------------+ | courses | | registration | | students | +-------------------+ courses table +-------------+-------------+ | Field | Type | +-------------+-------------+ | course_id | int | | course_code | varchar(32) | +-------------+-------------+ students table +------------+---------------+ | Field | Type | +------------+---------------+ | stud_id | int | | stud_fname | varchar(128) | | stud_lname | varchar(128) | +-----------+----------------+ registration table +---------------+------+ | Field | Type | +---------------+------+ | reg_id | int | | reg_stud_id | int | | reg_course_id | int | | reg_period | int | | reg_sem | int | +---------------+------+ |