Spring 2025 - CS403 - 2
Spring 2025 - CS403 - 2
Please read the following instructions carefully before solving and submitting the assignment solution.
It should be clear that your assignment will not get any credit (zero marks) if:
Objectives:
o Help students become familiar with essential SQL commands such as:
Marks: 20
Scenario
You are required to create a database for a university that tracks students, courses and enrollments using SQL
commands. Here are the table’s details:
1. Students Table: student_id (primary key), first_name, last_name, date_of_birth, gender, email, phone, and
admission_date.
2. Courses Table: course_id (primary key), course_name, department, credits, and instructor_name.
3. Enrollments Table: enrollment_id (primary key), student_id (foreign key), course_id (foreign key),
enrollment_date, and grade.
Question No.1
You are required to insert one (1) record into each table with appropriate data Using SQL Queries.
Question No. 2
Read the statements in column 1 and write the corresponding SQL query for each statement in column 2.
Note: You are required to provide only the SQL queries necessary to perform all the operations mentioned above.
Deadline: Your assignment must be uploaded or submitted on or before the due date: 24th June, 2025.