select len(replace(column,'-','--'))-len(column) 转载于:https://www.cnblogs.com/forthelichking/p/5138964.html