Très simple SELECT ID, KARMA_UP, KARMA_DOWN, (KARMA_UP-KARMA_DOWN) AS USER_KARMA FROM KARMA ORDER BY USER_KARMA DESC