Challenge: Customers from Specific Cities with Orders
Aufgabe
Swipe to start coding
Find all customers from either 'New York' or 'Los Angeles' who have placed at least one order.
- Select the
customer_id,name, andcitycolumns from thecustomerstable. - Only include customers whose
cityis either 'New York' or 'Los Angeles'. - Only include customers who have at least one matching
customer_idin theorderstable. - Use a subquery in your solution.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 5
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 5.56
Challenge: Customers from Specific Cities with Orders
Swipe um das Menü anzuzeigen
Aufgabe
Swipe to start coding
Find all customers from either 'New York' or 'Los Angeles' who have placed at least one order.
- Select the
customer_id,name, andcitycolumns from thecustomerstable. - Only include customers whose
cityis either 'New York' or 'Los Angeles'. - Only include customers who have at least one matching
customer_idin theorderstable. - Use a subquery in your solution.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 5
single