© 2026 Hedgehog Software, LLC
DISTINCT
SELECT coalesce(count(DISTINCT t0."id"::bigint), $1::bigint)::bigint FROM (...) ...
id