Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select SUMmed value from result, greater than preset value 1

Status
Not open for further replies.

karlomutschler

Programmer
Jun 5, 2001
75
DE
Hi all,

From the result of this query I wish to select all of those whose SUMmed revenue_amount for the 3 months is greater than say 250.

SELECT contract_id
,revenue_amount
-- ,SUM(revenue_amount)
FROM contract_turnover
WHERE revenue_date BETWEEN '01.04.2001' AND '01.06.2001'
;

TIA for your help
Kind regards.
Karlo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top