set role calcutta_kids;
WITH mothers AS (SELECT individual_relationship.individual_a_id AS mother,
individual_child."Mother associated with CK during pregnancy" AS "ck_or_non_ck",
CASE