T
trinity13
SELECT MonthName(Month(orders!date),1) AS [Month], Day([date]) AS
[Day], Count(orders.id) AS Countid, Sum(orders.amount) AS Sumamt
FROM orders
WHERE (((orders.paystatus)=1) AND ((orders.amount)>0))
GROUP BY MonthName(Month(orders!date),1), Day([date]),
Year(orders!date), Month(orders!date)
HAVING (((Year([orders]![date]))>2004))
ORDER BY Year(orders!date) DESC , Month(orders!date) DESC ,
MonthName(Month(orders!date),1) DESC , Day([date]) DESC;
What does the (Month(order!date),1) do exactly? and Day(now()) do?
and from what i understand
the query selects the order count, amount total, (no of ids???) , the
money each day, the price for each ad,
i am lost!!!
[Day], Count(orders.id) AS Countid, Sum(orders.amount) AS Sumamt
FROM orders
WHERE (((orders.paystatus)=1) AND ((orders.amount)>0))
GROUP BY MonthName(Month(orders!date),1), Day([date]),
Year(orders!date), Month(orders!date)
HAVING (((Year([orders]![date]))>2004))
ORDER BY Year(orders!date) DESC , Month(orders!date) DESC ,
MonthName(Month(orders!date),1) DESC , Day([date]) DESC;
What does the (Month(order!date),1) do exactly? and Day(now()) do?
and from what i understand
the query selects the order count, amount total, (no of ids???) , the
money each day, the price for each ad,
i am lost!!!