code: def get_sql_select(self, columns, table, distinct=False):
          
          sql = 'SELECT {0} {1} FROM {2}'
          dist = {True: 'DISTINCT', False: ''}[distinct]
          return sql.format(dist, ', '.join(columns), table)
docs: Creates and returns an SQL SELECT statement