Jak uzyskać datę z datetime w MySQL
SELECT DATE(ColumnName) FROM tablename;
Islamation
SELECT DATE(ColumnName) FROM tablename;
WHERE DATE(datetime) = '2009-10-20'