Lune

VLDB2025Top-tier venue

Cardinality Estimation for Having-Clauses

Guido Moerkotte

2025Year

Abstract

We present several methods for estimating the result cardinality of single table queries with a having clause. More specifically, we provide cardinality estimates for predicates using the aggregate functions count(*), sum(B), avg(B), min(B), and max(B). We do so for queries with and without a where-clause. Finally, we show how to handle conjunctions and disjunctions in the having-clause.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext ff7d05a6-0480-4885-b962-b679dd1c984a

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines