Now capable of generating a full SQL query that produces the expected results.