Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It depends, sometimes just feeding back broken SQL with "that didn't return any rows, can you fix it" and it comes up with something that works. Or "you're looking at the wrong entity, look at this table instead" or whatever, without knowing how to write competent SQL.

Obviously being able to at least read a bit of SQL and understanding the basic idea of relational databases helps loads.



> It depends, sometimes just feeding back broken SQL with "that didn't return any rows, can you fix it" and it comes up with something that works.

But how do you know if the SQL is correct, or just happened to return results that match for one particular case?


how do you know SQL is correct if you write it yourself or another teamate of yours?


Because I know the language...?


if you know the language verify the llm output :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: