How to generate highly accurate SQL queries with AI: a case study | Hacker News Reader