
DELETE FROM page_seo WHERE page_id IN (SELECT id FROM page WHERE name = 'OLD-NOT-IN-USE');

DELETE FROM page WHERE name = 'OLD-NOT-IN-USE';

