Implemented a full compileSelectSQL with the MySQL SQLDesigner.