Reputation: 762
I've been trying to create a query that gathers all rows from a certain datetime, till the end of that specific day. Is this possible in some neat way?
Upvotes: 1
Views: 313
Reputation: 726
Try this replace date base on your requirement.
SELECT users.* FROM users WHERE date(created_at) = date('2016-10-04 10:12:10') and created_at >='2016-10-04 10:12:10'
Upvotes: 1