SQL is beautiful in its own way. Definitely not easy to master but beautiful in how much business logic you can implement in not many lines of code.
And with SQL macros becoming a thing it is now easily possible to store patterns as reausable functions with parameters.