UPDATE `vt_Settings` SET `sorter` = `sorter` + 1 WHERE `idCategory` = 1; UPDATE `vt_Settings` SET `sorter` = `sorter` * 10 WHERE `idCategory` = 1; INSERT INTO `vt_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES ('cookiesMessage', '1', 'htmlEditor', 'Cookies Message', '', '', '', 'n', 'n', '35', '2009-09-11 12:35:43', '2017-11-20 13:22:46'); INSERT INTO `vt_SettingsOptions` (`id`, `name`, `variable`, `value`, `type`, `sorter`) VALUES ('0', 'cookiesMessage', 'mode', 'view', 'string', NULL);