title: Inserting data in a particular column where login id is already present
body: <p>I want to write an sql command in PHP in which I want to insert a data in a particular column having particular data already present in that row.Here is the image where I want to insert 1_day_device to a particular 1_day_id</p>
  
  <p><img src="https://i.stack.imgur.com/hJ922.png" alt="image"></p>
  
  <p>Also, how can I autodelete a row after a certain time? Like, in the image I want to delete one complete row after one day. I am using PHP for server-side. </p>