SQL is not a sequence of row-by-row instructions in the way many application programmers first imagine it. It is a declarative language in which the query describes the result set the database should ...