MbrlCatalogueTitleDetail

Do you wish to reserve the book?
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries
Hey, we have placed the reservation for you!
Hey, we have placed the reservation for you!
By the way, why not check out events that you can attend while you pick your title.
You are currently in the queue to collect this book. You will be notified once it is your turn to collect the book.
Oops! Something went wrong.
Oops! Something went wrong.
Looks like we were not able to place the reservation. Kindly try again later.
Are you sure you want to remove the book from the shelf?
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries
Oops! Something went wrong.
Oops! Something went wrong.
While trying to remove the title from your shelf something went wrong :( Kindly try again later!
Title added to your shelf!
Title added to your shelf!
View what I already have on My Shelf.
Oops! Something went wrong.
Oops! Something went wrong.
While trying to add the title to your shelf something went wrong :( Kindly try again later!
Do you wish to request the book?
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries

Please be aware that the book you have requested cannot be checked out. If you would like to checkout this book, you can reserve another copy
How would you like to get it?
We have requested the book for you! Sorry the robot delivery is not available at the moment
We have requested the book for you!
We have requested the book for you!
Your request is successful and it will be processed during the Library working hours. Please check the status of your request in My Requests.
Oops! Something went wrong.
Oops! Something went wrong.
Looks like we were not able to place your request. Kindly try again later.
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries
Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries
Paper

Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries

2024
Request Book From Autostore and Choose the Collection Method
Overview
We describe a system called Qr-Hint that, given a (correct) target query Q* and a (wrong) working query Q, both expressed in SQL, provides actionable hints for the user to fix the working query so that it becomes semantically equivalent to the target. It is particularly useful in an educational setting, where novices can receive help from Qr-Hint without requiring extensive personal tutoring. Since there are many different ways to write a correct query, we do not want to base our hints completely on how Q* is written; instead, starting with the user's own working query, Qr-Hint purposefully guides the user through a sequence of steps that provably lead to a correct query, which will be equivalent to Q* but may still \"look\" quite different from it. Ideally, we would like Qr-Hint's hints to lead to the \"smallest\" possible corrections to Q. However, optimality is not always achievable in this case due to some foundational hurdles such as the undecidability of SQL query equivalence and the complexity of logic minimization. Nonetheless, by carefully decomposing and formulating the problems and developing principled solutions, we are able to provide provably correct and locally optimal hints through Qr-Hint. We show the effectiveness of Qr-Hint through quality and performance experiments as well as a user study in an educational setting.
Publisher
Cornell University Library, arXiv.org