Effective SQL instruction should provide side-by-side comparisons of similar constructs with identical sample data, teach SQL's logical execution order explicitly, use query visualization exercises where students trace data transformations step-by-step, and implement scaffolded problem sets that require students to apply different SQL constructs rather than defaulting to familiar approaches.
Abstract
As demand for data-centric skills grows across various fields, mastering Structured Query Language (SQL) has become increasingly important for both professionals and students. Despite SQL's English-like syntax, students consistently struggle with advanced concepts like aggregation, joins, and subqueries. While quantitative studies analyzing large student submission datasets identify common errors, they fail to explain the underlying reasons for these difficulties, leaving a critical gap in understanding the root causes of SQL learning challenges. To address this gap, we conducted semi-structured think-aloud interviews with 12 students solving advanced SQL problems, analyzing our data using the Constant Comparative Method to explore how students define and understand SQL concepts, how they apply them in practice, and where understanding and application misalign. Our findings reveal that students confuse similar constructs (WHERE vs. HAVING, JOIN types, etc.) due to linguistic similarities, over-rely on familiar yet inefficient or incorrect patterns, and demonstrate surface-level understanding of grouping and aggregation concepts, often resorting to trial-and-error and excessive subqueries rather than conceptual reasoning. These findings suggest that effective SQL instruction should provide side-by-side comparisons of similar constructs with identical sample data, teach SQL's logical execution order explicitly, use query visualization exercises where students trace data transformations step-by-step, and implement scaffolded problem sets that require students to apply different SQL constructs rather than defaulting to familiar approaches.
Qr-Hint is presented, a system designed to support debugging for both students and educators that identifies the smallest syntactic edit to a wrong query to make it semantically equivalent to a correct one.
Zhou-Yi Jiang, Yi-Hao Hu, Amir Gilad et al.· Proceedings of the VLDB Endo...· 0 citations
An evaluation paradigm that assesses model responses along three criteria grounded in cooperative response theory is designed, suggesting pragmatic redirection is a fundamentally underdeveloped capability in current LLMs.
Akhila Yerukola, Jena D. Hwang, Ming-Qian Zheng et al.· 1 citation
A web-based misconception repository for Java/Processing is presented, with each entry connecting misconceptions to origins, typical errors, and concrete teaching opportunities, and two teaching-relevance criteria are introduced: Learner Discoverability and Learning Barrier.
Corinna List, Moritz Mueller, Michael Kipp· Proceedings of the 2026 Unit...· 0 citations
An AI-powered knowledge graph platform that connects SQL errors to conceptual gaps in undergraduate and graduate database systems courses and confirms that mapping errors to course concepts provides actionable diagnostic insight is presented.
Abdulrahman Alrabah, Weijia Zhou, Xin Gao et al.· 0 citations
SchemaNet is introduced, a high-accuracy supervised model that detects student solution strategies via multi-view features, especially code schemas extracted at sub-problem granularity by the proposed SchemaMiner framework, and validated on a newly constructed, manually annotated dataset of 1,612 Python solutions.
Ying Jiang, Qing Zhou, Da-Yu Wu et al.· International Journal of Dat...· 0 citations
While various organizations now actively encourage LLM use in classrooms, we still lack rigorous, systematic evaluations of how well these models actually perform the fundamental tasks of language pedagogy. This paper examines whether state-of-the-art LLMs can deliver the kind of corrective feedback and methodological...
Kristina Šekrst, A. Kovačič· Oxford Intersections: AI in...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.