code: def execute_sql(self, query):
          
          c = self.con.cursor()
          c.execute(query)
          result = c.fetchall()
          return result
docs: Executes a given query string on an open sqlite database.