Challenge: Customers from Specific Cities with Orders
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 5.56
Challenge: Customers from Specific Cities with Orders
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
single