Home Forums RE: Question of the Day for 20 Oct 2005

  • You can northwind this question like this...

    select

    datepart(qq, orderdate) 'day of week'

    , count(*)

    from orders

    group by

    datepart(qq, orderdate)

    you get...

    4202

    3173

    2181

    1274


    {Francisco}