Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Find Late Deliveries | Date and Time Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL

bookChallenge: Find Late Deliveries

Task

Swipe to start coding

Write a query to find orders where the shipped date is more than 3 days after the order date.

  • Select all columns from the orders table.
  • Include only those rows where the shipped_at date is more than 3 days after the order_date.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you explain that in more detail?

What are the main benefits or drawbacks?

Can you give me an example?

close

bookChallenge: Find Late Deliveries

Swipe to show menu

Task

Swipe to start coding

Write a query to find orders where the shipped date is more than 3 days after the order date.

  • Select all columns from the orders table.
  • Include only those rows where the shipped_at date is more than 3 days after the order_date.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
single

single

some-alt