Question: Show the names of journalists from "England" or "Wales".

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : name (text) , nationality (text)


Question: What is the average number of years spent working as a journalist?

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)


Question: What is the nationality of the journalist with the largest number of years working?

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : nationality (text) , years_working (number)


Question: Show the different nationalities and the number of journalists of each nationality.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : nationality (text) , journalist_id (number)


Question: Show the most common nationality for journalists.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : nationality (text) , journalist_id (number)


Question: Show the nations that have both journalists with more than 10 years of working and journalists with less than 3 years of working.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : nationality (text) , years_working (number)


Question: Show the dates, places, and names of events in descending order of the attendance.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

event : date (text) , name (text) , venue (text) , event_attendance (number)


Question: Show the names of journalists and the dates of the events they reported.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

event : name (text) , date (text) , event_id (number) | journalist : name (text) , journalist_id (number) | news_report : event_id (number) , journalist_id (number)


Question: Show the names of journalists and the names of the events they reported in ascending order

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

event : name (text) , event_id (number) , event_attendance (number) | journalist : name (text) , journalist_id (number) | news_report : event_id (number) , journalist_id (number)


Question: Show the names of journalists and the number of events they reported.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

event : name (text) , event_id (number) | journalist : name (text) , journalist_id (number) | news_report : event_id (number) , journalist_id (number)


Question: Show the names of journalists that have reported more than one event.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

event : name (text) , event_id (number) | journalist : name (text) , journalist_id (number) | news_report : event_id (number) , journalist_id (number)


Question: List the names of journalists who have not reported any event.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : name (text) , journalist_id (number) | news_report : journalist_id (number)


Question: what are the average and maximum attendances of all events?

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)


Question: Find the average age and experience working length of journalists working on different role type.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

journalist : age (text) , years_working (number) , journalist_id (number) | news_report : work_type (text) , journalist_id (number)


Question: List the event venues and names that have the top 2 most number of people attended.

event : event_id (number) , date (text) , venue (text) , name (text) , event_attendance (number) | journalist : journalist_id (number) , name (text) , nationality (text) , age (text) , years_working (number) | news_report : journalist_id (number) , event_id (number) , work_type (text)

event : venue (text) , name (text) , event_attendance (number)


Question: Show me all the restaurants.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)


Question: What is the address of the restaurant Subway?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

restaurant : address (text) , resname (text)


Question: What is the rating of the restaurant Subway?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

restaurant : rating (number) , resname (text)


Question: List all restaurant types.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)


Question: What is the description of the restaurant type Sandwich?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

restaurant_type : restypedescription (text) , restypename (text)


Question: Which restaurants have highest rating? List the restaurant name and its rating.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

restaurant : resname (text) , rating (number)


Question: What is the age of student Linda Smith?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : age (number) , fname (text) , lname (text)


Question: What is the gender of the student Linda Smith?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : sex (text) , fname (text) , lname (text)


Question: List all students' first names and last names who majored in 600.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : fname (text) , lname (text) , major (number)


Question: Which city does student Linda Smith live in?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : city_code (text) , fname (text) , lname (text)


Question: Advisor 1121 has how many students?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : advisor (number) , stuid (number)


Question: Which Advisor has most of students? List advisor and the number of students.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : advisor (number) , stuid (number)


Question: Which major has least number of students? List the major and the number of students.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : major (number) , stuid (number)


Question: Which major has between 2 and 30 number of students? List major and the number of students.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : major (number) , stuid (number)


Question: Which student's age is older than 18 and is majoring in 600? List each student's first and last name.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : fname (text) , lname (text) , age (number) , major (number)


Question: List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : fname (text) , lname (text) , age (number) , major (number) , sex (text)


Question: How many restaurant is the Sandwich type restaurant?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

restaurant : resid (number) | restaurant_type : restypeid (number)


Question: How long does student Linda Smith spend on the restaurant in total?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)


Question: How many times has the student Linda Smith visited Subway?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)

student : stuid (number) | restaurant : resid (number)


Question: When did Linda Smith visit Subway?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)


Question: Which student visited restaurant most often? List student's first name and last name.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | restaurant : resid (number) , resname (text) , address (text) , rating (number) | type_of_restaurant : resid (number) , restypeid (number) | restaurant_type : restypeid (number) , restypename (text) , restypedescription (text) | visits_restaurant : stuid (number) , resid (number) , time (time) , spent (number)


Question: Find the ids of orders whose status is 'Success'.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)


Question: Find the name and price of the product that has been ordered the greatest number of times.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

products : product_name (text) , product_price (number) , product_id (number) | regular_order_products : product_id (number)


Question: Find the number of customers in total.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)


Question: How many different payment methods are there?

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)


Question: Show the details of all trucks in the order of their license number.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

trucks : truck_details (text) , truck_licence_number (text)


Question: Find the name of the most expensive product.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

products : product_name (text) , product_price (number)


Question: Find the names of customers who are not living in the state of California.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

customers : customer_name (text) , customer_id (number) | customer_addresses : customer_id (number) , address_id (number) | addresses : address_id (number) , state_province_county (text)


Question: List the names and emails of customers who payed by Visa card.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

customers : customer_email (text) , customer_name (text) , payment_method (text)


Question: Find the names and phone numbers of customers living in California state.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

customers : customer_name (text) , customer_phone (text) , customer_id (number) | customer_addresses : customer_id (number) , address_id (number) | addresses : address_id (number) , state_province_county (text)


Question: Find the states which do not have any employee in their record.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

addresses : state_province_county (text) , address_id (number) | employees : employee_address_id (number)


Question: List the names, phone numbers, and emails of all customers sorted by their dates of becoming customers.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

customers : customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time)


Question: Find the name of the first 5 customers.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

customers : customer_name (text) , date_became_customer (time)


Question: Find the payment method that is used most frequently.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

customers : payment_method (text) , customer_id (number)


Question: List the names of all routes in alphabetic order.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)


Question: Find the name of route that has the highest number of deliveries.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

delivery_routes : route_name (text) , route_id (number) | delivery_route_locations : route_id (number) , location_code (text)


Question: List the state names and the number of customers living in each state.

products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | customers : customer_id (number) , payment_method (text) , customer_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | regular_orders : regular_order_id (number) , distributer_id (number) | regular_order_products : regular_order_id (number) , product_id (number) | actual_orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | actual_order_products : actual_order_id (number) , product_id (number) | customer_addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | delivery_routes : route_id (number) , route_name (text) , other_route_details (text) | delivery_route_locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | order_deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)

addresses : state_province_county (text) , address_id (number) | customer_addresses : address_id (number)


Question: How many authors are there?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Count the number of authors.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: How many institutions are there?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Count the number of institutions.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: How many papers are published in total?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Count the number of total papers.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: What are the titles of papers published by "Jeremy Gibbons"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Find the titles of all the papers written by "Jeremy Gibbons"

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Find all the papers published by "Aaron Turon".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Find the titles of all the papers written by "Aaron Turon".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: How many papers have "Atsushi Ohori" published?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number) | papers : paperid (number)


Question: How many papers are "Atsushi Ohori" the author of?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number) | papers : paperid (number)


Question: What is the name of the institution that "Matthias Blume" belongs to?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : name (text) , instid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , instid (number)


Question: Which institution is the author "Matthias Blume" belong to? Give me the name of the institution.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : name (text) , instid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , instid (number)


Question: Which institution does "Katsuhiro Ueno" belong to?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : name (text) , instid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , instid (number)


Question: What is the name of the institution the author "Katsuhiro Ueno" belongs to?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : name (text) , instid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , instid (number)


Question: Who belong to the institution "University of Oxford"? Show the first names and last names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , lname (text) , authid (number) | authorship : authid (number) , instid (number) | inst : instid (number) , name (text)


Question: Find the first names and last names of the authors whose institution affiliation is "University of Oxford".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , lname (text) , authid (number) | authorship : authid (number) , instid (number) | inst : instid (number) , name (text)


Question: Which authors belong to the institution "Google"? Show the first names and last names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , lname (text) , authid (number) | authorship : authid (number) , instid (number) | inst : instid (number) , name (text)


Question: Find the first names and last names of the authors whose institution affiliation is "Google".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , lname (text) , authid (number) | authorship : authid (number) , instid (number) | inst : instid (number) , name (text)


Question: What are the last names of the author of the paper titled "Binders Unbound"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : lname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: Who is the author of the paper titled "Binders Unbound"? Give me the last name.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : lname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: Find the first and last name of the author(s) who wrote the paper "Nameless, Painless".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , lname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: What are the first and last name of the author who published the paper titled "Nameless, Painless"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , lname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: What are the papers published under the institution "Indiana University"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: List the titles of the papers whose authors are from the institution "Indiana University".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: Find all the papers published by the institution "Google".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: Which papers were written by authors from the institution "Google"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: How many papers are published by the institution "Tokohu University"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: Find the number of papers published by authors from the institution "Tokohu University".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: Find the number of papers published by the institution "University of Pennsylvania".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: How many papers are written by authors from the institution "University of Pennsylvania"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , instid (number) | inst : instid (number) , name (text)


Question: Find the papers which have "Olin Shivers" as an author.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Which papers did the author "Olin Shivers" write? Give me the paper titles.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Which papers have "Stephanie Weirich" as an author?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Find the titles of the papers the author "Stephanie Weirich" wrote.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , fname (text) , lname (text) | authorship : authid (number) , paperid (number)


Question: Which paper is published in an institution in "USA" and have "Turon" as its second author?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , lname (text) | authorship : authid (number) , paperid (number) , instid (number) , authorder (number) | inst : instid (number) , country (text)


Question: Find papers whose second author has last name "Turon" and is affiliated with an institution in the country "USA".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , lname (text) | authorship : authid (number) , paperid (number) , instid (number) , authorder (number) | inst : instid (number) , country (text)


Question: Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , lname (text) | authorship : authid (number) , paperid (number) , instid (number) , authorder (number) | inst : instid (number) , country (text)


Question: Which papers' first author is affiliated with an institution in the country "Japan" and has last name "Ohori"? Give me the titles of the papers.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authors : authid (number) , lname (text) | authorship : authid (number) , paperid (number) , instid (number) , authorder (number) | inst : instid (number) , country (text)


Question: What is the last name of the author that has published the most papers?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : lname (text) , authid (number) , fname (text) | authorship : authid (number) , paperid (number) | papers : paperid (number)


Question: Which author has written the most papers? Find his or her last name.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : lname (text) , authid (number) , fname (text) | authorship : authid (number) , paperid (number) | papers : paperid (number)


Question: Retrieve the country that has published the most papers.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : country (text) , instid (number) | authorship : instid (number) , paperid (number) , authid (number) | papers : paperid (number)


Question: Find the country that the most papers are affiliated with.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : country (text) , instid (number) | authorship : instid (number) , paperid (number) , authid (number) | papers : paperid (number)


Question: Find the name of the organization that has published the largest number of papers.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : name (text) , instid (number) | authorship : instid (number) , paperid (number) , authid (number) | papers : paperid (number)


Question: Which institution has the most papers? Find the name of the institution.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

inst : name (text) , instid (number) | authorship : instid (number) , paperid (number) , authid (number) | papers : paperid (number)


Question: Find the titles of the papers that contain the word "ML".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Which papers have the substring "ML" in their titles? Return the titles of the papers.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Which paper's title contains the word "Database"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Which papers have the substring "Database" in their titles? Show the titles of the papers.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Find the first names of all the authors who have written a paper with title containing the word "Functional".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: Who has written a paper that has the word "Functional" in its title? Return the first names of the authors.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : fname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: Find the last names of all the authors that have written a paper with title containing the word "Monadic".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : lname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: Which authors have written a paper with title containing the word "Monadic"? Return their last names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

authors : lname (text) , authid (number) | authorship : authid (number) , paperid (number) | papers : paperid (number) , title (text)


Question: Retrieve the title of the paper that has the largest number of authors.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , authorder (number)


Question: Which paper has the most authors? Give me the paper title.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)

papers : title (text) , paperid (number) | authorship : paperid (number) , authorder (number)


Question: What is the first name of the author with last name "Ueno"?

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Which authors have last name "Ueno"? List their first names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Find the last name of the author with first name "Amal".

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Which authors have first name "Amal"? List their last names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Find the first names of all the authors ordered in alphabetical order.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Sort the first names of all the authors in alphabetical order.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Retrieve all the last names of authors in alphabetical order.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Give me a list of all the last names of authors sorted in alphabetical order

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Retrieve all the first and last names of authors in the alphabetical order of last names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: Sort the list of all the first and last names of authors in alphabetical order of the last names.

inst : instid (number) , name (text) , country (text) | authors : authid (number) , lname (text) , fname (text) | papers : paperid (number) , title (text) | authorship : authid (number) , instid (number) , paperid (number) , authorder (number)


Question: How many different last names do the actors and actresses have?

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)


Question: Count the number of different last names actors have.

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)


Question: What is the most popular first name of the actors?

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

actor : first_name (text) , actor_id (number)


Question: Return the most common first name among all actors.

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

actor : first_name (text) , actor_id (number)


Question: What is the most popular full name of the actors?

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

actor : first_name (text) , last_name (text) , actor_id (number)


Question: Return the most common full name among all actors.

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

actor : first_name (text) , last_name (text) , actor_id (number)


Question: Which districts have at least two addresses?

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

address : district (text) , address (text) , address_id (number)


Question: Give the districts which have two or more addresses.

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

address : district (text) , address (text) , address_id (number)


Question: What is the phone number and postal code of the address 1031 Daugavpils Parkway?

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

address : phone (text) , postal_code (text) , address (text)


Question: Give the phone and postal code corresponding to the address '1031 Daugavpils Parkway'.

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

address : phone (text) , postal_code (text) , address (text)


Question: Which city has the most addresses? List the city name, number of addresses, and city id.

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

city : city (text) , city_id (number) | address : city_id (number) , address (text) , address_id (number)


Question: What are the city name, id, and number of addresses corresponding to the city with the most addressed?

actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)

city : city (text) , city_id (number) | address : city_id (number) , address (text) , address_id (number)