Authors
Alireza Ahadi, Julia Prior, Vahid Behbood, Raymond Lister
Publication date
2016/7/11
Book
Proceedings of the 2016 ACM Conference on Innovation and Technology in Computer Science Education
Pages
272-277
Description
Computer science researchers have studied extensively the mistakes of novice programmers. In comparison, little attention has been given to studying the mistakes of people who are novices at writing database queries. This paper represents the first large scale analysis of students' semantic mistakes in writing different types of SQL SELECT statements. Over 160 thousand snapshots of SQL queries were collected from over 2300 students across nine years. We describe the most common semantic mistakes that these students made when writing different types of SQL statements, and suggest reasons behind those mistakes. We mapped the semantic mistakes we identified in our data to different semantic categories found in the literature. Our findings show that the majority of semantic mistakes are of the type "omission". Most of these omissions happen in queries that require a JOIN, a subquery, or a GROUP BY …
Total citations
20162017201820192020202120222023202412269812195
Scholar articles
A Ahadi, J Prior, V Behbood, R Lister - Proceedings of the 2016 ACM Conference on …, 2016