SET FOREIGN_KEY_CHECKS = 0; 
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;

TRUNCATE `answer`;
ALTER TABLE `answer` AUTO_INCREMENT = 1;

TRUNCATE `category`;
ALTER TABLE `category` AUTO_INCREMENT = 1;

TRUNCATE `category_translation`;
ALTER TABLE `category_translation` AUTO_INCREMENT = 1;

DELETE FROM `feedback_translation` where id > 3;

DELETE FROM `feedback` where id > 3;

TRUNCATE `question_translation`;
ALTER TABLE `question_translation` AUTO_INCREMENT = 1;

TRUNCATE `question`;
ALTER TABLE `question` AUTO_INCREMENT = 1;

TRUNCATE `question_option_translation`;
ALTER TABLE `question_option_translation` AUTO_INCREMENT = 1;

TRUNCATE `question_option`;
ALTER TABLE `question_option` AUTO_INCREMENT = 1;

TRUNCATE `question_multimedia`;
ALTER TABLE `question_multimedia` AUTO_INCREMENT = 1;

SET FOREIGN_KEY_CHECKS = 1;
COMMIT;