arrow
Return

An SQL Query Description Problem with AI Assistance for an SQL Programming Learning Assistant System

delete2026-01-09
delete0
delete
OA
AI
N
Ni Wayan Wardani
N
Nobuo Funabiki *
K
Kyaw, Htoo Htoo Sandi
Z
Zihao Zhu
I
I Nyoman Darma Kotama
P
Putu Sugiartawan
I
I Nyoman Agus Suarya Putra
DOI:10.3390/info17010065delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Today, relational databases are widely used in information systems. SQL (structured query language) is taught extensively in universities and professional schools across the globe as a programming language for its data management and accesses. Previously, we have studied a web-based programming learning assistant system (PLAS) to help novice students learn popular programming languages by themselves through solving various types of exercises. For SQL programming, we have implemented the grammar-concept understanding problem (GUP) and the comment insertion problem (CIP) for its initial studies. In this paper, we propose an SQL Query Description Problem (SDP) as a new exercise type for describing the SQL query to a specified request in a MySQL database system. To reduce teachers' preparation workloads, we integrate a generative AI-assisted SQL query generator to automatically generate a new SDP instance with a given dataset. An SDP instance consists of a table, a set of questions and corresponding queries. Answer correctness is determined by enhanced string matching against an answer module that includes multiple semantically equivalent canonical queries. For evaluation, we generated 11 SDP instances on basic topics using the generator, where we found that Gemini 3.0 Pro exhibited higher pedagogical consistency compared to ChatGPT-5.0, achieving perfect scores in Sensibleness, Topicality, and Readiness metrics. Then, we assigned the generated instances to 32 undergraduate students at the Indonesian Institute of Business and Technology (INSTIKI). The results showed an average correct answer rate of 95.2% and a mean SUS score of 78, which demonstrates strong initial student performance and system acceptance.
Keywords:
database programming
SQL query description problem (SDP)
self-study
programming learning assistant system (PLAS)
generative AI
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

I
Information
IF:
2.9
Papers:
861
Citations:
9.8K

Organization

O
Okayama University
Scholars:
1.6W
Papers: 1.1W
Citations: 8.4K
Cited Papers

Cited Papers

errShare
errSave
A Feasibility Study on Automated SQL Exercise Generation with ChatGPT-3.5
err
IF0
err2024-07-02
err0
PREAI
errWillem Aerts; George Fletcher; Daphne Miedema
errShare
errSave
Value Trace Problems for Code Reading Study in C Programming
err2022-01-01
err0
PREAI
errLu,Xiqin; Funabiki,Nobuo; Kyaw,Htoo Htoo Sandi; Htet,Ei Ei; Aung,Shune Lae; Dim,Nem Khan
errShare
errSave
errShare
errSave
researcher View more