Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Brain Freeze
Message
De
25/11/2019 13:51:46
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Titre:
Brain Freeze
Divers
Thread ID:
01672067
Message ID:
01672067
Vues:
81
The table has 3 columns:
depositamout (decimal)
trantype char(3) - can be 'DEP' (deposit) or 'CPU' (carrier pickup)
trandate datetime

I want to write a query that returns the the date associated with the carrier pickup and the sum of the deposits that occurred since the date of the previous carrier pickup, including those of the carrier pickup date.

Any help greatly appreciated.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform