'Create "div_by_ten" a boolean columns based on condition in mysql
Solution 1:[1]
select *, case when mod(marks,10) = 0 then 'yes' else 'no' end as 'div_by_ten' from marks order by student_id;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | kundan kaushik |

