title: How to remove Trailing Zero from milliseconds in DATETIME in MySQL
body: <p>How can I remove trailing zeros occurring in higher precision of DATETIME in MySQL.</p>
  
  <p>Sample input/output:</p>
  
  <pre><code>2018-04-13 13:02:32.948000     =&gt;    2018-04-13 13:02:32.948
  </code></pre>