By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 6
| name | field | value |
|---|---|---|
| A | Are they covered at the moment | TRUE |
| B | Are they covered at the moment | TRUE |
SELECT 2
| name | count | count |
|---|---|---|
| B | 1 | 0 |
| A | 1 | 1 |
SELECT 2
| name |
|---|
| A |
SELECT 1
| name | field | value |
|---|---|---|
| A | Are they covered at the moment | TRUE |
| A | Where does the client operate from | Home |
| A | Additional information | x |
SELECT 3