Reverse Engineering Aggregation Queries
Summary: REGAL: a 3-phase approach to reverse engineering OLAP queries lattice-guided group-by discovery, aggregation-constraint pruning, and multi-dim filter synthesis to reproduce the output. Validated on TPC-H, showing practical recovery of the original SQL. (summarized by gpt-5-nano on Feb 09 2026)
Incoming Non-self Citations Over Time
Authors
- 1. Wei Chit Tan (Singapore Institute of Technology)
- 2. Meihui Zhang (Singapore Institute of Technology)
- 3. Hazem Elmeleegy (Turn Inc.)
- 4. Divesh Srivastava (AT&T)
BibTeX Citation
@article{tan_vldb17,
title = {{Reverse Engineering Aggregation Queries}},
author = {Tan, Wei Chit and Zhang, Meihui and Elmeleegy, Hazem and Srivastava, Divesh},
journal = {PVLDB},
series = {{VLDB} '17},
volume = {10},
number = {11},
pages = {1394--1407},
doi = {10.14778/3137628.3137633},
url = {https://doi.org/10.14778/3137628.3137633},
year = {2017}
}
Incoming Citations (Sorted by Pagerank)
Showing 12 of 12 citing papers.
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 |
|---|---|---|---|---|
| 37 | DISCOVER: Keyword Search in Relational Databases | 2002 | VLDB | 0.00048017193 |
| 517 | Query by Output | 2009 | SIGMOD | 0.00017169735 |
| 1,192 | Query From Examples: An Iterative, Data-Driven Approach to Query Construction | 2015 | VLDB | 0.00011740132 |
| 1,262 | Discovering Queries based on Example Tuples | 2014 | SIGMOD | 0.00011427456 |
| 1,313 | Reverse Engineering Complex Join Queries | 2013 | SIGMOD | 0.00011186284 |
| 1,751 | Sample-Driven Schema Mapping | 2012 | SIGMOD | 9.838446e-05 |
| 1,898 | DBXplorer: Enabling Keyword Search over Relational Databases | 2002 | SIGMOD | 9.5240947e-05 |
| 7,985 | Schema Independent Relational Learning | 2017 | SIGMOD | 5.5125969e-05 |
Previous
Page 1 / 1
Next
Semantically Similar Papers
| # | Overall Rank | Paper | Year | Venue |
|---|---|---|---|---|
| 1 | 198 | Aggregate-Query Processing in Data Warehousing Environments | 1995 | VLDB |
| 2 | 7,020 | The Generalized Pre-Grouping Transformation: Aggregate Query Optimization in the Presence of Dependencies | 2003 | VLDB |
| 3 | 12,597 | When is it Time to Rethink the Aggregate Configuration of Your OLAP Server? | 2008 | VLDB |
| 4 | 12,315 | Dynamic Optimization of Generalized SQL Queries with Horizontal Aggregations | 2012 | SIGMOD |
| 5 | 2,631 | FastQRE: Fast Query Reverse Engineering | 2018 | SIGMOD |
| 6 | 1,860 | Querying Multiple Features of Groups in Relational Databases | 1996 | VLDB |
| 7 | 5,136 | Extending Practical Pre-Aggregation in On-Line Analytical Processing | 1999 | VLDB |
| 8 | 700 | Explaining differences in multidimensional aggregates | 1999 | VLDB |
| 9 | 1,313 | Reverse Engineering Complex Join Queries | 2013 | SIGMOD |
| 10 | 3,444 | REGAL+: Reverse Engineering SPJA Queries | 2018 | VLDB |