【发布时间】:2014-10-31 18:14:38
【问题描述】:
我想选择具有专辑数量的唯一艺术家。
在 MusicLibrary 表中,保存了单独的歌曲。 (标题、艺术家、专辑...)
我试过了:
SELECT distinct artist, album, Count(*) from MusicLibrary group by artist order by artist
但我知道歌曲的数量。
如果有人可以帮助我,我将非常感激
【问题讨论】:
-
从
select中删除distinct和album。