All 4,799 reports

NoChatGPT · 12 Jul 2023

I had to forbid my coworkers from using chatgpt to generate SQL because it kept doing things slightly wrong - like missing parens when dealing with AND and OR in a where statement

jmuguy on Hacker News

In the thread “How to generate SQL statements with ChatGPT”

Got in the way: Generated SQL had syntax errors like missing parentheses in WHERE clauses.

… If you don’t know SQL how do you know it’s correct? I had to forbid my coworkers from using chatgpt to generate SQL because it kept doing things slightly wrong - like missing parens when dealing with AND and OR in a where statement.