updated sql
Merge pull request #2 from armenvartan/vivek

updated sql