DBWorkout

Gamified SQL Practice Tool

A platform built for Virginia Tech students. Used in CS 4604: Introduction to Database Management Systems to make hands-on query practice immediate, iterative, and engaging.

Course
CS 4604 – Intro to Database Management Systems
Status
Active Development
Funding
TLOS Grants — $10,000 total
($5,000 Fall 2024 · $5,000 Fall 2025)
Team
20+ members · 4 project leads

Team

Photo of Sehrish Basir Nizamani
Sehrish Basir Nizamani
Faculty – Computer Science
Photo of Saad Nizamani
Saad Nizamani
Faculty – Computer Science
Photo of Sally Hamouda
Sally Hamouda
Faculty – Computer Science
Photo of Deepika Devaraj
Deepika Devaraj
Undergraduate Research Assistant
Photo of Tien Nguyen
Tien Nguyen
Undergraduate Research Assistant
Photo of Jaren Goldberg
Jaren Goldberg
Undergraduate Research Assistant

Overview

DBWorkout is an interactive, web-based SQL practice platform designed specifically for Virginia Tech students in CS 4604. The platform gives students a safe space to write and execute SQL queries during in-class activities, with instant feedback on their work and a competitive leaderboard to keep energy high in the room.

Writing SQL takes practice, and traditional coursework rarely gives students enough low-stakes chances to experiment, make mistakes, and learn from them in real time. DBWorkout closes that gap by putting a full SQL sandbox in students' hands the moment class begins, with gamification elements that make the process genuinely motivating.

Why DBWorkout?

SQL is one of the most widely used skills in computing, yet it is notoriously hard to teach well. Reading about queries is not the same as writing them. Students need to run code, see what breaks, and fix it. Most existing tools either don't give immediate enough feedback, require complex local setup, or aren't designed with a classroom in mind.

DBWorkout was built from the ground up to solve this for VT students. It works in the browser, requires no setup, and is tightly integrated into how CS 4604 runs — from the schemas instructors already use to the pacing of in-class exercises. The gamified layer isn't just for fun: research consistently shows that points, leaderboards, and time pressure increase focus and task completion during active learning sessions.

For students, DBWorkout means more chances to practice, faster feedback when something goes wrong, and a clearer picture of how they're doing across the semester. For instructors, it means less time grading boilerplate exercises and more time engaging with students on the concepts that actually trip them up.

For Students

  • Progressive SQL challenges at varying difficulty levels
  • Real-time query validation with immediate, targeted feedback
  • Points and live leaderboards updated as answers come in
  • Personal dashboard to track progress across all sessions for the semester
  • Timer display showing time remaining on each task

Practice Sessions

Each session presents a set of SQL tasks on a database schema chosen by the instructor. Students work through questions at their own pace, submitting queries and receiving real-time correctness feedback. As sessions progress, the live leaderboard updates dynamically so students and the class can see how everyone is tracking in real time.

Progress Tracking

Students have access to a personal dashboard that aggregates their performance across every session assigned during the semester — helping them identify areas to revisit and gauge their readiness ahead of exams.

For Instructors

Course and Session Management

Instructors work within course instances, keeping students from different semesters cleanly separated. Within a course, instructors can create, manage, and delete practice sessions, import existing sessions for reuse, and assign custom names (e.g., "WHERE Clause Practice," "JOIN Challenge").

Question Authoring and Question Banks

Each session is tied to a database schema of the instructor's choosing. Questions are authored in advance and held privately until the instructor hits Publish during class, keeping the element of surprise intact for competitive sessions. The platform supports question banks organized by category, so instructors can build a reusable library of DML and DDL exercises over time. Each question can be graded against a test case, a reference solution, or a matching table.

Live Classroom Leaderboard

During class, instructors can display a leaderboard showing students ranked by completion time and number of correctly answered questions. It updates live as students submit, giving the room a shared, competitive pulse that keeps participation high.

Analytics Dashboard

After each session, instructors have access to an analytics view showing participation rates, common error patterns, and per-question completion data, giving actionable insight into where the class struggled and what to revisit next time.

Contact

For questions about DBWorkout, interest in collaborating, or to learn about using the platform in your Virginia Tech course, please reach out:

Sehrish Basir Nizamani
Department of Computer Science, Virginia Tech
Email: sehrishbasir@vt.edu