text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Who won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007?
### CONTEXT
CREATE TABLE table_name_35 (miss_air__1st_runner_up_ VARCHAR, year VARCHAR, miss_water__2nd_runner_up_ VARCHAR)
### ANSWER
SELECT miss_air__1st_runner_up_ FROM table_name_35 WHERE year < 2007 AND miss_water__2nd_runner_up_ = "catherine untalan" | {
"answer": "SELECT miss_air__1st_runner_up_ FROM table_name_35 WHERE year < 2007 AND miss_water__2nd_runner_up_ = \"catherine untalan\"",
"context": "CREATE TABLE table_name_35 (miss_air__1st_runner_up_ VARCHAR, year VARCHAR, miss_water__2nd_runner_up_ VARCHAR)",
"question": "Who won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007?"
} |
### QUESTION
A list of the top 5 countries by number of invoices. List country name and number of invoices.
### CONTEXT
CREATE TABLE invoices (billing_country VARCHAR)
### ANSWER
SELECT billing_country, COUNT(*) FROM invoices GROUP BY billing_country ORDER BY COUNT(*) DESC LIMIT 5 | {
"answer": "SELECT billing_country, COUNT(*) FROM invoices GROUP BY billing_country ORDER BY COUNT(*) DESC LIMIT 5",
"context": "CREATE TABLE invoices (billing_country VARCHAR)",
"question": "A list of the top 5 countries by number of invoices. List country name and number of invoices."
} |
### QUESTION
What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?
### CONTEXT
CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)
### ANSWER
SELECT year FROM table_name_96 WHERE tournament_name = "grand prix passing shot bordeaux" AND runners_up = "diego nargiso" | {
"answer": "SELECT year FROM table_name_96 WHERE tournament_name = \"grand prix passing shot bordeaux\" AND runners_up = \"diego nargiso\"",
"context": "CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)",
"question": "What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?"
} |
### QUESTION
When dwhr-tv is the call sign how many station types are there?
### CONTEXT
CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)
### ANSWER
SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DWHR-TV" | {
"answer": "SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = \"DWHR-TV\"",
"context": "CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)",
"question": "When dwhr-tv is the call sign how many station types are there?"
} |
### QUESTION
Name the number of total votes for # of seats won being 30
### CONTEXT
CREATE TABLE table_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR)
### ANSWER
SELECT _number_of_total_votes FROM table_19283982_4 WHERE _number_of_seats_won = 30 | {
"answer": "SELECT _number_of_total_votes FROM table_19283982_4 WHERE _number_of_seats_won = 30",
"context": "CREATE TABLE table_19283982_4 (_number_of_total_votes VARCHAR, _number_of_seats_won VARCHAR)",
"question": "Name the number of total votes for # of seats won being 30"
} |
### QUESTION
What Constructor has a +1.027 Time/Retired?
### CONTEXT
CREATE TABLE table_name_21 (constructor VARCHAR, time_retired VARCHAR)
### ANSWER
SELECT constructor FROM table_name_21 WHERE time_retired = "+1.027" | {
"answer": "SELECT constructor FROM table_name_21 WHERE time_retired = \"+1.027\"",
"context": "CREATE TABLE table_name_21 (constructor VARCHAR, time_retired VARCHAR)",
"question": "What Constructor has a +1.027 Time/Retired?"
} |
### QUESTION
Find the dates of assessment notes for students with first name "Fanny".
### CONTEXT
CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR); CREATE TABLE Assessment_Notes (date_of_notes VARCHAR, student_id VARCHAR)
### ANSWER
SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = "Fanny" | {
"answer": "SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = \"Fanny\"",
"context": "CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR); CREATE TABLE Assessment_Notes (date_of_notes VARCHAR, student_id VARCHAR)",
"question": "Find the dates of assessment notes for students with first name \"Fanny\"."
} |
### QUESTION
What is the lowest points when the ranking is 1st?
### CONTEXT
CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR)
### ANSWER
SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" | {
"answer": "SELECT MIN(points) FROM table_name_60 WHERE rank = \"1st\"",
"context": "CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR)",
"question": "What is the lowest points when the ranking is 1st?"
} |
### QUESTION
What is the number of people in attendance at Oakland-Alameda County Coliseum, and game is 2?
### CONTEXT
CREATE TABLE table_name_83 (attendance INTEGER, location VARCHAR, game VARCHAR)
### ANSWER
SELECT SUM(attendance) FROM table_name_83 WHERE location = "oakland-alameda county coliseum" AND game = 2 | {
"answer": "SELECT SUM(attendance) FROM table_name_83 WHERE location = \"oakland-alameda county coliseum\" AND game = 2",
"context": "CREATE TABLE table_name_83 (attendance INTEGER, location VARCHAR, game VARCHAR)",
"question": "What is the number of people in attendance at Oakland-Alameda County Coliseum, and game is 2?"
} |
### QUESTION
What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?
### CONTEXT
CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR)
### ANSWER
SELECT duration FROM table_10416547_1 WHERE major_instrument_s_ = "Piano" AND date = "2004-02-03" | {
"answer": "SELECT duration FROM table_10416547_1 WHERE major_instrument_s_ = \"Piano\" AND date = \"2004-02-03\"",
"context": "CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR)",
"question": "What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?"
} |
### QUESTION
What are the luma samples at level 1.3?
### CONTEXT
CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)
### ANSWER
SELECT luma_samples_s FROM table_237036_2 WHERE level = "1.3" | {
"answer": "SELECT luma_samples_s FROM table_237036_2 WHERE level = \"1.3\"",
"context": "CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)",
"question": "What are the luma samples at level 1.3?"
} |
### QUESTION
What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team?
### CONTEXT
CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)
### ANSWER
SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech" | {
"answer": "SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = \"#56 Blue Thunder Racing\" AND gto_winning_team = \"#38 Mandeville Auto Tech\"",
"context": "CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)",
"question": "What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? "
} |
### QUESTION
What is the to par dated may 4, 2003?
### CONTEXT
CREATE TABLE table_1121352_2 (to_par VARCHAR, date VARCHAR)
### ANSWER
SELECT to_par FROM table_1121352_2 WHERE date = "May 4, 2003" | {
"answer": "SELECT to_par FROM table_1121352_2 WHERE date = \"May 4, 2003\"",
"context": "CREATE TABLE table_1121352_2 (to_par VARCHAR, date VARCHAR)",
"question": "What is the to par dated may 4, 2003?"
} |
### QUESTION
Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%?
### CONTEXT
CREATE TABLE table_name_40 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR)
### ANSWER
SELECT driver FROM table_name_40 WHERE points > 252 AND season = "2012" AND percentage_of_possible_points = "55.60%" | {
"answer": "SELECT driver FROM table_name_40 WHERE points > 252 AND season = \"2012\" AND percentage_of_possible_points = \"55.60%\"",
"context": "CREATE TABLE table_name_40 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR)",
"question": "Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%?"
} |
### QUESTION
Find the number of flights landing in the city of Aberdeen or Abilene.
### CONTEXT
CREATE TABLE Airports (AirportCode VARCHAR, city VARCHAR); CREATE TABLE Flights (DestAirport VARCHAR)
### ANSWER
SELECT COUNT(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = "Aberdeen" OR T2.city = "Abilene" | {
"answer": "SELECT COUNT(*) FROM Flights AS T1 JOIN Airports AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.city = \"Aberdeen\" OR T2.city = \"Abilene\"",
"context": "CREATE TABLE Airports (AirportCode VARCHAR, city VARCHAR); CREATE TABLE Flights (DestAirport VARCHAR)",
"question": "Find the number of flights landing in the city of Aberdeen or Abilene."
} |
### QUESTION
List all characteristics of product named "sesame" with type code "Grade".
### CONTEXT
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### ANSWER
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" AND t3.characteristic_type_code = "Grade" | {
"answer": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = \"sesame\" AND t3.characteristic_type_code = \"Grade\"",
"context": "CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)",
"question": "List all characteristics of product named \"sesame\" with type code \"Grade\"."
} |
### QUESTION
Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities.
### CONTEXT
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Dec VARCHAR)
### ANSWER
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city | {
"answer": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city",
"context": "CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Dec VARCHAR)",
"question": "Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities."
} |
### QUESTION
who is the home team when the away team is ipswich town?
### CONTEXT
CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)
### ANSWER
SELECT home_team FROM table_name_34 WHERE away_team = "ipswich town" | {
"answer": "SELECT home_team FROM table_name_34 WHERE away_team = \"ipswich town\"",
"context": "CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)",
"question": "who is the home team when the away team is ipswich town?"
} |
### QUESTION
Name the D 49 √ for when D 46 √ of i 1 @
### CONTEXT
CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR)
### ANSWER
SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @" | {
"answer": "SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = \"i 1 @\"",
"context": "CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR)",
"question": "Name the D 49 √ for when D 46 √ of i 1 @"
} |
### QUESTION
What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws?
### CONTEXT
CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR)
### ANSWER
SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" AND draws < 0 | {
"answer": "SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = \"south warrnambool\" AND draws < 0",
"context": "CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR)",
"question": "What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws?"
} |
### QUESTION
Find the name of the customer that has been involved in the most policies.
### CONTEXT
CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (customer_id VARCHAR)
### ANSWER
SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_details ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_details ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (customer_id VARCHAR)",
"question": "Find the name of the customer that has been involved in the most policies."
} |
### QUESTION
What year was Hazel Grove the constituent for the liberal party?
### CONTEXT
CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR)
### ANSWER
SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove" | {
"answer": "SELECT year FROM table_name_15 WHERE party = \"liberal\" AND constituency = \"hazel grove\"",
"context": "CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR)",
"question": "What year was Hazel Grove the constituent for the liberal party?"
} |
### QUESTION
What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales?
### CONTEXT
CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR)
### ANSWER
SELECT loss FROM table_name_56 WHERE opponent = "chinatrust whales" AND save = "miguel saladin" | {
"answer": "SELECT loss FROM table_name_56 WHERE opponent = \"chinatrust whales\" AND save = \"miguel saladin\"",
"context": "CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR)",
"question": "What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales?"
} |
### QUESTION
How many instruments does the song "Le Pop" use?
### CONTEXT
CREATE TABLE instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop" | {
"answer": "SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = \"Le Pop\"",
"context": "CREATE TABLE instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)",
"question": "How many instruments does the song \"Le Pop\" use?"
} |
### QUESTION
Tell me the year built for number built of 10
### CONTEXT
CREATE TABLE table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR)
### ANSWER
SELECT year_built__converted * _ FROM table_name_14 WHERE no_built__converted * _ = "10" | {
"answer": "SELECT year_built__converted * _ FROM table_name_14 WHERE no_built__converted * _ = \"10\"",
"context": "CREATE TABLE table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR)",
"question": "Tell me the year built for number built of 10"
} |
### QUESTION
How many specimens does the SANT institution have?
### CONTEXT
CREATE TABLE table_name_1 (no_specimens INTEGER, abbr VARCHAR)
### ANSWER
SELECT SUM(no_specimens) FROM table_name_1 WHERE abbr = "sant" | {
"answer": "SELECT SUM(no_specimens) FROM table_name_1 WHERE abbr = \"sant\"",
"context": "CREATE TABLE table_name_1 (no_specimens INTEGER, abbr VARCHAR)",
"question": "How many specimens does the SANT institution have?"
} |
### QUESTION
How many did alco -schenectady preserve of class b-3?
### CONTEXT
CREATE TABLE table_name_68 (quantity_preserved VARCHAR, manufacturer VARCHAR, class VARCHAR)
### ANSWER
SELECT quantity_preserved FROM table_name_68 WHERE manufacturer = "alco -schenectady" AND class = "b-3" | {
"answer": "SELECT quantity_preserved FROM table_name_68 WHERE manufacturer = \"alco -schenectady\" AND class = \"b-3\"",
"context": "CREATE TABLE table_name_68 (quantity_preserved VARCHAR, manufacturer VARCHAR, class VARCHAR)",
"question": "How many did alco -schenectady preserve of class b-3?"
} |
### QUESTION
What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana?
### CONTEXT
CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)
### ANSWER
SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = "cardinal-priest of s. pudenziana" | {
"answer": "SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = \"cardinal-priest of s. pudenziana\"",
"context": "CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)",
"question": "What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana?"
} |
### QUESTION
What are the degrees conferred in "San Francisco State University" in 2001.
### CONTEXT
CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR)
### ANSWER
SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND t2.year = 2001 | {
"answer": "SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND t2.year = 2001",
"context": "CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR)",
"question": "What are the degrees conferred in \"San Francisco State University\" in 2001."
} |
### QUESTION
What is the To par for Robert Allenby from Australia
### CONTEXT
CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_6 WHERE country = "australia" AND player = "robert allenby" | {
"answer": "SELECT to_par FROM table_name_6 WHERE country = \"australia\" AND player = \"robert allenby\"",
"context": "CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR)",
"question": "What is the To par for Robert Allenby from Australia"
} |
### QUESTION
What number is the player that played 1998-2001
### CONTEXT
CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)
### ANSWER
SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = "1998-2001" | {
"answer": "SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = \"1998-2001\"",
"context": "CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)",
"question": "What number is the player that played 1998-2001"
} |
### QUESTION
What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?
### CONTEXT
CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR)
### ANSWER
SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio" | {
"answer": "SELECT date FROM table_name_20 WHERE distance = \"km (mi)\" AND course = \"roccaraso to san giorgio del sannio\"",
"context": "CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR)",
"question": "What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?"
} |
### QUESTION
what's the won with points against being 597
### CONTEXT
CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR)
### ANSWER
SELECT won FROM table_13758945_3 WHERE points_against = "597" | {
"answer": "SELECT won FROM table_13758945_3 WHERE points_against = \"597\"",
"context": "CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR)",
"question": "what's the won with points against being 597"
} |
### QUESTION
What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?
### CONTEXT
CREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)
### ANSWER
SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25" | {
"answer": "SELECT set_5 FROM table_name_65 WHERE date = \"jun 7\" AND set_4 = \"21-25\"",
"context": "CREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)",
"question": "What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?"
} |
### QUESTION
Find all airlines that have flights from airport 'CVO' but not from 'APG'.
### CONTEXT
CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR)
### ANSWER
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "CVO" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "APG" | {
"answer": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"CVO\" EXCEPT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = \"APG\"",
"context": "CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR)",
"question": "Find all airlines that have flights from airport 'CVO' but not from 'APG'."
} |
### QUESTION
List the campus that have between 600 and 1000 faculty lines in year 2004.
### CONTEXT
CREATE TABLE campuses (id VARCHAR); CREATE TABLE faculty (campus VARCHAR, faculty VARCHAR)
### ANSWER
SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004 | {
"answer": "SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004",
"context": "CREATE TABLE campuses (id VARCHAR); CREATE TABLE faculty (campus VARCHAR, faculty VARCHAR)",
"question": "List the campus that have between 600 and 1000 faculty lines in year 2004."
} |
### QUESTION
What is name of the country that speaks the largest number of languages?
### CONTEXT
CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)
### ANSWER
SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)",
"question": "What is name of the country that speaks the largest number of languages?"
} |
### QUESTION
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
### CONTEXT
CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)
### ANSWER
SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay" | {
"answer": "SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = \"all-ireland hurling final replay\"",
"context": "CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)",
"question": "What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?"
} |
### QUESTION
What is the location for the year under 2010 and the year Hei Zhi Hong won silver?
### CONTEXT
CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)
### ANSWER
SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong" | {
"answer": "SELECT location FROM table_name_67 WHERE year < 2010 AND silver = \"hei zhi hong\"",
"context": "CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)",
"question": "What is the location for the year under 2010 and the year Hei Zhi Hong won silver?"
} |
### QUESTION
what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35?
### CONTEXT
CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)
### ANSWER
SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "35" | {
"answer": "SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = \"1\" AND total_apps = \"35\"",
"context": "CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)",
"question": "what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35?"
} |
### QUESTION
Find the number of different departments in each school whose number of different departments is less than 5.
### CONTEXT
CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 5 | {
"answer": "SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 5",
"context": "CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR)",
"question": "Find the number of different departments in each school whose number of different departments is less than 5."
} |
### QUESTION
What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík?
### CONTEXT
CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR)
### ANSWER
SELECT SUM(population) FROM table_name_57 WHERE markatal > 48 AND inhabitants_per_km² > 24 AND municipality = "runavík" | {
"answer": "SELECT SUM(population) FROM table_name_57 WHERE markatal > 48 AND inhabitants_per_km² > 24 AND municipality = \"runavík\"",
"context": "CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR)",
"question": "What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík?"
} |
### QUESTION
What is the League Goals when the FA Cup Goals are 0, position is mf, League Cup Apps of 0, and name is Ben Thornley?
### CONTEXT
CREATE TABLE table_name_98 (league_goals INTEGER, name VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, position VARCHAR)
### ANSWER
SELECT AVG(league_goals) FROM table_name_98 WHERE fa_cup_goals = "0" AND position = "mf" AND league_cup_apps = "0" AND name = "ben thornley" | {
"answer": "SELECT AVG(league_goals) FROM table_name_98 WHERE fa_cup_goals = \"0\" AND position = \"mf\" AND league_cup_apps = \"0\" AND name = \"ben thornley\"",
"context": "CREATE TABLE table_name_98 (league_goals INTEGER, name VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, position VARCHAR)",
"question": "What is the League Goals when the FA Cup Goals are 0, position is mf, League Cup Apps of 0, and name is Ben Thornley?"
} |
### QUESTION
Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:?
### CONTEXT
CREATE TABLE table_name_21 (number_of_electorates__2009_ VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### ANSWER
SELECT number_of_electorates__2009_ FROM table_name_21 WHERE reserved_for___sc___st__none_ = "total:" | {
"answer": "SELECT number_of_electorates__2009_ FROM table_name_21 WHERE reserved_for___sc___st__none_ = \"total:\"",
"context": "CREATE TABLE table_name_21 (number_of_electorates__2009_ VARCHAR, reserved_for___sc___st__none_ VARCHAR)",
"question": "Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:?"
} |
### QUESTION
How many times is the position lb and the overall is less than 46?
### CONTEXT
CREATE TABLE table_name_25 (pick VARCHAR, position VARCHAR, overall VARCHAR)
### ANSWER
SELECT COUNT(pick) FROM table_name_25 WHERE position = "lb" AND overall < 46 | {
"answer": "SELECT COUNT(pick) FROM table_name_25 WHERE position = \"lb\" AND overall < 46",
"context": "CREATE TABLE table_name_25 (pick VARCHAR, position VARCHAR, overall VARCHAR)",
"question": "How many times is the position lb and the overall is less than 46?"
} |
### QUESTION
What are the total scores of the body builders whose birthday contains the string "January" ?
### CONTEXT
CREATE TABLE people (people_id VARCHAR, Birth_Date VARCHAR); CREATE TABLE body_builder (total VARCHAR, people_id VARCHAR)
### ANSWER
SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE "%January%" | {
"answer": "SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE \"%January%\"",
"context": "CREATE TABLE people (people_id VARCHAR, Birth_Date VARCHAR); CREATE TABLE body_builder (total VARCHAR, people_id VARCHAR)",
"question": "What are the total scores of the body builders whose birthday contains the string \"January\" ?"
} |
### QUESTION
List the names of aircrafts and that won matches at least twice.
### CONTEXT
CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)
### ANSWER
SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2 | {
"answer": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2",
"context": "CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)",
"question": "List the names of aircrafts and that won matches at least twice."
} |
### QUESTION
What is the first year that Reasons to be Pretty had a nominee for best performance by a leading actor in a play?
### CONTEXT
CREATE TABLE table_name_56 (year INTEGER, category VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_56 WHERE category = "best performance by a leading actor in a play" | {
"answer": "SELECT MIN(year) FROM table_name_56 WHERE category = \"best performance by a leading actor in a play\"",
"context": "CREATE TABLE table_name_56 (year INTEGER, category VARCHAR)",
"question": "What is the first year that Reasons to be Pretty had a nominee for best performance by a leading actor in a play?"
} |
### QUESTION
Which method was used in the welterweight class with a preliminary card?
### CONTEXT
CREATE TABLE table_name_58 (method VARCHAR, weight_class VARCHAR, card VARCHAR)
### ANSWER
SELECT method FROM table_name_58 WHERE weight_class = "welterweight" AND card = "preliminary" | {
"answer": "SELECT method FROM table_name_58 WHERE weight_class = \"welterweight\" AND card = \"preliminary\"",
"context": "CREATE TABLE table_name_58 (method VARCHAR, weight_class VARCHAR, card VARCHAR)",
"question": "Which method was used in the welterweight class with a preliminary card?"
} |
### QUESTION
What is the highest 4 hoops, 2 clubs of Belarus, which has a total less than 38.25?
### CONTEXT
### ANSWER
SELECT TOP('4 hoops 2 clubs') FROM table_name_14 WHERE nation = "belarus" AND total < 38.25 | {
"answer": "SELECT TOP('4 hoops 2 clubs') FROM table_name_14 WHERE nation = \"belarus\" AND total < 38.25",
"context": "",
"question": "What is the highest 4 hoops, 2 clubs of Belarus, which has a total less than 38.25?"
} |
### QUESTION
What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?
### CONTEXT
CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)
### ANSWER
SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.8%" | {
"answer": "SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = \"tbs\" AND average_ratings = \"14.8%\"",
"context": "CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)",
"question": "What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%?"
} |
### QUESTION
Which general service in India is a part of the zee variasi network?
### CONTEXT
CREATE TABLE table_name_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
### ANSWER
SELECT service FROM table_name_96 WHERE origin_of_programming = "india" AND genre = "general" AND network = "zee variasi" | {
"answer": "SELECT service FROM table_name_96 WHERE origin_of_programming = \"india\" AND genre = \"general\" AND network = \"zee variasi\"",
"context": "CREATE TABLE table_name_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)",
"question": "Which general service in India is a part of the zee variasi network?"
} |
### QUESTION
HOw many films did martin repka category:articles with hcards direct?
### CONTEXT
CREATE TABLE table_22032599_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)
### ANSWER
SELECT COUNT(film_title_used_in_nomination) FROM table_22032599_1 WHERE director = "Martin Repka Category:Articles with hCards" | {
"answer": "SELECT COUNT(film_title_used_in_nomination) FROM table_22032599_1 WHERE director = \"Martin Repka Category:Articles with hCards\"",
"context": "CREATE TABLE table_22032599_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)",
"question": "HOw many films did martin repka category:articles with hcards direct?"
} |
### QUESTION
What's the time of Britta Steffen in a lane less than 4?
### CONTEXT
CREATE TABLE table_name_50 (time INTEGER, lane VARCHAR, name VARCHAR)
### ANSWER
SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = "britta steffen" | {
"answer": "SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = \"britta steffen\"",
"context": "CREATE TABLE table_name_50 (time INTEGER, lane VARCHAR, name VARCHAR)",
"question": "What's the time of Britta Steffen in a lane less than 4?"
} |
### QUESTION
I want the time/retired with grid less than 22 and Laps less than 33 for john surtees
### CONTEXT
CREATE TABLE table_name_96 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
### ANSWER
SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = "john surtees" | {
"answer": "SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = \"john surtees\"",
"context": "CREATE TABLE table_name_96 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)",
"question": "I want the time/retired with grid less than 22 and Laps less than 33 for john surtees"
} |
### QUESTION
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2?
### CONTEXT
CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR)
### ANSWER
SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2 | {
"answer": "SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2",
"context": "CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR)",
"question": "Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2?"
} |
### QUESTION
What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?
### CONTEXT
CREATE TABLE table_name_77 (silver INTEGER, gold VARCHAR, bronze VARCHAR, sport VARCHAR)
### ANSWER
SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = "total" AND gold < 1 | {
"answer": "SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = \"total\" AND gold < 1",
"context": "CREATE TABLE table_name_77 (silver INTEGER, gold VARCHAR, bronze VARCHAR, sport VARCHAR)",
"question": "What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?"
} |
### QUESTION
What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585?
### CONTEXT
CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR)
### ANSWER
SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = "china" AND main_span_feet = "2,585" | {
"answer": "SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = \"china\" AND main_span_feet = \"2,585\"",
"context": "CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR)",
"question": "What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585?"
} |
### QUESTION
What is the High rebounds with a Series with 4–2?
### CONTEXT
CREATE TABLE table_name_13 (high_rebounds VARCHAR, series VARCHAR)
### ANSWER
SELECT high_rebounds FROM table_name_13 WHERE series = "4–2" | {
"answer": "SELECT high_rebounds FROM table_name_13 WHERE series = \"4–2\"",
"context": "CREATE TABLE table_name_13 (high_rebounds VARCHAR, series VARCHAR)",
"question": "What is the High rebounds with a Series with 4–2?"
} |
### QUESTION
What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?
### CONTEXT
CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)
### ANSWER
SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley" AND T2.staff_last_name = "Medhurst" | {
"answer": "SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\" AND T2.staff_last_name = \"Berge\" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Ashley\" AND T2.staff_last_name = \"Medhurst\"",
"context": "CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)",
"question": "What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?"
} |
### QUESTION
Which Team has a round 1 CONMEBOL 1995?
### CONTEXT
CREATE TABLE table_name_28 (team VARCHAR, conmebol_1995 VARCHAR)
### ANSWER
SELECT team FROM table_name_28 WHERE conmebol_1995 = "round 1" | {
"answer": "SELECT team FROM table_name_28 WHERE conmebol_1995 = \"round 1\"",
"context": "CREATE TABLE table_name_28 (team VARCHAR, conmebol_1995 VARCHAR)",
"question": "Which Team has a round 1 CONMEBOL 1995?"
} |
### QUESTION
What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran?
### CONTEXT
CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR)
### ANSWER
SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises" | {
"answer": "SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = \"chevrolet silverado\" AND team = \"rbr enterprises\"",
"context": "CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR)",
"question": "What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran?"
} |
### QUESTION
Show the premise type and address type code for all customer addresses.
### CONTEXT
CREATE TABLE premises (premises_type VARCHAR, premise_id VARCHAR); CREATE TABLE customer_addresses (address_type_code VARCHAR, premise_id VARCHAR)
### ANSWER
SELECT T2.premises_type, T1.address_type_code FROM customer_addresses AS T1 JOIN premises AS T2 ON T1.premise_id = T2.premise_id | {
"answer": "SELECT T2.premises_type, T1.address_type_code FROM customer_addresses AS T1 JOIN premises AS T2 ON T1.premise_id = T2.premise_id",
"context": "CREATE TABLE premises (premises_type VARCHAR, premise_id VARCHAR); CREATE TABLE customer_addresses (address_type_code VARCHAR, premise_id VARCHAR)",
"question": "Show the premise type and address type code for all customer addresses."
} |
### QUESTION
What dates does Alex Munter have 25% and the polling firm of Decima?
### CONTEXT
CREATE TABLE table_name_41 (polling_dates VARCHAR, alex_munter VARCHAR, polling_firm VARCHAR)
### ANSWER
SELECT polling_dates FROM table_name_41 WHERE alex_munter = "25%" AND polling_firm = "decima" | {
"answer": "SELECT polling_dates FROM table_name_41 WHERE alex_munter = \"25%\" AND polling_firm = \"decima\"",
"context": "CREATE TABLE table_name_41 (polling_dates VARCHAR, alex_munter VARCHAR, polling_firm VARCHAR)",
"question": "What dates does Alex Munter have 25% and the polling firm of Decima?"
} |
### QUESTION
Which tournament had an outcome of winner, a hard surface, and happened on August 26, 2006?
### CONTEXT
CREATE TABLE table_name_76 (tournament VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)
### ANSWER
SELECT tournament FROM table_name_76 WHERE outcome = "winner" AND surface = "hard" AND date = "august 26, 2006" | {
"answer": "SELECT tournament FROM table_name_76 WHERE outcome = \"winner\" AND surface = \"hard\" AND date = \"august 26, 2006\"",
"context": "CREATE TABLE table_name_76 (tournament VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)",
"question": "Which tournament had an outcome of winner, a hard surface, and happened on August 26, 2006?"
} |
### QUESTION
What kind of Disc number has a Track number of 02 on 7 september 2004?
### CONTEXT
CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR)
### ANSWER
SELECT disc_number FROM table_name_19 WHERE track_number = "02" AND release_date = "7 september 2004" | {
"answer": "SELECT disc_number FROM table_name_19 WHERE track_number = \"02\" AND release_date = \"7 september 2004\"",
"context": "CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR)",
"question": "What kind of Disc number has a Track number of 02 on 7 september 2004?"
} |
### QUESTION
What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008?
### CONTEXT
CREATE TABLE table_name_71 (serial_no VARCHAR, engine_no VARCHAR, colour VARCHAR, pilot_car_no VARCHAR)
### ANSWER
SELECT serial_no FROM table_name_71 WHERE colour = "black" AND pilot_car_no > 2 AND engine_no = 1008 | {
"answer": "SELECT serial_no FROM table_name_71 WHERE colour = \"black\" AND pilot_car_no > 2 AND engine_no = 1008",
"context": "CREATE TABLE table_name_71 (serial_no VARCHAR, engine_no VARCHAR, colour VARCHAR, pilot_car_no VARCHAR)",
"question": "What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008?"
} |
### QUESTION
What is the name of the claim processing stage that most of the claims are on?
### CONTEXT
CREATE TABLE claims_processing (claim_stage_id VARCHAR); CREATE TABLE claims_processing_stages (claim_status_name VARCHAR, claim_stage_id VARCHAR)
### ANSWER
SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id = t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id = t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE claims_processing (claim_stage_id VARCHAR); CREATE TABLE claims_processing_stages (claim_status_name VARCHAR, claim_stage_id VARCHAR)",
"question": "What is the name of the claim processing stage that most of the claims are on?"
} |
### QUESTION
Find the name of students who took some course offered by Statistics department.
### CONTEXT
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE takes (course_id VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)
### ANSWER
SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics' | {
"answer": "SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics'",
"context": "CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE takes (course_id VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)",
"question": "Find the name of students who took some course offered by Statistics department."
} |
### QUESTION
What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."?
### CONTEXT
CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)
### ANSWER
SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s." | {
"answer": "SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = \"john mcenroe\" AND championship = \"los angeles , u.s.\"",
"context": "CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)",
"question": "What is Score in The Final, when Opponent in The Final is \"John McEnroe\", and when Championship is \"Los Angeles , U.S.\"?"
} |
### QUESTION
Name the replaced by for slaven belupo
### CONTEXT
CREATE TABLE table_27225944_3 (replaced_by VARCHAR, team VARCHAR)
### ANSWER
SELECT replaced_by FROM table_27225944_3 WHERE team = "Slaven Belupo" | {
"answer": "SELECT replaced_by FROM table_27225944_3 WHERE team = \"Slaven Belupo\"",
"context": "CREATE TABLE table_27225944_3 (replaced_by VARCHAR, team VARCHAR)",
"question": "Name the replaced by for slaven belupo"
} |
### QUESTION
when the gdp per emissions (in us dollars per ton) is 3903, what is the maximum annual co2 emissions (in thousands of metric tons)?
### CONTEXT
CREATE TABLE table_2508175_1 (annual_co2_emissions__in_thousands_of_metric_tons_ INTEGER, gdp_per_emissions__in_us_dollars_per_ton_ VARCHAR)
### ANSWER
SELECT MAX(annual_co2_emissions__in_thousands_of_metric_tons_) FROM table_2508175_1 WHERE gdp_per_emissions__in_us_dollars_per_ton_ = 3903 | {
"answer": "SELECT MAX(annual_co2_emissions__in_thousands_of_metric_tons_) FROM table_2508175_1 WHERE gdp_per_emissions__in_us_dollars_per_ton_ = 3903",
"context": "CREATE TABLE table_2508175_1 (annual_co2_emissions__in_thousands_of_metric_tons_ INTEGER, gdp_per_emissions__in_us_dollars_per_ton_ VARCHAR)",
"question": "when the gdp per emissions (in us dollars per ton) is 3903, what is the maximum annual co2 emissions (in thousands of metric tons)?"
} |
### QUESTION
What is the land area of the RCM having a density of 21.1?
### CONTEXT
CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)
### ANSWER
SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = "21.1" | {
"answer": "SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = \"21.1\"",
"context": "CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)",
"question": "What is the land area of the RCM having a density of 21.1?"
} |
### QUESTION
What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore?
### CONTEXT
CREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = "$49.95" AND artist = "w.h.j. blakemore" | {
"answer": "SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = \"$49.95\" AND artist = \"w.h.j. blakemore\"",
"context": "CREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)",
"question": "What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore?"
} |
### QUESTION
What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?
### CONTEXT
CREATE TABLE table_name_49 (population_millions INTEGER, inhabitants_per_mep VARCHAR, member_state VARCHAR, influence VARCHAR, meps VARCHAR)
### ANSWER
SELECT SUM(population_millions) FROM table_name_49 WHERE influence < 2.91 AND meps < 13 AND member_state = "latvia" AND inhabitants_per_mep > 286 OFFSET 875 | {
"answer": "SELECT SUM(population_millions) FROM table_name_49 WHERE influence < 2.91 AND meps < 13 AND member_state = \"latvia\" AND inhabitants_per_mep > 286 OFFSET 875",
"context": "CREATE TABLE table_name_49 (population_millions INTEGER, inhabitants_per_mep VARCHAR, member_state VARCHAR, influence VARCHAR, meps VARCHAR)",
"question": "What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?"
} |
### QUESTION
What is the digital of Virgin [analogue]?
### CONTEXT
CREATE TABLE table_name_24 (digital VARCHAR, provider VARCHAR)
### ANSWER
SELECT digital FROM table_name_24 WHERE provider = "virgin [analogue]" | {
"answer": "SELECT digital FROM table_name_24 WHERE provider = \"virgin [analogue]\"",
"context": "CREATE TABLE table_name_24 (digital VARCHAR, provider VARCHAR)",
"question": "What is the digital of Virgin [analogue]?"
} |
### QUESTION
Tell me the result for lincoln financial field december 11, 2005
### CONTEXT
CREATE TABLE table_name_90 (result VARCHAR, venue VARCHAR, date VARCHAR)
### ANSWER
SELECT result FROM table_name_90 WHERE venue = "lincoln financial field" AND date = "december 11, 2005" | {
"answer": "SELECT result FROM table_name_90 WHERE venue = \"lincoln financial field\" AND date = \"december 11, 2005\"",
"context": "CREATE TABLE table_name_90 (result VARCHAR, venue VARCHAR, date VARCHAR)",
"question": "Tell me the result for lincoln financial field december 11, 2005"
} |
### QUESTION
Running back Aaron Green went to Nebraska and what high school?
### CONTEXT
CREATE TABLE table_11677691_3 (school VARCHAR, position VARCHAR, college VARCHAR)
### ANSWER
SELECT school FROM table_11677691_3 WHERE position = "Running back" AND college = "Nebraska" | {
"answer": "SELECT school FROM table_11677691_3 WHERE position = \"Running back\" AND college = \"Nebraska\"",
"context": "CREATE TABLE table_11677691_3 (school VARCHAR, position VARCHAR, college VARCHAR)",
"question": "Running back Aaron Green went to Nebraska and what high school? "
} |
### QUESTION
The ship MS Vistafjord has what in service for NAL?
### CONTEXT
CREATE TABLE table_name_10 (in_service_for_nal VARCHAR, ship VARCHAR)
### ANSWER
SELECT in_service_for_nal FROM table_name_10 WHERE ship = "ms vistafjord" | {
"answer": "SELECT in_service_for_nal FROM table_name_10 WHERE ship = \"ms vistafjord\"",
"context": "CREATE TABLE table_name_10 (in_service_for_nal VARCHAR, ship VARCHAR)",
"question": "The ship MS Vistafjord has what in service for NAL?"
} |
### QUESTION
Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11?
### CONTEXT
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR)
### ANSWER
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 11 | {
"answer": "SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 11",
"context": "CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR)",
"question": "Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11?"
} |
### QUESTION
When 5 is the position what is the state or country?
### CONTEXT
CREATE TABLE table_1858574_2 (state_country VARCHAR, position VARCHAR)
### ANSWER
SELECT state_country FROM table_1858574_2 WHERE position = 5 | {
"answer": "SELECT state_country FROM table_1858574_2 WHERE position = 5",
"context": "CREATE TABLE table_1858574_2 (state_country VARCHAR, position VARCHAR)",
"question": "When 5 is the position what is the state or country?"
} |
### QUESTION
When was the venue named nassau veterans memorial coliseum established??
### CONTEXT
CREATE TABLE table_name_45 (established INTEGER, venue VARCHAR)
### ANSWER
SELECT MAX(established) FROM table_name_45 WHERE venue = "nassau veterans memorial coliseum" | {
"answer": "SELECT MAX(established) FROM table_name_45 WHERE venue = \"nassau veterans memorial coliseum\"",
"context": "CREATE TABLE table_name_45 (established INTEGER, venue VARCHAR)",
"question": "When was the venue named nassau veterans memorial coliseum established??"
} |
### QUESTION
Which To par has a Country of united states, and a Score of 71-70=141?
### CONTEXT
CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### ANSWER
SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 71 - 70 = 141 | {
"answer": "SELECT to_par FROM table_name_14 WHERE country = \"united states\" AND score = 71 - 70 = 141",
"context": "CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)",
"question": "Which To par has a Country of united states, and a Score of 71-70=141?"
} |
### QUESTION
What American Southwest Conference school was founded in 1883?
### CONTEXT
CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR)
### ANSWER
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest" | {
"answer": "SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = \"american southwest\"",
"context": "CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR)",
"question": "What American Southwest Conference school was founded in 1883?"
} |
### QUESTION
How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?
### CONTEXT
CREATE TABLE table_name_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR)
### ANSWER
SELECT SUM(losses) FROM table_name_11 WHERE team_name = "burnaby lakers" AND points = 8 AND season = "1998" AND games < 25 | {
"answer": "SELECT SUM(losses) FROM table_name_11 WHERE team_name = \"burnaby lakers\" AND points = 8 AND season = \"1998\" AND games < 25",
"context": "CREATE TABLE table_name_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR)",
"question": "How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?"
} |
### QUESTION
Find the names of customers who are not living in the state of California.
### CONTEXT
CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR); CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)
### ANSWER
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = 'California' | {
"answer": "SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = 'California'",
"context": "CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR); CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)",
"question": "Find the names of customers who are not living in the state of California."
} |
### QUESTION
What tournament had a runner(s)-up of Scott Hoch & Kenny Perry?
### CONTEXT
CREATE TABLE table_name_12 (tournament VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT tournament FROM table_name_12 WHERE runner_s__up = "scott hoch & kenny perry" | {
"answer": "SELECT tournament FROM table_name_12 WHERE runner_s__up = \"scott hoch & kenny perry\"",
"context": "CREATE TABLE table_name_12 (tournament VARCHAR, runner_s__up VARCHAR)",
"question": "What tournament had a runner(s)-up of Scott Hoch & Kenny Perry?"
} |
### QUESTION
What is the score of the final in $10,000 – tarakan , indonesia f2?
### CONTEXT
CREATE TABLE table_name_97 (score_in_final VARCHAR, tournament VARCHAR)
### ANSWER
SELECT score_in_final FROM table_name_97 WHERE tournament = "$10,000 – tarakan , indonesia f2" | {
"answer": "SELECT score_in_final FROM table_name_97 WHERE tournament = \"$10,000 – tarakan , indonesia f2\"",
"context": "CREATE TABLE table_name_97 (score_in_final VARCHAR, tournament VARCHAR)",
"question": "What is the score of the final in $10,000 – tarakan , indonesia f2?"
} |
### QUESTION
Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record?
### CONTEXT
CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR)
### ANSWER
SELECT opponent FROM table_name_86 WHERE method = "submission (armbar)" AND record = "9-3-1" | {
"answer": "SELECT opponent FROM table_name_86 WHERE method = \"submission (armbar)\" AND record = \"9-3-1\"",
"context": "CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR)",
"question": "Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record?"
} |
### QUESTION
What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?
### CONTEXT
CREATE TABLE table_1566852_6 (centerfold_model VARCHAR)
### ANSWER
SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace" | {
"answer": "SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = \"Jillian Grace\"",
"context": "CREATE TABLE table_1566852_6 (centerfold_model VARCHAR)",
"question": "What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?"
} |
### QUESTION
What's the address of the union bank of California tower?
### CONTEXT
CREATE TABLE table_name_27 (street_address VARCHAR, name VARCHAR)
### ANSWER
SELECT street_address FROM table_name_27 WHERE name = "union bank of california tower" | {
"answer": "SELECT street_address FROM table_name_27 WHERE name = \"union bank of california tower\"",
"context": "CREATE TABLE table_name_27 (street_address VARCHAR, name VARCHAR)",
"question": "What's the address of the union bank of California tower?"
} |
### QUESTION
which round is u.s. open cup division semifinals
### CONTEXT
CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, playoffs VARCHAR)
### ANSWER
SELECT us_open_cup FROM table_1046170_5 WHERE playoffs = "division Semifinals" | {
"answer": "SELECT us_open_cup FROM table_1046170_5 WHERE playoffs = \"division Semifinals\"",
"context": "CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, playoffs VARCHAR)",
"question": "which round is u.s. open cup division semifinals"
} |
### QUESTION
Name the greek modern for słyszałeś był / słyszałaś była
### CONTEXT
CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR)
### ANSWER
SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była" | {
"answer": "SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = \"słyszałeś był / słyszałaś była\"",
"context": "CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR)",
"question": "Name the greek modern for słyszałeś był / słyszałaś była"
} |
### QUESTION
What was the voting order when bunny carr was the commentator?
### CONTEXT
CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)
### ANSWER
SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr" | {
"answer": "SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = \"bunny carr\"",
"context": "CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)",
"question": "What was the voting order when bunny carr was the commentator?"
} |
### QUESTION
How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68?
### CONTEXT
CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR)
### ANSWER
SELECT AVG(points) FROM table_name_21 WHERE team = "minardi team usa" AND grid = 3 AND laps > 68 | {
"answer": "SELECT AVG(points) FROM table_name_21 WHERE team = \"minardi team usa\" AND grid = 3 AND laps > 68",
"context": "CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR)",
"question": "How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68?"
} |
### QUESTION
What is the full amount of averages when the sellouts are less than 14, the season is 2011-12, and attendance is less than 162,474?
### CONTEXT
CREATE TABLE table_name_73 (average VARCHAR, attendance VARCHAR, sellouts VARCHAR, season VARCHAR)
### ANSWER
SELECT COUNT(average) FROM table_name_73 WHERE sellouts < 14 AND season = "2011-12" AND attendance < 162 OFFSET 474 | {
"answer": "SELECT COUNT(average) FROM table_name_73 WHERE sellouts < 14 AND season = \"2011-12\" AND attendance < 162 OFFSET 474",
"context": "CREATE TABLE table_name_73 (average VARCHAR, attendance VARCHAR, sellouts VARCHAR, season VARCHAR)",
"question": "What is the full amount of averages when the sellouts are less than 14, the season is 2011-12, and attendance is less than 162,474?"
} |
### QUESTION
Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?
### CONTEXT
CREATE TABLE table_name_22 (average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR)
### ANSWER
SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = "2004/2005" AND red_cards > 3 | {
"answer": "SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = \"2004/2005\" AND red_cards > 3",
"context": "CREATE TABLE table_name_22 (average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR)",
"question": "Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?"
} |
### QUESTION
What are the entry names of catalog with the attribute possessed by most entries.
### CONTEXT
CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id VARCHAR, attribute_value VARCHAR); CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, catalog_entry_id VARCHAR); CREATE TABLE Catalog_Contents_Additional_Attributes (attribute_value VARCHAR)
### ANSWER
SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.attribute_value = (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY COUNT(*) DESC LIMIT 1) | {
"answer": "SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.attribute_value = (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY COUNT(*) DESC LIMIT 1)",
"context": "CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id VARCHAR, attribute_value VARCHAR); CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, catalog_entry_id VARCHAR); CREATE TABLE Catalog_Contents_Additional_Attributes (attribute_value VARCHAR)",
"question": "What are the entry names of catalog with the attribute possessed by most entries."
} |
### QUESTION
What is the location of the match with Aron Lofton as the opponent?
### CONTEXT
CREATE TABLE table_name_29 (location VARCHAR, opponent VARCHAR)
### ANSWER
SELECT location FROM table_name_29 WHERE opponent = "aron lofton" | {
"answer": "SELECT location FROM table_name_29 WHERE opponent = \"aron lofton\"",
"context": "CREATE TABLE table_name_29 (location VARCHAR, opponent VARCHAR)",
"question": "What is the location of the match with Aron Lofton as the opponent?"
} |
### QUESTION
What is the campus fee of "San Francisco State University" in year 1996?
### CONTEXT
CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR)
### ANSWER
SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996 | {
"answer": "SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = \"San Francisco State University\" AND T2.year = 1996",
"context": "CREATE TABLE csu_fees (year VARCHAR); CREATE TABLE campuses (id VARCHAR)",
"question": "What is the campus fee of \"San Francisco State University\" in year 1996?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.