Completed part of the parsing of Select query.