Location Cleanup


Please login or register to vote for this query.

(click on this box to dismiss)

Tridion Meta

Q&A about the site for Tridion developers and administrators

select Location, Cnt, CleanedLocation from
  (select Location, Cnt, 

    when Location like '%USA%' then 'USA'
    when Location like '%United States%' then 'USA'
    when Location like '%India%' then 'India'
  end as CleanedLocation

    (select Location, count(Location) as Cnt from Users where Location!='' group by Location) q1
) q2
where CleanedLocation=NULL
order by Cnt desc

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results