Data problem · Hard

Assemble the two-condition revenue query

Ready when you are.