title: What is the use of mdf and ldf in sql?
body: <p>I am very new to databases. My friend has shared the following files</p>
  
  <ul>
  <li><code>company_db.sql</code> </li>
  <li><code>company.mdf</code></li>
  <li><code>company.ldf</code></li>
  </ul>
  
  <p>Now I executed the sql file &amp; on successful execution of the command, all the tables, relations are installed on my local machine. </p>
  
  <p>Now definition wise I know what are the <code>.mdf</code> and <code>.ldf</code> files, but I am confused that </p>
  
  <ul>
  <li>What is the use of <code>.mdf</code> and <code>.ldf</code> files in my scenario?</li>
  <li>What should I do with these files?</li>
  </ul>