question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
When the total is larger than 1,and the bronze is less than 3, and silver larger than 2, and a gold larger than 2, what is the nation?
CREATE TABLE table_name_24 (nation VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT nation FROM table_name_24 WHERE total > 1 AND bronze < 3 AND silver > 2 AND gold > 2" }
What is the average rank when the bronze is larger than 1, and silver is less than 0?
CREATE TABLE table_name_52 (rank INTEGER, bronze VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT AVG(rank) FROM table_name_52 WHERE bronze > 1 AND silver < 0" }
Which result has sunderland as opponent?
CREATE TABLE table_name_38 (result VARCHAR, opponent VARCHAR)
{ "SQL_Query": "SELECT result FROM table_name_38 WHERE opponent = \"sunderland\"" }
What is the played number when the high checkout is 135?
CREATE TABLE table_name_32 (played INTEGER, high_checkout VARCHAR)
{ "SQL_Query": "SELECT SUM(played) FROM table_name_32 WHERE high_checkout = 135" }
What is the total number of 3-dart average when legs lost is larger than 41, and played is larger than 7?
CREATE TABLE table_name_1 (legs_lost VARCHAR, played VARCHAR)
{ "SQL_Query": "SELECT COUNT(3 AS _dart_average) FROM table_name_1 WHERE legs_lost > 41 AND played > 7" }
What year was the SL 350 Model?
CREATE TABLE table_name_74 (years VARCHAR, model VARCHAR)
{ "SQL_Query": "SELECT years FROM table_name_74 WHERE model = \"sl 350\"" }
Which Race has a Runners of 7 and Odds of 1/3?
CREATE TABLE table_name_30 (race VARCHAR, runners VARCHAR, odds VARCHAR)
{ "SQL_Query": "SELECT race FROM table_name_30 WHERE runners = 7 AND odds = \"1/3\"" }
Which Class has a Jockey of michael kinane on 2:27.71?
CREATE TABLE table_name_50 (class VARCHAR, jockey VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT class FROM table_name_50 WHERE jockey = \"michael kinane\" AND time = \"2:27.71\"" }
Name the highest Dist (f) with Odds of 11/4 and a Placing larger than 1?
CREATE TABLE table_name_74 (dist__f_ INTEGER, odds VARCHAR, placing VARCHAR)
{ "SQL_Query": "SELECT MAX(dist__f_) FROM table_name_74 WHERE odds = \"11/4\" AND placing > 1" }
Which Margin has a Dist (f) larger than 10, and a Race of king george vi & queen elizabeth stakes?
CREATE TABLE table_name_33 (margin VARCHAR, dist__f_ VARCHAR, race VARCHAR)
{ "SQL_Query": "SELECT margin FROM table_name_33 WHERE dist__f_ > 10 AND race = \"king george vi & queen elizabeth stakes\"" }
Which Dist (f) has a Race of irish derby?
CREATE TABLE table_name_75 (dist__f_ VARCHAR, race VARCHAR)
{ "SQL_Query": "SELECT dist__f_ FROM table_name_75 WHERE race = \"irish derby\"" }
What is the Attendance at Joe Louis Arena?
CREATE TABLE table_name_49 (attendance INTEGER, arena VARCHAR)
{ "SQL_Query": "SELECT AVG(attendance) FROM table_name_49 WHERE arena = \"joe louis arena\"" }
What is the Loss of the game at Nationwide Arena with a Score of 4–3?
CREATE TABLE table_name_42 (loss VARCHAR, score VARCHAR, arena VARCHAR)
{ "SQL_Query": "SELECT loss FROM table_name_42 WHERE score = \"4–3\" AND arena = \"nationwide arena\"" }
What is the Attendance of the game with a Score of 3–2?
CREATE TABLE table_name_59 (attendance VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT COUNT(attendance) FROM table_name_59 WHERE score = \"3–2\"" }
What is the Score of the game on March 19?
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_21 WHERE date = \"march 19\"" }
What is the Attendance of the game with a Record of 37–21–12 and less than 86 Points?
CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR, points VARCHAR)
{ "SQL_Query": "SELECT AVG(attendance) FROM table_name_44 WHERE record = \"37–21–12\" AND points < 86" }
Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals?
CREATE TABLE table_name_27 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR)
{ "SQL_Query": "SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = \"1942\"" }
What label had the album after 1978?
CREATE TABLE table_name_70 (label VARCHAR, year INTEGER)
{ "SQL_Query": "SELECT label FROM table_name_70 WHERE year > 1978" }
What is the title of the album that had a RIAA of gold?
CREATE TABLE table_name_56 (title VARCHAR, riaa VARCHAR)
{ "SQL_Query": "SELECT title FROM table_name_56 WHERE riaa = \"gold\"" }
What is the highest year for the title, "loves lost and found"?
CREATE TABLE table_name_82 (year INTEGER, title VARCHAR)
{ "SQL_Query": "SELECT MAX(year) FROM table_name_82 WHERE title = \"loves lost and found\"" }
Who was the away team when Queensland Roar was the home team in the round less than 3?
CREATE TABLE table_name_80 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)
{ "SQL_Query": "SELECT away_team FROM table_name_80 WHERE round < 3 AND home_team = \"queensland roar\"" }
What is the least round for the game played at Members Equity Stadium in from of 12,581 people?
CREATE TABLE table_name_50 (round INTEGER, stadium VARCHAR, attendance VARCHAR)
{ "SQL_Query": "SELECT MIN(round) FROM table_name_50 WHERE stadium = \"members equity stadium\" AND attendance < 12 OFFSET 581" }
what is the previous conference when the location is converse?
CREATE TABLE table_name_69 (previous_conference VARCHAR, location VARCHAR)
{ "SQL_Query": "SELECT previous_conference FROM table_name_69 WHERE location = \"converse\"" }
what is the school with the location of alexandria?
CREATE TABLE table_name_58 (school VARCHAR, location VARCHAR)
{ "SQL_Query": "SELECT school FROM table_name_58 WHERE location = \"alexandria\"" }
what is teh ihsaa class/football/soccer when the location is alexandria?
CREATE TABLE table_name_43 (ihsaa_class___football___soccer VARCHAR, location VARCHAR)
{ "SQL_Query": "SELECT ihsaa_class___football___soccer FROM table_name_43 WHERE location = \"alexandria\"" }
What is canada's margin?
CREATE TABLE table_name_40 (margin INTEGER, country VARCHAR)
{ "SQL_Query": "SELECT SUM(margin) FROM table_name_40 WHERE country = \"canada\"" }
What is russ cochran's average margin?
CREATE TABLE table_name_30 (margin INTEGER, player VARCHAR)
{ "SQL_Query": "SELECT AVG(margin) FROM table_name_30 WHERE player = \"russ cochran\"" }
How many years have a Player of joe durant, and Earnings ($) larger than 396,000?
CREATE TABLE table_name_50 (year VARCHAR, player VARCHAR, earnings__$_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(year) FROM table_name_50 WHERE player = \"joe durant\" AND earnings__$_ > 396 OFFSET 000" }
Which Margin has a Country of united states, and a Score of 63-70-65-69=267?
CREATE TABLE table_name_50 (margin VARCHAR, country VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT margin FROM table_name_50 WHERE country = \"united states\" AND score = 63 - 70 - 65 - 69 = 267" }
what is the quantity made when the class is d-2?
CREATE TABLE table_name_38 (quantity_made VARCHAR, class VARCHAR)
{ "SQL_Query": "SELECT quantity_made FROM table_name_38 WHERE class = \"d-2\"" }
what is the year made when the manufacturer is 2-6-2 — oooo — mogul?
CREATE TABLE table_name_20 (year_made VARCHAR, manufacturer VARCHAR)
{ "SQL_Query": "SELECT year_made FROM table_name_20 WHERE manufacturer = \"2-6-2 — oooo — mogul\"" }
what is the wheel arrangement when the year made is 1881?
CREATE TABLE table_name_78 (wheel_arrangement VARCHAR, year_made VARCHAR)
{ "SQL_Query": "SELECT wheel_arrangement FROM table_name_78 WHERE year_made = \"1881\"" }
what is the quantity made when the wheel arrangement is 2-6-0 and the class is k?
CREATE TABLE table_name_78 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
{ "SQL_Query": "SELECT quantity_made FROM table_name_78 WHERE wheel_arrangement = \"2-6-0\" AND class = \"k\"" }
what is the class when the quantity perserved is 0 and the quantity made is 5?
CREATE TABLE table_name_78 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)
{ "SQL_Query": "SELECT class FROM table_name_78 WHERE quantity_preserved = \"0\" AND quantity_made = \"5\"" }
What is the match number that had a result of 0:5 (0:3)?
CREATE TABLE table_name_20 (match VARCHAR, result VARCHAR)
{ "SQL_Query": "SELECT COUNT(match) FROM table_name_20 WHERE result = \"0:5 (0:3)\"" }
Which match had more than 1,490 people in attendance to watch FCR 2001 Duisburg have a result of 0:3 (0:2)?
CREATE TABLE table_name_91 (match INTEGER, attnd VARCHAR, result VARCHAR, opponent VARCHAR)
{ "SQL_Query": "SELECT SUM(match) FROM table_name_91 WHERE result = \"0:3 (0:2)\" AND opponent = \"fcr 2001 duisburg\" AND attnd > 1 OFFSET 490" }
Which match did FCR 2001 Duisburg participate as the opponent?
CREATE TABLE table_name_39 (match INTEGER, opponent VARCHAR)
{ "SQL_Query": "SELECT SUM(match) FROM table_name_39 WHERE opponent = \"fcr 2001 duisburg\"" }
What is the surface of the match on July 5, 2009?
CREATE TABLE table_name_95 (surface VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT surface FROM table_name_95 WHERE date = \"july 5, 2009\"" }
What is the date of the match on clay with score of 6-3 2-6 6-4?
CREATE TABLE table_name_15 (date VARCHAR, surface VARCHAR, score VARCHAR)
{ "SQL_Query": "SELECT date FROM table_name_15 WHERE surface = \"clay\" AND score = \"6-3 2-6 6-4\"" }
Who was the opponent on carpet in a final?
CREATE TABLE table_name_55 (opponent_in_final VARCHAR, surface VARCHAR)
{ "SQL_Query": "SELECT opponent_in_final FROM table_name_55 WHERE surface = \"carpet\"" }
What is the score of the hard court Ramat Hasharon tournament?
CREATE TABLE table_name_75 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_75 WHERE surface = \"hard\" AND tournament = \"ramat hasharon\"" }
What is the score of the match on September 24, 2006?
CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_50 WHERE date = \"september 24, 2006\"" }
What is the surface for the Volos tournament?
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)
{ "SQL_Query": "SELECT surface FROM table_name_46 WHERE tournament = \"volos\"" }
Who is the Winner of the Nissan Motorsport Australia Team at the Oran Park Raceway?
CREATE TABLE table_name_42 (winner VARCHAR, team VARCHAR, circuit VARCHAR)
{ "SQL_Query": "SELECT winner FROM table_name_42 WHERE team = \"nissan motorsport australia\" AND circuit = \"oran park raceway\"" }
What is the Circuit in the ATCC Round 1 Series with Winner Jim Richards?
CREATE TABLE table_name_34 (circuit VARCHAR, winner VARCHAR, series VARCHAR)
{ "SQL_Query": "SELECT circuit FROM table_name_34 WHERE winner = \"jim richards\" AND series = \"atcc round 1\"" }
What is the Team of Winner Mark Skaife in ATCC Round 7?
CREATE TABLE table_name_82 (team VARCHAR, winner VARCHAR, series VARCHAR)
{ "SQL_Query": "SELECT team FROM table_name_82 WHERE winner = \"mark skaife\" AND series = \"atcc round 7\"" }
What is the sum of the bronze medals of the nation with less than 0 silvers?
CREATE TABLE table_name_42 (bronze INTEGER, silver INTEGER)
{ "SQL_Query": "SELECT SUM(bronze) FROM table_name_42 WHERE silver < 0" }
What is the highest amount of bronze china, which has more than 1 gold and more than 11 total, has?
CREATE TABLE table_name_93 (bronze INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
{ "SQL_Query": "SELECT MAX(bronze) FROM table_name_93 WHERE gold > 1 AND nation = \"china\" AND total > 11" }
Wha is the average number of bronze of hungary, which has less than 1 silver?
CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT AVG(bronze) FROM table_name_51 WHERE nation = \"hungary\" AND silver < 1" }
What is the size of the team that was previously from Central Indiana conference, and is in IHSSA Class 4a?
CREATE TABLE table_name_81 (size VARCHAR, ihsaa_class VARCHAR, previous_conference VARCHAR)
{ "SQL_Query": "SELECT size FROM table_name_81 WHERE ihsaa_class = \"4a\" AND previous_conference = \"central indiana\"" }
What is the IHSAA class for the team located in Middlebury, IN?
CREATE TABLE table_name_95 (ihsaa_class VARCHAR, location VARCHAR)
{ "SQL_Query": "SELECT ihsaa_class FROM table_name_95 WHERE location = \"middlebury, in\"" }
How many total cuts were made in events with more than 0 wins and exactly 0 top-5s?
CREATE TABLE table_name_91 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR)
{ "SQL_Query": "SELECT COUNT(cuts_made) FROM table_name_91 WHERE top_5 = 0 AND wins > 0" }
What is the fewest wins for Thomas in events he had entered exactly 9 times?
CREATE TABLE table_name_13 (wins INTEGER, events VARCHAR)
{ "SQL_Query": "SELECT MIN(wins) FROM table_name_13 WHERE events = 9" }
What is the total number of wins for events with under 2 top-5s, under 5 top-25s, and more than 4 events played?
CREATE TABLE table_name_92 (wins VARCHAR, top_5 VARCHAR, top_25 VARCHAR, events VARCHAR)
{ "SQL_Query": "SELECT COUNT(wins) FROM table_name_92 WHERE top_25 < 5 AND events > 4 AND top_5 < 2" }
What is the average number of cuts made for events with under 4 entries and more than 0 wins?
CREATE TABLE table_name_59 (cuts_made INTEGER, events VARCHAR, wins VARCHAR)
{ "SQL_Query": "SELECT AVG(cuts_made) FROM table_name_59 WHERE events < 4 AND wins > 0" }
What is the average number of cuts made for events with 0 top-5s?
CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 INTEGER)
{ "SQL_Query": "SELECT AVG(cuts_made) FROM table_name_17 WHERE top_5 < 0" }
What is the fewest number of top-25s for events with more than 13 cuts made?
CREATE TABLE table_name_31 (top_25 INTEGER, cuts_made INTEGER)
{ "SQL_Query": "SELECT MIN(top_25) FROM table_name_31 WHERE cuts_made > 13" }
What was the record after game 51 on 1/27/1974?
CREATE TABLE table_name_87 (record VARCHAR, game VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT record FROM table_name_87 WHERE game > 51 AND date = \"1/27/1974\"" }
What was the score on 1/10/1974?
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_79 WHERE date = \"1/10/1974\"" }
What opponent played on 1/13/1974?
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_6 WHERE date = \"1/13/1974\"" }
What is the total erp w of class c3, which has a frequency mhz less than 89.9?
CREATE TABLE table_name_58 (erp_w VARCHAR, class VARCHAR, frequency_mhz VARCHAR)
{ "SQL_Query": "SELECT COUNT(erp_w) FROM table_name_58 WHERE class = \"c3\" AND frequency_mhz < 89.9" }
What is the total frequency mhz of the kgrj call sign, which has an erp w greater than 21,500?
CREATE TABLE table_name_19 (frequency_mhz VARCHAR, call_sign VARCHAR, erp_w VARCHAR)
{ "SQL_Query": "SELECT COUNT(frequency_mhz) FROM table_name_19 WHERE call_sign = \"kgrj\" AND erp_w > 21 OFFSET 500" }
What is the call sign with a 222 erp w?
CREATE TABLE table_name_15 (call_sign VARCHAR, erp_w VARCHAR)
{ "SQL_Query": "SELECT call_sign FROM table_name_15 WHERE erp_w = 222" }
What is the average frequency mhz of the loomis, south dakota city license?
CREATE TABLE table_name_83 (frequency_mhz INTEGER, city_of_license VARCHAR)
{ "SQL_Query": "SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = \"loomis, south dakota\"" }
What is the sum of the erp w of the k222al call sign?
CREATE TABLE table_name_5 (erp_w INTEGER, call_sign VARCHAR)
{ "SQL_Query": "SELECT SUM(erp_w) FROM table_name_5 WHERE call_sign = \"k222al\"" }
What is the highest erp w with a 90.5 frequency mhz?
CREATE TABLE table_name_38 (erp_w INTEGER, frequency_mhz VARCHAR)
{ "SQL_Query": "SELECT MAX(erp_w) FROM table_name_38 WHERE frequency_mhz = 90.5" }
What is the total number of ends after 2006 with a nationality of ita and 0 goals?
CREATE TABLE table_name_39 (ends VARCHAR, goals VARCHAR, since VARCHAR, nat VARCHAR)
{ "SQL_Query": "SELECT COUNT(ends) FROM table_name_39 WHERE since > 2006 AND nat = \"ita\" AND goals < 0" }
What is the lowest year in since that had a transfer fee of € 14m and ended after 2011?
CREATE TABLE table_name_76 (since INTEGER, transfer_fee VARCHAR, ends VARCHAR)
{ "SQL_Query": "SELECT MIN(since) FROM table_name_76 WHERE transfer_fee = \"€ 14m\" AND ends > 2011" }
Can you tell me the Nationality that has the Round smaller than 5, and the Player of bruce affleck?
CREATE TABLE table_name_10 (nationality VARCHAR, round VARCHAR, player VARCHAR)
{ "SQL_Query": "SELECT nationality FROM table_name_10 WHERE round < 5 AND player = \"bruce affleck\"" }
Can you tell me the College/Junior/Club Team that has the Round of 4?
CREATE TABLE table_name_79 (college_junior_club_team VARCHAR, round VARCHAR)
{ "SQL_Query": "SELECT college_junior_club_team FROM table_name_79 WHERE round = 4" }
What is the total number of top-25s for events with 0 wins?
CREATE TABLE table_name_45 (top_25 VARCHAR, wins INTEGER)
{ "SQL_Query": "SELECT COUNT(top_25) FROM table_name_45 WHERE wins < 0" }
What is the total number of cuts made for events played more than 3 times and under 2 top-25s?
CREATE TABLE table_name_44 (cuts_made VARCHAR, events VARCHAR, top_25 VARCHAR)
{ "SQL_Query": "SELECT COUNT(cuts_made) FROM table_name_44 WHERE events > 3 AND top_25 < 2" }
What is the sum of top-10s for events with more than 0 wins?
CREATE TABLE table_name_68 (top_10 INTEGER, wins INTEGER)
{ "SQL_Query": "SELECT SUM(top_10) FROM table_name_68 WHERE wins > 0" }
Which 3rd run has rank of 8?
CREATE TABLE table_name_55 (rank VARCHAR)
{ "SQL_Query": "SELECT 3 AS rd_run FROM table_name_55 WHERE rank = 8" }
Which 3rd run has rank of 1?
CREATE TABLE table_name_97 (rank VARCHAR)
{ "SQL_Query": "SELECT 3 AS rd_run FROM table_name_97 WHERE rank = 1" }
Which average rank has a total of 16?
CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR)
{ "SQL_Query": "SELECT AVG(rank) FROM table_name_78 WHERE total = 16" }
What is the lowest number in the Labour Party for the Fianna Fail higher than 5?
CREATE TABLE table_name_16 (labour_party INTEGER, fianna_fáil INTEGER)
{ "SQL_Query": "SELECT MIN(labour_party) FROM table_name_16 WHERE fianna_fáil > 5" }
How many are in the Labour Party of a Fianna Fail of 3 with a total higher than 9 and more than 2 in the Green Party?
CREATE TABLE table_name_29 (labour_party INTEGER, green_party VARCHAR, fianna_fáil VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT SUM(labour_party) FROM table_name_29 WHERE fianna_fáil = 3 AND total > 9 AND green_party > 2" }
How many are in the Green Party with a Fine Gael of less than 4 and a Fianna Fail of less than 2 in Athy?
CREATE TABLE table_name_41 (green_party INTEGER, town VARCHAR, fine_gael VARCHAR, fianna_fáil VARCHAR)
{ "SQL_Query": "SELECT SUM(green_party) FROM table_name_41 WHERE fine_gael < 4 AND fianna_fáil < 2 AND town = \"athy\"" }
What's Brazil's lane with a time less than 21.15?
CREATE TABLE table_name_55 (lane INTEGER, nationality VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT MIN(lane) FROM table_name_55 WHERE nationality = \"brazil\" AND time < 21.15" }
What's Russia's lane when they were ranked before 1?
CREATE TABLE table_name_60 (lane INTEGER, nationality VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT MAX(lane) FROM table_name_60 WHERE nationality = \"russia\" AND rank < 1" }
What's Bulgaria's lane with a time more than 21.55?
CREATE TABLE table_name_28 (lane INTEGER, nationality VARCHAR, time VARCHAR)
{ "SQL_Query": "SELECT SUM(lane) FROM table_name_28 WHERE nationality = \"bulgaria\" AND time > 21.55" }
What nation has 0 as the silver, 1 as the bronze, with 18 as the rank?
CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = \"18\"" }
How many golds have 3 as the rank, with a total greater than 7?
CREATE TABLE table_name_17 (gold VARCHAR, rank VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT COUNT(gold) FROM table_name_17 WHERE rank = \"3\" AND total > 7" }
What average silver has belarus as the nation, with a total less than 1?
CREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT AVG(silver) FROM table_name_23 WHERE nation = \"belarus\" AND total < 1" }
What average total has 0 as the gold, with 6 as the rank?
CREATE TABLE table_name_69 (total INTEGER, gold VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT AVG(total) FROM table_name_69 WHERE gold = 0 AND rank = \"6\"" }
How much Rank has a Bronze of 21, and a Silver larger than 10?
CREATE TABLE table_name_41 (rank VARCHAR, bronze VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT COUNT(rank) FROM table_name_41 WHERE bronze = 21 AND silver > 10" }
Which Gold has a Nation of sri lanka, and a Silver smaller than 10?
CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT AVG(gold) FROM table_name_39 WHERE nation = \"sri lanka\" AND silver < 10" }
How much Silver has a Rank of 7?
CREATE TABLE table_name_4 (silver VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT COUNT(silver) FROM table_name_4 WHERE rank = 7" }
Which Gold has a Rank smaller than 5, and a Bronze of 20?
CREATE TABLE table_name_97 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT AVG(gold) FROM table_name_97 WHERE rank < 5 AND bronze = 20" }
Which Silver has a Rank of 6, and a Bronze smaller than 3?
CREATE TABLE table_name_3 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
{ "SQL_Query": "SELECT MIN(silver) FROM table_name_3 WHERE rank = 6 AND bronze < 3" }
What's the total of Sweden (SWE) having less than 1 silver?
CREATE TABLE table_name_21 (total INTEGER, nation VARCHAR, silver VARCHAR)
{ "SQL_Query": "SELECT MIN(total) FROM table_name_21 WHERE nation = \"sweden (swe)\" AND silver < 1" }
What's the total number of bronze medals for Sweden (SWE) having less than 1 gold and silver?
CREATE TABLE table_name_90 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, nation VARCHAR)
{ "SQL_Query": "SELECT COUNT(bronze) FROM table_name_90 WHERE gold < 1 AND nation = \"sweden (swe)\" AND silver < 1" }
What's the total when the gold is less than 0 and silver is less than 1?
CREATE TABLE table_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR)
{ "SQL_Query": "SELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 0" }
What's the total of rank 8 when Silver medals are 0 and gold is more than 1?
CREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, silver VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT COUNT(total) FROM table_name_2 WHERE silver = 0 AND rank = 8 AND gold > 1" }
What are the most bronze medals in a rank more than 1 with a total larger than 3?
CREATE TABLE table_name_48 (bronze INTEGER, total VARCHAR, rank VARCHAR)
{ "SQL_Query": "SELECT MAX(bronze) FROM table_name_48 WHERE total > 3 AND rank > 1" }
What's the rank of Turkey (TUR) with a total more than 2?
CREATE TABLE table_name_14 (rank VARCHAR, nation VARCHAR, total VARCHAR)
{ "SQL_Query": "SELECT COUNT(rank) FROM table_name_14 WHERE nation = \"turkey (tur)\" AND total > 2" }
What opponent has a record of 86-62?
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)
{ "SQL_Query": "SELECT opponent FROM table_name_73 WHERE record = \"86-62\"" }
What's the loss for September 16?
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT loss FROM table_name_62 WHERE date = \"september 16\"" }
What is the score from September 15 that has the Indians as the opponent?
CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR)
{ "SQL_Query": "SELECT score FROM table_name_35 WHERE opponent = \"indians\" AND date = \"september 15\"" }