Question: Which professionals have done at least two treatments? List the professional's id, role, and first name.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , role_code (text) , first_name (text) , professional_id (number) | treatments : professional_id (number) , treatment_id (number) | owners : first_name (text) , owner_id (number)


Question: What are the id, role, and first name of the professionals who have performed two or more treatments?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , role_code (text) , first_name (text) , professional_id (number) | treatments : professional_id (number) , treatment_id (number) | owners : first_name (text) , owner_id (number)


Question: What is the name of the breed with the most dogs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

breeds : breed_name (text) , breed_code (text) , breed_code (number) | dogs : breed_code (text) , dog_id (number)


Question: Which breed do the most dogs have? Give me the breed name.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

breeds : breed_name (text) , breed_code (text) , breed_code (number) | dogs : breed_code (text) , dog_id (number)


Question: Which owner has paid for the most treatments on his or her dogs? List the owner id and last name.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : owner_id (number) , last_name (text) , owner_id (number) | dogs : owner_id (number) , dog_id (number) , dog_id (number) | professionals : last_name (text) , professional_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: Tell me the owner id and last name of the owner who spent the most on treatments of his or her dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : owner_id (number) , last_name (text) , owner_id (number) | dogs : owner_id (number) , dog_id (number) , dog_id (number) | professionals : last_name (text) , professional_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: What is the description of the treatment type that costs the least money in total?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number) | treatments : treatment_type_code (text) , cost_of_treatment (number) , treatment_id (number)


Question: Give me the description of the treatment type whose total cost is the lowest.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number) | treatments : treatment_type_code (text) , cost_of_treatment (number) , treatment_id (number)


Question: Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : owner_id (number) , zip_code (text) , owner_id (number) | dogs : owner_id (number) , dog_id (number) , dog_id (number) | professionals : zip_code (text) , professional_id (number) | treatments : dog_id (number) , cost_of_treatment (number) , treatment_id (number)


Question: Find the owner id and zip code of the owner who spent the most money in total for his or her dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : owner_id (number) , zip_code (text) , owner_id (number) | dogs : owner_id (number) , dog_id (number) , dog_id (number) | professionals : zip_code (text) , professional_id (number) | treatments : dog_id (number) , cost_of_treatment (number) , treatment_id (number)


Question: Which professionals have done at least two types of treatments? List the professional id and cell phone.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , cell_number (text) , professional_id (number) | treatments : professional_id (number) , treatment_id (number) | owners : cell_number (text) , owner_id (number)


Question: Find the id and cell phone of the professionals who operate two or more types of treatments.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , cell_number (text) , professional_id (number) | treatments : professional_id (number) , treatment_id (number) | owners : cell_number (text) , owner_id (number)


Question: What are the first name and last name of the professionals who have done treatment with cost below average?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , last_name (text) , owner_id (number) | professionals : first_name (text) , last_name (text) , professional_id (number) | treatments : cost_of_treatment (number) , treatment_id (number)


Question: Which professionals have operated a treatment that costs less than the average? Give me theor first names and last names.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , last_name (text) , owner_id (number) | professionals : first_name (text) , last_name (text) , professional_id (number) | treatments : cost_of_treatment (number) , treatment_id (number)


Question: List the date of each treatment, together with the first name of the professional who operated it.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatments : date_of_treatment (time) , professional_id (number) , treatment_id (number) | owners : first_name (text) , owner_id (number) | professionals : first_name (text) , professional_id (number) , professional_id (number)


Question: What are the date and the operating professional's first name of each treatment?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatments : date_of_treatment (time) , professional_id (number) , treatment_id (number) | owners : first_name (text) , owner_id (number) | professionals : first_name (text) , professional_id (number) , professional_id (number)


Question: List the cost of each treatment and the corresponding treatment type description.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatments : cost_of_treatment (number) , treatment_type_code (text) , treatment_id (number) | treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number)


Question: What are the cost and treatment type description of each treatment?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatments : cost_of_treatment (number) , treatment_type_code (text) , treatment_id (number) | treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number)


Question: List each owner's first name, last name, and the size of his for her dog.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , last_name (text) , owner_id (number) , owner_id (number) | professionals : first_name (text) , last_name (text) , professional_id (number) | sizes : size_code (text) , size_code (number) | dogs : size_code (text) , owner_id (number) , dog_id (number)


Question: What are each owner's first name, last name, and the size of their dog?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , last_name (text) , owner_id (number) , owner_id (number) | professionals : first_name (text) , last_name (text) , professional_id (number) | sizes : size_code (text) , size_code (number) | dogs : size_code (text) , owner_id (number) , dog_id (number)


Question: List pairs of the owner's first name and the dogs's name.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , owner_id (number) , owner_id (number) | professionals : first_name (text) , professional_id (number) | dogs : name (text) , owner_id (number) , dog_id (number)


Question: What are each owner's first name and their dogs's name?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , owner_id (number) , owner_id (number) | professionals : first_name (text) , professional_id (number) | dogs : name (text) , owner_id (number) , dog_id (number)


Question: List the names of the dogs of the rarest breed and the treatment dates of them.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : name (text) , dog_id (number) , breed_code (text) , dog_id (number) | treatments : date_of_treatment (time) , dog_id (number) , treatment_id (number) | breeds : breed_code (text) , breed_code (number)


Question: Which dogs are of the rarest breed? Show their names and treatment dates.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : name (text) , dog_id (number) , breed_code (text) , dog_id (number) | treatments : date_of_treatment (time) , dog_id (number) , treatment_id (number) | breeds : breed_code (text) , breed_code (number)


Question: Which dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , owner_id (number) , state (text) , owner_id (number) | professionals : first_name (text) , state (text) , professional_id (number) | dogs : name (text) , owner_id (number) , dog_id (number)


Question: Find the first names of owners living in Virginia and the names of dogs they own.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , owner_id (number) , state (text) , owner_id (number) | professionals : first_name (text) , state (text) , professional_id (number) | dogs : name (text) , owner_id (number) , dog_id (number)


Question: What are the arriving date and the departing date of the dogs who have gone through a treatment?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : date_arrived (time) , date_departed (time) , dog_id (number) , dog_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: Find the arriving date and the departing date of the dogs that received a treatment.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : date_arrived (time) , date_departed (time) , dog_id (number) , dog_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: List the last name of the owner owning the youngest dog.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : last_name (text) , owner_id (number) , owner_id (number) | professionals : last_name (text) , professional_id (number) | dogs : owner_id (number) , age (text) , dog_id (number)


Question: Who owns the youngest dog? Give me his or her last name.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : last_name (text) , owner_id (number) , owner_id (number) | professionals : last_name (text) , professional_id (number) | dogs : owner_id (number) , age (text) , dog_id (number)


Question: List the emails of the professionals who live in the state of Hawaii or the state of Wisconsin.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : email_address (text) , state (text) , owner_id (number) | professionals : email_address (text) , state (text) , professional_id (number)


Question: What are the emails of the professionals living in either the state of Hawaii or the state of Wisconsin?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : email_address (text) , state (text) , owner_id (number) | professionals : email_address (text) , state (text) , professional_id (number)


Question: What are the arriving date and the departing date of all the dogs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : date_arrived (time) , date_departed (time) , dog_id (number)


Question: List the arrival date and the departure date for all the dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : date_arrived (time) , date_departed (time) , dog_id (number)


Question: How many dogs went through any treatments?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : dog_id (number) , dog_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: Count the number of dogs that went through a treatment.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : dog_id (number) , dog_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: How many professionals have performed any treatment to dogs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , professional_id (number) | treatments : professional_id (number) , treatment_id (number)


Question: Find the number of professionals who have ever treated dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , professional_id (number) | treatments : professional_id (number) , treatment_id (number)


Question: Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : role_code (text) , street (text) , city (text) , state (text) , professional_id (number) | owners : street (text) , city (text) , state (text) , owner_id (number)


Question: Find the role, street, city and state of the professionals living in a city that contains the substring 'West'.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : role_code (text) , street (text) , city (text) , state (text) , professional_id (number) | owners : street (text) , city (text) , state (text) , owner_id (number)


Question: Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , last_name (text) , email_address (text) , state (text) , owner_id (number) | professionals : first_name (text) , last_name (text) , email_address (text) , state (text) , professional_id (number)


Question: Return the first name, last name and email of the owners living in a state whose name contains the substring 'North'.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , last_name (text) , email_address (text) , state (text) , owner_id (number) | professionals : first_name (text) , last_name (text) , email_address (text) , state (text) , professional_id (number)


Question: How many dogs have an age below the average?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)


Question: Count the number of dogs of an age below the average.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)


Question: How much does the most recent treatment cost?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatments : cost_of_treatment (number) , date_of_treatment (time) , treatment_id (number)


Question: Show me the cost of the most recently performed treatment.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

treatments : cost_of_treatment (number) , date_of_treatment (time) , treatment_id (number)


Question: How many dogs have not gone through any treatment?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : dog_id (number) , dog_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: Tell me the number of dogs that have not received any treatment .

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : dog_id (number) , dog_id (number) | treatments : dog_id (number) , treatment_id (number)


Question: How many owners temporarily do not have any dogs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : owner_id (number) , owner_id (number) | dogs : owner_id (number) , dog_id (number)


Question: Find the number of owners who do not own any dogs at this moment.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : owner_id (number) , owner_id (number) | dogs : owner_id (number) , dog_id (number)


Question: How many professionals did not operate any treatment on dogs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , professional_id (number) | treatments : professional_id (number) , treatment_id (number)


Question: Find the number of professionals who have not treated any dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

professionals : professional_id (number) , professional_id (number) | treatments : professional_id (number) , treatment_id (number)


Question: List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, and 0 stands for no.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : name (text) , age (text) , weight (text) , abandoned_yn (text) , dog_id (number)


Question: What are the dog name, age and weight of the dogs that were abandoned? Note that 1 stands for yes, and 0 stands for no in the tables.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

dogs : name (text) , age (text) , weight (text) , abandoned_yn (text) , dog_id (number)


Question: What is the average age of all the dogs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)


Question: Compute the average age of all the dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)


Question: What is the age of the oldest dog?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)


Question: Tell me the age of the oldest dog.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)


Question: How much does each charge type costs? List both charge type and amount.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

charges : charge_type (text) , charge_amount (number) , charge_id (number)


Question: List each charge type and its amount.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

charges : charge_type (text) , charge_amount (number) , charge_id (number)


Question: How much does the most expensive charge type costs?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

charges : charge_amount (number) , charge_id (number)


Question: What is the charge amount of the most expensive charge type?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

charges : charge_amount (number) , charge_id (number)


Question: List the email, cell phone and home phone of all the professionals.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : email_address (text) , cell_number (text) , home_phone (text) , owner_id (number) | professionals : email_address (text) , cell_number (text) , home_phone (text) , professional_id (number)


Question: What are the email, cell phone and home phone of each professional?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : email_address (text) , cell_number (text) , home_phone (text) , owner_id (number) | professionals : email_address (text) , cell_number (text) , home_phone (text) , professional_id (number)


Question: What are all the possible breed type and size type combinations?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

breeds : breed_code (text) , breed_code (number) | dogs : breed_code (text) , size_code (text) , dog_id (number) | sizes : size_code (text) , size_code (number)


Question: Find the distinct breed type and size type combinations for dogs.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

breeds : breed_code (text) , breed_code (number) | dogs : breed_code (text) , size_code (text) , dog_id (number) | sizes : size_code (text) , size_code (number)


Question: List the first name of all the professionals along with the description of the treatment they have done.

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , owner_id (number) | professionals : first_name (text) , professional_id (number) , professional_id (number) | treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number) | treatments : professional_id (number) , treatment_type_code (text) , treatment_id (number)


Question: What are each professional's first name and description of the treatment they have performed?

breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)

owners : first_name (text) , owner_id (number) | professionals : first_name (text) , professional_id (number) , professional_id (number) | treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number) | treatments : professional_id (number) , treatment_type_code (text) , treatment_id (number)


Question: How many singers are there?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)


Question: What is the count of singers?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)


Question: List the name of singers in ascending order of net worth.

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , net_worth_millions (number) , singer_id (number)


Question: What are the names of singers ordered by ascending net worth?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , net_worth_millions (number) , singer_id (number)


Question: What are the birth year and citizenship of singers?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : birth_year (number) , citizenship (text) , singer_id (number)


Question: What are the birth years and citizenships of the singers?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : birth_year (number) , citizenship (text) , singer_id (number)


Question: List the name of singers whose citizenship is not "France".

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , citizenship (text) , singer_id (number)


Question: What are the names of the singers who are not French citizens?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , citizenship (text) , singer_id (number)


Question: Show the name of singers whose birth year is either 1948 or 1949?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , birth_year (number) , singer_id (number)


Question: What are the names of the singers whose birth years are either 1948 or 1949?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , birth_year (number) , singer_id (number)


Question: What is the name of the singer with the largest net worth?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , net_worth_millions (number) , singer_id (number)


Question: What is the name of the singer who is worth the most?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , net_worth_millions (number) , singer_id (number)


Question: Show different citizenship of singers and the number of singers of each citizenship.

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : citizenship (text) , singer_id (number)


Question: For each citizenship, how many singers are from that country?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : citizenship (text) , singer_id (number)


Question: Please show the most common citizenship of singers.

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : citizenship (text) , singer_id (number)


Question: What is the most common singer citizenship ?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : citizenship (text) , singer_id (number)


Question: Show different citizenships and the maximum net worth of singers of each citizenship.

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : citizenship (text) , net_worth_millions (number) , singer_id (number)


Question: For each citizenship, what is the maximum net worth?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : citizenship (text) , net_worth_millions (number) , singer_id (number)


Question: Show titles of songs and names of singers.

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

song : title (text) , singer_id (number) , song_id (number) | singer : name (text) , singer_id (number) , singer_id (number)


Question: What are the song titles and singer names?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

song : title (text) , singer_id (number) , song_id (number) | singer : name (text) , singer_id (number) , singer_id (number)


Question: Show distinct names of singers that have songs with sales more than 300000.

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , singer_id (number) , singer_id (number) | song : singer_id (number) , sales (number) , song_id (number)


Question: what are the different names of the singers that have sales more than 300000?

singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)

singer : name (text) , singer_id (number) , singer_id (number) | song : singer_id (number) , sales (number) , song_id (number)