def __str__(self):
<EOL>statements = [<EOL>(Keyword.SELECT, self.select_stmt),<EOL>(Keyword.FROM, self.from_stmt)<EOL>]<EOL>if self.where_stmt:<EOL><INDENT>statements.append((Keyword.WHERE, self.where_stmt))<EOL><DEDENT>if self.limit_stmt:<EOL><INDENT>statements.append((Keyword.LIMIT, self.limit_stmt))<EOL><DEDENT>if self.group_by_stmt:<EOL><INDENT>statements.append((Keyword.GROUP_BY, ['<STR_LIT>', self.group_by_stmt]))<EOL><DEDENT>return self._format_statements(statements)<EOL>
Standard string representation of select query