I have one table in my database that says mytable, the content request of which comes from another source. This table has one βTimeβ column, which stores the date and time (for example, 2010/07/10 01:21:43) when the request was received. Now I want to receive data from this table hourly for each day. So, I want the number of requests to be received at every hour of the day. for example, 1 hour before 2 hours, let's say the score is 50 .. like this .. I ran this request at the end of the day. Therefore, I receive requests received in the daily group every hour.
Can anyone help me on this.
I want to get a query that takes less time to retrieve data, since the size of my database is huge.
Any other way than OMG Ponies will answer.
source
share