Mysql
 sql >> Database >  >> RDS >> Mysql

Come posso modificare i valori del database utilizzando PHP e MySQL?

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

se lo inserisci nella query, restituisce M o F