I don't see why I have to go into the user table as post has the username and userid fields.
Also from what I've learned, count(*) should execute faster than a count on a field.
Lastly that
WHERE dateline > [last month]
I understand your logic on this but how do I format [last month] so it will select something. The format for vb is in milliseconds that is hard to understand by looking at it.
I would like to do something like
WHERE dateline > 2003-04 AND dateline <= 2003-05
so I can refer to a specific month in the future.
It's the formatting of the date for the WHERE clause that I'm stuck on.
|