1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 18:35:16 +01:00
Clementine-audio-player-Mac.../data/schema/schema-27.sql

13 lines
318 B
SQL

CREATE INDEX idx_title ON songs (title);
CREATE VIEW duplicated_songs as
select artist dup_artist, album dup_album, title dup_title
from songs as inner_songs
where artist != ''
and album != ''
and title != ''
group by artist, album , title
having count(*) > 1;
UPDATE schema_version SET version=27;