Is there any rule of thumb to construct SQL query from a human-readable description?

Is there any systematic step-by-step or mathematical way to construct SQL query from a given human-readable description? Yes, there is. It turns out that natural language expressions and logical expressions and relational algebra expressions and SQL expressions (a hybrid of the last two) correspond in a rather direct way. (What follows is for no duplicate … Read more