Extracting SQL queries from code stage-7

layout, typos