![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Analyzing dates in a table
From: ZeldorBlat <zeldorblat@gmail.com>
Date: Thu Sep 08 2005 - 00:13:31 CEST
First off, you probably can't use the word 'Date' as a column name.
Hits today:
select sum(pageViews)
Hits this week:
select sum(pageViews)
If you want to count total hits for some arbitrary interval:
select sum(pageViews)
And, if you want to see these broken out by each page, just add
|