Question: Show the names for all females from Canada having a wedding in year 2016.

people : people_id (number) , name (text) , country (text) , is_male (text) , age (number) | church : church_id (number) , name (text) , organized_by (text) , open_date (number) , continuation_of (text) | wedding : church_id (number) , male_id (number) , female_id (number) , year (number)

people : name (text) , people_id (number) , is_male (text) , country (text) , people_id (number) | church : name (text) , church_id (number) | wedding : female_id (number) , year (number) , church_id (number)


Question: How many weddings are there in year 2016?

people : people_id (number) , name (text) , country (text) , is_male (text) , age (number) | church : church_id (number) , name (text) , organized_by (text) , open_date (number) , continuation_of (text) | wedding : church_id (number) , male_id (number) , female_id (number) , year (number)

wedding : year (number) , church_id (number)


Question: Show the church names for the weddings of all people older than 30.

people : people_id (number) , name (text) , country (text) , is_male (text) , age (number) | church : church_id (number) , name (text) , organized_by (text) , open_date (number) , continuation_of (text) | wedding : church_id (number) , male_id (number) , female_id (number) , year (number)

people : name (text) , people_id (number) , age (number) , people_id (number) | church : name (text) , church_id (number) , church_id (number) | wedding : male_id (number) , female_id (number) , church_id (number) , church_id (number)


Question: Show all countries and the number of people from each country.

people : people_id (number) , name (text) , country (text) , is_male (text) , age (number) | church : church_id (number) , name (text) , organized_by (text) , open_date (number) , continuation_of (text) | wedding : church_id (number) , male_id (number) , female_id (number) , year (number)

people : country (text) , people_id (number)


Question: How many churches have a wedding in year 2016?

people : people_id (number) , name (text) , country (text) , is_male (text) , age (number) | church : church_id (number) , name (text) , organized_by (text) , open_date (number) , continuation_of (text) | wedding : church_id (number) , male_id (number) , female_id (number) , year (number)

church : church_id (number) , church_id (number) | wedding : church_id (number) , year (number) , church_id (number)


Question: How many artists do we have?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)


Question: Count the number of artists.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)


Question: Show all artist name, age, and country ordered by the yeared they joined.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , age (number) , country (text) , year_join (number) , artist_id (number)


Question: What are the names, ages, and countries of artists, sorted by the year they joined?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , age (number) , country (text) , year_join (number) , artist_id (number)


Question: What are all distinct country for artists?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : country (text) , artist_id (number)


Question: Return the different countries for artists.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : country (text) , artist_id (number)


Question: Show all artist names and the year joined who are not from United States.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , year_join (number) , country (text) , artist_id (number)


Question: What are the names and year of joining for artists that do not have the country "United States"?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , year_join (number) , country (text) , artist_id (number)


Question: How many artists are above age 46 and joined after 1990?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : age (number) , year_join (number) , artist_id (number)


Question: Count the number of artists who are older than 46 and joined after 1990.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : age (number) , year_join (number) , artist_id (number)


Question: What is the average and minimum age of all artists from United States.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : age (number) , country (text) , artist_id (number)


Question: Return the average and minimum ages across artists from the United States.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : age (number) , country (text) , artist_id (number)


Question: What is the name of the artist who joined latest?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , year_join (number) , artist_id (number)


Question: Return the name of the artist who has the latest join year.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , year_join (number) , artist_id (number)


Question: How many exhibition are there in year 2005 or after?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : year (number) , exhibition_id (number)


Question: Count the number of exhibitions that happened in or after 2005.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : year (number) , exhibition_id (number)


Question: Show theme and year for all exhibitions with ticket prices lower than 15.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , year (number) , ticket_price (number) , exhibition_id (number)


Question: What are the theme and year for all exhibitions that have a ticket price under 15?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , year (number) , ticket_price (number) , exhibition_id (number)


Question: Show all artist names and the number of exhibitions for each artist.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , exhibition_id (number)


Question: How many exhibitions has each artist had?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , exhibition_id (number)


Question: What is the name and country for the artist with most number of exhibitions?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , country (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , exhibition_id (number)


Question: Return the name and country corresponding to the artist who has had the most exhibitions.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , country (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , exhibition_id (number)


Question: Show names for artists without any exhibition.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , exhibition_id (number)


Question: What are the names of artists that have not had any exhibitions?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , exhibition_id (number)


Question: What is the theme and artist name for the exhibition with a ticket price higher than the average?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , artist_id (number) , ticket_price (number) , exhibition_id (number) | artist : name (text) , artist_id (number) , artist_id (number)


Question: Return the names of artists and the themes of their exhibitions that had a ticket price higher than average.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , artist_id (number) , ticket_price (number) , exhibition_id (number) | artist : name (text) , artist_id (number) , artist_id (number)


Question: Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : ticket_price (number) , year (number) , exhibition_id (number)


Question: What are the average, minimum, and maximum ticket prices for exhibitions that happened prior to 2009?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : ticket_price (number) , year (number) , exhibition_id (number)


Question: Show theme and year for all exhibitions in an descending order of ticket price.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , year (number) , ticket_price (number) , exhibition_id (number)


Question: What are the themes and years for exhibitions, sorted by ticket price descending?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , year (number) , ticket_price (number) , exhibition_id (number)


Question: What is the theme, date, and attendance for the exhibition in year 2004?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , exhibition_id (number) , year (number) , exhibition_id (number) | exhibition_record : date (text) , attendance (number) , exhibition_id (number) , exhibition_id (number)


Question: Return the themes, dates, and attendance for exhibitions that happened in 2004.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , exhibition_id (number) , year (number) , exhibition_id (number) | exhibition_record : date (text) , attendance (number) , exhibition_id (number) , exhibition_id (number)


Question: Show all artist names who didn't have an exhibition in 2004.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , year (number) , exhibition_id (number)


Question: What are the names of artists who did not have an exhibition in 2004?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : artist_id (number) , year (number) , exhibition_id (number)


Question: Show the theme for exhibitions with both records of an attendance below 100 and above 500.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , exhibition_id (number) , exhibition_id (number) | exhibition_record : exhibition_id (number) , attendance (number) , exhibition_id (number)


Question: Which themes have had corresponding exhibitions that have had attendance both below 100 and above 500?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : theme (text) , exhibition_id (number) , exhibition_id (number) | exhibition_record : exhibition_id (number) , attendance (number) , exhibition_id (number)


Question: How many exhibitions have a attendance more than 100 or have a ticket price below 10?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : exhibition_id (number) , ticket_price (number) , exhibition_id (number) | exhibition_record : exhibition_id (number) , attendance (number) , exhibition_id (number)


Question: Count the number of exhibitions that have had an attendnance of over 100 or a ticket prices under 10.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

exhibition : exhibition_id (number) , ticket_price (number) , exhibition_id (number) | exhibition_record : exhibition_id (number) , attendance (number) , exhibition_id (number)


Question: Show all artist names with an average exhibition attendance over 200.

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : exhibition_id (number) , artist_id (number) , exhibition_id (number) | exhibition_record : exhibition_id (number) , attendance (number) , exhibition_id (number)


Question: What are the names of artist whose exhibitions draw over 200 attendees on average?

artist : artist_id (number) , name (text) , country (text) , year_join (number) , age (number) | exhibition : exhibition_id (number) , year (number) , theme (text) , artist_id (number) , ticket_price (number) | exhibition_record : exhibition_id (number) , date (text) , attendance (number)

artist : name (text) , artist_id (number) , artist_id (number) | exhibition : exhibition_id (number) , artist_id (number) , exhibition_id (number) | exhibition_record : exhibition_id (number) , attendance (number) , exhibition_id (number)


Question: Find the id of the item whose title is "orange".

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : i_id (number) , title (text) , i_id (number) | review : i_id (number) , a_id (number)


Question: List all information in the item table.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)


Question: Find the number of reviews.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)


Question: How many users are there?

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)


Question: Find the average and maximum rating of all reviews.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

review : rating (number) , a_id (number)


Question: Find the highest rank of all reviews.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)


Question: How many different users wrote some reviews?

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

review : u_id (number) , a_id (number) | useracct : u_id (number) , u_id (number)


Question: How many different items were reviewed by some users?

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : i_id (number) , i_id (number) | review : i_id (number) , a_id (number)


Question: Find the number of items that did not receive any review.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : i_id (number) , i_id (number) | review : i_id (number) , a_id (number)


Question: Find the names of users who did not leave any review.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | review : u_id (number) , a_id (number)


Question: Find the names of goods that receive a rating of 10.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rating (number) , a_id (number)


Question: Find the titles of items whose rating is higher than the average review rating of all items.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rating (number) , a_id (number)


Question: Find the titles of items that received any rating below 5.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rating (number) , a_id (number)


Question: Find the titles of items that received both a rating higher than 8 and a rating below 5.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rating (number) , a_id (number)


Question: Find the names of items whose rank is higher than 3 and whose average rating is above 5.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rank (number) , rating (number) , a_id (number)


Question: Find the name of the item with the lowest average rating.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rating (number) , a_id (number)


Question: List the titles of all items in alphabetic order .

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)


Question: Find the name of the user who gives the most reviews.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | review : u_id (number) , a_id (number)


Question: Find the name and id of the item with the highest average rating.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rating (number) , a_id (number)


Question: Find the name and id of the good with the highest average rank.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , rank (number) , a_id (number)


Question: For each user, return the name and the average rating of reviews given by them.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | review : rating (number) , u_id (number) , a_id (number)


Question: For each user, find their name and the number of reviews written by them.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | review : u_id (number) , a_id (number)


Question: Find the name of the user who gave the highest rating.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | review : u_id (number) , rating (number) , a_id (number)


Question: Find the name of the source user with the highest average trust score.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | trust : trust (number) , source_u_id (number) | review : u_id (number) , a_id (number)


Question: Find each target user's name and average trust score.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | trust : trust (number) , target_u_id (number) | review : u_id (number) , a_id (number)


Question: Find the name of the target user with the lowest trust score.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | trust : trust (number) , target_u_id (number) | review : u_id (number) , a_id (number)


Question: Find the names of the items that did not receive any review.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : title (text) , i_id (number) , i_id (number) | review : i_id (number) , a_id (number)


Question: Find the names of users who did not leave any review.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

useracct : name (text) , u_id (number) , u_id (number) | review : u_id (number) , a_id (number)


Question: Find the number of users who did not write any review.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

review : u_id (number) , a_id (number) | useracct : u_id (number) , u_id (number)


Question: Find the number of items without any review.

item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)

item : i_id (number) , i_id (number) | review : i_id (number) , a_id (number)


Question: How many players are there?

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)


Question: List the names of players in ascending order of votes.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , votes (number) , player_id (number)


Question: What are the gender and occupation of players?

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : gender (text) , occupation (text) , player_id (number) | coach : gender (text) , coach_id (number)


Question: List the name and residence for players whose occupation is not "Researcher".

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , residence (text) , occupation (text) , player_id (number)


Question: Show the names of sponsors of players whose residence is either "Brandon" or "Birtle".

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : sponsor_name (text) , residence (text) , player_id (number)


Question: What is the name of the player with the largest number of votes?

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , votes (number) , player_id (number)


Question: Show different occupations along with the number of players in each occupation.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : occupation (text) , player_id (number)


Question: Please show the most common occupation of players.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : occupation (text) , player_id (number)


Question: Show the residences that have at least two players.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : residence (text) , player_id (number)


Question: Show the names of players and names of their coaches.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , player_id (number) , player_id (number) | coach : coach_name (text) , coach_id (number) , coach_id (number) | player_coach : coach_id (number) , player_id (number) , player_id (number)


Question: Show the names of players coached by the rank 1 coach.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , player_id (number) , rank (text) , player_id (number) | coach : coach_id (number) , rank (number) , coach_id (number) | player_coach : coach_id (number) , player_id (number) , player_id (number) | match_result : rank (number) , rank (number)


Question: Show the names and genders of players with a coach starting after 2011.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , gender (text) , player_id (number) , player_id (number) | coach : gender (text) , coach_id (number) , coach_id (number) | player_coach : coach_id (number) , player_id (number) , starting_year (number) , player_id (number)


Question: Show the names of players and names of their coaches in descending order of the votes of players.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , player_id (number) , votes (number) , player_id (number) | coach : coach_name (text) , coach_id (number) , coach_id (number) | player_coach : coach_id (number) , player_id (number) , player_id (number)


Question: List the names of players that do not have coaches.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : player_name (text) , player_id (number) , player_id (number) | player_coach : player_id (number) , player_id (number)


Question: Show the residences that have both a player of gender "M" and a player of gender "F".

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

player : residence (text) , gender (text) , player_id (number) | coach : gender (text) , coach_id (number)


Question: How many coaches does each club has? List the club id, name and the number of coaches.

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

club : club_id (number) , club_name (text) , club_id (number) | coach : club_id (number) , coach_id (number) | match_result : club_id (number) , rank (number)


Question: How many gold medals has the club with the most coaches won?

player : player_id (number) , sponsor_name (text) , player_name (text) , gender (text) , residence (text) , occupation (text) , votes (number) , rank (text) | club : club_id (number) , club_name (text) , region (text) , start_year (number) | coach : coach_id (number) , coach_name (text) , gender (text) , club_id (number) , rank (number) | player_coach : player_id (number) , coach_id (number) , starting_year (number) | match_result : rank (number) , club_id (number) , gold (number) , big_silver (number) , small_silver (number) , bronze (number) , points (number)

club : club_id (number) , club_id (number) | coach : club_id (number) , coach_id (number) | match_result : club_id (number) , gold (number) , rank (number)


Question: How many gymnasts are there?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)


Question: Count the number of gymnasts.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)


Question: List the total points of gymnasts in descending order.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : total_points (number) , gymnast_id (number)


Question: What are the total points for all gymnasts, ordered by total points descending?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : total_points (number) , gymnast_id (number)


Question: List the total points of gymnasts in descending order of floor exercise points.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : total_points (number) , floor_exercise_points (number) , gymnast_id (number)


Question: What are the total points of gymnasts, ordered by their floor exercise points descending?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : total_points (number) , floor_exercise_points (number) , gymnast_id (number)


Question: What is the average horizontal bar points for all gymnasts?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : horizontal_bar_points (number) , gymnast_id (number)


Question: Return the average horizontal bar points across all gymnasts.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : horizontal_bar_points (number) , gymnast_id (number)


Question: What are the names of people in ascending alphabetical order?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number)


Question: Return the names of people, ordered alphabetically.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number)


Question: What are the names of gymnasts?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: Return the names of the gymnasts.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: What are the names of gymnasts whose hometown is not "Santo Domingo"?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number) , hometown (text) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: Return the names of gymnasts who did not grow up in Santo Domingo.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number) , hometown (text) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: What is the age of the tallest person?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : age (number) , height (number) , people_id (number)


Question: Return the age of the person with the greatest height.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : age (number) , height (number) , people_id (number)


Question: List the names of the top 5 oldest people.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , age (number) , people_id (number)


Question: What are the names of the five oldest people?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , age (number) , people_id (number)


Question: What is the total point count of the youngest gymnast?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : total_points (number) , gymnast_id (number) , gymnast_id (number) | people : people_id (number) , age (number) , people_id (number)


Question: Return the total points of the gymnast with the lowest age.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

gymnast : total_points (number) , gymnast_id (number) , gymnast_id (number) | people : people_id (number) , age (number) , people_id (number)


Question: What is the average age of all gymnasts?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : age (number) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: Return the average age across all gymnasts.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : age (number) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: What are the distinct hometowns of gymnasts with total points more than 57.5?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , total_points (number) , gymnast_id (number)


Question: Give the different hometowns of gymnasts that have a total point score of above 57.5.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , total_points (number) , gymnast_id (number)


Question: What are the hometowns of gymnasts and the corresponding number of gymnasts?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: How many gymnasts are from each hometown?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: What is the most common hometown of gymnasts?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: Return the hometown that is most common among gymnasts.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: What are the hometowns that are shared by at least two gymnasts?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: Give the hometowns from which two or more gymnasts are from.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: List the names of gymnasts in ascending order by their heights.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number) , height (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: What are the names of gymnasts, ordered by their heights ascending?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : name (text) , people_id (number) , height (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: List the distinct hometowns that are not associated with any gymnast.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: From which hometowns did no gymnasts come from?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , gymnast_id (number)


Question: Show the hometowns shared by people older than 23 and younger than 20.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , age (number) , people_id (number)


Question: From which hometowns did both people older than 23 and younger than 20 come from?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , age (number) , people_id (number)


Question: How many distinct hometowns did these people have?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number)


Question: Count the number of different hometowns of these people.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : hometown (text) , people_id (number)


Question: Show the ages of gymnasts in descending order of total points.

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : age (number) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , total_points (number) , gymnast_id (number)


Question: What are the ages of the gymnasts, ordered descending by their total points?

gymnast : gymnast_id (number) , floor_exercise_points (number) , pommel_horse_points (number) , rings_points (number) , vault_points (number) , parallel_bars_points (number) , horizontal_bar_points (number) , total_points (number) | people : people_id (number) , name (text) , age (number) , height (number) , hometown (text)

people : age (number) , people_id (number) , people_id (number) | gymnast : gymnast_id (number) , total_points (number) , gymnast_id (number)


Question: Find the total savings balance of all accounts except the account with name ‘Brown’.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: What is the total balance of savings accounts not belonging to someone with the name Brown?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: How many accounts are there in total?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)


Question: Count the number of accounts.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)


Question: What is the total checking balance in all accounts?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) | checking : balance (number) , custid (number)


Question: Find the total balance across checking accounts.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) | checking : balance (number) , custid (number)


Question: Find the average checking balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) | checking : balance (number) , custid (number)


Question: What is the average balance in checking accounts?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) | checking : balance (number) , custid (number)


Question: How many accounts have a savings balance above the average savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) | checking : balance (number) , custid (number)


Question: Find the number of accounts with a savings balance that is higher than the average savings balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) | checking : balance (number) , custid (number)


Question: Find the name and id of accounts whose checking balance is below the maximum checking balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : custid (number) , name (text) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: What are the customer id and name corresponding to accounts with a checking balance less than the largest checking balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : custid (number) , name (text) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: What is the checking balance of the account whose owner’s name contains the substring ‘ee’?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: Find the balance of the checking account belonging to an owner whose name contains 'ee'.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: Find the checking balance and saving balance in the Brown’s account.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: What are the checking and savings balances in accounts belonging to Brown?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: Find the names of accounts whose checking balance is above the average checking balance, but savings balance is below the average savings balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: What are the names of accounts with checking balances greater than the average checking balance and savings balances below the average savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: Find the checking balance of the accounts whose savings balance is higher than the average savings balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: What are the balances of checking accounts belonging to people with savings balances greater than the average savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , name (text) , custid (number)


Question: List all customers’ names in the alphabetical order.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number)


Question: What are the names of all the customers in alphabetical order?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number)


Question: Find the name of account that has the lowest total checking and saving balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: What is the name corresponding to the accoung with the lowest sum of checking and savings balances?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: What are the names and sum of checking and savings balances for accounts with savings balances higher than the average savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: Find the name and checking balance of the account with the lowest savings balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: What are the names and balances of checking accounts belonging to the customer with the lowest savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: Find the number of checking accounts for each account name.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , custid (number) | checking : custid (number) , custid (number)


Question: What are the names of customers with accounts, and how many checking accounts do each of them have?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , custid (number) | checking : custid (number) , custid (number)


Question: Find the total saving balance for each account name.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: What are the names of customers with accounts, and what are the total savings balances for each?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: Find the name of accounts whose checking balance is below the average checking balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: What are the names of customers with checking balances lower than the average checking balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: Find the saving balance of the account with the highest checking balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , custid (number)


Question: What is the savings balance of the account belonging to the customer with the highest checking balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , custid (number)


Question: Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , custid (number)


Question: What is the sum of checking and savings balances for all customers, ordered by the total balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : custid (number) , custid (number)


Question: Find the name and checking balance of the account with the lowest saving balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: What is the name and checking balance of the account which has the lowest savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: Find the name, checking balance and saving balance of all accounts in the bank.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: What are the names, checking balances, and savings balances for all customers?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: Find the name, checking balance and savings balance of all accounts in the bank sorted by their total checking and savings balance in descending order.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: What are the names, checking balances, and savings balances of customers, ordered by the total of checking and savings balances descending?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number) | accounts : name (text) , custid (number) , custid (number)


Question: Find the name of accounts whose checking balance is higher than corresponding saving balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: What are the names of customers with a higher checking balance than savings balance?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : custid (number) , balance (number) , custid (number) | checking : custid (number) , balance (number) , custid (number)


Question: Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: What are the names of customers who have a savings balance lower than their checking balance, and what is the total of their checking and savings balances?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order.

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: What are names and savings balances of the three accounts with the highest savings balances?

accounts : custid (number) , name (text) | savings : custid (number) , balance (number) | checking : custid (number) , balance (number)

accounts : name (text) , custid (number) , custid (number) | savings : balance (number) , custid (number) , custid (number) | checking : balance (number) , custid (number) , custid (number)


Question: How many main stream browsers whose market share is at least 5 exist?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

browser : market_share (number) , id (number)


Question: List the name of browsers in descending order by market share.

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , id (number) | browser : name (text) , market_share (number) , id (number)


Question: List the ids, names and market shares of all browsers.

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : id (number) , name (text) , id (number) | browser : id (number) , name (text) , market_share (number) , id (number)


Question: What is the maximum, minimum and average market share of the listed browsers?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

browser : market_share (number) , id (number)


Question: What is the id and market share of the browser Safari?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : id (number) , name (text) , id (number) | browser : id (number) , market_share (number) , name (text) , id (number)


Question: What are the name and os of web client accelerators that do not work with only a 'Broadband' type connection?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , operating_system (text) , connection (text) , id (number) | browser : name (text) , id (number)


Question: What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , id (number) , id (number) | browser : name (text) , id (number) , id (number) | accelerator_compatible_browser : browser_id (number) , accelerator_id (number) , compatible_since_year (number) , accelerator_id (number)


Question: What are the ids and names of the web accelerators that are compatible with two or more browsers?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : id (number) , name (text) , id (number) | browser : id (number) , name (text) , id (number) | accelerator_compatible_browser : accelerator_id (number) , accelerator_id (number)


Question: What is the id and name of the browser that is compatible with the most web accelerators?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : id (number) , name (text) , id (number) | browser : id (number) , name (text) , id (number) | accelerator_compatible_browser : browser_id (number) , accelerator_id (number)


Question: When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

accelerator_compatible_browser : compatible_since_year (number) , browser_id (number) , accelerator_id (number) , accelerator_id (number) | web_client_accelerator : id (number) , name (text) , id (number) | browser : id (number) , name (text) , id (number)


Question: How many different kinds of clients are supported by the web clients accelerators?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : client (text) , id (number)


Question: How many accelerators are not compatible with the browsers listed ?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : id (number) , id (number) | browser : id (number) , id (number) | accelerator_compatible_browser : accelerator_id (number) , accelerator_id (number)


Question: What distinct accelerator names are compatible with the browswers that have market share higher than 15?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , id (number) , id (number) | browser : name (text) , id (number) , market_share (number) , id (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , accelerator_id (number)


Question: List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , id (number) , id (number) | browser : name (text) , id (number) , id (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , accelerator_id (number)


Question: Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , operating_system (text) , id (number) , id (number) | browser : name (text) , id (number) , id (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , accelerator_id (number)


Question: Which accelerator name contains substring "Opera"?

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , id (number) | browser : name (text) , id (number)


Question: Find the number of web accelerators used for each Operating system.

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : operating_system (text) , id (number)


Question: give me names of all compatible browsers and accelerators in the descending order of compatible year

web_client_accelerator : id (number) , name (text) , operating_system (text) , client (text) , connection (text) | browser : id (number) , name (text) , market_share (number) | accelerator_compatible_browser : accelerator_id (number) , browser_id (number) , compatible_since_year (number)

web_client_accelerator : name (text) , id (number) , id (number) | browser : name (text) , id (number) , id (number) | accelerator_compatible_browser : browser_id (number) , accelerator_id (number) , compatible_since_year (number) , accelerator_id (number)


Question: How many wrestlers are there?

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)


Question: Count the number of wrestlers.

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)


Question: List the names of wrestlers in descending order of days held.

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)

wrestler : name (text) , days_held (text) , wrestler_id (number)


Question: What are the names of the wrestlers, ordered descending by days held?

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)

wrestler : name (text) , days_held (text) , wrestler_id (number)


Question: What is the name of the wrestler with the fewest days held?

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)

wrestler : name (text) , days_held (text) , wrestler_id (number)


Question: Return the name of the wrestler who had the lowest number of days held.

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)

wrestler : name (text) , days_held (text) , wrestler_id (number)


Question: What are the distinct reigns of wrestlers whose location is not "Tokyo,Japan" ?

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)

wrestler : reign (text) , location (text) , wrestler_id (number)


Question: Give the different reigns of wrestlers who are not located in Tokyo, Japan.

wrestler : wrestler_id (number) , name (text) , reign (text) , days_held (text) , location (text) , event (text) | elimination : elimination_id (text) , wrestler_id (text) , team (text) , eliminated_by (text) , elimination_move (text) , time (text)

wrestler : reign (text) , location (text) , wrestler_id (number)