# VeloceDB 2.73.47 — span

Installer source **2.73.47**. host02 and host03 are running **2.73.48**. This note describes 2.73.47. analog ≠ native. **certifiedClaim = false.**

## What shipped

`WHERE` and `HAVING` accept a third comparison when every connector is the same (`AND` or `OR`).

`COUNT(DISTINCT alias.column)` counts unique values and skips nulls.

## Still ERROR

- Mixed `AND` and `OR` in the same `WHERE` or `HAVING`
- A fourth comparison
- `SELECT DISTINCT`
- `SUM(DISTINCT)`, `MIN(DISTINCT)`, `MAX(DISTINCT)`, and `AVG(DISTINCT)`
- A second `GROUP BY` column
- `RIGHT JOIN`, `FULL JOIN`, `CROSS JOIN`, `WITH RECURSIVE`, and a subquery

## Measured locally

Windows in-process `executeRelate` on 4000 JSON rows, 2026-10-26T01:08:39Z. This is not the published host03 table from 2026-08-31, method labeled 2.73.13.

| Query | ms per query | 10 runs | Result |
| --- | ---: | ---: | --- |
| COUNT(*) | 113.334 | 10 | 4000 |
| COUNT(DISTINCT customer) | 151.061 | 10 | 200 unique customers |
| WHERE two comparisons | 121.799 | 10 | 80 rows |
| WHERE three comparisons | 104.819 | 10 | 20 rows |

The third comparison is not an index. `AND` stops at the first miss, so a tighter filter does less later work on each row. The table scan still dominates. `COUNT(DISTINCT)` keeps a set of values already seen, which is why it is slower than `COUNT(*)` on the same scan.

Same machine, in-process 50,000 recno rows: insert 37,018 ops/s (p50 20 µs), get 118,294 ops/s (p50 7 µs). Not TCP. Not the published table.
