added DB SQL
Merge pull request #1 from mriza/master

added DB SQL