Skip to content

Instantly share code, notes, and snippets.

@thejeshgn
Created May 20, 2014 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thejeshgn/0254a91f3e8f627b661b to your computer and use it in GitHub Desktop.
Save thejeshgn/0254a91f3e8f627b661b to your computer and use it in GitHub Desktop.
factor
select density.stop, density.strength, lat,lng from ( select bs.busstop stop , count(bs.busstop) as strength from bus_route bs , timings t where t.route_no = bs.route_no group by bs.busstop ) as density, busstop s where s.name=density.stop order by density.strength desc;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment