get count of the records within specific dates

  • i used this script .. but not works

    select Count(*) , date_Col

    from table

    Where date_col between '1/1/2000' and '1/2/2003'

    Error : group by need to be used ..

    changed to

    select Count(*) , date_Col

    from table

    Where date_col between '1/1/2000' and '1/2/2003'

    group by date_col

    not working ..

    please tell me ..How to Get the number of records and date colum ..

    between specific columns

    \

  • I got it .. finally.. thanks

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply