Example import matplotlib.pyplot as plt import plotly.plotly as py # Learn about API authentication here: https://plot.ly/python/getting-started # Find your api_key here: https://plot.ly/settings/api y = [3, 10, 7, 5, 3, 4.5, 6, 8.1] N = len(y) x = r
1.利用SqlServer中的case when来把数据查询出来的数据替换成其它值显示 2.结果对比: 普通select查询出来的结果如下: 用了case when方法后显示结果如下: 3.具体使用代码如下: select cInvCode,cValueType, case when cValueType='全月平均法' then 'S' when cValueType='计划价法' then 'J' else '' end as cValueType ,isnull(iInvRCost,) f