On 27/07/2009 7:40 AM, Rick Ratchford wrote: > I have a TABLE with a column of Day Numbers (1 to 366) called DayNum.
> Let's say that you want get a count of each DayNum. > How do I word my statement so that it gives me a count of each DayNum, which > is from 1 to 366? Consider leap years ... day number 60 means February 29 in a leap year and March 01 in other years. The last day of the year is day 366 in a leap year and day 365 in other years. Comparing day numbers that relate to different years seems not very meaningful. Grouping by day numbers that relate to different years seems likewise not very meaningful (for day numbers greater than 59). What are you trying to achieve? _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

