# Pastebin 6yn4vgd7 musicbrainz_db=# select recording_mbid, a.artist_mbids, b.artist_mbids from mapping.mb_metadata_cache_tmp_old a full outer join mapping.mb_metadata_cache_tmp b using (recording_mbid) where not (a.artist_mbids <@ b.artist_mbids and a.artist_mbids @> b.artist_mbids) LIMIT 5; recording_mbid | artist_mbids | artist_mbids ----------------+--------------+-------------- (0 rows)