SELECT CONCAT(usrFirstname,'',usrSurname) As FullName,
usrNickname AS Nickname,
usrEmail As EmailAddress,
CASE WHEN usrGender = 0
THEN
'M'
ELSE
'F'
END AS Gender,
DATE_FORMAT(usrDOB,'%d%m%y') As DOB,usrBelt AS BeltId
FROM user
यदि आप इसे क्वेरी में डालते हैं तो यह M या F लौटाता है