Hello people,
I need some help in BigQuery.
I have 2 tables (calendar & employee) with similar structure as below
Calendar table:
calendar_id, date, is_weekend
20200604, 2020-06-04, false
20200605, 2020-06-05, true
20200606, 2020-06-06, true
20200607, 2020-06-07, false
Employee table:
employee_id, calendar_id, hours_logged
1001, 20200604, 10
1001, 20200607, 10
1002. 20200604, 8
1002. 20200607, 8
In Employee table, we don't have the weekend data. How can I include the weekend data for each employee?