A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.snowflake.com/en/sql-reference/constructs/having below:

Website Navigation


HAVING | Snowflake Documentation

HAVING

Filters rows produced by GROUP BY that do not satisfy a predicate.

Syntax
SELECT ...
FROM ...
GROUP BY ...
HAVING <predicate>
[ ... ]

Copy

Parameters
predicate

A Boolean expression.

Usage notes Examples

Find the departments that have fewer than 10 employees:

SELECT department_id
FROM employees
GROUP BY department_id
HAVING count(*) < 10;

Copy


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4