SELECT * FROM c_programme, ez_urls WHERE node_id = "87440" AND old_id = contentobject_id