concat(round(avg( case when TIMESTAMPDIFF(second,start_time,end_time)>=duration then 1 else TIMESTAMPDIFF(second,start_time,end_time)/duration end)*100,2),"%")as avg_play_progress #还可以用case when 函数(当复习了)
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务