I keep a record of logins in a table. I have columns for id, ip, date and time. From that record of logins I wanna fetch logins made only in the last hour.
I\'m swe
it can be done easily using
select count(*) from logins where datetime>= NOW()- INTERVAL 1 HOUR