answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT record FROM table_name_70 WHERE indoor_year = "1978"
indoor year is 1978, what is the record?
CREATE TABLE table_name_70 (record VARCHAR, indoor_year VARCHAR)
SELECT power FROM table_name_84 WHERE engine_code = "m44b19"
What is the power of the engine with an engine code m44b19?
CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR)
SELECT name FROM table_name_83 WHERE position = "wr" AND weight = 197
What is the name of the player who is a wr and has a weight of 197?
CREATE TABLE table_name_83 (name VARCHAR, position VARCHAR, weight VARCHAR)
SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 78"
What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897?
CREATE TABLE table_name_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)
SELECT date FROM table_11602885_1 WHERE location = "Mexico"
When was the game in Mexico played?
CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR)
SELECT team FROM table_name_1 WHERE circuit = "phillip island grand prix circuit"
What is Team, when Circuit is Phillip Island Grand Prix Circuit?
CREATE TABLE table_name_1 (team VARCHAR, circuit VARCHAR)
SELECT drawn FROM table_name_96 WHERE played = "22" AND points = "96"
What is the drawn that has 22 for played, and 96 for points?
CREATE TABLE table_name_96 (drawn VARCHAR, played VARCHAR, points VARCHAR)
SELECT march_27_29 FROM table_1708610_3 WHERE november_3 = "133"
Name the march 27-29 for november 3 being 133
CREATE TABLE table_1708610_3 (march_27_29 VARCHAR, november_3 VARCHAR)
SELECT s_b_share FROM table_206419_3 WHERE shareholder = "Handelsbanken funds incl XACT"
What is the s B share for Handelsbanken funds incl XACT?
CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR)
SELECT MIN(green) FROM table_name_82 WHERE year > 2010 AND labour > 29
Name the lowest Green with a Year larger than 2010, and a Labour larger than 29? Question 3
CREATE TABLE table_name_82 (green INTEGER, year VARCHAR, labour VARCHAR)
SELECT team FROM table_name_9 WHERE player = "jason romano"
Jason Romano played for what team?
CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR)
SELECT COUNT(successor) FROM table_1199219_2 WHERE district = "New York 20th"
How many successors were seated in the New York 20th district?
CREATE TABLE table_1199219_2 (successor VARCHAR, district VARCHAR)
SELECT release_date FROM table_name_37 WHERE director = "friz freleng" AND production_number > 1496 AND series = "mm" AND title = "apes of wrath"
What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released?
CREATE TABLE table_name_37 (release_date VARCHAR, title VARCHAR, series VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee"
What team has a Rank Ret, and rider Frank A Applebee?
CREATE TABLE table_name_92 (team VARCHAR, rank VARCHAR, rider VARCHAR)
SELECT score FROM table_name_75 WHERE team = "indiana"
WHAT IS THE SCORE WITH THE TEAM OF INDIANA?
CREATE TABLE table_name_75 (score VARCHAR, team VARCHAR)
SELECT constructor FROM table_name_6 WHERE grid < 2
What is the constructor for the driver with grid less than 2?
CREATE TABLE table_name_6 (constructor VARCHAR, grid INTEGER)
SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (42)"
When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?
CREATE TABLE table_23285849_11 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT г_г_[ɡ] FROM table_202365_2 WHERE а_а_[a] = "Ҕә ҕә [ʁʷ/ɣʷ]"
what is г г [ɡ] when а а [a] is ҕә ҕә [ʁʷ/ɣʷ]?
CREATE TABLE table_202365_2 (г_г_ VARCHAR, ɡ VARCHAR, а_а_ VARCHAR, a VARCHAR)
SELECT MIN(wins) FROM table_name_8 WHERE player = "larry nelson" AND rank < 5
What was the lowest wins of Larry Nelson, who ranked less than 5?
CREATE TABLE table_name_8 (wins INTEGER, player VARCHAR, rank VARCHAR)
SELECT frequency FROM table_name_75 WHERE purpose = "commercial" AND on_air_id = "radio tab" AND callsign = "4tab"
4tab of commercial broadcaster Radio Tab broadcasts at what frequency?
CREATE TABLE table_name_75 (frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR)
SELECT lead FROM table_name_40 WHERE season = "2009-10"
Which lead had a season of 2009-10?
CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)
SELECT venue FROM table_name_16 WHERE against > 14 AND opposing_teams = "scotland" AND status = "five nations"
What venue has an against over 14, an opposing team of scotland, and a status of five nations?
CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
SELECT companion__in_order_from_star_ FROM table_name_58 WHERE semimajor_axis___au__ = "0.1886 +0.083 −0.0104"
What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 −0.0104?
CREATE TABLE table_name_58 (companion__in_order_from_star_ VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = "august 7" AND main_contestant = "karanvir bohra"
Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra?
CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR)
SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all"
Who used the Honda Engine for all the races?
CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR)
SELECT tournament FROM table_name_23 WHERE outcome = "winner" AND surface = "clay" AND score = "6–4, 6–1"
Which Tournament has an Outcome of winner, and a Surface of clay, and a Score of 6–4, 6–1?
CREATE TABLE table_name_23 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT AVG(lane) FROM table_name_8 WHERE nationality = "united states" AND rank = 3
for the rank of 3 for the united states, what is the average lane?
CREATE TABLE table_name_8 (lane INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT licensed_location FROM table_name_44 WHERE frequency__khz_ > 1370
What is the location with a frequency (kHz) greater than 1370?
CREATE TABLE table_name_44 (licensed_location VARCHAR, frequency__khz_ INTEGER)
SELECT finalist FROM table_name_30 WHERE year = 2008
What is Finalist, when Year is "2008"?
CREATE TABLE table_name_30 (finalist VARCHAR, year VARCHAR)
SELECT weight_division FROM table_name_55 WHERE method = "tko (strikes)"
What was the weight division for the fight that ended in a TKO (strikes)?
CREATE TABLE table_name_55 (weight_division VARCHAR, method VARCHAR)
SELECT stage FROM table_name_57 WHERE points_classification = "francesco moser" AND general_classification = "bernard hinault"
Which stage had a Points Classification of Francesco Moser and a general classification of Bernard Hinault?
CREATE TABLE table_name_57 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707
What is the earliest game that had 42,707 attending?
CREATE TABLE table_name_94 (game INTEGER, attendance VARCHAR)
SELECT tournament FROM table_name_64 WHERE week = "november 23"
What is Tournament, when Week is November 23?
CREATE TABLE table_name_64 (tournament VARCHAR, week VARCHAR)
SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16
What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)
SELECT date FROM table_name_21 WHERE label = "chrysalis records"
On what date is the Chrysalis Records label.?
CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR)
SELECT MIN(game) FROM table_name_33 WHERE date = "20 july 2008"
What is the lowest game number on 20 July 2008?
CREATE TABLE table_name_33 (game INTEGER, date VARCHAR)
SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%"
For the group with 1.92% population in 1981, what was their percentage of the population in 1971?
CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
SELECT versus FROM table_name_37 WHERE player = "ko otieno" AND venue = "bloemfontein"
What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR)
SELECT SUM(total) FROM table_name_38 WHERE nation = "brazil (bra)" AND bronze > 2
What is the total when the nation is brazil (bra) and bronze is more than 2?
CREATE TABLE table_name_38 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT player FROM table_21721351_18 WHERE college_junior_club_team = "Deerfield Academy (Massachusetts)"
Which player belongs to deerfield academy (Massachusetts) college/junior/club team?
CREATE TABLE table_21721351_18 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT COUNT(legs_lost) FROM table_name_1 WHERE high_checkout < 76 AND played < 3
What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played?
CREATE TABLE table_name_1 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR)
SELECT death FROM table_name_3 WHERE birth = "18 november 1630"
When did the person die who was born on 18 november 1630?
CREATE TABLE table_name_3 (death VARCHAR, birth VARCHAR)
SELECT MAX(points_for) FROM table_15607589_2 WHERE date = "October 11"
Name the number of points for october 11
CREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR)
SELECT MIN(rank) FROM table_name_65 WHERE lane = 1
What is the smallest rank with a Lane of 1?
CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR)
SELECT venue FROM table_name_32 WHERE date = "3,4,5,6,7 june 1993"
What was the venue for the matches played on the dates 3,4,5,6,7 June 1993?
CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_72 WHERE score = "1-4"
Where was the game played when the score was 1-4?
CREATE TABLE table_name_72 (venue VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_57 WHERE channel = "espn" AND date = "september 5, 2002"
Which attendance has a Channel of espn, and a Date of september 5, 2002?
CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR)
SELECT AVG(entre_ríos_municipality) FROM table_name_99 WHERE pojo_municipality < 9
What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities?
CREATE TABLE table_name_99 (entre_ríos_municipality INTEGER, pojo_municipality INTEGER)
SELECT wins FROM table_name_80 WHERE losses = 5
How many wins did they have when they had 5 losses?
CREATE TABLE table_name_80 (wins VARCHAR, losses VARCHAR)
SELECT source FROM table_name_37 WHERE desus = "7%"
What is the source for 7% DeSUS?
CREATE TABLE table_name_37 (source VARCHAR, desus VARCHAR)
SELECT date FROM table_name_15 WHERE away = "high park demons"
What date has high park demons as the away?
CREATE TABLE table_name_15 (date VARCHAR, away VARCHAR)
SELECT COUNT(march) FROM table_name_24 WHERE points = 85
How much March has Points of 85?
CREATE TABLE table_name_24 (march VARCHAR, points VARCHAR)
SELECT pos FROM table_name_66 WHERE year = 2006
What was the position in 2006?
CREATE TABLE table_name_66 (pos VARCHAR, year VARCHAR)
SELECT mac_os_x FROM table_name_66 WHERE amigaos = "partial"
Which Mac OS X has an AmigaOS of partial?
CREATE TABLE table_name_66 (mac_os_x VARCHAR, amigaos VARCHAR)
SELECT bronze FROM table_name_9 WHERE nation = "netherlands"
How many bronzes did netherlands win?
CREATE TABLE table_name_9 (bronze VARCHAR, nation VARCHAR)
SELECT COUNT(total_freshwater_withdrawal__km_3__yr_) FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "428(62%)"
How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?
CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE settlement = "Karlovčić"
How many times is the settlement karlovčić?
CREATE TABLE table_2562572_52 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
SELECT MAX(founded) FROM table_16078390_2 WHERE team_nickname = "Raiders"
What year was the team named the Raiders established?
CREATE TABLE table_16078390_2 (founded INTEGER, team_nickname VARCHAR)
SELECT score FROM table_name_90 WHERE competition = "2012 africa cup of nations"
What was the score of the game played in the 2012 Africa Cup of Nations?
CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR)
SELECT decay FROM table_2150068_1 WHERE mass_kg_ = "180"
What was the decay for the sattelite that was 180 kg?
CREATE TABLE table_2150068_1 (decay VARCHAR, mass_kg_ VARCHAR)
SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth"
What province was New Plymouth formed from?
CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR)
SELECT outcome FROM table_name_24 WHERE year > 1882 AND opponent_in_the_final = "william renshaw"
what is the outcome when the opponent in the final is william renshaw after year 1882?
CREATE TABLE table_name_24 (outcome VARCHAR, year VARCHAR, opponent_in_the_final VARCHAR)
SELECT best FROM table_name_12 WHERE name = "rodolfo lavín"
Name the the Best of rodolfo lavín
CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR)
SELECT COUNT(to_par) FROM table_name_65 WHERE year_s__won = "2003" AND total > 145
What is the To par for the player that won in 2003, with a total larger than 145?
CREATE TABLE table_name_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR)
SELECT conserved_in_mus_musculus FROM table_26708105_2 WHERE sequence = "aAGTAct"
What is the conserved in mus musculus listing for sequence aagtact?
CREATE TABLE table_26708105_2 (conserved_in_mus_musculus VARCHAR, sequence VARCHAR)
SELECT name FROM table_name_68 WHERE spike = 342
Who has exactly 342 spikes?
CREATE TABLE table_name_68 (name VARCHAR, spike VARCHAR)
SELECT COUNT(laps) FROM table_name_25 WHERE grid = 24
how many laps were there when the grid was 24?
CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)
SELECT home FROM table_name_90 WHERE score = "5 – 6"
Which home team has a score of 5 – 6?
CREATE TABLE table_name_90 (home VARCHAR, score VARCHAR)
SELECT production_code FROM table_26561508_1 WHERE patient_portrayer = "Kathy Lamkin"
What is the production code for the episode where the patient portrayer is Kathy Lamkin?
CREATE TABLE table_26561508_1 (production_code VARCHAR, patient_portrayer VARCHAR)
SELECT name FROM table_name_35 WHERE gender = "coed" AND decile > 5 AND roll = 131
Which name has a Gender of coed, and a Decile larger than 5, and a Roll of 131?
CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR)
SELECT song FROM table_name_19 WHERE artist = "mor ve ötesi"
What Song is by the Artist 'mor ve ötesi'?
CREATE TABLE table_name_19 (song VARCHAR, artist VARCHAR)
SELECT MIN(hits) FROM table_name_28 WHERE year < 1920 AND player = "ed delahanty"
Name the least hits for year less than 1920 and player of ed delahanty
CREATE TABLE table_name_28 (hits INTEGER, year VARCHAR, player VARCHAR)
SELECT record FROM table_name_4 WHERE date = "may 6"
What is the record of the game on May 6?
CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)
SELECT team FROM table_name_12 WHERE rank > 2 AND points > 259
What is Team, when Rank is greater than 2, and when Points are greater than 259?
CREATE TABLE table_name_12 (team VARCHAR, rank VARCHAR, points VARCHAR)
SELECT date FROM table_name_34 WHERE home_team = "richmond"
What date did the home team Richmond play?
CREATE TABLE table_name_34 (date VARCHAR, home_team VARCHAR)
SELECT COUNT(*) FROM players
Find the total number of players.
CREATE TABLE players (Id VARCHAR)
SELECT road_team FROM table_name_61 WHERE home_team = "rochester" AND game = "game 2"
Which Road Team has a Home Team of rochester, and a Game of game 2?
CREATE TABLE table_name_61 (road_team VARCHAR, home_team VARCHAR, game VARCHAR)
SELECT MAX(extra_points) FROM table_14342210_12
What was the most extra points?
CREATE TABLE table_14342210_12 (extra_points INTEGER)
SELECT MIN(interview) FROM table_name_66 WHERE country = "missouri" AND swimsuit > 9.433
What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433?
CREATE TABLE table_name_66 (interview INTEGER, country VARCHAR, swimsuit VARCHAR)
SELECT other_abbreviation FROM table_287159_1 WHERE brightest_star = "β Trianguli"
What is the other abbreviation of the constellation that has β trianguli as its brightest star?
CREATE TABLE table_287159_1 (other_abbreviation VARCHAR, brightest_star VARCHAR)
SELECT segment_a FROM table_name_76 WHERE segment_d = "manual motorcycle transmissions"
What segment A is associated with a Segment D of manual motorcycle transmissions?
CREATE TABLE table_name_76 (segment_a VARCHAR, segment_d VARCHAR)
SELECT home_team AS score FROM table_16388478_2 WHERE ground = "York Park"
What were the home team scores at york park?
CREATE TABLE table_16388478_2 (home_team VARCHAR, ground VARCHAR)
SELECT artist FROM table_21378339_5 WHERE televotes = 1595
Name the artist for 1595 televotes
CREATE TABLE table_21378339_5 (artist VARCHAR, televotes VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE isbn = "isbn 4-06-182042-7"
What Year has an ISBN OF ISBN 4-06-182042-7?
CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR)
SELECT high_assists FROM table_27700375_6 WHERE location_attendance = "Quicken Loans Arena 20,562"
If the location attendance was Quicken Loans Arena 20,562, who had the High Assists?
CREATE TABLE table_27700375_6 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT championship FROM table_name_91 WHERE score = "2–6, 4–6, 4–6"
Which Championship has a Score of 2–6, 4–6, 4–6?
CREATE TABLE table_name_91 (championship VARCHAR, score VARCHAR)
SELECT tournament_venue__city_ FROM table_28365816_2 WHERE regular_season_winner = "Yale"
When Yale is listed as the regular season winner, what tournament venue is given?
CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
SELECT MIN(area__km_2__) FROM table_name_22 WHERE name = "dupuy"
What is Dupuy lowest area in km2?
CREATE TABLE table_name_22 (area__km_2__ INTEGER, name VARCHAR)
SELECT SUM(pick) FROM table_name_30 WHERE player = "john jones"
What was John Jones's pick#?
CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR)
SELECT numeric_decline_from_peak_population FROM table_name_99 WHERE percent_decline_from_peak_population = "-16.76%"
what is the numeric decline from peak population when the perfect decline from peak population is -16.76%
CREATE TABLE table_name_99 (numeric_decline_from_peak_population VARCHAR, percent_decline_from_peak_population VARCHAR)
SELECT report FROM table_name_72 WHERE date = "9 march"
Which Report is Dated 9 March?
CREATE TABLE table_name_72 (report VARCHAR, date VARCHAR)
SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC LIMIT 1
What is the most common hometown of gymnasts?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
SELECT nationality FROM table_name_66 WHERE overall = 74
Name the nationality of the player with an overall of 74
CREATE TABLE table_name_66 (nationality VARCHAR, overall VARCHAR)
SELECT MIN(water__sqmi_) FROM table_name_47 WHERE county = "dickey" AND longitude < -98.444062
What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062?
CREATE TABLE table_name_47 (water__sqmi_ INTEGER, county VARCHAR, longitude VARCHAR)
SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 16
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?
CREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)
SELECT opponent FROM table_name_2 WHERE game < 28 AND december = 1
Who was the opponent on December 1, before Game 28?
CREATE TABLE table_name_2 (opponent VARCHAR, game VARCHAR, december VARCHAR)
SELECT score FROM table_name_59 WHERE game > 26 AND opponent = "montreal canadiens"
What was the score of the game against montreal canadiens after game 26?
CREATE TABLE table_name_59 (score VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT COUNT(location) FROM table_21330550_2 WHERE big_ten_team = "#12 Michigan State"
How many locations have #12 Michigan State as the big ten team?
CREATE TABLE table_21330550_2 (location VARCHAR, big_ten_team VARCHAR)
SELECT 2009 FROM table_name_86 WHERE tournament = "french open"
What is the value in 2009 at the French Open?
CREATE TABLE table_name_86 (tournament VARCHAR)
SELECT score FROM table_name_74 WHERE home_team = "lincoln city"
What was the score of the game when the home team was Lincoln City?
CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR)