updated sql
Merge pull request #18 from autorepo/development

updated sql