I want to delete details between two dates
My code is given below
Delete from emp_leave_details
where emp_id='$id'
and from_date BETWEEN '$f_date' AND '$t_date'
The problem is that it deleted all record between $f_date
and $t_date
but didn't delete the record of $t_date
.I want to delete the records from $t_date
also.
from_data >= '$f_date' AND from_date <= '$t_date'
– Prix Sep 25 '13 at 9:56