#1095

Freshest Staging Row

Before loading, keep one current row for each src_id from stg_users. The freshest row has the greatest loaded_at; if tied, use the larger id. Return src_id and name, sorted by src_id.

Vzorec pričakovanega izhoda

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

namesrc_id
Alice A.101
Bob102
Carol103

Rezultat vaše poizvedbe se bo prikazal tukaj