Here I explain CASE and WHEN condition with MySQL select query.
MySQL Example:
SELECT CASE
WHEN STATUS_FLAG=1 THEN ‘Yes’ ELSE ‘No’
END AS STATUS_FLAG
FROM TABLE1
Enjoy!
Are you on a quest to enhance your photography projects with a touch of nostalgic flair? Look no further than 1980s photo prompts. These car...
No comments:
Post a Comment