CASE 
WHEN `type` = 'EGAME' THEN 
    CASE 
        WHEN `ACTION` = '2' THEN netWin 
        WHEN `ACTION` = '3' THEN cancel 
        ELSE 0 
    END
WHEN `type` = 'TABLE' THEN netWin
ELSE 0 
END