Simple implementation process of website information statistics

xiaoxiao2021-03-06  113

Author:

pcskySQL statement as follows: SELECT DD.SumHits, AA.CountArt, CC.WeekUpdate, BB.RegUserNumFROM (SELECT COUNT (newsid) AS CountArt FROM article) AA, (SELECT COUNT (id) AS RegUserNum FROM Admin) BB, (SELECT COUNT ( NEWSID) AS WeekUpdate from (Article) Where Datediff ('ww', DateandTime, Now ()> = 7) CC, (Select Sum (Hits) AS Sumhits from Article DD Run Environment: vs.net 2003 with OLEDBConnection controls Used a child, because it is not convenient to write separately.

转载请注明原文地址:https://www.9cbs.com/read-101667.html

New Post(0)