text: INSERT INTO public.question (id, name, created, external_id, topic_id, difficulty, chapter, verified, book, question_number, course_id, school_id, parse_text, question_type) VALUES (1, 'Intrebare de chimie', '2021-04-07 19:40:02.389000', 'ed5f3339-ad59-4240-86be-b783be7881d7', 'd9ab3c1d-d080-4e2f-869c-0ccba4844bba', 'HARD', null, true, 'sfs', 123, '2a0f3f99-2c5d-46a4-8d32-5516175f1176', null, 'Molecule Name\n  CHEMDOOD08070920033D 0   0.00000     0.00000     0\n[Insert Comment Here]\n 14 15  0  0  0  0  0  0  0  0  1 V2000\n   -0.3318    2.0000    0.0000   O 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318    1.0000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -1.1980    0.5000    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    0.5342    0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -1.1980   -0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -2.0640    1.0000    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n    1.4804    0.8047    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    0.5342   -0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -2.0640   -1.0000    0.0000   O 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318   -1.0000    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    2.0640   -0.0000    0.0000   C 0  0  0  2  0  0  0  0  0  0  0  0\n    1.7910    1.7553    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n    1.4804   -0.8047    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318   -2.0000    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n  1  2  2  0  0  0  0\n  3  2  1  0  0  0  0\n  4  2  1  0  0  0  0\n  3  5  1  0  0  0  0\n  3  6  1  0  0  0  0\n  7  4  1  0  0  0  0\n  4  8  2  0  0  0  0\n  9  5  2  0  0  0  0\n 10  5  1  0  0  0  0\n 10  8  1  0  0  0  0\n  7 11  1  0  0  0  0\n  7 12  1  0  0  0  0\n 13  8  1  0  0  0  0\n 13 11  2  0  0  0  0\n 10 14  1  0  0  0  0\nM  END\n> <DATE>\n07-08-2009\n', '2');
  INSERT INTO public.question (id, name, created, external_id, topic_id, difficulty, chapter, verified, book, question_number, course_id, school_id, parse_text, question_type) VALUES (2, 'Intrebare matematica', '2021-04-07 19:54:20.709000', '5b49d97d-c6c9-4ec0-8a62-610cf9968b8f', 'd9ab3c1d-d080-4e2f-869c-0ccba4844bba', 'HARD', null, true, 'saf', 1123, '2a0f3f99-2c5d-46a4-8d32-5516175f1176', null, '  Intrebare matematica
  <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
      <msup>
        <mrow data-mjx-texclass="INNER">
          <mo data-mjx-texclass="OPEN">(</mo>
          <munderover>
            <mo data-mjx-texclass="OP">&#x2211;</mo>
            <mrow>
              <mi>k</mi>
              <mo>=</mo>
              <mn>1</mn>
            </mrow>
            <mi>n</mi>
          </munderover>
          <msub>
            <mi>a</mi>
            <mi>k</mi>
          </msub>
          <msub>
            <mi>b</mi>
            <mi>k</mi>
          </msub>
          <mo data-mjx-texclass="CLOSE">)</mo>
        </mrow>
        <mrow>
          <mstyle scriptlevel="0">
            <mspace width="negativethinmathspace"></mspace>
          </mstyle>
          <mstyle scriptlevel="0">
            <mspace width="negativethinmathspace"></mspace>
          </mstyle>
          <mn>2</mn>
        </mrow>
      </msup>
      <mo>&#x2264;</mo>
      <mrow data-mjx-texclass="INNER">
        <mo data-mjx-texclass="OPEN">(</mo>
        <munderover>
          <mo data-mjx-texclass="OP">&#x2211;</mo>
          <mrow>
            <mi>k</mi>
            <mo>=</mo>
            <mn>1</mn>
          </mrow>
          <mi>n</mi>
        </munderover>
        <msubsup>
          <mi>a</mi>
          <mi>k</mi>
          <mn>2</mn>
        </msubsup>
        <mo data-mjx-texclass="CLOSE">)</mo>
      </mrow>
      <mrow data-mjx-texclass="INNER">
        <mo data-mjx-texclass="OPEN">(</mo>
        <munderover>
          <mo data-mjx-texclass="OP">&#x2211;</mo>
          <mrow>
            <mi>k</mi>
            <mo>=</mo>
            <mn>1</mn>
          </mrow>
          <mi>n</mi>
        </munderover>
        <msubsup>
          <mi>b</mi>
          <mi>k</mi>
          <mn>2</mn>
        </msubsup>
        <mo data-mjx-texclass="CLOSE">)</mo>
      </mrow>
    </math>', '1');
  INSERT INTO public.question (id, name, created, external_id, topic_id, difficulty, chapter, verified, book, question_number, course_id, school_id, parse_text, question_type) VALUES (3, 'Intrebare simpla', '2021-04-07 19:55:23.041000', '63f68f75-a2e8-4b45-8fc5-5438f77f4f94', 'd9ab3c1d-d080-4e2f-869c-0ccba4844bba', 'MEDIUM', null, true, '21123', 13, '2a0f3f99-2c5d-46a4-8d32-5516175f1176', null, '', '0');
  
  INSERT INTO public.answer (id, name, created, external_id, question_id, correct, reason, key, question_number, book, parse_text, answer_type) VALUES (1, 'true', '2021-04-07 19:40:02.463000', '0618c0d9-ed50-47a8-b292-be44188e1802', 1, true, 'true', 'A', 0, null, 'Molecule Name\n  CHEMDOOD08070920033D 0   0.00000     0.00000     0\n[Insert Comment Here]\n 14 15  0  0  0  0  0  0  0  0  1 V2000\n   -0.3318    2.0000    0.0000   O 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318    1.0000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -1.1980    0.5000    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    0.5342    0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -1.1980   -0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -2.0640    1.0000    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n    1.4804    0.8047    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    0.5342   -0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -2.0640   -1.0000    0.0000   O 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318   -1.0000    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    2.0640   -0.0000    0.0000   C 0  0  0  2  0  0  0  0  0  0  0  0\n    1.7910    1.7553    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n    1.4804   -0.8047    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318   -2.0000    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n  1  2  2  0  0  0  0\n  3  2  1  0  0  0  0\n  4  2  1  0  0  0  0\n  3  5  1  0  0  0  0\n  3  6  1  0  0  0  0\n  7  4  1  0  0  0  0\n  4  8  2  0  0  0  0\n  9  5  2  0  0  0  0\n 10  5  1  0  0  0  0\n 10  8  1  0  0  0  0\n  7 11  1  0  0  0  0\n  7 12  1  0  0  0  0\n 13  8  1  0  0  0  0\n 13 11  2  0  0  0  0\n 10 14  1  0  0  0  0\nM  END\n> <DATE>\n07-08-2009\n', '2');
  INSERT INTO public.answer (id, name, created, external_id, question_id, correct, reason, key, question_number, book, parse_text, answer_type) VALUES (2, 'false', '2021-04-07 19:40:02.475000', '6ab4f3d7-e0ed-4f80-8708-712c5dbf5217', 1, false, 'false', 'B', 0, null, 'Molecule Name\n  CHEMDOOD08070920033D 0   0.00000     0.00000     0\n[Insert Comment Here]\n 14 15  0  0  0  0  0  0  0  0  1 V2000\n   -0.3318    2.0000    0.0000   O 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318    1.0000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -1.1980    0.5000    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    0.5342    0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -1.1980   -0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -2.0640    1.0000    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n    1.4804    0.8047    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    0.5342   -0.5000    0.0000   C 0  0  0  1  0  0  0  0  0  0  0  0\n   -2.0640   -1.0000    0.0000   O 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318   -1.0000    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n    2.0640   -0.0000    0.0000   C 0  0  0  2  0  0  0  0  0  0  0  0\n    1.7910    1.7553    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n    1.4804   -0.8047    0.0000   N 0  0  0  1  0  0  0  0  0  0  0  0\n   -0.3318   -2.0000    0.0000   C 0  0  0  4  0  0  0  0  0  0  0  0\n  1  2  2  0  0  0  0\n  3  2  1  0  0  0  0\n  4  2  1  0  0  0  0\n  3  5  1  0  0  0  0\n  3  6  1  0  0  0  0\n  7  4  1  0  0  0  0\n  4  8  2  0  0  0  0\n  9  5  2  0  0  0  0\n 10  5  1  0  0  0  0\n 10  8  1  0  0  0  0\n  7 11  1  0  0  0  0\n  7 12  1  0  0  0  0\n 13  8  1  0  0  0  0\n 13 11  2  0  0  0  0\n 10 14  1  0  0  0  0\nM  END\n> <DATE>\n07-08-2009\n', '2');
  INSERT INTO public.answer (id, name, created, external_id, question_id, correct, reason, key, question_number, book, parse_text, answer_type) VALUES (3, 'true', '2021-04-07 19:54:20.721000', 'ae897a21-3de4-482e-912b-6d834d0126a2', 2, true, 'true', 'A', 0, null, '  <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
      <msup>
        <mrow data-mjx-texclass="INNER">
          <mo data-mjx-texclass="OPEN">(</mo>
          <munderover>
            <mo data-mjx-texclass="OP">&#x2211;</mo>
            <mrow>
              <mi>k</mi>
              <mo>=</mo>
              <mn>1</mn>
            </mrow>
            <mi>n</mi>
          </munderover>
          <msub>
            <mi>a</mi>
            <mi>k</mi>
          </msub>
          <msub>
            <mi>b</mi>
            <mi>k</mi>
          </msub>
          <mo data-mjx-texclass="CLOSE">)</mo>
        </mrow>
        <mrow>
          <mstyle scriptlevel="0">
            <mspace width="negativethinmathspace"></mspace>
          </mstyle>
          <mstyle scriptlevel="0">
            <mspace width="negativethinmathspace"></mspace>
          </mstyle>
          <mn>2</mn>
        </mrow>
      </msup>
      <mo>&#x2264;</mo>
      <mrow data-mjx-texclass="INNER">
        <mo data-mjx-texclass="OPEN">(</mo>
        <munderover>
          <mo data-mjx-texclass="OP">&#x2211;</mo>
          <mrow>
            <mi>k</mi>
            <mo>=</mo>
            <mn>1</mn>
          </mrow>
          <mi>n</mi>
        </munderover>
        <msubsup>
          <mi>a</mi>
          <mi>k</mi>
          <mn>2</mn>
        </msubsup>
        <mo data-mjx-texclass="CLOSE">)</mo>
      </mrow>
      <mrow data-mjx-texclass="INNER">
        <mo data-mjx-texclass="OPEN">(</mo>
        <munderover>
          <mo data-mjx-texclass="OP">&#x2211;</mo>
          <mrow>
            <mi>k</mi>
            <mo>=</mo>
            <mn>1</mn>
          </mrow>
          <mi>n</mi>
        </munderover>
        <msubsup>
          <mi>b</mi>
          <mi>k</mi>
          <mn>2</mn>
        </msubsup>
        <mo data-mjx-texclass="CLOSE">)</mo>
      </mrow>
    </math>', '1');
  INSERT INTO public.answer (id, name, created, external_id, question_id, correct, reason, key, question_number, book, parse_text, answer_type) VALUES (4, 'false', '2021-04-07 19:54:20.728000', 'e9c94468-3c6d-4061-a6a2-4770cd672ad2', 2, false, 'false', 'B', 0, null, '  <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
      <msup>
        <mrow data-mjx-texclass="INNER">
          <mo data-mjx-texclass="OPEN">(</mo>
          <munderover>
            <mo data-mjx-texclass="OP">&#x2211;</mo>
            <mrow>
              <mi>k</mi>
              <mo>=</mo>
              <mn>1</mn>
            </mrow>
            <mi>n</mi>
          </munderover>
          <msub>
            <mi>a</mi>
            <mi>k</mi>
          </msub>
          <msub>
            <mi>b</mi>
            <mi>k</mi>
          </msub>
          <mo data-mjx-texclass="CLOSE">)</mo>
        </mrow>
        <mrow>
          <mstyle scriptlevel="0">
            <mspace width="negativethinmathspace"></mspace>
          </mstyle>
          <mstyle scriptlevel="0">
            <mspace width="negativethinmathspace"></mspace>
          </mstyle>
          <mn>2</mn>
        </mrow>
      </msup>
      <mo>&#x2264;</mo>
      <mrow data-mjx-texclass="INNER">
        <mo data-mjx-texclass="OPEN">(</mo>
        <munderover>
          <mo data-mjx-texclass="OP">&#x2211;</mo>
          <mrow>
            <mi>k</mi>
            <mo>=</mo>
            <mn>1</mn>
          </mrow>
          <mi>n</mi>
        </munderover>
        <msubsup>
          <mi>a</mi>
          <mi>k</mi>
          <mn>2</mn>
        </msubsup>
        <mo data-mjx-texclass="CLOSE">)</mo>
      </mrow>
      <mrow data-mjx-texclass="INNER">
        <mo data-mjx-texclass="OPEN">(</mo>
        <munderover>
          <mo data-mjx-texclass="OP">&#x2211;</mo>
          <mrow>
            <mi>k</mi>
            <mo>=</mo>
            <mn>1</mn>
          </mrow>
          <mi>n</mi>
        </munderover>
        <msubsup>
          <mi>b</mi>
          <mi>k</mi>
          <mn>2</mn>
        </msubsup>
        <mo data-mjx-texclass="CLOSE">)</mo>
      </mrow>
    </math>', '1');
  INSERT INTO public.answer (id, name, created, external_id, question_id, correct, reason, key, question_number, book, parse_text, answer_type) VALUES (5, 'true', '2021-04-07 19:55:23.052000', 'c390bb28-ac8a-4870-9ffb-5e032ab1d9b1', 3, true, 'true', 'A', 0, null, '', '0');
  INSERT INTO public.answer (id, name, created, external_id, question_id, correct, reason, key, question_number, book, parse_text, answer_type) VALUES (6, 'false', '2021-04-07 19:55:23.058000', 'a9f3d34a-38a1-4c9d-8ed3-3d4868e878b1', 3, false, 'false', 'B', 0, null, '', '0');
  
  INSERT INTO public.quiz (id, created, external_id, type, duration, school_id, course_id, chapter_id, enable) VALUES (1, '2021-04-07 19:56:31.338000', '2e2cb5ea-8811-45c8-867a-2d74f4f032f3', 'CHAPTER', 0, null, '2a0f3f99-2c5d-46a4-8d32-5516175f1176', 'd9ab3c1d-d080-4e2f-869c-0ccba4844bba', true);
  
  INSERT INTO public.school (id, created, external_id, name, number_questions) VALUES (1, '2021-04-07 21:38:04.000000', '1-uoradea', 'UOradea', 123);
  INSERT INTO public.school (id, created, external_id, name, number_questions) VALUES (2, '2021-04-07 21:38:38.000000', '2-poli-cluj', 'Poli Cluj', 12);
  INSERT INTO public.school (id, created, external_id, name, number_questions) VALUES (3, '2021-04-07 21:39:08.000000', '3-UBB', 'UBB', 44);
  
  INSERT INTO public.question2quiz (quiz_id, question_id) VALUES (1, 1);
  INSERT INTO public.question2quiz (quiz_id, question_id) VALUES (1, 2);
  INSERT INTO public.question2quiz (quiz_id, question_id) VALUES (1, 3);
  
  INSERT INTO public.solved_quiz (id, created, external_id, quiz_id, passed, note, completed_quiz, user_id) VALUES (1, '2021-04-07 19:57:20.427000', '05b3838e-7f2c-41f3-9ddc-49272c77c931', 1, true, 2, false, 'f830e526-1e9f-4c0d-9b0d-4c53c59ff892');
  
  INSERT INTO public.answered_question (id, created, external_id, solved_quiz_id, question_id, status) VALUES (1, '2021-04-07 19:57:20.441000', 'f9319a4b-c082-4dcc-90e8-f501de749bc9', 1, 1, false);
  INSERT INTO public.answered_question (id, created, external_id, solved_quiz_id, question_id, status) VALUES (2, '2021-04-07 19:57:20.450000', 'debb8272-3ccc-4a8f-a954-5f183e55d9f2', 1, 2, true);
  INSERT INTO public.answered_question (id, created, external_id, solved_quiz_id, question_id, status) VALUES (3, '2021-04-07 19:57:20.453000', 'd1edea02-3eb7-46cc-8dcf-62780d17d166', 1, 3, true);
  
  INSERT INTO public.answer2answered_question (answer_id, answered_question_id) VALUES (2, 1);
  INSERT INTO public.answer2answered_question (answer_id, answered_question_id) VALUES (3, 2);
  INSERT INTO public.answer2answered_question (answer_id, answered_question_id) VALUES (5, 3);
  
  ALTER SEQUENCE S_ANSWER_0 RESTART WITH 7;
  ALTER SEQUENCE S_QUESTION_0 RESTART WITH 4;
  ALTER SEQUENCE S_ANSWERED_QUESTION_0 RESTART WITH 4;
  ALTER SEQUENCE S_SCHOOL_0 RESTART WITH 4;
  ALTER SEQUENCE S_SOLVED_QUIZ_0 RESTART WITH 2;
  ALTER SEQUENCE S_QUIZ_0 RESTART WITH 2;
  