对同一个表指定分别指定条件问题
Sqla="Select count(ArticleName) as TotalArticle From Article,count(ArticleName) as TodayArticle From Article Where DateDiff('d',ArticleTime,now)>0 and DateDiff('d',ArticleTime,now)<1"帮忙看看哪里出错了。。。。
Sqla="Select count(*) as TotalArticle,count(ArticleName) as TodayArticle From Article Where DateDiff('d',ArticleTime,now)>0 and DateDiff('d',ArticleTime,now)<1"
这样也不行。。
我是想实现第一次统计所有.第二次统计当天的..请指点..谢谢!!