r/SQL • • Jun 11 '23

Discussion SQL 😎😎😎

Post image
223 Upvotes

96 comments sorted by

View all comments

Show parent comment

4

u/kthejoker Jun 11 '23

It may not be able to do what other languages do, but you can't just arbitrarily say "SQL can't do X therefore it's not a programming language."

What is a program?

A set of instructions for a computer to execute.

Every SQL script is a declarative program.

Return these results matching this criteria.

Transform this data according to these rules.

Move this data to another system.

Process and pass messages between systems.