I want delete rows in my table where I have minimum Time stamp value.
DELETE FROM `table_name` WHERE `time_Stamp` =MIN(`table_name.time_Stamp`)
I want delete rows in my table where I have minimum Time stamp value.
DELETE FROM `table_name` WHERE `time_Stamp` =MIN(`table_name.time_Stamp`)
First you do a select statement like
select * FROM table_name WHERE time_Stamp =(select MIN(table_name.time_Stamp) from table_name)
and check whether you are getting all the correct records then you can use
DELETE FROM table_name WHERE time_Stamp =(select MIN(table_name.time_Stamp) from table_name)