mysql - Quering database in real time -


i retrieving data database having specific date , hour. supposing see data in real time. there way automatically extract data without specifying exact data , time? here query:

select   store,          count(bananas)     database_name    date_hour between '2017-04-06 07:00:00' , '2017-04-07 07:00:02' group sore 

select data last hour:

select   store,          count(bananas)     table_name     date_hour > date_sub(now(), interval 1 hour) group store 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

java - How to implement an entity bound odata action in olingo v4.3 -