mysql - [Solved]sql query to get duplicate records with different dates -
i need records different date field ,
table sites:
field id reference created
every day add lot of records, need function extract records existing duplicates of rows added, notifications.
the conditions can't difference between records of current day , old data in table should (one day 4 days) .
if there simple query without using transaction .
i'm not sure totally understand mean duplicate records, here's basic date query:
select fieldid, reference, created, date(created) the_date sites the_date between date( date_sub( now() , interval 3 day ) ) , date ( now() )
Comments
Post a Comment