hel*_*rld 4 sql google-bigquery
我需要准确提取表中不同日期的“yearweek”,但我在 BigQuery (标准 SQL / Legacy SQL )中找不到“yearweek”的任何匹配项。
谢谢
Gor*_*off 6
对于字符串形式的结果,请'%Y%W'与“format”一起使用。例如:
'%Y%W'
select format_date('%Y%W', current_date)
归档时间:
7 年,3 月 前
查看次数:
4593 次
最近记录:
4 年,5 月 前