title: VARCHAR_FORMAT IN DB2 AND MYSQL
body: <p>I have a line in the DB2 query as shown below</p>
  <p><strong>varchar_format(col1, case when ord = 2 then '999.00' else '9,999,999,999' end)</strong></p>
  <p>I'm looking for the same purpose function in MySQL.
  I realized that this function doesn't exist in MySQL.
  Is there any substitute function that can be used in MySQL?</p>