hi
Is there any other way to get number of records,below is my sql and want to run without distinct, since per item there
is only one record per day.
SELECT distinct
m1.Mtrl_id,
Month(m2.date) AS Mth,
Count(Year(m2.Date)) AS TotalCount
FROM MasterMtrl m1
INNER JOIN MtrlTransaction m2 ON...