     'X'
  from cm_input);
 
-select * from concept_manual where concept_code = '0124A';
--- 3. insert new relationship into concept_relationship_manual:
-select * from concept_relationship_manual
-where concept_code_1 = '0072A';
-
--- 4. insert new synonyms into concept_synonym_manual:
-
-select * from concept_synonym_manual;
-
-select * from concept_manual;

--restore concept_manual table (run it only if something went wrong)
/*TRUNCATE TABLE dev_cpt4.concept_manual;
INSERT INTO dev_cpt4.concept_manual
SELECT * FROM dev_cpt4.concept_manual_backup_2022_08_12;*/

DO
$body$

--restore concept_relationship_manual table (run it only if something went wrong)
/*TRUNCATE TABLE dev_cpt4.concept_relationship_manual;
INSERT INTO dev_cpt4.concept_relationship_manual
SELECT * FROM dev_cpt4.concept_relationship_manual_backup_YYYY_MM_DD;*/

DO
$body$
