Closes #6 (closed)
Fixed sql syntax related issues. Faced issues with the AMQ integration testing that are giong to be resolved in future Issues.