mlsanityData to 7 Oct 2026

Understanding Help-Seeking Behavior of Students Using LLMs vs. Web Search for Writing SQL Queries

arXiv 2408.08401 ↗First posted 15 Aug 2024cs.HC cs.AI cs.CYcited by 2

Not on the map. Why?

Abstract (arXiv)

Growth in the use of large language models (LLMs) in programming education is altering how students write SQL queries. Traditionally, students relied heavily on web search for coding assistance, but this has shifted with the adoption of LLMs like ChatGPT. However, the comparative process and outcomes of using web search versus LLMs for coding help remain underexplored. To address this, we conducted a randomized interview study in a database classroom to compare web search and LLMs, including a publicly available LLM (ChatGPT) and an instructor-tuned LLM, for writing SQL queries. Our findings indicate that using an instructor-tuned LLM required significantly more interactions than both ChatGPT and web search, but resulted in a similar number of edits to the final SQL query. No significant differences were found in the quality of the final SQL queries between conditions, although the LLM conditions directionally showed higher query quality. Furthermore, students using instructor-tuned LLM reported a lower mental demand. These results have implications for learning and productivity in programming education.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 9 of its 38 references that are in the map. First posted on arXiv 15 Aug 2024.

Builds on

9 of 38 references.

References · 9

  1. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  2. 2023The Metacognitive Demands and Opportunities of Generative AIcited by 85
  3. 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
  4. 2023Computing Education in the Era of Generative AIcited by 50
  5. 2023Comparing Traditional and LLM-based Search for Consumer Choice: A Randomized Experimentcited by 35
  6. 2023GPTutor: a ChatGPT-powered programming tool for code explanationcited by 22
  7. 2024Supporting Self-Reflection at Scale with Large Language Models: Insights from Randomized Field Experiments in Classroomscited by 20
  8. 2023ChatGPT vs. Google: A Comparative Study of Search Performance and User Experiencecited by 10
  9. 2024Comparing Traditional and LLM-based Search for Image Geolocationcited by 10

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.