INSERT INTO `new` (`id`, `name`, `cat`) SELECT '1', 'testName', `cat`+1 FROM `new` ORDER BY `cat` DESC LIMIT 1;