In the table of my database:
id_client (primary key and auto_increment)
name_client (varchar)
time_insert (datetime)
for example the datas in the table:
---------------------------------------
| id_client name_client time_insert
| 1 tintin 2012-08-17 11:04:04
| 2 tata 2012-08-17 11:06:15
| 3 toto 2012-08-17 11:10:05
if I want to delete the row whose time_insert is the nearest(the closest to) to system time, how can I write the command?
ORDER BYANDLIMITis also working for delete statement.