Fix your code with AI
DataLab's AI assistant is great at debugging code, helping you save some time and increasing your productivity.
Have a go at using the AI assistant to debug the code provided.
This exercise is part of the course
DataLab with SQL
Exercise instructions
- Run the cell provided and use the AI assistant to correct the broken code.
- The final query should show the
sales_rep
,region
, andSUM(sales_amount)
with the correct grouping. - Save the final result as a DataFrame
debug_ai
.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
