Question: Which professionals have done at least two types of treatments? List the professional id and cell phone.
Schema: create table professionals (professional_id varchar, cell_number varchar, PRIMARY KEY (professional_id)); create table treatments (professional_id varchar, PRIMARY KEY (professional_id))
SQL: select t1.professional_id, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2