title: Checking date with less than or equal to 10 days
body: <pre><code>Select projectname
  from project
  where to_char(start_date, 'yyyy-mm-dd') - to_char(end_date, 'yyyy-mm-dd') &lt;= 10;
  </code></pre>
  
  <p>Hi, so i want to get a project that is less than or equal to 10 days long, I am new to SQL, not sure if I am doing it right or not.</p>