Hi all,
I got a database with Date, Message and Author.
I want a query to give me the number of messages the author has sent in 1 day, 1 week and 1 month.
Basically 3 output fields:
1. count where Date >Date(1 day ago)
2. count where Date >Date(1 week ago)
3. count where Date >Date(1 month ago)
Is it possible to express this in a single query?
I got a database with Date, Message and Author.
I want a query to give me the number of messages the author has sent in 1 day, 1 week and 1 month.
Basically 3 output fields:
1. count where Date >Date(1 day ago)
2. count where Date >Date(1 week ago)
3. count where Date >Date(1 month ago)
Is it possible to express this in a single query?