I ran an SQL code that goes:
SELECT DISTINCT Track, Artist, Valence, Stream
FROM dbo.[spotify _db]
ORDER BY Stream DESC, Valence DESC
This resulted to:
The desired output should be
- | - | - | - |
---|---|---|---|
Blinding Lights | The Weeknd | 0.334 | 3386520288 |
Shape of You | Ed Sheeran | 0.931 | 336200520 |
Someone You Loved | Lewis Capaldi | 0.446 | 2634013335 |
rockstar (feat.... | Post Malone | 0.129 | 2594926619 |
Sunflower .... | Post Malone | 0.925 | 2538329799 |
One Dance | Drake | 0.37 | 2522431995 |
Closer | The Chainsmokers | 0.661 | 2456205158 |
Notice that Sunflower and Closer should be one track name
I tried using DISTINCT so that the duplicate song titles (because they are of the same artist) will not show but it keeps on showing. Any suggestions? Thanks in Advance