answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah"
What is the frequency MHz in tremonton, utah with a ERP W larger than 30?
CREATE TABLE table_name_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR)
SELECT chrome FROM table_name_88 WHERE internet_explorer = "72.03%"
What percentage of browsers were using Chrome during the period in which 72.03% were using Internet Explorer?
CREATE TABLE table_name_88 (chrome VARCHAR, internet_explorer VARCHAR)
SELECT set_1 FROM table_name_42 WHERE time = "13:00" AND total = "97–74"
What is the set 1 when the time is 13:00, and total is 97–74?
CREATE TABLE table_name_42 (set_1 VARCHAR, time VARCHAR, total VARCHAR)
SELECT venue FROM table_24919137_2 WHERE result_margin = "WON by 70"
Where was the game played when the result/margin was won by 70?
CREATE TABLE table_24919137_2 (venue VARCHAR, result_margin VARCHAR)
SELECT record FROM table_name_60 WHERE week = "8"
What was the team record by Week 8?
CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)
SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
The EVA that started on 8 July 12:38 went for how long?
CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)
SELECT DISTINCT template_type_code FROM Templates
Show all distinct template type codes for all templates.
CREATE TABLE Templates (template_type_code VARCHAR)
SELECT COUNT(*) FROM follows
How many followers does each user have?
CREATE TABLE follows (Id VARCHAR)
SELECT lead FROM table_name_94 WHERE skip = "pavol pitonak"
Which Lead has a Skip of pavol pitonak?
CREATE TABLE table_name_94 (lead VARCHAR, skip VARCHAR)
SELECT city FROM table_name_43 WHERE icao = "epwa"
Where has an ICAO of EPWA?
CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR)
SELECT date FROM table_27713030_12 WHERE team = "Boston"
What was the date when Boston was the team?
CREATE TABLE table_27713030_12 (date VARCHAR, team VARCHAR)
SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use"
How many outputs are there for solid state, battery operated for portable use listed in notes?
CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR)
SELECT fuel_delivery FROM table_11167610_1 WHERE power = "hp (kW) @6500 rpm"
what's the fuel delivery where power is hp (kw) @6500 rpm
CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "30 may 2004"
Where was the game played on 30 May 2004?
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
SELECT leading_scorer_1 FROM table_name_8 WHERE season = "2010–11"
Which Leading scorer 1 has a Season of 2010–11?
CREATE TABLE table_name_8 (leading_scorer_1 VARCHAR, season VARCHAR)
SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"
What is the score of the match with the sydney roosters as the opponent?
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby"
What country does robert allenby represent?
CREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR)
SELECT COUNT(year) FROM table_name_3 WHERE award_ceremony = "laurence olivier award" AND result = "won" AND nominee = "imelda staunton"
How many times is the award ceremony laurence olivier award, result is won and the nominee is imelda staunton?
CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR)
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Badlands"
Who performed the song named "Badlands"? Show the first name and the last name.
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
SELECT subject FROM table_29842201_1 WHERE highest_mark = 79
What is the subject when the highest mark is 79?
CREATE TABLE table_29842201_1 (subject VARCHAR, highest_mark VARCHAR)
SELECT place FROM table_name_68 WHERE country = "united states" AND player = "tiger woods"
In what place was Tiger Woods of the United States?
CREATE TABLE table_name_68 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT record FROM table_name_10 WHERE score = "7–5"
What is the record for the game with a score of 7–5?
CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR)
SELECT starts FROM table_2725949_6 WHERE season = 2009
Name the starts for 2009
CREATE TABLE table_2725949_6 (starts VARCHAR, season VARCHAR)
SELECT episode FROM table_1429629_1 WHERE run_time = "24:01"
What are all the episodes with an episode run time of 24:01?
CREATE TABLE table_1429629_1 (episode VARCHAR, run_time VARCHAR)
SELECT league FROM table_1939235_1 WHERE regular_season = "4th, Great Lakes"
When 4th, great lakes is the regular season what is the league?
CREATE TABLE table_1939235_1 (league VARCHAR, regular_season VARCHAR)
SELECT COUNT(family_families) FROM table_19897294_8 WHERE no_overall = "UK30"
Name the number of families for uk30
CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR)
SELECT date FROM table_name_15 WHERE home = "wizards"
Which date had a home team of the Wizards?
CREATE TABLE table_name_15 (date VARCHAR, home VARCHAR)
SELECT dish FROM table_name_8 WHERE resolution = "sd 480i" AND network = "bvb"
Name the dish for resolution of sd 480i and network of bvb
CREATE TABLE table_name_8 (dish VARCHAR, resolution VARCHAR, network VARCHAR)
SELECT MIN(clubs_remaining) FROM table_19089486_1
Name the least clubs remaining
CREATE TABLE table_19089486_1 (clubs_remaining INTEGER)
SELECT daytime FROM table_name_22 WHERE name = "exmouth"
Name the Daytime which has a Name of exmouth?
CREATE TABLE table_name_22 (daytime VARCHAR, name VARCHAR)
SELECT high_score FROM table_2985664_8 WHERE strike_rate = "84.88"
What is every high score for a strike rate of 84.88?
CREATE TABLE table_2985664_8 (high_score VARCHAR, strike_rate VARCHAR)
SELECT round FROM table_name_32 WHERE position = "defense" AND nationality = "united states"
What is the round of the defense player from the United States?
CREATE TABLE table_name_32 (round VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers"
Which Attendance has an Opponent of carolina panthers?
CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)
SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
What is the score of the away team who played home team Hawthorn?
CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR)
SELECT finished FROM table_14345690_2 WHERE celebrity = "Nell McAndrew"
What position did Nell McAndrew finish?
CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR)
SELECT date_of_birth FROM Customers WHERE customer_status_code = 'Good Customer'
When are the birthdays of customer who are classified as 'Good Customer' status?
CREATE TABLE Customers (date_of_birth VARCHAR, customer_status_code VARCHAR)
SELECT couple FROM table_name_82 WHERE result = "third place" AND style = "cha-cha-cha"
Which Couple has a Result of third place, and a Style of cha-cha-cha?
CREATE TABLE table_name_82 (couple VARCHAR, result VARCHAR, style VARCHAR)
SELECT MIN(points) FROM table_13789248_2 WHERE highest_position = 1
what is the minimum points with highest position being 1
CREATE TABLE table_13789248_2 (points INTEGER, highest_position VARCHAR)
SELECT week_15__final__dec_3 FROM table_name_50 WHERE week_12_nov_13 = "notre dame (7-2)"
What was Week 15 when Week 12 was Notre Dame (7-2)?
CREATE TABLE table_name_50 (week_15__final__dec_3 VARCHAR, week_12_nov_13 VARCHAR)
SELECT race_name FROM table_22673872_1 WHERE pole_position = "Al Unser"
What was the name of the race that Al Unser had the pole position?
CREATE TABLE table_22673872_1 (race_name VARCHAR, pole_position VARCHAR)
SELECT championship FROM table_name_36 WHERE opponent = "roger federer" AND surface = "clay" AND year < 2007
Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007?
CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR)
SELECT COUNT(drawn) FROM table_name_22 WHERE position = "6th" AND competition = "super league xvii" AND played > 27
how many times what the position 6th, the competition was super league xvii and played was larger than 27?
CREATE TABLE table_name_22 (drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR)
SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville"
what is the zip code of boonville
CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR)
SELECT COUNT(*) FROM rent_arrears
How many council taxes are collected for renting arrears ?
CREATE TABLE rent_arrears (Id VARCHAR)
SELECT college FROM table_name_8 WHERE team = "boston patriots"
Which college did the player who went to the Boston Patriots go to?
CREATE TABLE table_name_8 (college VARCHAR, team VARCHAR)
SELECT result FROM table_22577693_1 WHERE runner_up = "[[|]] 151/8 (50.0 overs)"
If the runner-up is [[|]] 151/8 (50.0 overs), what were the results?
CREATE TABLE table_22577693_1 (result VARCHAR, runner_up VARCHAR)
SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148"
In 1981 which team picked overall 148?
CREATE TABLE table_name_8 (team VARCHAR, year VARCHAR, overall_pick VARCHAR)
SELECT venue FROM table_name_90 WHERE against > 9 AND status = "second test"
Which venue has more than 9 against and a status of second test?
CREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR)
SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake"
What is Paul Coward 492cc nourish Weslake's lowest rank?
CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR)
SELECT purse FROM table_name_41 WHERE year < 2009 AND owner = "harold a. allen"
What was the Purse for Owner Harold A. Allen prior to 2009?
CREATE TABLE table_name_41 (purse VARCHAR, year VARCHAR, owner VARCHAR)
SELECT name_in_basque FROM table_300283_1 WHERE official_name = "Kuartango"
What is the name in Basque of the municipality whose official name is Kuartango?
CREATE TABLE table_300283_1 (name_in_basque VARCHAR, official_name VARCHAR)
SELECT attendance FROM table_name_32 WHERE record = "16–29"
Record of 16–29 is how many attendance?
CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR)
SELECT ecclesiastical_province FROM table_name_21 WHERE type = "diocese" AND latin_name = "alexiensis"
What Ecclesiastical Province has a type diocese and a latin name alexiensis?
CREATE TABLE table_name_21 (ecclesiastical_province VARCHAR, type VARCHAR, latin_name VARCHAR)
SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix"
Who had the pole at the French Grand Prix?
CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT MAX(goals) FROM table_name_74 WHERE team = "getafe cf"
For Getafe CF, what is the highest number of goals scored?
CREATE TABLE table_name_74 (goals INTEGER, team VARCHAR)
SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985
What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?
CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006"
Who competed on may 6, 2006?
CREATE TABLE table_name_50 (opponents VARCHAR, date VARCHAR)
SELECT MIN(capacity) FROM table_name_89 WHERE vehicle = "1975 toyota celica 1600gt"
What is the lowest capacity for the 1975 toyota celica 1600gt?
CREATE TABLE table_name_89 (capacity INTEGER, vehicle VARCHAR)
SELECT bore FROM table_name_9 WHERE name = "18 ab"
What bore goes with an 18 AB?
CREATE TABLE table_name_9 (bore VARCHAR, name VARCHAR)
SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973
Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
CREATE TABLE table_name_42 (wins INTEGER, class VARCHAR, year VARCHAR)
SELECT population__1931__in_1, 000 AS s FROM table_14245_3 WHERE voivodeship_or_city = "lubelskie"
Name the population in 1931 for lubelskie
CREATE TABLE table_14245_3 (population__1931__in_1 VARCHAR, voivodeship_or_city VARCHAR)
SELECT points FROM table_name_97 WHERE placings > 100 AND rank = 17
How many Points for the couple ranking 17 with Placings larger than 100?
CREATE TABLE table_name_97 (points VARCHAR, placings VARCHAR, rank VARCHAR)
SELECT home_away FROM table_name_68 WHERE field = "nickerson field" AND date = "july 10"
What is the home/away of the game at Nickerson Field at July 10?
CREATE TABLE table_name_68 (home_away VARCHAR, field VARCHAR, date VARCHAR)
SELECT date FROM table_name_78 WHERE winner = "scott hoch (2)"
When did Scott Hoch (2) win?
CREATE TABLE table_name_78 (date VARCHAR, winner VARCHAR)
SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = "12x03"
How many episodes are numbered 12x03?
CREATE TABLE table_23292220_13 (first_broadcast VARCHAR, episode VARCHAR)
SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia"
On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia?
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
SELECT record FROM table_name_1 WHERE opponent = "keith rockel"
What is the record when the fight was against keith rockel?
CREATE TABLE table_name_1 (record VARCHAR, opponent VARCHAR)
SELECT ezhavas FROM table_23214055_2 WHERE muslims = "5.4"
Name the ezhavas for muslims being 5.4
CREATE TABLE table_23214055_2 (ezhavas VARCHAR, muslims VARCHAR)
SELECT regular_season FROM table_2139111_1 WHERE year = 2005
Name the regular season for 2005
CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)
SELECT skip FROM table_name_30 WHERE second = "philippe caux"
What is the skip with a second of Philippe Caux?
CREATE TABLE table_name_30 (skip VARCHAR, second VARCHAR)
SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = "australia"
What is the name of the swimmer from Australia in lane 4 with a heat larger than 4?
CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT week_3 FROM table_name_47 WHERE week_1 = "amanda batt"
Who is week 3 if week 1 is Amanda Batt?
CREATE TABLE table_name_47 (week_3 VARCHAR, week_1 VARCHAR)
SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6"
how many voted in the texas 6 section
CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR)
SELECT 2006 FROM table_name_27 WHERE 2005 = "grand slam tournaments"
What 2006 has grand slam tournaments of 2005?
CREATE TABLE table_name_27 (Id VARCHAR)
SELECT passenger FROM table_name_94 WHERE wins = "16"
What Passenger has 16 Wins?
CREATE TABLE table_name_94 (passenger VARCHAR, wins VARCHAR)
SELECT game_site FROM table_name_52 WHERE result = "bye"
What game site has a result of bye?
CREATE TABLE table_name_52 (game_site VARCHAR, result VARCHAR)
SELECT lineup FROM table_name_21 WHERE location = "washington dc"
Name the lineup for washington dc
CREATE TABLE table_name_21 (lineup VARCHAR, location VARCHAR)
SELECT lead FROM table_name_15 WHERE nation = "switzerland"
Which Lead has a Nation of switzerland?
CREATE TABLE table_name_15 (lead VARCHAR, nation VARCHAR)
SELECT name FROM table_name_90 WHERE stage = "ss5"
What is the Name of the SS5 Stage?
CREATE TABLE table_name_90 (name VARCHAR, stage VARCHAR)
SELECT percentage_of_votes FROM table_26267849_11 WHERE act = "Violinist"
Name the percentage of votes for violinist
CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR)
SELECT southern_lakota FROM table_1499791_2 WHERE english_gloss = "morning"
Name the southern lakota for morning
CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, english_gloss VARCHAR)
SELECT rank FROM table_19744915_16 WHERE couple = "Zoe and Matt"
What is Zoe and Matt's rank?
CREATE TABLE table_19744915_16 (rank VARCHAR, couple VARCHAR)
SELECT MIN(total) FROM table_28723146_2
What is the least total?
CREATE TABLE table_28723146_2 (total INTEGER)
SELECT appointed_elected FROM table_name_91 WHERE name = "chief justice mark cady"
What is the year when chief justice Mark Cady was appointed/elected?
CREATE TABLE table_name_91 (appointed_elected VARCHAR, name VARCHAR)
SELECT original_artist FROM table_29756040_1 WHERE order__number = "1"
Which artists have order # 1?
CREATE TABLE table_29756040_1 (original_artist VARCHAR, order__number VARCHAR)
SELECT result FROM table_name_94 WHERE week > 3 AND date = "1971-11-07"
What is the Result of Week larger than 3 on 1971-11-07?
CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT date FROM table_name_87 WHERE home = "los angeles lakers"
When was the home Los Angeles Lakers?
CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
SELECT date FROM table_23612439_2 WHERE location = "Taylor Field"
On which date is Taylor Field the location?
CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)
SELECT COUNT(games) FROM table_name_34 WHERE goals_for = 215
How many games were recorded with Goals for number of 215?
CREATE TABLE table_name_34 (games VARCHAR, goals_for VARCHAR)
SELECT type FROM table_256286_40 WHERE yes_votes = 175932
What was the type when there were 175932 yes votes?
CREATE TABLE table_256286_40 (type VARCHAR, yes_votes VARCHAR)
SELECT date FROM table_name_21 WHERE record = "8-25-7"
What was the date that ended in a record of 8-25-7?
CREATE TABLE table_name_21 (date VARCHAR, record VARCHAR)
SELECT COUNT(area__km²_) FROM table_14325808_1 WHERE population__2007_estimation_ = 7996
How many places of whatever size have a 2007 population estimation of 7996?
CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, population__2007_estimation_ VARCHAR)
SELECT T1.Color FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape GROUP BY T2.Grape ORDER BY AVG(Price) DESC LIMIT 1
What is the color of the grape whose wine products has the highest average price?
CREATE TABLE GRAPES (Color VARCHAR, Grape VARCHAR); CREATE TABLE WINE (Grape VARCHAR)
SELECT MAX(round) FROM table_name_54 WHERE position = "dt" AND pick > 181
What is the largest round number for the dt position when the pick number is bigger than 181?
CREATE TABLE table_name_54 (round INTEGER, position VARCHAR, pick VARCHAR)
SELECT city FROM city WHERE regional_population > 10000000
Please give me a list of cities whose regional population is over 10000000.
CREATE TABLE city (city VARCHAR, regional_population INTEGER)
SELECT date FROM table_2896329_1 WHERE handicap = "8 st 12 lb"
On what date was the handicap 8 st 12 lb?
CREATE TABLE table_2896329_1 (date VARCHAR, handicap VARCHAR)
SELECT date FROM table_name_48 WHERE home_team = "essendon"
What Date did the Home team play in essendon?
CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR)
SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003
What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February?
CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR)
SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report."
What area shows % Hindu of statistics from the bbc in depth report.?
CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR)
SELECT MIN(week) FROM table_name_75 WHERE result = "t 17–17"
What's the smallest week that had a result of t 17–17?
CREATE TABLE table_name_75 (week INTEGER, result VARCHAR)