Database · Medium · ProGet the first and the most recent order for each customer in a single row.DatabaseSQL QueriesSeniorWindow Functions