I have a input table in mysql
colA colB
------------
ABC -3
DEF 2
GHI -1
ABC 4
DEF -2
GHI -1
JKL 2
and i want output as
colA colB
------------
DEF 2
GHI -1
ABC 4
DEF -2
GHI -1
JKL 2
i only want to exclude the negative values for colB for colA = 'ABC' and want to keep rest all the negative and positive values for colA in ('DEF','GHI','JKL')