Challenge: City-Based Sales Analysis
Aufgabe
Swipe to start coding
Write a query to analyze how many sales have occurred in each customer city. Your query should:
- Join the
salesandcustomerstables using thecustomer_idcolumn. - Group the results by the
citycolumn from thecustomerstable. - Count the number of sales for each city.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 4
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Großartig!
Completion Rate verbessert auf 5.56
Challenge: City-Based Sales Analysis
Swipe um das Menü anzuzeigen
Aufgabe
Swipe to start coding
Write a query to analyze how many sales have occurred in each customer city. Your query should:
- Join the
salesandcustomerstables using thecustomer_idcolumn. - Group the results by the
citycolumn from thecustomerstable. - Count the number of sales for each city.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 4
single