Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation 2017
DOI: 10.1145/3062341.3062365
|View full text |Cite
|
Sign up to set email alerts
|

Synthesizing highly expressive SQL queries from input-output examples

Abstract: SQL is the de facto language for manipulating relational data. Though powerful, SQL queries can be difficult to write due to their highly expressive constructs. Using the programming-by-example paradigm to help users write SQL queries presents an attractive proposition, as evidenced by online help forums such as Stack Overflow. However, developing techniques to synthesize SQL queries from input-output (I/O) examples has been difficult due to SQL's rich set of operators. In this paper, we present a new scalable… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
146
0
1

Year Published

2017
2017
2022
2022

Publication Types

Select...
5
3

Relationship

1
7

Authors

Journals

citations
Cited by 135 publications
(147 citation statements)
references
References 32 publications
0
146
0
1
Order By: Relevance
“…Related work in this area can be categorized into three classes, depending on the form of specifications provided by the user. In one line of work on query synthesis, users convey their intent to the system through the use of input-output examples [Tran et al 2009;Wang et al 2017;Zhang and Sun 2013;Zloof 1975]. Specifically, the input to the system is a miniature version of the database, and the output is the desired table that should be extracted from this database using the target query.…”
Section: Evaluation Of Different Confidence Thresholdsmentioning
confidence: 99%
See 2 more Smart Citations
“…Related work in this area can be categorized into three classes, depending on the form of specifications provided by the user. In one line of work on query synthesis, users convey their intent to the system through the use of input-output examples [Tran et al 2009;Wang et al 2017;Zhang and Sun 2013;Zloof 1975]. Specifically, the input to the system is a miniature version of the database, and the output is the desired table that should be extracted from this database using the target query.…”
Section: Evaluation Of Different Confidence Thresholdsmentioning
confidence: 99%
“…Although many end-users need to query data stored in some relational database, they typically lack the expertise to write complex queries in declarative query languages such as SQL. As a result, there has been a flurry of interest in automatically synthesizing SQL queries from informal specifications [Feng et al 2017a;Li and Jagadish 2014;Popescu et al 2003;Wang et al 2017;Zhang and Sun 2013].…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…4 [34][35][36][37][38][39][40][41][42][43][44][45][46][47][48] Debugging information, programming-by-example with input/output (I/O) examples for expressing user intent.…”
Section: Groupmentioning
confidence: 99%
“…This strategy has been applied to synthesize programs in various domains [Barowy et al 2015;Cheung et al 2013;Drachsler-Cohen et al 2017;Peleg et al 2018;Polikarpova et al 2016;Schlaipfer et al 2017;Wang et al 2017a]. Cheung et al [Wang et al 2017a] use this technique to synthesize expressive SQL queries for databases. Schlaipfer et al [Schlaipfer et al 2017] analyze a given query to identify sub queries that can be optimized e ectively.…”
Section: Related Workmentioning
confidence: 99%