另外,MySQL不允许我在这个语句上创建视图
SELECT name, a.user, liste, c.order, total_1kr, total_5kr, total_8kr, total_10kr=0 OR 5kr!=0 OR 8kr!=0 OR 10kr!) AS total_1kr, sum( t2.5kr ) *5 AS total_5kr, sum( t2.8kr ) *8 AS
for(i in 1:nrow(MStar_KR)) if (MStar_KR[i,1]=="Year over Year") MStar_KR[i,1]<- MStar_KR[i-1,1] %s+% "_" %s+% MStar_KR[i,1]}
我是R的初学者,有没有可能使用apply函数进行同样的操作?