refactor query producing for sql, sql producer is now appearing in the producers screen
Merge pull request #48 from anotheria/feature/sql-stats-refactoring

refactor query producing for sql, sql producer.