I want to write a query to retrieve accounts that don't have any open opportunities.
I was looking at nested queries, so I wanted to run something like this:
Select id from Account WHERE id = (SELECT AccountId from Opportunity where IsClosed = false)