SUm Example SQL

 SELECT Month(OccurredAt),

--AmountIncludingVAT

SUM (AmountIncludingVAT) 


FROM Cashbook


WHERE Year(OccurredAt) = '2022'


GROUP BY Month(OccurredAt)

Comments

Popular posts from this blog

Time Example

SET IDENTITY_INSERT