answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT province FROM table_29012710_1 WHERE number_of_dairy_farms = 200
what is the location where there are over 200 cattle businesses
CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_farms VARCHAR)
SELECT pennant FROM table_name_8 WHERE builder = "denny, dumbarton"
What is the pennant with Denny, Dumbarton as the builder?
CREATE TABLE table_name_8 (pennant VARCHAR, builder VARCHAR)
SELECT poles FROM table_name_96 WHERE races = "4"
What is the number of poles with 4 races?
CREATE TABLE table_name_96 (poles VARCHAR, races VARCHAR)
SELECT MAX(tor_fløysvik) FROM table_28677723_14 WHERE karianne_gulliksen = 8
Name the most for fløysvik for 8
CREATE TABLE table_28677723_14 (tor_fløysvik INTEGER, karianne_gulliksen VARCHAR)
SELECT rival FROM table_2846320_4 WHERE first_meeting = 1899
what are all the adversary where the beginning is 1899
CREATE TABLE table_2846320_4 (rival VARCHAR, first_meeting VARCHAR)
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
Tell me the chassis for team tissot ensign and driver of brett lunger
CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT city_of_license FROM table_name_93 WHERE network = "latv"
In which city is the network latv licensed?
CREATE TABLE table_name_93 (city_of_license VARCHAR, network VARCHAR)
SELECT avoirdupois_value FROM table_name_37 WHERE russian = "берковец"
What Avoirdupois value has a Russian of берковец?
CREATE TABLE table_name_37 (avoirdupois_value VARCHAR, russian VARCHAR)
SELECT height FROM table_12962773_10 WHERE no = 10
How tall was Player #10?
CREATE TABLE table_12962773_10 (height VARCHAR, no VARCHAR)
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh"
What is the name of the stone found in Andhra Pradesh, India?
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
SELECT kickoff_[a_] FROM table_11449311_2 WHERE tv = "CBS" AND opponent = "St. Louis Cardinals"
Give me the kickoff time of the game that was aired on CBS against the St. Louis Cardinals.
CREATE TABLE table_11449311_2 (kickoff_ VARCHAR, a_ VARCHAR, tv VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_6 WHERE date = "new zealand scores in bold"
What is the Attendance of New Zealand Scores in bold?
CREATE TABLE table_name_6 (attendance VARCHAR, date VARCHAR)
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17
What is the grid total for cars that went 17 laps?
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)
SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers"
Which IHSAA Class has a Mascot of tigers?
CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE away_team = "geelong"
When the away team was geelong, what was the away team score?
CREATE TABLE table_name_7 (away_team VARCHAR)
SELECT time_retired FROM table_name_9 WHERE laps < 35 AND grid < 10
How much time is required for less than 35 laps and less than 10 grids?
CREATE TABLE table_name_9 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT candidates FROM table_2668329_18 WHERE incumbent = "Felix Walker"
Name the candidates for felix walker
CREATE TABLE table_2668329_18 (candidates VARCHAR, incumbent VARCHAR)
SELECT date FROM table_name_88 WHERE opponent_number = "michigan"
On what day(s) did the Gophers play against Michigan?
CREATE TABLE table_name_88 (date VARCHAR, opponent_number VARCHAR)
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Benjamin Castaldi"
What is the highest year premiered when Benjamin Castaldi is main presenter?
CREATE TABLE table_24224647_2 (year_premiered INTEGER, main_presenter VARCHAR)
SELECT hmos FROM table_name_96 WHERE conventional_plans = "3%" AND year = 2005
Which HMO has a conventional plan of 3% in 2005?
CREATE TABLE table_name_96 (hmos VARCHAR, conventional_plans VARCHAR, year VARCHAR)
SELECT time_retired FROM table_name_30 WHERE laps < 75 AND grid < 15 AND driver = "ronnie peterson"
What is the time/retired for ronnie peterson with under 75 laps and a grid under 15?
CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT listed FROM table_name_79 WHERE county = "nuckolls"
what is the listing date for nuckolls county?
CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR)
SELECT completed FROM table_name_91 WHERE builder = "chatham" AND name = "hmsmedusa"
When did chatham complete the Hmsmedusa?
CREATE TABLE table_name_91 (completed VARCHAR, builder VARCHAR, name VARCHAR)
SELECT player FROM table_name_1 WHERE country = "united states" AND score = 70 - 72 - 70 = 212
What is Player, when Country is United States, and when Score is 70-72-70=212?
CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55"
When 7.55 is the amount of viewers what is the lowest number?
CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR)
SELECT dissolved FROM table_name_58 WHERE assembled = "4 november 1461"
What is the dissolved date of the parliament assembled on 4 November 1461?
CREATE TABLE table_name_58 (dissolved VARCHAR, assembled VARCHAR)
SELECT site FROM table_28298589_4 WHERE home_team = "Pittsburgh"
In what facility was Pittsburgh's home game played?
CREATE TABLE table_28298589_4 (site VARCHAR, home_team VARCHAR)
SELECT third_place FROM table_17632217_2 WHERE total_wins = 4
Who took third-place when there were 4 total wins?
CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR)
SELECT win_loss FROM table_1165048_1 WHERE season = 2009
what are all the win/loss where season is 2009
CREATE TABLE table_1165048_1 (win_loss VARCHAR, season VARCHAR)
SELECT school_year FROM table_14603212_1 WHERE class_a = "Lindsay" AND class_aAA = Cuero
Which school years have a class a being lindsay and a class aaa being cuero?
CREATE TABLE table_14603212_1 (school_year VARCHAR, class_a VARCHAR, class_aAA VARCHAR, Cuero VARCHAR)
SELECT winners FROM table_name_83 WHERE team = "halcones uv xalapa"
How many winners did Halcones uv xalapa have?
CREATE TABLE table_name_83 (winners VARCHAR, team VARCHAR)
SELECT segment_a FROM table_15187735_17 WHERE segment_d = "Wood Boring Augers"
how many segments involve wood boring augers
CREATE TABLE table_15187735_17 (segment_a VARCHAR, segment_d VARCHAR)
SELECT archive FROM table_2102782_1 WHERE run_time = "23:55"
Name the archive for run time of 23:55
CREATE TABLE table_2102782_1 (archive VARCHAR, run_time VARCHAR)
SELECT livery FROM table_name_74 WHERE status = "in service as coaching stock"
what livery has a status of in service as coaching stock?
CREATE TABLE table_name_74 (livery VARCHAR, status VARCHAR)
SELECT MIN(roll) FROM table_name_40 WHERE decile > 6 AND name = "broomfield school"
What is the smallest roll with a Decile larger than 6, and a Name of broomfield school?
CREATE TABLE table_name_40 (roll INTEGER, decile VARCHAR, name VARCHAR)
SELECT series FROM table_name_93 WHERE director = "friz freleng"
What is the Series of the Filmography by Directory Friz Freleng?
CREATE TABLE table_name_93 (series VARCHAR, director VARCHAR)
SELECT location FROM table_name_98 WHERE year > 1934 AND loser = "philadelphia eagles" AND date = "october 15"
What was the location after 1934 that Philadelphia Eagles lost on October 15?
CREATE TABLE table_name_98 (location VARCHAR, date VARCHAR, year VARCHAR, loser VARCHAR)
SELECT COUNT(enrollment) FROM table_name_43 WHERE affiliation = "public" AND founded < 1866
What is the total enrollment for an affiliation of public, and was founded before 1866?
CREATE TABLE table_name_43 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)
SELECT COUNT(title) FROM table_29273115_1 WHERE production_code = "IP02003"
How many different titles does the episode with production code IP02003 have?
CREATE TABLE table_29273115_1 (title VARCHAR, production_code VARCHAR)
SELECT concacaf FROM table_245694_4 WHERE season = 2010
Name the concacaf for 2010 season
CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR)
SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open"
What date was the Monsanto open located in Florida?
CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR)
SELECT batting_partners FROM table_11303072_5 WHERE runs = "226"
What is the batting partners with runs of 226?
CREATE TABLE table_11303072_5 (batting_partners VARCHAR, runs VARCHAR)
SELECT year FROM table_name_26 WHERE top_25 = 0 AND earnings__$_ > 0
What year has a Top 25 of 0, and a Earnings ($) larger than 0?
CREATE TABLE table_name_26 (year VARCHAR, top_25 VARCHAR, earnings__$_ VARCHAR)
SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_west_südwest = "FC Gütersloh Rot-Weiß Essen"
what's the regionalliga nord with regionalliga west/südwest being fc gütersloh rot-weiß essen
CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_west_südwest VARCHAR)
SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Maratha United"
what is the united fc wehre pifa colaba is maratha united?
CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR)
SELECT COUNT(davids_team) FROM table_23575917_4 WHERE lees_team = "Deborah Meaden and Mark Watson"
How many David's team for the Lees Team of Deborah Meaden and Mark Watson?
CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR)
SELECT host_team FROM table_name_32 WHERE stadium = "cleveland browns stadium"
Who was the host team at the game at the Cleveland Browns Stadium?
CREATE TABLE table_name_32 (host_team VARCHAR, stadium VARCHAR)
SELECT period FROM table_24565004_13 WHERE name = "Michel Llodra"
Name the period for michel llodra
CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR)
SELECT SUM(year) FROM table_name_52 WHERE album = "remixes"
What is the total number of Year that has an Album of Remixes?
CREATE TABLE table_name_52 (year INTEGER, album VARCHAR)
SELECT 2002 FROM table_name_79 WHERE 2008 = "3–3"
Which 2002 has a 2008 of 3–3?
CREATE TABLE table_name_79 (Id VARCHAR)
SELECT kind_of_the_song FROM table_name_66 WHERE singer = "miriam yeung"
Which type of song did miriam yeung sing?
CREATE TABLE table_name_66 (kind_of_the_song VARCHAR, singer VARCHAR)
SELECT bleeding_time FROM table_1557752_1 WHERE condition = "Bernard-Soulier syndrome"
What is the bleeding time in Bernard-soulier syndrome?
CREATE TABLE table_1557752_1 (bleeding_time VARCHAR, condition VARCHAR)
SELECT COUNT(qual) FROM table_name_16 WHERE laps > 93 AND rank = 32 AND grid < 32
Tell me the total number of Qual Laps higher than 93 with a Rank of 32 with Grid less than 32
CREATE TABLE table_name_16 (qual VARCHAR, grid VARCHAR, laps VARCHAR, rank VARCHAR)
SELECT MIN(area_km_2) FROM table_name_61 WHERE member_state = "czech republic" AND population_in_millions < 10.3
What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3?
CREATE TABLE table_name_61 (area_km_2 INTEGER, member_state VARCHAR, population_in_millions VARCHAR)
SELECT time FROM table_name_27 WHERE opponent = "kim kyoung-suk"
How long was his fight against kim kyoung-suk?
CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR)
SELECT original_air_date FROM table_27910411_1 WHERE no_in_series = 10
What date did episode 10 in the series originally air?
CREATE TABLE table_27910411_1 (original_air_date VARCHAR, no_in_series VARCHAR)
SELECT COUNT(extra_points) FROM table_14342367_11 WHERE player = "Paul Jones"
How many extra points did Paul Jones score?
CREATE TABLE table_14342367_11 (extra_points VARCHAR, player VARCHAR)
SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "12 children to 6 families (2 per family)"
What are donor payments in the country where there are 12 children to 6 families (2 per family)?
CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR)
SELECT manager_1 FROM table_name_72 WHERE shirt_sponsor = "hewlett-packard"
Who is the manager with the Hewlett-Packard shirt sponsor?
CREATE TABLE table_name_72 (manager_1 VARCHAR, shirt_sponsor VARCHAR)
SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2017
What are the names of races that were held after 2017 and the circuits were in the country of Spain?
CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR)
SELECT driver FROM table_name_35 WHERE laps > 72 AND grid = 2
What driver has grid 2 and over 72 laps?
CREATE TABLE table_name_35 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT outcome FROM table_name_51 WHERE opponent = "juan ignacio chela"
What was the outcome of the match against Juan Ignacio Chela?
CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR)
SELECT kickoff_[a_] FROM table_name_9 WHERE attendance = "58,120"
Which kickoff had an attendance of 58,120?
CREATE TABLE table_name_9 (kickoff_ VARCHAR, a_ VARCHAR, attendance VARCHAR)
SELECT time FROM table_name_36 WHERE period = "1st" AND player = "dustin byfuglien"
What time does Dustin Byfuglien have in 1st period?
CREATE TABLE table_name_36 (time VARCHAR, period VARCHAR, player VARCHAR)
SELECT name FROM track WHERE NOT track_id IN (SELECT track_id FROM race)
Show all track names that have had no races.
CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (name VARCHAR, track_id VARCHAR)
SELECT studio_s_ FROM table_name_71 WHERE director = "philip frank messina"
What studio has the director Philip Frank Messina?
CREATE TABLE table_name_71 (studio_s_ VARCHAR, director VARCHAR)
SELECT venue FROM table_name_33 WHERE notes = "58.25 m" AND competition = "world championships"
Which Venue has Notes of 58.25 m, and a Competition of world championships?
CREATE TABLE table_name_33 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567
What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?
CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_18 WHERE home_team = "millwall"
What is the score if Millwall is the Home Team?
CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_5 WHERE tournament = "wellington"
What was the score of the tournament in Wellington?
CREATE TABLE table_name_5 (score VARCHAR, tournament VARCHAR)
SELECT oppose FROM table_name_22 WHERE poll_source = "time poll" AND unsure = "6%"
What percentage of people were opposed to the candidate based on the Time Poll poll that showed 6% of people were unsure?
CREATE TABLE table_name_22 (oppose VARCHAR, poll_source VARCHAR, unsure VARCHAR)
SELECT player FROM table_name_41 WHERE to_club = "blackpool"
What player was moved to Blackpool?
CREATE TABLE table_name_41 (player VARCHAR, to_club VARCHAR)
SELECT summer_olympics FROM table_name_3 WHERE city = "tokyo"
When did the Summer Olympics occur in Tokyo?
CREATE TABLE table_name_3 (summer_olympics VARCHAR, city VARCHAR)
SELECT opponents FROM table_name_17 WHERE date = "4 august 2007"
Date of 4 august 2007 had what opponents?
CREATE TABLE table_name_17 (opponents VARCHAR, date VARCHAR)
SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19"
What score has a game less than 4, and april 19 as the date?
CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR)
SELECT title FROM table_2182654_3 WHERE directed_by = "Miguel Arteta"
What is the name of the episode directed by Miguel Arteta?
CREATE TABLE table_2182654_3 (title VARCHAR, directed_by VARCHAR)
SELECT date_of_successors_formal_installation FROM table_225099_3 WHERE reason_for_change = "Resigned December 4, 1819"
What is the date of successors formal installation when the reason for change is resigned december 4, 1819?
CREATE TABLE table_225099_3 (date_of_successors_formal_installation VARCHAR, reason_for_change VARCHAR)
SELECT race FROM table_name_90 WHERE circuit = "monaco"
What race contains the Monaco circuit?
CREATE TABLE table_name_90 (race VARCHAR, circuit VARCHAR)
SELECT region FROM table_name_37 WHERE state = "california" AND host = "university of california, los angeles"
What region does the University of California, Los Angeles play in?
CREATE TABLE table_name_37 (region VARCHAR, state VARCHAR, host VARCHAR)
SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"
On what Date is the Circuit at Sandown Raceway?
CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR)
SELECT release FROM table_16279520_1 WHERE timeline = "Season 2"
What is the releases number under Season 2?
CREATE TABLE table_16279520_1 (release VARCHAR, timeline VARCHAR)
SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"
What county is CERCLIS ID nhd062004569 in?
CREATE TABLE table_name_61 (county VARCHAR, cerclis_id VARCHAR)
SELECT finish FROM table_name_17 WHERE year = "1956"
What is the finish in 1956?
CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR)
SELECT vinculum FROM table_name_72 WHERE parentheses = "0.(81)"
How much is vinculum when the parentheses are 0.(81)?
CREATE TABLE table_name_72 (vinculum VARCHAR, parentheses VARCHAR)
SELECT SUM(rank) FROM table_name_51 WHERE peak_name = "red shirt table"
What is the total number of ranks when the Peak Name is Red Shirt Table?
CREATE TABLE table_name_51 (rank INTEGER, peak_name VARCHAR)
SELECT channels FROM table_name_93 WHERE clock_rate__mhz_ < 400 AND bandwidth__mb_s_ = 1420
Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s) of 1420 has what channels?
CREATE TABLE table_name_93 (channels VARCHAR, clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR)
SELECT position FROM table_name_88 WHERE pick < 5 AND college = "notre dame" AND round = 7
Which Notre Dame position has a pick lower than 5 and round 7?
CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, pick VARCHAR, college VARCHAR)
SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131
How many times is brannon condren with and overall more than 131 drafted?
CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR)
SELECT total FROM table_name_33 WHERE slalom_points = "3.18"
What are the total points for the skier with 3.18 slalom points?
CREATE TABLE table_name_33 (total VARCHAR, slalom_points VARCHAR)
SELECT venue FROM table_name_59 WHERE competition = "2013 concacaf gold cup"
What venue will hold the 2013 Concacaf Gold Cup competition?
CREATE TABLE table_name_59 (venue VARCHAR, competition VARCHAR)
SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones"
What was the par for the t5 place player Steve Jones?
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"
What is Mark Joseph Kong's pick?
CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)
SELECT contestant FROM table_name_10 WHERE start_bmi = 42.2
What contestant had a starting BMI of 42.2?
CREATE TABLE table_name_10 (contestant VARCHAR, start_bmi VARCHAR)
SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california"
What is the earliest round drafted for a University of Southern California player?
CREATE TABLE table_name_91 (round INTEGER, school VARCHAR)
SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4"
When was the Result of 3–2, with a Score of 6–0, 6–4?
CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT call_sign FROM table_name_19 WHERE branding = "106.9 the x"
What is the Call sign of the Frequency 106.9 the X?
CREATE TABLE table_name_19 (call_sign VARCHAR, branding VARCHAR)
SELECT club FROM table_name_44 WHERE played = "22" AND tries_for = "41"
What is the Club, when the value for Played is 22, and when the value for Tries is 41?
CREATE TABLE table_name_44 (club VARCHAR, played VARCHAR, tries_for VARCHAR)
SELECT lungchang FROM table_name_85 WHERE halang = "ʒɯ²" AND rera = "ʒo²"
Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?
CREATE TABLE table_name_85 (lungchang VARCHAR, halang VARCHAR, rera VARCHAR)
SELECT outcome FROM table_name_48 WHERE tournament = "melbourne"
What is the Outcome of the Melbourne Tournament?
CREATE TABLE table_name_48 (outcome VARCHAR, tournament VARCHAR)
SELECT COUNT(100 AS s) FROM table_name_44 WHERE balls > 325 AND runs < 572
Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572?
CREATE TABLE table_name_44 (balls VARCHAR, runs VARCHAR)