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)


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)


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)


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)


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) | 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) | 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) | 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) | 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) | 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) | 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)


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)


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)


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)


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)


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)


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)

professionals : email_address (text) , cell_number (text) , home_phone (text)


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)

professionals : email_address (text) , cell_number (text) , home_phone (text)


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)

dogs : breed_code (text) , size_code (text)


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)

dogs : breed_code (text) , size_code (text)


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)

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


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)

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


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)


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)


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)


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)


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)


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)


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)


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)


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)


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)


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)


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)


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) | singer : name (text) , 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) | singer : name (text) , 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) | song : singer_id (number) , sales (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) | song : singer_id (number) , sales (number)


Question: Show the names of singers that have more than one song.

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) | song : singer_id (number) , song_id (number)


Question: What are the names of the singers that have more than one songs?

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) | song : singer_id (number) , song_id (number)


Question: Show the names of singers and the total sales of their songs.

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) | song : sales (number) , singer_id (number)


Question: For each singer name, what is the total sales for their songs?

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) | song : sales (number) , singer_id (number)


Question: List the name of singers that do not have any song.

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) | song : singer_id (number)


Question: What is the sname of every sing that does not have any song?

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) | song : singer_id (number)


Question: Show the citizenship shared by singers with birth year before 1945 and after 1955.

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) , birth_year (number)


Question: What are the citizenships that are shared by singers with a birth year before 1945 and after 1955?

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) , birth_year (number)


Question: How many available features are there in total?

ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)


Question: What is the feature type name of feature AirCon?

ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)

ref_feature_types : feature_type_name (text) , feature_type_code (text) | other_available_features : feature_type_code (text) , feature_name (text)


Question: Show the property type descriptions of properties belonging to that code.

ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)

ref_property_types : property_type_description (text) , property_type_code (text) | properties : property_type_code (text)


Question: What are the names of properties that are either houses or apartments with more than 1 room?

ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)

properties : property_name (text) , property_type_code (text) , room_count (number)