Thanks for the tip... I have been looking around and scraching my head for months, not understanding why DATE_FORMAT wouldn't work for me.
And then I finally understud from you query that MySQL returns the column "datefield" as "DATE_FORMAT(datefield, '%y-%m-%d')" unless you add the "as date"... so simple, yet so frustrating for a sql novice like me.
Thanks,
Pat