Back to top
HNRQ

Helping Novices Learn and Debug Relational Queries

In a world where data analytics skills have become an indispensable part of any education and modern workforce, are you still struggling with your relational queries?

HNRQ is about automatically constructing small, simple database instances (counterexamples) to illustrate why queries return wrong results, allowing users to trace query execution over these instances, and leading users to generalize from specific counterexamples to semantic descriptions of what cause wrong results.

HNRQ is still under construction and we will release the prototype for SQL queries in the future.

Demo

A video demonstrating our prototype for debugging SQL queries

Publications

  1. Zhengjie Miao, Tiangang Chen, Alexander Bendeck, Kevin Day, Sudeepa Roy, Jun Yang. “I-Rex: An Interactive Relational Query Explainer for SQL”. In Proceedings of the VLDB Endowment (PVLDB), Vol 13, Demonstration Track. Paper
  2. Zhengjie Miao, Sudeepa Roy, Jun Yang. “Explaining Wrong Queries Using Small Examples.” In ACM SIGMOD International Conference on Management of Data (SIGMOD) 2019. Paper
  3. Zhengjie Miao, Sudeepa Roy, Jun Yang. “RATest: Explaining Wrong Relational Queries Using Small Examples”. In ACM SIGMOD International Conference on Management of Data (SIGMOD) 2019, Demonstration track. Paper