trying to find a query to select data that will start at specific time 08:00 till the next day at 08:00, i have separate date and time fields and also selecting specific criteria from date to date.
select * from table
where datefield between '2014-01-14' and '2014-01-14'
and timefield between '08:00' and '08:00'