I tried to capture a relatively simple version of a SQL query, but show that more complexity lies underneath. Also, I tried to show the order of the parts of the query by numbering the edges.