title: In DB table, How to update query after select query?
body: <p>I want update query after select query.</p>
  
  <p>first SELECT query , <code>SELECT * from be_settings order by seq desc limit 1</code></p>
  
  <p>this select query  is based on seq, retrieve the last inserted record.</p>
  
  <p>I want update on this record.</p>
  
  <p>second Update Query, <code>UPDATE be_settings set appgubun ='CCTV', running ='on'</code>.</p>
  
  <p>how to update query after select query?</p>
  
  <p>thanks.</p>