Here is the basic syntax of a SELECT statement with the optionalDocumentation Index
Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
Use this file to discover all available pages before exploring further.
WHERE clause:
condition is any expression that evaluates to a result of type boolean. Any row that does not satisfy this condition will be removed from the output. A row satisfies the condition if it returns true when the actual row values are substituted for any variable references. Subqueries are allowed in a condition expression.
Basic WHERE clause example:
WHERE clause comes before the GROUP BY clause in this example because the WHERE clause is used to filter the rows in a table before any aggregations are performed. In contrast, the HAVING clause filters data after aggregations are performed.