阅读背景:

在没有查询表的情况下计算给定日期范围内星期日的出现次数

来源:互联网 

I want to count the number of Sundays occurring in a given date range using MySQL... My problem is the dates given is not in a table...all I want is to let SQL compute it without any query..for example: SELECT DATEDIFF(date1,date2); which of course doesn't need any tables to query. Is it possible?I want to count the number of Sundays occurring




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: