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