solulubeta
Sign in
SQL / Reading a table
01.04 · SQL

When did each sale happen?

Accounts wants a list of bill numbers and their dates.

Easy 3 min Free

Accounts wants a list of bill numbers and their dates.

Return sale_id and sale_date for every sale.

Expected output (sample data)

Rows may come in any order.

sale_idsale_date
12023-12-18
22023-12-23
32024-01-06
42024-01-08
52024-01-10
62024-01-13
72024-01-17
82024-01-22
92024-02-03
102024-02-05
112024-02-09
122024-02-14

…and 11 more rows.

Loading the SQL workspace…
Mark this as done when you are finished.

Item 4 of 77 · updated 2026-10-12