如果我有一个看起来像这样的 MySQL 表:
| NAME | STATUS | DESIGNATION |
-------------------------------
| ABCD | 0 | MD |
| DCFG | 1 | CEO |
| AHSG | 1 | DD |
是否可以运行 MySQL 查询以获得如下输出:
| NAME | STATUS | DESIGNATION |
-------------------------------------------
| ABCD | No | Managing Director |
| DCFG | YES | Chief Executive Officer |
| AHSG | YES | Deputy Director |