I have a log table where multiple rows have been included with ADD status ("status = 0" means "add").
How to remove status = 0 but it must be unrepeated value. For example each transaction id (tid) must have only one value with status = 0. 
For example;
id tid       tblname           type     status 
1   101     x                   U              0
2   101     x                   U              0
3   102     x                   U              0
4   102     x                   U              0
5   102     x                   U              0
Must return:
id  tid     tblname       type           status 
1   101     x            U              0
3   102     x            U              0
How can I do that?
 
     
    