I am to not able to use the \'trunc(in oracle)\' function in \'mysql\' database. I have a table called dlb_cc_purchase and date field called due_date in my \'mysql\' datab
Use DATE(expr) function. Query example:
SELECT * FROM dlbcc_purchase WHERE DATE(due_date) = '2014-11-20'