SQL analysis with DataLab
Before you go, let's take a moment to bring a few things together in this DataLab exercise.
This exercise is part of the course
DataLab with SQL
Exercise instructions
- Start by selecting the full
sales_data.csvdataset and storing it as a DataFrame,sales_data. - Create a subset keeping only the data for
sales_rep"Alice", storing it as a DataFrame calledalice_sales. - Use
alice_salesto find the totalsales_amountbyregionandproduct_category, storing it as a DataFrame calledtop_products. - Visualize the results!
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise