select inst_id as instId,node_id as nodeId,COUNT(DISTINCT external_userId, customer_phone) as
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT if(external_userId is null,"",external_userId),if(customer_phone is null,"",customer_phone)) as
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT external_userId, customer_phone) as
select inst_id as instId,node_id as nodeId,COUNT(DISTINCT if(external_userId is null,"",external_userId),if(customer_phone is null,"",customer_phone)) as