GCSE Computer Science Questions On Relational Databases and SQL
GCSE Computer Science Questions On Relational Databases and SQL
1. Write an SQL query to retrieve all records from the Students table. (2 Marks)
2. Write an SQL query to add a new student to the Students table. (2 Marks)
3. Write an SQL query to update the CourseID for StudentID 2 to 103. (2 Marks)
4. Write an SQL query to delete the student with StudentID 6 from the Students table. (2
Marks)
5. Write an SQL query to retrieve the names of students enrolled in the Mathematics
course. (4 Marks)