question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the lowest bronze total that has a rank of 1 and more than 34 total medals?
CREATE TABLE table_name_83 (bronze INTEGER, rank VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_83 WHERE rank = "1" AND total > 34
Which Opponents have a Partner of irina-camelia begu, and a Surface of hard?
CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR, surface VARCHAR)
SELECT opponents FROM table_name_15 WHERE partner = "irina-camelia begu" AND surface = "hard"
Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist?
CREATE TABLE table_name_75 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR)
SELECT tournament FROM table_name_75 WHERE surface = "hard" AND finalist = "jan-michael gambill (19)"
Which Gold has a Bronze larger than 1, and a Total larger than 80?
CREATE TABLE table_name_92 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_92 WHERE bronze > 1 AND total > 80
Which was the position for overall less than 254, round less than 5 and pick number less than 13?
CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR)
SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13
Name the try bonus for kenfig hill rfc
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
Which country had more than 2 silvers and less than 4 golds?
CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4
What was South Melbourne's score as the away team?
CREATE TABLE table_name_50 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne"
How many wins have more than 1 loss and a team of chiefs?
CREATE TABLE table_name_26 (wins INTEGER, teams VARCHAR, losses VARCHAR)
SELECT SUM(wins) FROM table_name_26 WHERE teams = "chiefs" AND losses > 1
What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet?
CREATE TABLE table_name_71 (river_mile INTEGER, pool_length__miles_ VARCHAR, lock_lift_drop__in_feet_ VARCHAR)
SELECT MAX(river_mile) FROM table_name_71 WHERE pool_length__miles_ = "42.2" AND lock_lift_drop__in_feet_ = "21"
What;s the SI Meaning for symbol m?
CREATE TABLE table_name_40 (si_meaning VARCHAR, symbol VARCHAR)
SELECT si_meaning FROM table_name_40 WHERE symbol = "m"
What is shown for Austria when Croatia shows Ireland?
CREATE TABLE table_name_13 (austria VARCHAR, croatia VARCHAR)
SELECT austria FROM table_name_13 WHERE croatia = "ireland"
What is Score, when Team is "Indiana"?
CREATE TABLE table_name_7 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_7 WHERE team = "indiana"
What was the score against hapoel tel aviv?
CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR)
SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv"
What is the series score of the game on May 6?
CREATE TABLE table_name_55 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_55 WHERE date = "may 6"
Which Combination classification has a Stage of 14?
CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR)
SELECT combination_classification FROM table_name_17 WHERE stage = "14"
Which Melbourne has an Auckland of no, and a Gold Coast of no?
CREATE TABLE table_name_14 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR)
SELECT melbourne FROM table_name_14 WHERE auckland = "no" AND gold_coast = "no"
What is the time for stage ss18?
CREATE TABLE table_13050822_2 (time VARCHAR, stage VARCHAR)
SELECT time FROM table_13050822_2 WHERE stage = "SS18"
What is the number of bronze for Canada and silver is less than 0?
CREATE TABLE table_name_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_72 WHERE nation = "canada" AND silver < 0
Which conference has the nickname Lions?
CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR)
SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions"
What venue did he play in before 2008 and finished 14th (q)?
CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th (q)"
Which smallest interview number had a swimsuit stat of less than 9.322, an evening gown score of more than 9.259, and an average number of 9.321?
CREATE TABLE table_name_71 (interview INTEGER, average VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
SELECT MIN(interview) FROM table_name_71 WHERE swimsuit < 9.322 AND evening_gown > 9.259 AND average = 9.321
What are the losses of Warrnambool with a draw less than 19?
CREATE TABLE table_name_8 (losses INTEGER, club VARCHAR, draws VARCHAR)
SELECT AVG(losses) FROM table_name_8 WHERE club = "warrnambool" AND draws < 19
How many people attended games with st kilda as the home side?
CREATE TABLE table_name_57 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_57 WHERE home_team = "st kilda"
How many countries speak both English and Dutch?
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "Dutch")
What is the maximum area (in acres) of the Knockacullen townland?
CREATE TABLE table_30121046_1 (area__acres__ INTEGER, townland VARCHAR)
SELECT MAX(area__acres__) FROM table_30121046_1 WHERE townland = "Knockacullen"
What is 2009, when 2008 is 1R, and when Tournament is French Open?
CREATE TABLE table_name_59 (tournament VARCHAR)
SELECT 2009 FROM table_name_59 WHERE 2008 = "1r" AND tournament = "french open"
What cart has a serpent shield animal?
CREATE TABLE table_name_47 (cart VARCHAR, shield_animal VARCHAR)
SELECT cart FROM table_name_47 WHERE shield_animal = "serpent"
Name the number of nat for total g of 6
CREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR)
SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 6
Which record has a time of 0:13?
CREATE TABLE table_name_87 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_87 WHERE time = "0:13"
Where was the Deep - 30 Impact event held?
CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_55 WHERE event = "deep - 30 impact"
Which away has uefa cup as the competition, group f as the round, with espanyol as the club?
CREATE TABLE table_name_6 (away VARCHAR, club VARCHAR, competition VARCHAR, round VARCHAR)
SELECT away FROM table_name_6 WHERE competition = "uefa cup" AND round = "group f" AND club = "espanyol"
Which DOB has a Surname of cresswell?
CREATE TABLE table_name_40 (dob VARCHAR, surname VARCHAR)
SELECT dob FROM table_name_40 WHERE surname = "cresswell"
What is the score of the tournament with younes el aynaoui as the opponent?
CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui"
Which club is associated with Hafiz Abu Sujad?
CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR)
SELECT club FROM table_name_80 WHERE name = "hafiz abu sujad"
what is the prod.code of the episode with original air date 01/12/1968?
CREATE TABLE table_13403120_1 (prodcode VARCHAR, originalairdate VARCHAR)
SELECT COUNT(prodcode) FROM table_13403120_1 WHERE originalairdate = "01/12/1968"
What is 1987 Grand Slam Tournament if 1989 is also grand slam tournaments?
CREATE TABLE table_name_71 (Id VARCHAR)
SELECT 1987 FROM table_name_71 WHERE 1989 = "grand slam tournaments"
What is the name of the home team that played Carlton?
CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_86 WHERE away_team = "carlton"
Who did they play at sec tournament?
CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_17 WHERE location = "sec tournament"
Which conventional plan has a POS plan of 21%?
CREATE TABLE table_name_14 (conventional_plans VARCHAR, pos_plans VARCHAR)
SELECT conventional_plans FROM table_name_14 WHERE pos_plans = "21%"
Which Away team score has a Venue of scg?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_82 WHERE venue = "scg"
What was the result of the September 8, 1985 game?
CREATE TABLE table_name_3 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_3 WHERE date = "september 8, 1985"
Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1
CREATE TABLE table_name_83 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1
What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies?
CREATE TABLE table_name_68 (record VARCHAR, location_attendance VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_68 WHERE location_attendance = "delta center" AND opponent = "vs vancouver grizzlies"
What is the longitude of the feature named Razia Patera?
CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR)
SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera"
what the was the final in which frank w. boykin was running
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin"
What was the score of game 4?
CREATE TABLE table_name_84 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_84 WHERE game = 4
What township is 28.597 square miles of land?
CREATE TABLE table_18600760_10 (township VARCHAR, land___sqmi__ VARCHAR)
SELECT township FROM table_18600760_10 WHERE land___sqmi__ = "28.597"
Which catalog did Village Records have on February 14, 2002?
CREATE TABLE table_name_60 (catalog VARCHAR, label VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_60 WHERE label = "village records" AND date = "february 14, 2002"
Name the album for years after 2007
CREATE TABLE table_name_45 (album VARCHAR, year INTEGER)
SELECT album FROM table_name_45 WHERE year > 2007
Name the date for the palace of auburn hills 14,554
CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554"
Who's the Fourth District with a Third District of sharon yentsch?
CREATE TABLE table_name_82 (fourth_district VARCHAR, third_district VARCHAR)
SELECT fourth_district FROM table_name_82 WHERE third_district = "sharon yentsch"
What was the score of the Red Wings game when Vancouver was the home team?
CREATE TABLE table_name_71 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_71 WHERE home = "vancouver"
What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"?
CREATE TABLE table_name_16 (tournament VARCHAR)
SELECT tournament FROM table_name_16 WHERE 2012 = "a" AND 2011 = "a" AND 2008 = "a"
What is the name of the tourist attraction that is associated with the photo "game1"?
CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE PHOTOS (Tourist_Attraction_ID VARCHAR, Name VARCHAR)
SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "game1"
What country has todd hamilton as the player?
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_90 WHERE player = "todd hamilton"
What are the average points for an engine of ford zetec-r v8?
CREATE TABLE table_name_63 (points INTEGER, engine VARCHAR)
SELECT AVG(points) FROM table_name_63 WHERE engine = "ford zetec-r v8"
Who held the pole position in SPA-Francorchamps?
CREATE TABLE table_name_41 (pole_position VARCHAR, location VARCHAR)
SELECT pole_position FROM table_name_41 WHERE location = "spa-francorchamps"
what is the maximum aircraft movements with airport being liverpool
CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, airport VARCHAR)
SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE airport = "Liverpool"
In how many games did Terrence Williams (9) have High assists?
CREATE TABLE table_27700375_6 (score VARCHAR, high_assists VARCHAR)
SELECT COUNT(score) FROM table_27700375_6 WHERE high_assists = "Terrence Williams (9)"
Name the races for final placing being 5th
CREATE TABLE table_27582888_1 (races VARCHAR, final_placing VARCHAR)
SELECT races FROM table_27582888_1 WHERE final_placing = "5th"
How many games does team Czechoslovakia have that had a drawn greater than 0?
CREATE TABLE table_name_18 (games INTEGER, team VARCHAR, drawn VARCHAR)
SELECT MAX(games) FROM table_name_18 WHERE team = "czechoslovakia" AND drawn > 0
Which Density per km² is the lowest one that has a Number (map) smaller than 13, and an Area in km² of 11.1?
CREATE TABLE table_name_21 (density_per_km² INTEGER, number__map_ VARCHAR, area_in_km² VARCHAR)
SELECT MIN(density_per_km²) FROM table_name_21 WHERE number__map_ < 13 AND area_in_km² = 11.1
Which Athletes have a Run 2 of 2:21.82?
CREATE TABLE table_name_39 (athletes VARCHAR, run_2 VARCHAR)
SELECT athletes FROM table_name_39 WHERE run_2 = "2:21.82"
Tell me the player from dallas burn
CREATE TABLE table_name_64 (player VARCHAR, mls_team VARCHAR)
SELECT player FROM table_name_64 WHERE mls_team = "dallas burn"
What is Bronze, when Silver is 2, and when Nation is Italy?
CREATE TABLE table_name_20 (bronze VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT bronze FROM table_name_20 WHERE silver = "2" AND nation = "italy"
What is the nationality for rank 27?
CREATE TABLE table_name_79 (nationality VARCHAR, rank VARCHAR)
SELECT nationality FROM table_name_79 WHERE rank = 27
What placement gets more than $400?
CREATE TABLE table_name_18 (place VARCHAR, money___$__ INTEGER)
SELECT place FROM table_name_18 WHERE money___$__ > 400
On what Date was the Venue Los Angeles?
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_90 WHERE venue = "los angeles"
What is Points, when Drawn is "1", and when Lost is "5"?
CREATE TABLE table_name_67 (points VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT points FROM table_name_67 WHERE drawn = "1" AND lost = "5"
Name the lessons taught for episode # 2/205
CREATE TABLE table_24172078_2 (lessons_taught VARCHAR, episode__number VARCHAR)
SELECT lessons_taught FROM table_24172078_2 WHERE episode__number = "2/205"
How many different meanings does the verb with part 4 gegeven have?
CREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_4 VARCHAR)
SELECT COUNT(verb_meaning) FROM table_1745843_7 WHERE part_4 = "gegeven"
How many Antonov An-2 Colt aircraft are in service?
CREATE TABLE table_name_37 (in_service INTEGER, aircraft VARCHAR)
SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt"
Find the name of scientists who are assigned to some project.
CREATE TABLE assignedto (scientist VARCHAR); CREATE TABLE scientists (name VARCHAR, ssn VARCHAR)
SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist = T2.ssn
Which Tonnage (GRT) has a Nationality of united kingdom, and a Name of king gruffydd?
CREATE TABLE table_name_44 (tonnage__grt_ INTEGER, nationality VARCHAR, name VARCHAR)
SELECT MIN(tonnage__grt_) FROM table_name_44 WHERE nationality = "united kingdom" AND name = "king gruffydd"
On what date was the attendance 17,136?
CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_36 WHERE attendance = "17,136"
Which have more than $80k and a total percent of 2.2%?
CREATE TABLE table_name_60 (more_than_$80 VARCHAR, percent_of_total VARCHAR)
SELECT more_than_$80, 000 FROM table_name_60 WHERE percent_of_total = "2.2%"
Whats the status of the trains at location Museum
CREATE TABLE table_142159_1 (status VARCHAR, location VARCHAR)
SELECT status FROM table_142159_1 WHERE location = "Museum"
Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team?
CREATE TABLE table_1473672_2 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT nhl_team FROM table_1473672_2 WHERE college_junior_club_team = "Oshawa Generals (OMJHL)"
Which Jushin Liger has a Gran Hamada of kendo kashin?
CREATE TABLE table_name_60 (jushin_liger VARCHAR, gran_hamada VARCHAR)
SELECT jushin_liger FROM table_name_60 WHERE gran_hamada = "kendo kashin"
What is the date of the game where the NY Islanders are the home team?
CREATE TABLE table_name_2 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_2 WHERE home = "ny islanders"
Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?
CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse"
What is the record on November 18?
CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_26 WHERE date = "november 18"
Who won the Mens Singles when the Mixed doubles went to Stellan Mohlin Kerstin Ståhl , Aik?
CREATE TABLE table_12266757_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)
SELECT mens_singles FROM table_12266757_1 WHERE mixed_doubles = "Stellan Mohlin Kerstin Ståhl , AIK"
In what Year did Yugoslavia have 4 Competitors with 0 medals Total?
CREATE TABLE table_name_78 (year VARCHAR, total VARCHAR, competitors VARCHAR)
SELECT year FROM table_name_78 WHERE total = "0" AND competitors = "4"
What is the Home team with an Away team that is wrexham?
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_90 WHERE away_team = "wrexham"
What is the British for the Australian ɔ?
CREATE TABLE table_name_93 (british VARCHAR, australian VARCHAR)
SELECT british FROM table_name_93 WHERE australian = "ɔ"
What is the average first prize of the tournament with a score of 279 (–9)?
CREATE TABLE table_name_47 (score VARCHAR)
SELECT AVG(1 AS st_prize___) AS $__ FROM table_name_47 WHERE score = "279 (–9)"
At what venue is the margin of victory 7 strokes?
CREATE TABLE table_name_82 (venue VARCHAR, margin_of_victory VARCHAR)
SELECT venue FROM table_name_82 WHERE margin_of_victory = "7 strokes"
What was the away team score in the game at Arden Street Oval?
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_31 WHERE venue = "arden street oval"
Name the recorded for translation of sleep my love, good night
CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR)
SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night"
How many live births were there in 2006 in South Yorkshire (met county)?
CREATE TABLE table_12251936_1 (live_births_2006 VARCHAR, county VARCHAR)
SELECT live_births_2006 FROM table_12251936_1 WHERE county = "South Yorkshire (Met county)"
What was the result in Illinois 7?
CREATE TABLE table_1341453_15 (results VARCHAR, district VARCHAR)
SELECT results FROM table_1341453_15 WHERE district = "Illinois 7"
what is the name of the branding where the virtual is 13.1
CREATE TABLE table_1979203_1 (branding VARCHAR, _virtual_ VARCHAR)
SELECT branding FROM table_1979203_1 WHERE _virtual_ = "13.1"
Show the Thai name of wan phruehatsabodi?
CREATE TABLE table_name_29 (thai_name VARCHAR, transcription VARCHAR)
SELECT thai_name FROM table_name_29 WHERE transcription = "wan phruehatsabodi"
What is the Year(s) won of the Player with a To par of 5?
CREATE TABLE table_name_4 (year_s__won VARCHAR, to_par VARCHAR)
SELECT year_s__won FROM table_name_4 WHERE to_par = 5
For how many players from UTEP can one calculate how many years they've played for Jazz?
CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, school_club_team VARCHAR)
SELECT COUNT(years_for_jazz) FROM table_11545282_6 WHERE school_club_team = "UTEP"
What is the total number of losses for the Team of Montreal with Goals For larger than 29?
CREATE TABLE table_name_50 (losses VARCHAR, goals_for VARCHAR, team VARCHAR)
SELECT COUNT(losses) FROM table_name_50 WHERE goals_for > 29 AND team = "montreal"
Tell me the number of gold for albania with a silver of 1 and total less than 1
CREATE TABLE table_name_12 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT COUNT(gold) FROM table_name_12 WHERE silver = 1 AND nation = "albania" AND total < 1
Which surface has wynne prakusya as the opponent in the final?
CREATE TABLE table_name_51 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_51 WHERE opponent_in_the_final = "wynne prakusya"