Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Find Customers with Orders | Core Join Types and Their Applications
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL Joins in Depth

bookChallenge: Find Customers with Orders

Завдання

Swipe to start coding

Write a query to return the names of all customers who have placed at least one order. Use an INNER JOIN between the customers and orders tables to accomplish this.

  • Select the name column from the customers table.
  • Use an INNER JOIN to combine rows from customers and orders where the customer_id matches in both tables.
  • Ensure only customers who have at least one matching order appear in the result.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 2
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Find Customers with Orders

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Write a query to return the names of all customers who have placed at least one order. Use an INNER JOIN between the customers and orders tables to accomplish this.

  • Select the name column from the customers table.
  • Use an INNER JOIN to combine rows from customers and orders where the customer_id matches in both tables.
  • Ensure only customers who have at least one matching order appear in the result.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 2
single

single

some-alt