Returns the string representation of an SQL query, generated by appending SQL expressions to a QueryBuilder.