Added SQL-Statements for mysql and postgresql
Merge pull request #985 from stasic/master

Added SQL-Statements for mysql and postgresql