我是SQL新手,不确定这里是否遗漏了什么,但想知道为什么我的OR子句在这里不起作用。它只返回Doja Cat的信息,而不是Olivia Rodrigo的信息
SELECT artist_name, track_name,
AVG(tempo),
AVG(danceability),
AVG(popularity),
AVG(loudness),
AVG(energy)
FROM BIT_DB.Spotifydata
WHERE artist_name = 'Doja Cat' OR 'Olivia Rodrigo'
GROUP BY artist_name, track_name
1条答案
按热度按时间xe55xuns1#
或