How Do People Debug Complex SQL Queries With LLMs? A Qualitative Study
Nicole Sullivan, Ella Cao, Leilani Battle, Magdalena Balazinska
Abstract
While LLMs are increasingly used in various contexts, we lack a fundamental understanding of how they impact SQL query debugging. In response, we conducted a user study with 16 participants of varying SQL expertise, examining how they debug complex SQL queries with and without LLM support. Initial benchmarking indicated that our selected models are already capable SQL debuggers. Qualitative analyses of our study data revealed that while participants trusted the LLM, they varied widely in how and whether they delegated debugging tasks to the LLMs, which we characterized through a new three-state model of participants' SQL reasoning processes. Additionally, participants enforced specific collaborative roles for the LLM such as TA or sounding board, which participants controlled by withholding context from the LLM. These findings suggest that LLM-based tools could enable preset role selection, broader context management, and flexible automation features, including low automation options, to support SQL debugging moving forward.
Create a lesson
Related papers
AI-Induced Social Erosion: Using LLMs for Work Tasks Reduces Help-Seeking Intentions Towards Colleagues
Shared title terminology · Kevin Chow, Sophia Deng, Bowen He et al.
"I Just Don't Want to Be a Burden": Investigating AI Chatbot Emotional Support Among People with Suicidal Ideation and Other Mental Health Concerns
Shared title terminology · Vasudha Varadarajan, Nathan S. Fishbein, Andrew Aquilina et al.
A Line is Not Just a Line: Visualizing Harmonious Complex Line Sets
Shared title terminology · Francesca Samsel, Daniel F. Keefe, Gregory Abram
AdaptType: Accessible and Customizable Multimodal Text Entry in Virtual Reality for People with Upper-Body Motor Impairments
Shared title terminology · Junhan Kong, Mingyuan Zhong, Sanjana Pavani et al.
People prefer AI to human advice in multi-turn conversations but neither changes incentivised behaviour
Shared title terminology · Maximilian Maier, Tsz Kwan Emmy Wong, Jiahao Eric Yang et al.
Do People Trust AI Assistants Even When They Are Consistently Wrong?
Shared title terminology · Cameron R. Jones, Julia Wong, Aaron S. Cohen et al.