added new function to return the last sql query run
Merge pull request #72 from geenasuresh/master

added new function to return the last sql query run