Switch between the two briefs. Complete both for full credit.
Assignment 1Database · SQL · Relationships
SQLite Database Management
Topic: Student Management Database
Objective
Create and manage a small Student Management Database using SQLite.
Demonstrate understanding of databases, tables, relationships, SQL queries, and CRUD operations.
Requirements
Create an SQLite database named student_management.db with these tables:
Students
student_id PK
name
email
phone
course_id FK
Courses
course_id PK
course_name
duration
Marks
mark_id PK
student_id FK
subject
marks
Tasks
1
Create all three tables using SQL
Define appropriate Primary Keys and Foreign Keys.
2
Insert sample data
At least 5 students, 3 courses, and 10 marks records.
3
Write SQL queries to:
· Display all students
· Display students belonging to a particular course
· Find students who scored more than 75 marks
· Calculate the average marks of each student
· Find the student with the highest marks
· Display student name, course name, subject, and marks using JOIN
Develop a basic Student Management Web Application using Python Flask and SQLite.
Combine backend development, database operations, HTML templates, forms, routing, and CRUD.