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