def _execute_query(<EOL>self,<EOL>sqlQuery):
self.log.debug(<EOL>'<STR_LIT>')<EOL>try:<EOL><INDENT>databaseRows = readquery(<EOL>log=self.log,<EOL>sqlQuery=sqlQuery,<EOL>dbConn=self.dbConn<EOL>)<EOL><DEDENT>except Exception as e:<EOL><INDENT>if "<STR_LIT>" in str(e):<EOL><INDENT>message = "<STR_LIT>"<EOL>self.log.error(message)<EOL>raise IOError(message)<EOL><DEDENT>elif "<STR_LIT>" in str(e) or "<STR_LIT>" in str(e):<EOL><INDENT>databaseRows = readquery(<EOL>log=self.log,<EOL>sqlQuery=sqlQuery,<EOL>dbConn=self.dbConn,<EOL>quiet=True<EOL>)<EOL><DEDENT>else:<EOL><INDENT>print(sqlQuery)<EOL>raise e<EOL><DEDENT><DEDENT>if self.distinct and (self.columns != "<STR_LIT:*>" and (self.raCol.lower() not in self.columns.lower() or self.decCol.lower() not in self.columns.lower())):<EOL><INDENT>distinctRows = []<EOL>theseKeys = []<EOL>for r in databaseRows:<EOL><INDENT>constraintKey = "<STR_LIT>"<EOL>for k, v in r.items():<EOL><INDENT>if k.lower() != self.raCol.lower() and k.lower() != self.decCol.lower():<EOL><INDENT>constraintKey += str(v)<EOL><DEDENT><DEDENT>if self.raCol.lower() in self.columns.lower():<EOL><INDENT>constraintKey += str(databaseRows[self.raCol])<EOL><DEDENT>if self.decCol.lower() in self.columns.lower():<EOL><INDENT>constraintKey += str(databaseRows[self.decCol])<EOL><DEDENT>if constraintKey not in theseKeys:<EOL><INDENT>theseKeys.append(constraintKey)<EOL>distinctRows.append(r)<EOL><DEDENT><DEDENT>databaseRows = distinctRows<EOL><DEDENT>self.log.debug(<EOL>'<STR_LIT>')<EOL>return databaseRows<EOL>
* execute query and trim results*

        **Key Arguments:**
            - ``sqlQuery`` -- the sql database query to grab low-resolution results.

        **Return:**
            - ``databaseRows`` -- the database rows found on HTM trixles with requested IDs