PhD thesis: SQL Comprehension and Synthesis
George Obaido

TL;DR
This thesis introduces algorithms based on formal language theory to improve understanding and synthesis of SQL queries, providing interactive tools that enhance learning for students and nontechnical users.
Contribution
It presents novel algorithms for recognizing and generating SQL queries from natural language using formal language and automata theory, implemented into educational tools.
Findings
Participants found the tools intuitive and helpful for understanding SQL.
The algorithms effectively recognize simple and nested SQL query structures.
Tools can assist in correct SQL query formulation in educational and industrial settings.
Abstract
Structured Query Language (SQL) remains the standard language used in Relational Database Management Systems (RDBMSs) and has found applications in healthcare (patient registries), businesses (inventories, trend analysis), military, education, etc. Although SQL statements are English-like, the process of writing SQL queries is often problematic for nontechnical end-users in the industry. Similarly, formulating and comprehending written queries can be confusing, especially for undergraduate students. One of the pivotal reasons given for these difficulties lies with the simple syntax of SQL, which is often misleading and hard to understand. An ideal solution is to present these two audiences: undergraduate students and nontechnical end-users with learning and practice tools. These tools are mostly electronic and can be used to aid their understanding, as well as enable them to write…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Computability, Logic, AI Algorithms · Logic, programming, and type systems
