Good afternoon everyone apologize for my little annoyance.
I have a little doubt, I'm trying to give time to each event that enters the db Event table in the duration column, what I want to do is count down to "0" and then delete all the row of the table automatically.
My table is something like this:
Table "Event"
id nombre datalles fecha duracion
1 ticket_Rock Solo rock 16/02/2018 24h
2 ticket_otros Solo otros 18/02/2018 48h
CURRENT_TIMESTAMP is used in the column "duration" is there I think I'm fine ... I would appreciate very much for your help.