I have about 3 SQLs that I would like to join together with a Union. The problem that I'm having is with the Group by. Basically what I have is:
select location, '1', count(location)
union
select location, '2', count(location)
union
select location, '3', count(location)
Any ideas?
select location, '1', count(location)
union
select location, '2', count(location)
union
select location, '3', count(location)
Any ideas?