Message: Failed to query SQL statement. Reason: ERROR: column reference "status" is ambiguous LINE 11: ... a.id NOT IN (3941980) AND status=0 A... ^