I'm I able to do a unique scan based on bins?

@kporter I would expect the following result from your dataset:

a,a a,b b,a

As for more details, I have posted another question before though I feared I got too specific. Here is the link Complex queries