←back to thread

Getting AI to write good SQL

(cloud.google.com)
478 points richards | 6 comments | | HN request time: 1.956s | source | bottom
1. JodieBenitez ◴[] No.44012669[source]
Wait... people need AI to write SQL ?
replies(3): >>44012804 #>>44014160 #>>44014339 #
2. randomNumber7 ◴[] No.44012804[source]
Most people here have not understood the relational model, so yes.
replies(1): >>44013404 #
3. criddell ◴[] No.44013404[source]
I’ve read most of Codd’s book on the subject and have written SQL on and off since the mid 90’s and I still need to look up the differences between the various joins anytime I use them.
4. jeanloolz ◴[] No.44014160[source]
A junior in SQL would need AI to write things they're not sure about, the same way stackoverflow has helped us for many many years before AI. A senior in sql, and in fact any languages, would use AI to be accelerated (I know I do).
replies(1): >>44015200 #
5. aatd86 ◴[] No.44014339[source]
no.but if I ask for a report in natural language, the AI needs to be able to write sql.
6. JodieBenitez ◴[] No.44015200[source]
I see this comparison too often and I don't think it's fair. Stackoverflow has peer review.