Web Development
Web Developer From India
(Move to ...)
Home
▼
September 4, 2016
MySQL select query with case and when condition.
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!
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment