@Override
    public boolean createTable(String query) {
        Statement statement = null;
        try {
            if (query.equals("") || query == null) {
                this.writeError("SQL Create Table query empty.", true);
                return false;
            }

            statement = this.connection.createStatement();
            statement.execute(query);
            return true;
        } catch (SQLException ex) {
            this.writeError(ex.getMessage(), true);
            return false;
        }
    }