DB query correction
Merge branch 'master' of https://github.com/arunkab/DemoPhase1