PATSQL: Efficient Synthesis of SQL Queries from Example Tables with Quick Inference of Projected Columns
Summary: PATSQL enables fast SQL synthesis from example tables by lifting projection over operators via RA rules to infer columns. New constraints with top-down propagation speed sketch completion; on 226 queries, it solves 68% and finds 89% within 1s. (summarized by gpt-5-nano on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Keita Takenouchi (NTT DATA)
- 2. Takashi Ishio (Nara Institute of Science and Technology)
- 3. Joji Okada (NTT DATA)
- 4. Yuji Sakata (NTT DATA)
BibTeX Citation
@article{takenouchi_vldb21,
title = {{PATSQL: Efficient Synthesis of SQL Queries from Example Tables with Quick Inference of Projected Columns}},
author = {Takenouchi, Keita and Ishio, Takashi and Okada, Joji and Sakata, Yuji},
journal = {PVLDB},
series = {{VLDB} '21},
volume = {14},
number = {11},
pages = {1937--1949},
doi = {10.14778/3476249.3476253},
url = {https://doi.org/10.14778/3476249.3476253},
year = {2021}
}
Incoming Citations (Sorted by Pagerank)
Showing 4 of 4 citing papers.
| Rank | Citing Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 5,403 | Auto-Tables: Synthesizing Multi-Step Transformations to Relationalize Tables without Using Examples | 2023 | VLDB | 6.2306083e-05 |
| 8,362 | EQUI-VOCAL: Synthesizing Queries for Compositional Video Events from Limited User Interactions | 2023 | VLDB | 5.4432545e-05 |
| 10,331 | Testing Graph Databases with Synthesized Queries | 2026 | SIGMOD | 5.093636e-05 |
| 11,245 | Relational Query Synthesis ⋈ Decision Tree Learning | 2024 | VLDB | 5.093636e-05 |
Previous
Page 1 / 1
Next
Outgoing Citations (Sorted by Pagerank)
Showing 8 of 8 cited papers.
Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.
| Rank | Cited Paper | Year | Venue | Pagerank |
|---|---|---|---|---|
| 2,048 | Duoquest: A Dual-Specification System for Expressive SQL Queries | 2020 | SIGMOD | 9.2560185e-05 |
| 2,631 | FastQRE: Fast Query Reverse Engineering | 2018 | SIGMOD | 8.3231158e-05 |
| 3,300 | Reverse Engineering Aggregation Queries | 2017 | VLDB | 7.5412976e-05 |
| 3,677 | Example-Driven Query Intent Discovery: Abductive Reasoning using Semantic Similarity | 2019 | VLDB | 7.2076465e-05 |
| 6,533 | Data Migration using Datalog Program Synthesis | 2020 | VLDB | 5.8488042e-05 |
| 6,607 | SQUARES: A SQL Synthesizer Using Query Reverse Engineering | 2020 | VLDB | 5.8236702e-05 |
| 7,552 | Trinity: An Extensible Synthesis Framework for Data Science | 2019 | VLDB | 5.6005243e-05 |
| 8,217 | Automated Migration of Hierarchical Data to Relational Tables using Programming-by-Example | 2018 | VLDB | 5.4644927e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| # | Overall Rank | Paper | Year | Venue |
|---|---|---|---|---|
| 1 | 9,945 | ParSEval: Plan-aware Test Database Generation for SQL Equivalence Evaluation | 2025 | VLDB |
| 2 | 4,759 | Explaining Wrong Queries Using Small Examples | 2019 | SIGMOD |
| 3 | 13,313 | PatternVis: A Tool for Relational Pattern Visualization | 2025 | SIGMOD |
| 4 | 5,132 | Facilitating SQL Query Composition and Analysis | 2020 | SIGMOD |
| 5 | 11,245 | Relational Query Synthesis ⋈ Decision Tree Learning | 2024 | VLDB |
| 6 | 2,631 | FastQRE: Fast Query Reverse Engineering | 2018 | SIGMOD |
| 7 | 6,853 | Scalable Package Queries in Relational Database Systems | 2016 | VLDB |
| 8 | 4,196 | Automatic Example Queries for Ad Hoc Databases | 2011 | SIGMOD |
| 9 | 1,444 | CatSQL: Towards Real World Natural Language to SQL Applications | 2023 | VLDB |
| 10 | 1,192 | Query From Examples: An Iterative, Data-Driven Approach to Query Construction | 2015 | VLDB |