// if (result.status == 200 || result.status==201) {
// const playlistId = result.data.id
// db.all('SELECT song_id, song_author, song_title, song_duration, COUNT(id) AS occurrence FROM songs WHERE party_id=? GROUP BY song_id ORDER BY occurrence LIMIT (SELECT num_tracks FROM party WHERE ID=?)',
db.all('SELECT song_id, song_author, song_title, song_duration, COUNT(id) AS occurrence FROM songs WHERE party_id=? GROUP BY song_id ORDER BY occurrence LIMIT (SELECT num_tracks FROM party WHERE ID=?)',