Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brain Freeze
Message
From
25/11/2019 13:51:46
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Title:
Brain Freeze
Miscellaneous
Thread ID:
01672067
Message ID:
01672067
Views:
82
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.
Next
Reply
Map
View

Click here to load this message in the networking platform