Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres having

SELECT
	customer_id,
	SUM (amount)
FROM
	payment
GROUP BY
	customer_id
HAVING
	SUM (amount) > 200;Code language: SQL (Structured Query Language) (sql)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #postgres
ADD COMMENT
Topic
Name
2+7 =