DBScholar

Back to papers

Explaining Wrong Queries Using Small Examples

Summary: From a known counterexample D for Q1 vs Q2, identifies the smallest D' ⊆ D with Q1(D') ≠ Q2(D'). Provenance- and constraint-solving–based algorithms cover negation and aggregation; evaluated on TPC-H and student queries, with a teaching user study. (summarized by gpt-5-nano on Feb 09 2026)

Paper ID
5740
Venue
SIGMOD
Year
2019
Pagerank
6.5207388e-05
Overall Rank
4,759 | 67.36%
DOI
10.1145/3299869.3319866

Incoming Non-self Citations Over Time

Authors

BibTeX Citation

@inproceedings{miao_sigmod19,
        title = {{Explaining Wrong Queries Using Small Examples}},
        author = {Miao, Zhengjie and Roy, Sudeepa and Yang, Jun},
        series = {{SIGMOD} '19},
        booktitle = {Proceedings of the {ACM} {SIGMOD} International Conference on Management of Data},
        publisher = {Association for Computing Machinery},
        doi = {10.1145/3299869.3319866},
        url = {https://dl.acm.org/doi/10.1145/3299869.3319866},
        year = {2019}
}

Incoming Citations (Sorted by Pagerank)

Showing 15 of 15 citing papers.

Rank Citing Paper Year Venue Pagerank
5,278 Why Not Yet: Fixing a Top-k Ranking that Is Not Fair to Individuals 2023 VLDB 6.2856584e-05
6,576 Toward Interpretable and Actionable Data Analysis with Explanations and Causality 2022 VLDB 5.8364729e-05
8,164 SlabCity: Whole-Query Optimization using Program Synthesis 2023 VLDB 5.4750309e-05
8,598 Is Integer Linear Programming All You Need for Deletion Propagation? A Unified and Practical Approach for Generalized Deletion Propagation 2025 VLDB 5.4049137e-05
8,834 Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries 2024 SIGMOD 5.3599176e-05
8,970 Understanding Queries by Conditional Instances 2022 SIGMOD 5.3422757e-05
9,305 The Power of Constraints in Natural Language to SQL Translation 2025 VLDB 5.289545e-05
9,945 ParSEval: Plan-aware Test Database Generation for SQL Equivalence Evaluation 2025 VLDB 5.1915905e-05
10,220 Dialect-Agnostic SQL Parsing via LLM-Based Segmentation 2026 SIGMOD 5.093636e-05
10,301 Towards Selecting Informative Alternative Relational Query Plans for Database Education 2026 SIGMOD 5.093636e-05
10,557 Database Views as Explanations for Relational Deep Learning 2026 VLDB 5.093636e-05
10,652 Smallest Synthetic Witnesses for Conjunctive Queries 2025 PODS 5.093636e-05
11,098 SDEcho: Efficient Explanation of Aggregated Sequence Difference 2025 VLDB 5.093636e-05
11,326 Demonstration of the VeriEQL Equivalence Checker for Complex SQL Queries 2024 VLDB 5.093636e-05
11,861 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 5.093636e-05
Previous Page 1 / 1 Next

Outgoing Citations (Sorted by Pagerank)

Showing 18 of 18 cited papers.

Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.

Rank Cited Paper Year Venue Pagerank
17 Provenance Semirings 2007 PODS 0.00059843817
191 Scorpion: Explaining Away Outliers in Aggregate Queries 2013 VLDB 0.00026096009
385 Why Not? 2009 SIGMOD 0.00019455743
628 On the Provenance of Non-Answers to Queries over Extracted Data 2008 VLDB 0.00015630285
663 A Formal Approach to Finding Explanations for Database Queries 2014 SIGMOD 0.00015174751
806 Provenance for Aggregate Queries 2011 PODS 0.00013890398
856 How to ConQueR Why-Not Questions 2010 SIGMOD 0.00013573466
910 Cosette: An Automated Prover for SQL 2017 CIDR 0.00013285905
1,599 Update Exchange with Mappings and Provenance 2007 VLDB 0.00010241307
1,798 SMOKE: Fine-grained Lineage at Interactive Speed 2018 VLDB 9.7361937e-05
1,912 Querying Data Provenance 2010 SIGMOD 9.4946756e-05
1,965 ProvSQL: Provenance and Probability Management in PostgreSQL 2018 VLDB 9.3852716e-05
2,032 Explaining Missing Answers to SPJUA Queries 2010 VLDB 9.2828822e-05
2,077 Generating Example Data for Dataflow Programs 2009 SIGMOD 9.2085989e-05
2,238 Deciding Equivalences among Aggregate Queries 1998 PODS 8.8882317e-05
2,358 Artemis: A System for Analyzing Missing Answers 2009 VLDB 8.6996414e-05
9,410 Breathing Life into Database Textbooks 2015 CIDR 5.2747676e-05
11,861 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 5.093636e-05
Previous Page 1 / 1 Next

Semantically Similar Papers