I want to compare two dates with time, I want all the results from tbl where date1 > date2
from tbl where date1 > date2
Select * From temp where mydate > \'2009-06-29
Do you want to order it?
Select * From temp where mydate > '2009-06-29 04:00:44' ORDER BY mydate;