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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -