title: Use SELECT database laravel
body: <p>i have a problem with my database please help me</p>
  
  <pre><code>select *from `parts` 
      where `code` in ('2976', '1620', '1619', '2977') 
      and `date` != '0000-00-00 00:00:00' 
      group by `code` 
      order by `created_at` desc
  </code></pre>