Google BigQuery Date Functions

  Рет қаралды 5,961

Analytics with Adam

Analytics with Adam

Күн бұрын

This video will cover some Google BigQuery SQL Date Functions for beginners. The BigQuery SQL Date Functions we will cover are the following.
1. The date_diff function, which allows the user to extract the difference between two dates in SQL measure in a selected date part, in the video we look at day, month and hour, for a full list of date parts please refer to the BigQuery SQL Date Functions documentation which we have a link to below.
The date difference function needs to be formatted as date_diff(later date col, earlier date col, date part)
2. The extract function can extract a part of a date to be used for analytics / aggregation. The extract function needs to be formatted as extract(date part from date column)
3. The last day function converts a date to the last day of the month it occurs in, perfect for aggregating values.
4. The format date function formats the date in to different date formats. FORMAT_DATE("%x", date)
You can find the date function documentation here cloud.google.c....
You can find the date format documentation here
cloud.google.c...

Пікірлер: 5
Google BigQuery String Functions
10:57
Analytics with Adam
Рет қаралды 2,4 М.
Google BigQuery Top 5 Must Know Functions
12:14
Analytics with Adam
Рет қаралды 1 М.
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 66 МЛН
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 16 МЛН
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 5 МЛН
DATE_BUCKET in SQL Server 2022
8:15
Software Nuggets
Рет қаралды 313
Connecting Looker Studio to Views in BigQuery
20:29
Vision Labs
Рет қаралды 5 М.
How I'd Learn Data Analytics in 2024 (If I Had to Start Over)
14:08
CareerFoundry
Рет қаралды 801 М.
Big Query Live Training - A Deep Dive into Data Pipelining
1:02:05
MeasureSchool
Рет қаралды 61 М.
3 Types of Projects That Will Make You a Programmer
8:12
Andy Sterkowitz
Рет қаралды 1 МЛН
Google Cloud Data Analytics in 10 minutes
10:41
Google Cloud Tech
Рет қаралды 48 М.
Developers guide to BigQuery export for Google Analytics 4
19:33
Google for Developers
Рет қаралды 10 М.
Just store UTC? Handling Time Zones & Daylight Saving
7:44
CodeOpinion
Рет қаралды 31 М.
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 66 МЛН