# VeloceDB 2.73.56 — sift

Installer source **2.73.56**. host02 and host03 are running **2.73.57**. This note describes 2.73.56. The overlay stopped the replica first, then restarted the primary. Epoch stayed 1. Testdb row count stayed 50707. analog ≠ native. **certifiedClaim = false.**

## What shipped

`HAVING` accepts a subquery on the right-hand side: `HAVING COUNT(*) > (SELECT one column)` and `HAVING alias.col IN (SELECT one column)`. The inner SELECT is one table and one column. An uncorrelated subquery runs once. One equality between an inner column and the group column is one pass over the inner table.

An empty scalar is not a match. A null in a `NOT IN` result matches nothing. More than one value for a scalar returns ERROR.

`SHOW CLAIMS` attests that behavior. It refuses "a drop-in substitute for PostgreSQL, Oracle, or SQL Server". `certifiedClaim` stays false. `externalCertificate` is `none`.

## What still returns ERROR

`NOT IN` of a value list. A subquery on the left side of `HAVING`. A subquery in the SELECT list beside `GROUP BY`. A correlated subquery in the SELECT list of a JOIN. A correlated subquery on a JOIN. A fifth comparison. `RIGHT JOIN`, `FULL JOIN`, `CROSS JOIN`, `WITH RECURSIVE`.

This train does not make Veloce a substitute for PostgreSQL, Oracle, or SQL Server.

## Local measurement

Same Windows machine, in-process, 4,000 JSON rows, 10 runs. Not the published host03 table from 2026-08-31. Default `LIMIT` is 100, so the row count below is that limit.

| Query | 2.73.56 | Notes |
| --- | ---: | --- |
| `COUNT(*)` | 5.733 ms | Same scan path. Prior run on 2.73.55 was 6.379 ms. |
| `HAVING COUNT(*) > (SELECT … pen)` | 9.684 ms, 100 rows | Inner query runs once. That shape returned ERROR on 2.73.55. |
| `HAVING COUNT(*) >= (SELECT … customer = outer)` | 7.816 ms, 100 rows, one pass | That shape returned ERROR on 2.73.55. |

certifiedClaim stays false.
