I have table as below. If I need to create another table as shown in the output, how can I do it?

```
CREATE TABLE TestTable
    (JobID int, isAllowType1 bit, value1 int, isAllowType2 bit, value2 int)
;

INSERT INTO TestTable
    (JobID, isAllowType1, value1, isAllowType2, value2)
VALUES
    (1, 1, 11, 0, 111),
    (2, 0, 22, 1, 222),
    (3, 1, 33, 0, 333)
;

```

--output

```
JOBID  isAllow   Value        Type
    1        1      11        Type1
    1        0      111       Type2
    2        0      22        Type1
    2        1      222       Type2
    3        1      33        Type1
    3        0      333       Type2

```