Skip to main navigation Skip to search Skip to main content

Applications of Large Language Models to SQL Learning

  • Adwaith Chittavally Dugge Gowda
  • , Sharvari Rajiv Joshi
  • , Jaykumar Tandel
  • , Jia Zou

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

We present a Large Language Model (LLM)-assisted SQL learning system that closes the loop from problem discovery to grading. Grounded in real-world data-wrangling scenarios, our agentic workflow (i) synthesizes industry-style practice problems with pedagogical metadata, (ii) produces executable reference SQL via a multi-step operator-planning pipeline, and (iii) grades student submissions against rich rubrics while explaining partial credit and surfacing actionable feedback for revision. We evaluate two core capabilities. First, on a large corpus of realistic SQL problems, our zero-shot, multi-step reference-answer generator, implemented with OpenAI’s o4-mini, substantially outperforms a single-prompt baseline while approaching the state-of-the-art pipelines trained with supervised learning. Second, in a classroom deployment, we compare LLM-assisted grading with human graders across four exam questions, encompassing 326 submissions evaluated by six graders. The results indicate that LLMs can provide grading signals competitive with those of human graders for many question types. Overall, the system is designed for responsible educational use through real-world problems, generated reference solutions, and grading assistance. Together, these features enable scalable practice generation and grading, which improves student learning while augmenting instructor capacity.

Original languageEnglish (US)
Title of host publicationSIGCSE TS 2026 - Proceedings of the 57th ACM Technical Symposium on Computer Science Education V.2
PublisherAssociation for Computing Machinery, Inc
Pages1267-1268
Number of pages2
ISBN (Electronic)9798400722554
DOIs
StatePublished - Feb 17 2026
Event57th SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2026 - St. Louis, United States
Duration: Feb 18 2026 → Feb 21 2026

Publication series

NameSIGCSE TS 2026 - Proceedings of the 57th ACM Technical Symposium on Computer Science Education V.2

Conference

Conference57th SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2026
Country/TerritoryUnited States
CitySt. Louis
Period2/18/26 → 2/21/26

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • Education

Fingerprint

Dive into the research topics of 'Applications of Large Language Models to SQL Learning'. Together they form a unique fingerprint.

Cite this