i want to select record base on date and time. like..
2004-06-01 12:00pm until 2004-06-02 11:59am.
my date and time was different field. if i select like
SELECT * FROM `match` WHERE mat_date >= '2004-06-01' and mat_time >= '12:00'
only records of the day and more than 12 will select out.
anybody have idea to solve it? thank for reply
i use MySQL 4.0.. so cannot use subquery.