def METHOD_NAME(self, counter, limit):
    query_params = []
    chunks = [
        'SELECT * FROM',
        self._render_from_expression(),
        self._render_where_expression(
            query_params, self._make_where_clauses()),
        self._render_order_by_expression(),
        self._render_limit_expression(counter, limit)]
    return ' '.join(x for x in chunks if x), query_params