Finish Select SQL and MySql Dialect for Select.