Parameter | Type | Description |
---|---|---|
value | any | the values to be counted, or `*` |
Returns: integer
Example
COUNT *
query:
SELECT COUNT(*)
FROM sales_pipeline
WHERE deal_stage = "Won"
result:
count |
---|
4238 |
COUNT
query:
SELECT COUNT(close_value)
FROM sales_pipeline
result:
count |
---|
6711 |