16.4.5 G magnitude difference for neighbours within 100 mas
select floor(magnitude_difference * 1000.) / 1000. as magnitude_difference_bin,
count(*) as n
from edr3.dr2_neighbourhood
where angular_distance < 100
group by magnitude_difference_bin
order by magnitude_difference_bin