Sto cercando una query utilizzando Data Explorer per recuperare tutti gli argomenti senza tag.
SELECT t.id AS topic_id
FROM topics t
LEFT JOIN topic_tags tt ON tt.topic_id = t.id
WHERE tt.tag_id IS NULL
Intendevo aggiungere un piccolo tocco di “non eliminato” e “non PM” ![]()
SELECT t.id AS topic_id
FROM topics t
LEFT JOIN topic_tags tt ON t.id = tt.topic_id
WHERE tt.tag_id IS NULL
AND t.deleted_at IS NULL
AND t.archetype = 'regular'
ORDER BY topic_id DESC
Questo è super utile.. sia tu che @RGJ.. Grazie!