Back to search

Kansas State University

Towards automatic grading of SQL queries

Abstract

dc:description.abstract

An Introduction to Databases course involves learning the concepts of data storage, manipulation, and retrieval. Relational databases provide an ideal learning path for understanding database concepts. The Structured Query Language (SQL) is a standard language for interacting with relational database. Each database vendor implements a variation of the SQL standard. Furthermore, a particular question that asks for some data can be written in many ways, using somewhat similar or structurally different SQL queries. Evaluation of SQL queries for correctness involves the verification of the SQL syntax and semantics, as well as verification of the output of queries and the usage of correct clauses. An evaluation tool should be independent of the specific database queried, and of the nature of the queries, and should allow multiple ways of providing input and retrieving the output. In this report, we have developed an evaluation tool for SQL queries, which checks for correctness of MySQL and PostgreSQL queries with the help of a parser that can identify SQL clauses. The tool developed will act as a portal for students to test and improve their queries, and finally to submit the queries for grading. The tool minimizes the manual effort required while grading, by taking advantage of the SQL parser to check queries for correctness, provide feedback, and allow submission.

Degree

thesis:*
Level thesis:degree_level
Masters
Department dc:contributor.department
Department of Computer Science
Grantor dc:publisher
Kansas State University
Year dc:date.issued
2018

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Venkatamuniyappa, Vijay Kumar
Advisor dc:description.advisor
  • Doina Caragea

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • © the author. This Item is protected by copyright and/or related rights. You are free to use this Item in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s).
Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2097/38819

Chain of custody

source
Harvested from
Kansas State University
Base URL
krex.k-state.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Venkatamuniyappa, Vijay Kumar. Towards automatic grading of SQL queries. Masters thesis, Kansas State University, 2018. https://hdl.handle.net/2097/38819