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
hddf7089c8ed6c682
Venue
SIGMOD
Year
2019
Pagerank
6.3823876e-05
Overall Rank
4,847 | 67.42%
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 16 of 16 citing papers.

Rank Citing Paper Year Venue Pagerank
5,353 Why Not Yet: Fixing a Top-k Ranking that Is Not Fair to Individuals 2023 VLDB 6.1637765e-05
6,699 Toward Interpretable and Actionable Data Analysis with Explanations and Causality 2022 VLDB 5.7058728e-05
7,931 SlabCity: Whole-Query Optimization using Program Synthesis 2023 VLDB 5.4238328e-05
7,952 The Power of Constraints in Natural Language to SQL Translation 2025 VLDB 5.4198293e-05
8,761 Is Integer Linear Programming All You Need for Deletion Propagation? A Unified and Practical Approach for Generalized Deletion Propagation 2025 VLDB 5.283642e-05
8,972 Qr-Hint: Actionable Hints Towards Correcting Wrong SQL Queries 2024 SIGMOD 5.2458797e-05
9,061 Understanding Queries by Conditional Instances 2022 SIGMOD 5.2289882e-05
10,129 ParSEval: Plan-aware Test Database Generation for SQL Equivalence Evaluation 2025 VLDB 5.0751052e-05
10,436 Dialect-Agnostic SQL Parsing via LLM-Based Segmentation 2026 SIGMOD 4.9793485e-05
10,513 Towards Selecting Informative Alternative Relational Query Plans for Database Education 2026 SIGMOD 4.9793485e-05
10,739 Database Views as Explanations for Relational Deep Learning 2026 VLDB 4.9793485e-05
10,843 I-Rex: An Interactive Debugger for SQL 2026 VLDB 4.9793485e-05
11,095 Smallest Synthetic Witnesses for Conjunctive Queries 2025 PODS 4.9793485e-05
11,450 SDEcho: Efficient Explanation of Aggregated Sequence Difference 2025 VLDB 4.9793485e-05
11,644 Demonstration of the VeriEQL Equivalence Checker for Complex SQL Queries 2024 VLDB 4.9793485e-05
12,161 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 4.9793485e-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.00059752575
189 Scorpion: Explaining Away Outliers in Aggregate Queries 2013 VLDB 0.00025840026
391 Why Not? 2009 SIGMOD 0.00019238698
622 On the Provenance of Non-Answers to Queries over Extracted Data 2008 VLDB 0.00015484312
670 A Formal Approach to Finding Explanations for Database Queries 2014 SIGMOD 0.00014954494
790 Cosette: An Automated Prover for SQL 2017 CIDR 0.00013976438
791 How to ConQueR Why-Not Questions 2010 SIGMOD 0.00013976192
819 Provenance for Aggregate Queries 2011 PODS 0.00013666629
1,555 Update Exchange with Mappings and Provenance 2007 VLDB 0.00010269848
1,746 SMOKE: Fine-grained Lineage at Interactive Speed 2018 VLDB 9.7341914e-05
1,814 ProvSQL: Provenance and Probability Management in PostgreSQL 2018 VLDB 9.5800565e-05
1,827 Querying Data Provenance 2010 SIGMOD 9.5545888e-05
2,067 Explaining Missing Answers to SPJUA Queries 2010 VLDB 9.0924963e-05
2,116 Generating Example Data for Dataflow Programs 2009 SIGMOD 9.0149557e-05
2,269 Deciding Equivalences among Aggregate Queries 1998 PODS 8.7196256e-05
2,360 Artemis: A System for Analyzing Missing Answers 2009 VLDB 8.5770202e-05
9,591 Breathing Life into Database Textbooks 2015 CIDR 5.156637e-05
12,161 RATest: Explaining Wrong Relational Queries Using Small Examples 2019 SIGMOD 4.9793485e-05
Previous Page 1 / 1 Next

Semantically Similar Papers