sql截取中间字段 select tables.num from (select left(stuff(shangpindata,1,charindex(',',shangpindata),''),charindex(',',stuff(shangpindata,1,charindex(',',shangpindata