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