For me, only “a hotel” and “an SQL query” sound correct here
(Edit: I just realised this might be a dialect thing. I say “ess cue ell” and not “sequel”, and “hoe tell” rather than “otel”. Australian accent)
Luckily zed and zee won't flip the article.
Luckily zed and zee won't flip the article.