Added the database queries

added the sql file in the help files