Home Forums SQL Server 2012 SQL 2012 - General Incorporate several queries in 1 RE: Incorporate several queries in 1
serg-52
SSCrazy Eights
Points: 9913
More actions
December 19, 2014 at 5:19 am
#1765669
If there're no other Genders besides 'Man' and 'Women' then you need only 3 queries under current setup.
I second a hope that Distance is a numeric column. Then just
...WHERE Distance BETWEEN 500 AND 1500