Trying to figure out a complex SQL query, and the goddamn drum circle outside isn’t helping.