dimana tanggal di datetime mysql

WHERE DATE(datetime) = '2009-10-20'
like this
WHERE datetime LIKE '2009-10-20%'
anonimus_desu