https://stackoverflow.com/questions/710212/is-there-a-way-to-access-the-previous-row-value-in-a-select-statement
Anonymous
When you must fail, fail noisily and as soon as possible.