What to Expect and What to Focus on in SQL Query Teaching

被引:22
|
作者
Taipalus, Toni [1 ]
Perala, Piia [1 ]
机构
[1] Univ Jyvaskyla, Jyvaskyla, Finland
来源
SIGCSE '19: PROCEEDINGS OF THE 50TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION | 2019年
关键词
SQL; error; query language; database education; relational database; USER ERRORS;
D O I
10.1145/3287324.3287359
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In the process of learning a new computer language, writing erroneous statements is part of the learning experience. However, some errors persist throughout the query writing process and are never corrected. Structured Query Language (SQL) consists of a number of different concepts such as expressions, joins, grouping and ordering, all of which by nature invite different possible errors in the query writing process. Furthermore, some of these errors are relatively easy for a student to fix when compared to others. Using a data set from three student cohorts with the total of 744 students, we set out to explore which types of errors are persistent, i.e., more likely to be left uncorrected by the students. Additionally, based on the results, we contemplate which types of errors different query concepts seem to invite. The results show that syntax and semantic errors are less likely to persist than logical errors and complications. We expect that the results will help us understand which kind of errors students struggle with, and e.g., help teachers generate or choose more appropriate data for students to use when learning SQL.
引用
收藏
页码:198 / 203
页数:6
相关论文
共 50 条
  • [1] (ANACON: SQL QUERY ANALYZER)
    Garrido, Piedad
    Martinez, Francisco
    Tramullas, Jesus
    Fuertes, Gabriel
    RIED-REVISTA IBEROAMERICANA DE EDUCACION A DISTANCIA, 2007, 10 (01): : 201 - 215
  • [2] Path Expressions in SQL: A User Study on Query Formulation
    Junkkari, Marko
    Vainio, Johanna
    Iltanen, Kati
    Arvola, Paavo
    Kari, Heidi
    Kekalainen, Jaana
    JOURNAL OF DATABASE MANAGEMENT, 2016, 27 (03) : 1 - 22
  • [3] Explaining Causes Behind SQL Query Formulation Errors
    Taipalus, Toni
    2020 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE 2020), 2020,
  • [4] Using Ontologies for SQL Query Reformulation
    Ines, Fayech
    Habib, Ounalli
    2015 WORLD CONGRESS ON INFORMATION TECHNOLOGY AND COMPUTER APPLICATIONS (WCITCA), 2015,
  • [5] Query translation from XSLT to SQL
    Liu, JX
    Vincent, M
    SEVENTH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2003, : 87 - 96
  • [6] Query Translation from SQL to XPath
    Vidhya, P. M.
    Samuel, Philip
    2009 WORLD CONGRESS ON NATURE & BIOLOGICALLY INSPIRED COMPUTING (NABIC 2009), 2009, : 1748 - +
  • [7] Forecasting SQL Query Cost at Twitter
    Tang, Chunxu
    Wang, Beinan
    Luo, Zhenxiao
    Wu, Huijun
    Dasan, Shajan
    Fu, Maosong
    Li, Yao
    Ghosh, Mainak
    Kabra, Ruchin
    Navadiya, Nikhil Kantibhai
    Cheng, Da
    Dai, Fred
    Channapattan, Vrushali
    Mishra, Prachi
    2021 IEEE INTERNATIONAL CONFERENCE ON CLOUD ENGINEERING, IC2E 2021, 2021, : 154 - 160
  • [8] SQL query extensions for imprecise questions
    Le Guilly, Marie
    Petit, Jean-Marc
    Scuturici, Vasile-Marian
    DATA & KNOWLEDGE ENGINEERING, 2022, 137
  • [9] SPATIAL SQL - A QUERY AND PRESENTATION LANGUAGE
    EGENHOFER, MJ
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1994, 6 (01) : 86 - 95
  • [10] Errors and Complications in SQL Query Formulation
    Taipalus, Toni
    Siponen, Mikko
    Vartiainen, Tero
    ACM TRANSACTIONS ON COMPUTING EDUCATION, 2018, 18 (03):