Independent Preparation Bank for Pakistani Computing Graduates • 100% Free • No Signup
NSCTPrep.
Back to Home
Live Dynamic SQL Execution (Real MariaDB Engine)

Interactive SQL Query & Schema Workbench

Every query is dynamically executed on a real database engine. Typos, wrong column names (e.g. students.dept instead of students.dept_id), syntax mistakes, and invalid joins will trigger realistic SQL engine errors.

Target Exam Challenges1 of 4
Exam Problem Objective

In the CS department, scholarship committees screen candidates with GPA above 3.5.

TASK: Select the `name` and `gpa` of all students with `gpa > 3.5` sorted descending by `gpa`.
Live SQL Engine (MariaDB Execution)
Tables: students, departments, coursesReal database error checking enabled
Live Engine Output
Click 'Run Query' to execute your statement against the database engine.