#1009

Direct Daily Order Filter

The daily report must return orders for 2024-02-04 and keep sorting by id. Rewrite the filter so it compares created_at to the start of that day and the start of the next day, without changing the rows returned.

Original query
SELECT * FROM orders WHERE created_at::date = '2024-02-04' ORDER BY id

Vzorec pričakovanega izhoda

Tako izgleda pravilen odgovor — ima svoje število vrstic in se ni treba ujemati s tabelami sheme.

idstatususer_idcreated_at
12paid22024-02-04T09:00:00

Rezultat vaše poizvedbe se bo prikazal tukaj