public BEPlaylist getById(int id) throws SQLException {
        for (BEPlaylist aSong : getAllPlaylists()) {
            if (aSong.getId() == id) {
                return aSong;
            }
        }
        return null;
    }