Open joseh4 opened 3 months ago
Average Very Active Activity to Calories Burned Correlation
first user's calories burned journey
first user's weight journey
Checking work for daily calories. Calories were split into hourly burned rates, so I wanted to join them into a daily burned view by user. This query is checking my work for calories summed correctly.
Union tables. This query is to exemplify using the union function for my data. For the sake of understanding what is in each table, the columns have been written out. All columns were written out, so using the "*" character would have saved time, however, for you the reader, it is best to know what is being unionized.
This query shows I am selecting the Id, ActivityDay, while summing calories for each user and grouping the days together. In this dataset, there are multiple day entries for each user, so summing the calories to give me one day was important to generate a daily report.
Average Sedentary Minutes Activity to Calories Burned Correlation