display if column has value then display value in mysql code example Example: if inside select mysql SELECT IF(1>3,'true','false');