You may use case
condition for this http://dev.mysql.com/doc/refman/5.0/en/case-statement.html
↧
Answer by lfx for mysql concate check not null
↧
You may use case
condition for this http://dev.mysql.com/doc/refman/5.0/en/case-statement.html