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.
Esempio di output atteso
Ecco come appare una risposta corretta — il suo numero di righe è a sé stante, non deve corrispondere alle tabelle dello schema.
| name | src_id |
|---|---|
| Alice A. | 101 |
| Bob | 102 |
| Carol | 103 |
Accedi per vedere la cronologia degli invii
AccediAccedi per usare l'AI Mentor
Accedi