大佬教程收集整理的这篇文章主要介绍了语法错误:预期输入结束,但在,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
这是我尝试在 Bigquery 中运行的内容,但不断收到错误代码。我做错了什么?
#显示吸烟者的死亡人数
SELEct dea.LOCATIOn,dea.population,gen.female_smokers,gen.male_smokers
sum(female_smokers) as @R_416_10586@lFemales,sum(gen.male_smokers) as @R_416_10586@lMale over (PARTITION BY dea.LOCATIOn order by dea.LOCATIOn,dea.population) as RollingWomen
FROM capstone-project-317016.Portfolio1.CovIDDeaths dea;
join capstone-project-317016.Portfolio1.CovIDbygender gen
on dea.LOCATIOn = gen.LOCATIOn
and dea.population = gen.population
where dea.LOCATIOn is not null
group by dea.population
在 gen.male_smokers 第 1 行后添加逗号
over (PARTITION BY dea.LOCATIOn order by dea.LOCATIOn,dea.population) as RollingWomen 之前一定有一些聚合函数
以上是大佬教程为你收集整理的语法错误:预期输入结束,但在全部内容,希望文章能够帮你解决语法错误:预期输入结束,但在所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。