Used by
MySql 5.7 - x64
There is a table
CREATE TABLE `tst_005_tbl_00` ( `id` INT(11) NULL DEFAULT NULL, `pl_1` VARCHAR(1000) NULL DEFAULT NULL, `pl_1_sprch` ENUM('pl_1_1','pl_1_2','pl_1_3','pl_1_4','pl_1_5','pl_1_6') NULL DEFAULT NULL ) COLLATE='utf8_general_ci' ENGINE=InnoDB ; Scenario
1. In the "pl_1_sprch" field , select a value from the drop-down list;
2. In the "pl_1" field , the trigger adds new values to existing values separated by commas.
Question
1. Is it possible to implement this scenario?
2. If yes, then how should the solution approximately look like?
3. What other ways can this problem be solved?
4. How to make the data in the field where the tags are collected are not repeated?