Dette er utestet, men burde fungere i alle PostgreSQL-versioner:
UPDATE plays SET album = substring (album FROM '^6,(?:(.+),)?tv\d+');
Dette er utestet, men burde fungere i alle PostgreSQL-versioner:
UPDATE plays SET album = substring (album FROM '^6,(?:(.+),)?tv\d+');