[英]How to display text in shortform while selecting from a column in sql
Display text as BE instead of Backend while selecting department from employee table.从员工表中选择部门时,将文本显示为 BE 而不是 Backend。
select
case department
when 'Backend' then 'BE'
else department
end as department
from
employee
;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.