title: How to implement ISNULL and GETDATE into DATEDIFF statement
body: <p>"the column should use ISNULL and GETDATE to calculate the current rental duration if the return date is NULL.  (i.e. if there is no return date, use the current date.)"
  Currently this is the snippet of code i have so far completed, i need to create a ISNULL and GETDATE statement for use with rental duration. i am not sure if i need to use an IF statement or where to put said statement in my current configuration.</p>
  
  <pre><code>SELECT mo.Movie_ID                     
   , co.copy_id                      
   , mo.Movie_Name
   , fo.format_name                  
   , c.customer_id
   , rental_ID
   , DATEDIFF (day, rental_date, return_date) AS rental_duration
   , c.first_name + ' ' + c.last_name AS customer_name
  </code></pre>
  
  <p>Thanks in advance. any help would be appreciated. </p>