Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Customers from Specific Cities with Orders | Subqueries in E-commerce Analytics
Subqueries in SQL

bookChallenge: Customers from Specific Cities with Orders

Tehtävä

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, and city columns from the customers table.
  • Only include customers whose city is either 'New York' or 'Los Angeles'.
  • Only include customers who have at least one matching customer_id in the orders table.
  • Use a subquery in your solution.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 5
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: Customers from Specific Cities with Orders

Pyyhkäise näyttääksesi valikon

Tehtävä

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, and city columns from the customers table.
  • Only include customers whose city is either 'New York' or 'Los Angeles'.
  • Only include customers who have at least one matching customer_id in the orders table.
  • Use a subquery in your solution.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 5
single

single

some-alt