SELECT then immediately DELETE mysql record

后端 未结 5 2036
情深已故
情深已故 2021-01-17 14:14

I have a PHP script that runs a SELECT query then immediately deletes the record. There are multiple machines that are pinging the same php file and fetching data from the s

5条回答
  •  无人及你
    2021-01-17 14:59

    You should use subquery as follows...

    
    

    *Note: Always select only the fields you want... try to avoid select *... this will slow down the performance

提交回复
热议问题