Earlier quoted context omitted.
Eh, HAVING is something that can be learned in 5 minutes. So filtering out for that is probably generating a lot of false negatives. I quiz them on indexes and table design. Those can be done without writing a single SQL query.
I look up HAVING every time I write it. I just don't use it enough to keep it in memory as a first class concept. A quick google search with an example is enough to jog my memory. If I got asked about it on an interview, I'd be completely blank.
"I use [x] all the time and know it well, so [x] will be a good filter for evaluating someone's technical skills."
No. People do different work tasks depending on the project or company.
Sometimes I'm knee-deep in SQL. Others in React. I'm often forced to do PHP. My familiarity with specific SQL syntax ebbs & flows with what I'm doing.
There's no point in keeping something in your brain if you're not going to use it every day. Just remember the general concept and Google the specifics when you need it.
Just one example why interviewing is terrible and interviewers really should be trained on what not to do.