conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_22815568_13 (market_income_per_capita VARCHAR, county VARCHAR)" }, { "from": "human", "value": "what is the market income per capita where the county is hancock?" }, { "from": "gpt", "value": "SELECT market_income_per_capita FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)" }, { "from": "human", "value": "what is the county where the market income per capita is $25,006?" }, { "from": "gpt", "value": "SELECT county FROM table_22815568_13 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)" }, { "from": "human", "value": "what is the unemployment rate where the market income per capita is $16,406?" }, { "from": "gpt", "value": "SELECT unemployment_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, county VARCHAR)" }, { "from": "human", "value": "what is the unemployment rate for wayne county?" }, { "from": "gpt", "value": "SELECT unemployment_rate FROM table_22815568_13 WHERE county = \"Wa...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "What is the original air date of the episode with a production code of 105? " }, { "from": "gpt", "value": "SELECT original_air_date FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR)" }, { "from": "human", "value": "How many counties have a population of 2266?" }, { "from": "gpt", "value": "SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_3 (status VARCHAR, county VARCHAR)" }, { "from": "human", "value": "How many statuses are listed for Wayne county? " }, { "from": "gpt", "value": "SELECT COUNT(status) FROM table_22815568_3 WHERE county = \"Wayne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR)" }, { "from": "human", "value": "What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%? " },...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_3 (status VARCHAR, poverty_rate VARCHAR)" }, { "from": "human", "value": "What is the status for all the counties that have a poverty rate of 36.6%? " }, { "from": "gpt", "value": "SELECT status FROM table_22815568_3 WHERE pov...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_6 (status VARCHAR, poverty_rate VARCHAR)" }, { "from": "human", "value": "What is the status if the poverty rate is 11.4%?" }, { "from": "gpt", "value": "SELECT status FROM table_22815568_6 WHERE poverty_rate = \"11.4%\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)" }, { "from": "human", "value": "If the poverty rate is 12.9%, what is the county?" }, { "from": "gpt", "value": "SELECT county FROM table_22815568_6 WHERE poverty_rate = \"12.9%\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_6 (population INTEGER)" }, { "from": "human", "value": "What is the population maximum?" }, { "from": "gpt", "value": "SELECT MAX(population) FROM table_22815568_6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_6 (county VARCHAR, unemployment_rate VARCHAR)" }, { "from": "human", "value": "What county is the unemployment rate 4.8%?" }, { "from": "gpt", "value": "SELECT county FROM table_22815568_6 WHERE unemployment_rate = \"4.8%\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22815568_6 (market_income_per_capita VARCHAR, poverty_rate VARCHAR)" }, { "from": "human", "value": "If the poverty rate is 12.9%, what is the market income per capita?" }, { "from": "gpt", "value": "SELECT market_income_per_capita FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)" }, { "from": "human", "value": "Name the viewers for 2.1 rating" }, { "from": "gpt", "value": "SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = \"2.1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822468_2 (share INTEGER, viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Name the most share for 2.76 million viewers " }, { "from": "gpt", "value": "SELECT MAX(share) FROM table_22822468_2 WHERE viewers__millions_ = \"2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)" }, { "from": "human", "value": "Name the viewers for 1.2/4 rating" }, { "from": "gpt", "value": "SELECT viewers__millions_ FROM table_22822468_2 WHERE rating / SHARE(18 AS –49) =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822468_2 (rating VARCHAR, viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Name the rating for 3.79 viewers" }, { "from": "gpt", "value": "SELECT rating / SHARE(18 AS –49) FROM table_22822468_2 WHERE viewers__millions_ = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table (europa_league INTEGER)" }, { "from": "human", "value": "Name the least europa league" }, { "from": "gpt", "value": "SELECT MIN(europa_league) FROM table" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the total number of rebounds on november 27?" }, { "from": "gpt", "value": "SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = \"Nov...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822559_4 (date VARCHAR, team VARCHAR)" }, { "from": "human", "value": "On what date did the Pistons play @ toronto?" }, { "from": "gpt", "value": "SELECT date FROM table_22822559_4 WHERE team = \"@ Toronto\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822559_4 (location_attendance VARCHAR, game VARCHAR)" }, { "from": "human", "value": "List the location and number of fans in attendance for game 7/" }, { "from": "gpt", "value": "SELECT COUNT(location_attendance) FROM table_22822559...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824302_3 (steals VARCHAR, games_played VARCHAR)" }, { "from": "human", "value": "How many interceptions for the team who played 31 games?" }, { "from": "gpt", "value": "SELECT steals FROM table_22824302_3 WHERE games_played = 31" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR)" }, { "from": "human", "value": "How many steals for the player who had 121 rebounds?" }, { "from": "gpt", "value": "SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822559_8 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What date was the Piston's record at 23-47?" }, { "from": "gpt", "value": "SELECT date FROM table_22822559_8 WHERE record = \"23-47\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22822559_8 (high_rebounds VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who had the highest rebounds during the game with a record of 23-47?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_22822559_8 WHERE re...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824199_1 (rebounds VARCHAR, points VARCHAR)" }, { "from": "human", "value": "How many rebound did the person who scored 147 points have?" }, { "from": "gpt", "value": "SELECT COUNT(rebounds) FROM table_22824199_1 WHERE points = 147" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824199_1 (three_pointers INTEGER, free_throws VARCHAR)" }, { "from": "human", "value": "Of the players with 50 free throws, what is the lowest number of three pointers?" }, { "from": "gpt", "value": "SELECT MIN(three_pointers) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824199_1 (player VARCHAR, rebounds VARCHAR)" }, { "from": "human", "value": "Who are all the players with 156 rebounds?" }, { "from": "gpt", "value": "SELECT player FROM table_22824199_1 WHERE rebounds = 156" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824199_1 (games_played INTEGER, three_pointers VARCHAR)" }, { "from": "human", "value": "Of the players who scored 5 three pointers, what is the highest number of games played?" }, { "from": "gpt", "value": "SELECT MAX(games_played) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824297_1 (no VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "What is every number for the hometown of Canton, Illinois?" }, { "from": "gpt", "value": "SELECT no FROM table_22824297_1 WHERE hometown = \"Canton, Illinois\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824297_1 (player VARCHAR, height VARCHAR)" }, { "from": "human", "value": "Who is every player with a height of 6-5?" }, { "from": "gpt", "value": "SELECT player FROM table_22824297_1 WHERE height = \"6-5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824297_1 (player VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "Who are all players from hometown of Carbondale, Illinois?" }, { "from": "gpt", "value": "SELECT player FROM table_22824297_1 WHERE hometown = \"Carbondale,...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824297_1 (class VARCHAR, position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is every class with a position of guard and Tal Brody as the player?" }, { "from": "gpt", "value": "SELECT class FROM table_22824297_1 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824297_1 (no VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "How many values for number occur with the hometown of Canton, Illinois?" }, { "from": "gpt", "value": "SELECT COUNT(no) FROM table_22824297_1 WHERE hometown = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What class was ren alde?" }, { "from": "gpt", "value": "SELECT class FROM table_22824312_1 WHERE player = \"Ren Alde\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR)" }, { "from": "human", "value": "Who are the player's who weighed 170?" }, { "from": "gpt", "value": "SELECT player FROM table_22824312_1 WHERE weight = 170" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is jim dutcher's hometown?" }, { "from": "gpt", "value": "SELECT hometown FROM table_22824312_1 WHERE player = \"Jim Dutcher\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824319_3 (player VARCHAR, points VARCHAR)" }, { "from": "human", "value": "Name the total number of player for 51 points" }, { "from": "gpt", "value": "SELECT COUNT(player) FROM table_22824319_3 WHERE points = 51" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824319_3 (rebounds INTEGER, player VARCHAR)" }, { "from": "human", "value": "Name the most rebounds for larry smith" }, { "from": "gpt", "value": "SELECT MAX(rebounds) FROM table_22824319_3 WHERE player = \"Larry Smith\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824319_3 (steals VARCHAR, blocks VARCHAR)" }, { "from": "human", "value": "Name the steals for 5 blocks" }, { "from": "gpt", "value": "SELECT steals FROM table_22824319_3 WHERE blocks = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824319_3 (points INTEGER)" }, { "from": "human", "value": "Name the least points" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_22824319_3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, b_r__t_ VARCHAR)" }, { "from": "human", "value": "When 0.6–1.4 is the b r (t) what is the h ci (ka/m)?" }, { "from": "gpt", "value": "SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE b_r__t_ = \"0.6–1.4\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2282444_1 (t_c__ VARCHAR, magnet VARCHAR)" }, { "from": "human", "value": "When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (Β°c)?" }, { "from": "gpt", "value": "SELECT COUNT(t_c__) AS Β°c_ FROM table_2282444_1 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2282444_1 (h_ci__ka_m_ VARCHAR, t_c__Β°c_ VARCHAR)" }, { "from": "human", "value": "When 720 is the t c (Β°c) what is the h ci (ka/m)?" }, { "from": "gpt", "value": "SELECT h_ci__ka_m_ FROM table_2282444_1 WHERE t_c__Β°c_ = \"720\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR)" }, { "from": "human", "value": "Name the sec wins for .357 percentage and 4-3 home record" }, { "from": "gpt", "value": "SELECT sec_wins FROM table_22825679_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the percentage for georgia" }, { "from": "gpt", "value": "SELECT percentage FROM table_22825679_1 WHERE team = \"Georgia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22825679_1 (overall_record VARCHAR, road_record VARCHAR)" }, { "from": "human", "value": "Name the overall record for road record being 4-3" }, { "from": "gpt", "value": "SELECT overall_record FROM table_22825679_1 WHERE road_record = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22825679_1 (road_record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the number of road record for team ole miss" }, { "from": "gpt", "value": "SELECT COUNT(road_record) FROM table_22825679_1 WHERE team = \"Ole Miss\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Name the percentage for ole miss" }, { "from": "gpt", "value": "SELECT percentage FROM table_22825679_1 WHERE team = \"Ole Miss\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824324_2 (blocks INTEGER, player VARCHAR)" }, { "from": "human", "value": "What is the most number of blocks kendall gill had?" }, { "from": "gpt", "value": "SELECT MAX(blocks) FROM table_22824324_2 WHERE player = \"Kendall Gill\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824324_2 (three_pointers INTEGER, rebounds VARCHAR)" }, { "from": "human", "value": "What is the lowest number of three pointers in games where the number of rebounds was 178?" }, { "from": "gpt", "value": "SELECT MIN(three_pointers)...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824324_2 (steals VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many steals were the in games that andy kaufmann played?" }, { "from": "gpt", "value": "SELECT COUNT(steals) FROM table_22824324_2 WHERE player = \"Andy K...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824324_2 (three_pointers INTEGER, player VARCHAR)" }, { "from": "human", "value": "What is the lowest number of three pointers in games that kendall gill played?" }, { "from": "gpt", "value": "SELECT MIN(three_pointers) FROM table_22...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22824324_2 (three_pointers VARCHAR, points VARCHAR)" }, { "from": "human", "value": "How many games had three pointers where the number of points was 581?" }, { "from": "gpt", "value": "SELECT COUNT(three_pointers) FROM table_22824324_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22837363_1 (episodes INTEGER, viewers__in_millions_ VARCHAR)" }, { "from": "human", "value": "What was the highest amount of episodes for the season with 5.74 million viewers?" }, { "from": "gpt", "value": "SELECT MAX(episodes) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?" }, { "from": "gpt", "value": "SELECT surface FROM table_22834834...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "How many outcome have a score of 7–6 (9–7) , 6–3?" }, { "from": "gpt", "value": "SELECT COUNT(outcome) FROM table_22834834_3 WHERE score_in_the_f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "Which outcomes have a final score of 6–3, 6–2?" }, { "from": "gpt", "value": "SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = \"6...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_3 (year INTEGER, opponent_in_the_final VARCHAR)" }, { "from": "human", "value": "What is the last year that Andre Agassi was the final opponent?" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_22834834_3 WHERE oppon...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "How many years have a final score of 6–3, 6–2?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_3 (championship VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "Which championship has a final score of 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6?" }, { "from": "gpt", "value": "SELECT championship FROM table_22834...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_12 (year VARCHAR, earnings__$_ VARCHAR)" }, { "from": "human", "value": "How many years had a total earnings amount of 2254598?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_22834834_12 WHERE earnings__$_ = 2254...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_12 (year INTEGER)" }, { "from": "human", "value": "What is the latest year that data is available for?" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_22834834_12" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_2 (score_in_the_final VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the score in the final in the year 1994?" }, { "from": "gpt", "value": "SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_2 (championship VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Who is the championship for the year of 1993?" }, { "from": "gpt", "value": "SELECT championship FROM table_22834834_2 WHERE year = 1993" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?" }, { "from": "gpt", "val...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_12 (year INTEGER, money_list_rank VARCHAR)" }, { "from": "human", "value": "In what year was his money list rank 3? " }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_22839669_12 WHERE money_list_rank = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_12 (money_list_rank INTEGER, year VARCHAR)" }, { "from": "human", "value": "What was his money list rank in 2001? " }, { "from": "gpt", "value": "SELECT MIN(money_list_rank) FROM table_22839669_12 WHERE year = 2001" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_12 (atp_wins INTEGER, money_list_rank VARCHAR)" }, { "from": "human", "value": "How many atp wins did he have when his money list rank was 4? " }, { "from": "gpt", "value": "SELECT MAX(atp_wins) FROM table_22839669_12 WHERE mo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_12 (total_wins INTEGER)" }, { "from": "human", "value": "What is the maximum total wins he had for any year? " }, { "from": "gpt", "value": "SELECT MAX(total_wins) FROM table_22839669_12" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR)" }, { "from": "human", "value": "What district is Samuel A. Bridges ( D ) assigned to as a successor?" }, { "from": "gpt", "value": "SELECT district FROM table_228439_4 WHERE successor = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_228439_4 (reason_for_change VARCHAR, successor VARCHAR)" }, { "from": "human", "value": "what was the reason Richard K. Meade ( d ) became a successor?" }, { "from": "gpt", "value": "SELECT reason_for_change FROM table_228439_4 WHERE s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)" }, { "from": "human", "value": "Who is the successor for massachusetts 8th?" }, { "from": "gpt", "value": "SELECT successor FROM table_228439_4 WHERE district = \"Massachusetts 8th\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22847880_2 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Name the opponent for 11-1" }, { "from": "gpt", "value": "SELECT opponent FROM table_22847880_2 WHERE record = \"11-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22847880_2 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Name the record for kentucky" }, { "from": "gpt", "value": "SELECT record FROM table_22847880_2 WHERE opponent = \"Kentucky\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_1 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "Who is the opponent in the match with final score 3–6, 4–6, 7–5, 4–6?" }, { "from": "gpt", "value": "SELECT opponent_in_the_final F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "What was the outcome of the match with score 4–6, 3–6, 2–6?" }, { "from": "gpt", "value": "SELECT outcome FROM table_22839669_1 WHERE score_in_th...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_1 (year INTEGER, score_in_the_final VARCHAR)" }, { "from": "human", "value": "What is the most recent year where the final score is 4–6, 3–6, 6–4, 5–7?" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_22839669_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22839669_1 (championship VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "What championship had a final score of 6–4, 6–2, 6–2?" }, { "from": "gpt", "value": "SELECT championship FROM table_22839669_1 WHERE score_i...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22838521_3 (top_10s VARCHAR, year VARCHAR)" }, { "from": "human", "value": "If the year is 2007, what is the top ten?" }, { "from": "gpt", "value": "SELECT top_10s FROM table_22838521_3 WHERE year = 2007" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22838521_3 (money_list_rank INTEGER)" }, { "from": "human", "value": "What is the possible maximum money list rank?" }, { "from": "gpt", "value": "SELECT MAX(money_list_rank) FROM table_22838521_3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR)" }, { "from": "human", "value": "If the scoring average is 72.46, what is the best finish?" }, { "from": "gpt", "value": "SELECT best_finish FROM table_22838521_3 WHERE scoring_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Name the result for wesley moodie" }, { "from": "gpt", "value": "SELECT result FROM table_22853654_9 WHERE opponent = \"Wesley Moodie\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR)" }, { "from": "human", "value": "Name the surface against monaco" }, { "from": "gpt", "value": "SELECT surface FROM table_22853654_9 WHERE against = \"Monaco\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Name the result for alexander shvec" }, { "from": "gpt", "value": "SELECT result FROM table_22853654_9 WHERE opponent = \"Alexander Shvec\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9)" }, { "from": "gpt", "value": "SELECT opponent FROM table_22853654_9 WHERE result = \"3–6, 4–6, 6–1, 6–7 (7–9...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR)" }, { "from": "human", "value": "Name the annual rainfail for 2002 population being 493984" }, { "from": "gpt", "value": "SELECT average_annual_ra...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER)" }, { "from": "human", "value": "Name the most population 2002" }, { "from": "gpt", "value": "SELECT MAX(population__2002_census_data_) FROM table_22854436_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR)" }, { "from": "human", "value": "Name the total water resources m3 for rainfall being 650" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22860698_8 (carpet_w_l VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What were the carpet w-l in 1993?" }, { "from": "gpt", "value": "SELECT carpet_w_l FROM table_22860698_8 WHERE year = 1993" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22858557_1 (score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)" }, { "from": "human", "value": "What is the amount of US open runner-up score?" }, { "from": "gpt", "value": "SELECT COUNT(score_in_final) FROM table_22858557_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22858557_1 (year INTEGER, outcome VARCHAR)" }, { "from": "human", "value": "What is the year where the runner-up outcome was at its basic minimum?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_22858557_1 WHERE outcome = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR)" }, { "from": "human", "value": "How many championships have there been with Steffi Graf?" }, { "from": "gpt", "value": "SELECT championship FROM table_22858557_1 WHERE oppon...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22860698_2 (opponents VARCHAR, championship VARCHAR)" }, { "from": "human", "value": "How many opponents have wimbledon (2) as the championship?" }, { "from": "gpt", "value": "SELECT COUNT(opponents) FROM table_22860698_2 WHERE champio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the surface when the us open is the championship in the year 1979?" }, { "from": "gpt", "value": "SELECT surface FROM table_22860...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the game number that was on November 27? " }, { "from": "gpt", "value": "SELECT _number FROM table_22871239_5 WHERE date = \"November 27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What was the score when the team was @ New Jersey? " }, { "from": "gpt", "value": "SELECT score FROM table_22871239_5 WHERE team = \"@ New Jersey\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22871239_5 (high_rebounds VARCHAR, _number VARCHAR)" }, { "from": "human", "value": "How many high rebound catagories are listed for game number 5? " }, { "from": "gpt", "value": "SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_22862203_2 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who were the opponents when the record was 11-2?" }, { "from": "gpt", "value": "SELECT opponent FROM table_22862203_2 WHERE record = \"11-2\"" } ]
know_sql
chosen