![]() |
#2
mary_xiaoman2015-07-29 13:56
|
id prob_type
1 PREVENTIVE MAINT
2 类型2
求大神帮忙解答下,当prob_type=PREVENTIVE MAINT时,使PREVENTIVE MAINT 变成自定义的中文,用sql该怎么写啊
我是这样写的:
select prob_type='类型' from afm.biao where prob_type='PREVENTIVE MAINT'