I am no fan of the syntax of SQL, however the authors solution of making SQL more procedural is (imo) correctly identifying an issue but then reaching for the wrong tool to fix it.
When I am authoring SQL, I find the declarative and relational concepts extremely powerful and well suited to the problem I am solving.
When I am authoring SQL, I find the declarative and relational concepts extremely powerful and well suited to the problem I am solving.