How can we combine two queries into one nested query. let\'s say we have a relation called history from a game where history: playerid (string), roldid (string), directions(stri