How to translate this SQL Query to DQL?
===

I have a lot of difficulties in trying to translate this SQL query to a DQL one (I am using Symfony2).

<code>
       SELECT d.* FROM Document d JOIN DocumentType dt ON dt.id = d.document_type_id WHERE (d.dateFinal - INTERVAL dt.renewal SECOND) > NOW();"
</code>

Thanks a lot !