Understanding the Logical Order of Operations in SELECT statements