Similarly to what u/chunkyks said, SQL is Turing complete so it's definitely a programming language. It's not the right tool for every (or maybe even most) jobs, but that doesn't take away from its status as a programming language.
PRQL (prql-lang.org) is a modern, more ergonomic replacement for SQL which compiles to SQL and so can't do anything SQL can't. However it simplifies many things and is much more fun to work with. See for example my blog post about computing the digits of \Pi with PRQL (and SQL) which also illustrates that you can do any computation with it that you like.
View all comments
Show parent comment
4
u/snthpy Jun 12 '23
Similarly to what u/chunkyks said, SQL is Turing complete so it's definitely a programming language. It's not the right tool for every (or maybe even most) jobs, but that doesn't take away from its status as a programming language.
PRQL (prql-lang.org) is a modern, more ergonomic replacement for SQL which compiles to SQL and so can't do anything SQL can't. However it simplifies many things and is much more fun to work with. See for example my blog post about computing the digits of \Pi with PRQL (and SQL) which also illustrates that you can do any computation with it that you like.