Hello Guys
Please help me…
I have a table `tbl_users_logos with fields id, create_date(timestamp), …
I wana to get those records added on previous fith day not less not more only - 5 day.
Thanks in advance.
Hello Guys
Please help me…
I have a table `tbl_users_logos with fields id, create_date(timestamp), …
I wana to get those records added on previous fith day not less not more only - 5 day.
Thanks in advance.
SELECT id
, create_date
FROM tbl_users_logos
WHERE create_date >= CURRENT_DATE - INTERVAL 5 DAY
AND create_date < CURRENT_DATE - INTERVAL 4 DAY