select top 1 feedback from c_history where email='[email protected]'
and id = 1 order by ti desc
update c_history set feedback =2 where email='[email protected]' and
id =1 order by ti desc
by this query i am getting the data of perfect position, but i don't wanna fetch the data from that position. i want to update the data on that position. the problem is i can't use order by in update query. Select query is perfectly working and update query isn't working. please help me out from this problem