Hacker News new | ask | show | jobs
by 3by7 721 days ago
I’m a developer whose experience with SQL is limited to writing basic queries, window functions and combining those with CTEs.

All my business logic is written in a highly expressive language. It’s conveniently easy to read, change, and test.

And still, I’d like to learn how to implement complex business logic within the realm of my database so I can use it when appropriate.

What resources would you recommend for learning and practicing to write business logic in SQL, including good practices and testing?