Insights from Student Solutions to SQL Homework Problems

Seth Poulsen, Liia Butler, Abdussalam Alawini, Geoffrey L. Herman

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

We analyze the submissions of 286 students as they solved Structured Query Language (SQL) homework assignments for an upper-level databases course. Databases and the ability to query them are becoming increasingly essential for not only computer scientists but also business professionals, scientists, and anyone who needs to make data-driven decisions. Despite the increasing importance of SQL and databases, little research has documented student difficulties in learning SQL. We replicate and extend prior studies of students' difficulties with learning SQL. Students worked on and submitted their homework through an online learning management system with support for autograding of code. Students received immediate feedback on the correctness of their solutions and had approximately a week to finish writing eight to ten queries. We categorized student submissions by the type of error, or lack thereof, that students made, and whether the student was eventually able to construct a correct query. Like prior work, we find that the majority of student mistakes are syntax errors. In contrast with the conclusions of prior work, we find that some students are never able to resolve these syntax errors to create valid queries. Additionally, we find that students struggle the most when they need to write SQL queries related to GROUP BY and correlated subqueries. We suggest implications for instruction and future research.

Original languageEnglish (US)
Title of host publicationITiCSE 2020 - Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education
PublisherAssociation for Computing Machinery
Pages404-410
Number of pages7
ISBN (Electronic)9781450368742
DOIs
StatePublished - Jun 15 2020
Event25th ACM Conference on Innovation and Technology in Computer Science Education, ITiCSE 2020 - Trondheim, Norway
Duration: Jun 15 2020Jun 19 2020

Publication series

NameAnnual Conference on Innovation and Technology in Computer Science Education, ITiCSE
ISSN (Print)1942-647X

Conference

Conference25th ACM Conference on Innovation and Technology in Computer Science Education, ITiCSE 2020
Country/TerritoryNorway
CityTrondheim
Period6/15/206/19/20

Keywords

  • SQL
  • database education
  • online assessment

ASJC Scopus subject areas

  • Management of Technology and Innovation
  • Education

Fingerprint

Dive into the research topics of 'Insights from Student Solutions to SQL Homework Problems'. Together they form a unique fingerprint.

Cite this