News for hackers. Stuff that matters.
Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by HideousKojima on Monday February 05, 2024 @06:30PM (#39268666)
There are preprocessors like PRQL that help with some (far from all) of the pain points of SQL as a language
Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by miohtama on Monday February 05, 2024 @07:03PM (#39268952)
Hopefully we get over the fact that we still need to transpile something to the ugly SQL and databases themselves start to speak a better language.

Despite all the hate MongoDb deserves, it solved the problem how application developers can easily get data in and out of a database.

Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by munk-a on Monday February 05, 2024 @07:18PM (#39269091)
There are certainly valid syntatical criticisms you can have of SQL[1] but on the whole SQL is expressive and rather concise while being solid enough to remain the default expression language of choice for fifty years.

1. The order of the phrases, the lack of trailing commas, the fact that an awful organization controls the standards and gatekeeps them to a bizarre extent.

Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by ako on Tuesday February 06, 2024 @02:05AM (#39271608)
Seriously? I just had a Quick Look at the mongodb docs, but when I see that I’m glad to use SQL. All the brackets and dollar prefixed expressions make mongodb queries hard to read.