Alais in where or having clause

select id, count(id) as c
from mydb.public.“user” having c>1;
getting error SQL Error [42703]: ERROR: column “c” does not exist
how we can user alais in having clause

Hey @muhammad.habib,

It looks like you may be running into this bug. What version of Cockroach are you running?