←back to thread

Getting AI to write good SQL

(cloud.google.com)
478 points richards | 2 comments | | HN request time: 0.397s | source
Show context
cloudking ◴[] No.44010100[source]
This is pretty simple in any foundation model, provide a well commented schema and ask for the query
replies(4): >>44010110 #>>44010243 #>>44010309 #>>44011095 #
1. galenmarchetti ◴[] No.44011095[source]
there’s two kinds of people using AI to generate SQL…those who say it’s already solved and those who say it’ll be impossible to ever solve
replies(1): >>44013872 #
2. cloudking ◴[] No.44013872[source]
Yep, probably why I got upvoted then downvoted. I've been using LLMs to write SQL queries for 2 years.