Adapt SQL comparer tests for structure graph
Use structure graph for SQL comparison