Simple CASE WHEN command : CASE WHEN Select : Flow Control SQL / MySQL


SQL / MySQL » Flow Control » CASE WHEN Select »

 

Simple CASE WHEN command





SELECT CASE WHEN 10*2=30 THEN '30 correct'
   WHEN 10*2=40 THEN '40 correct'
   ELSE 'Should be 10*2=20'
END;



           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

SQL / MySQL

 Navioo Flow Control
» CASE WHEN Select