answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT overall_record FROM table_name_9 WHERE school = "indian river"
Name the overall record for indian river
CREATE TABLE table_name_9 (overall_record VARCHAR, school VARCHAR)
SELECT institution FROM table_name_82 WHERE year > 2010 AND name = "cheng herng yi"
What institution won in 2010 with student Cheng Herng Yi?
CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR)
SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2
Which country had notes of sa/b and a rank of 2?
CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT away_team AS score FROM table_name_42 WHERE venue = "kardinia park"
Which Away team score has a Venue of kardinia park?
CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)
SELECT bocas_is FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis"
Name the bocas for chironius multiventris septentrionalis
CREATE TABLE table_1850282_7 (bocas_is VARCHAR, species VARCHAR)
SELECT district FROM table_name_3 WHERE weblink = "http://www.annauniv.edu" AND college_or_campus_name = "anna university - tiruchirappalli campus"
In which district is anna university - tiruchirappalli campus, whose website is http://www.annauniv.edu, located?
CREATE TABLE table_name_3 (district VARCHAR, weblink VARCHAR, college_or_campus_name VARCHAR)
SELECT venue FROM table_name_43 WHERE date = "2004-06-23"
Where was the game played on 2004-06-23?
CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR)
SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14
When 14 is the match number how many usa teams are there?
CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR)
SELECT district FROM table_name_82 WHERE party = "republican" AND result = "lost re-election democratic gain"
Which District has a Party of republican and a Result of lost re-election democratic gain?
CREATE TABLE table_name_82 (district VARCHAR, party VARCHAR, result VARCHAR)
SELECT lead FROM table_name_98 WHERE third = "david nedohin"
What lead has the third David Nedohin?
CREATE TABLE table_name_98 (lead VARCHAR, third VARCHAR)
SELECT label FROM table_name_4 WHERE catalog = "887 448-2"
What label has 887 448-2 as the catalog?
CREATE TABLE table_name_4 (label VARCHAR, catalog VARCHAR)
SELECT MIN(rank) FROM table_name_76 WHERE name = "noriko inada"
What's the smallest rank of noriko inada?
CREATE TABLE table_name_76 (rank INTEGER, name VARCHAR)
SELECT score FROM table_name_14 WHERE record = "52–103"
What was the score of the game that had a record of 52–103?
CREATE TABLE table_name_14 (score VARCHAR, record VARCHAR)
SELECT title FROM table_name_33 WHERE role = "richard kolner"
Which title did richard kolner play?
CREATE TABLE table_name_33 (title VARCHAR, role VARCHAR)
SELECT manufacturer FROM table_29778616_1 WHERE intro_date = "2006" AND throughput = "4 Mbit/s"
Who is the manufacturer whose intro date is 2006 and their throughput is 4 mbit/s?
CREATE TABLE table_29778616_1 (manufacturer VARCHAR, intro_date VARCHAR, throughput VARCHAR)
SELECT MIN(total) FROM table_name_13 WHERE floor_exercise < 36.724 AND rank < 8
What's the lowest total when the floor exercise is less than 36.724 and the rank is lower than 8?
CREATE TABLE table_name_13 (total INTEGER, floor_exercise VARCHAR, rank VARCHAR)
SELECT station FROM table_3005450_1 WHERE metlink_code = "MATA"
what is the name of the station where the metlink code is mata?
CREATE TABLE table_3005450_1 (station VARCHAR, metlink_code VARCHAR)
SELECT athlete FROM table_name_13 WHERE country = "greece"
Who is the athlete from greece?
CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR)
SELECT away FROM table_name_42 WHERE home = "victoria"
What is the away team whose home is Victoria?
CREATE TABLE table_name_42 (away VARCHAR, home VARCHAR)
SELECT location FROM table_16527640_2 WHERE player = "Sid O'Neill"
What locations did sid o'neill play football?
CREATE TABLE table_16527640_2 (location VARCHAR, player VARCHAR)
SELECT device FROM table_name_18 WHERE carrier = "mts mobility"
WHAT IS THE DEVICE WITH MTS MOBILITY?
CREATE TABLE table_name_18 (device VARCHAR, carrier VARCHAR)
SELECT tournament FROM table_name_38 WHERE date = "9 august 1993"
What is Tournament, when Date is "9 August 1993"?
CREATE TABLE table_name_38 (tournament VARCHAR, date VARCHAR)
SELECT tries_against FROM table_name_35 WHERE club = "llanishen rfc"
What was the tries again llanishen rfc?
CREATE TABLE table_name_35 (tries_against VARCHAR, club VARCHAR)
SELECT type FROM table_1973842_1 WHERE location = "Macon, Georgia"
What type is the school located in Macon, Georgia?
CREATE TABLE table_1973842_1 (type VARCHAR, location VARCHAR)
SELECT home FROM table_name_96 WHERE date = "march 13"
On the Date of March 13, who was the Home team?
CREATE TABLE table_name_96 (home VARCHAR, date VARCHAR)
SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0"
When has Result of 2–0, and a Score of 2 – 0?
CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT AVG(total) FROM table_name_12 WHERE gold < 0
What is the average Total, when Gold is less than 0?
CREATE TABLE table_name_12 (total INTEGER, gold INTEGER)
SELECT MAX(attendance) FROM table_name_69 WHERE date = "16 august 2008" AND home = "deportes savio"
What is the maximum number of people in attendance on 16 August 2008 when the home team was Deportes Savio?
CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, home VARCHAR)
SELECT SUM(pick) FROM table_name_29 WHERE round < 11 AND player = "charley casey"
How many picks had less than 11 rounds and a player of Charley Casey?
CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, player VARCHAR)
SELECT group_11 FROM table_19523142_5 WHERE group_12 = "Persipal Palu"
Who played in group 11 when Persipal Palu played in group 12?
CREATE TABLE table_19523142_5 (group_11 VARCHAR, group_12 VARCHAR)
SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed"
who is the the incumbent with candidates being percy e. quin (d) unopposed
CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)
SELECT round FROM table_name_30 WHERE position = "according to official website"
Which round's position is according to official website?
CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR)
SELECT result FROM table_name_52 WHERE date = "28 february 2001"
What was the end result for 28 February 2001?
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT f_id FROM files WHERE formats = "mp3"
What are the id of songs whose format is mp3.
CREATE TABLE files (f_id VARCHAR, formats VARCHAR)
SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov"
which Score has a Partnering of dmitry tursunov?
CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR)
SELECT tns_sofres_6_2_09 FROM table_name_51 WHERE ipsos_6_3_09 = "27%"
What's the TNS-Sofres when Ipsos was 27%?
CREATE TABLE table_name_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR)
SELECT label FROM table_name_26 WHERE album = "cover version vi"
What is the Label when the album shows cover version vi?
CREATE TABLE table_name_26 (label VARCHAR, album VARCHAR)
SELECT grade FROM table_name_78 WHERE jockey = "robby albarado" AND runner_up_winner = "ravens pass"
What grade did jockey Robby Albarado get when racing with Ravens Pass?
CREATE TABLE table_name_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)
SELECT population__2010_ FROM table_name_63 WHERE province = "north jeolla"
What was the population in North Jeolla?
CREATE TABLE table_name_63 (population__2010_ VARCHAR, province VARCHAR)
SELECT COUNT(wins) FROM table_1929755_1 WHERE winnings = "$2,089,556"
How many teams won $2,089,556?
CREATE TABLE table_1929755_1 (wins VARCHAR, winnings VARCHAR)
SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–16"
what's the byu-uu score with uu-usu score being 44–16
CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR)
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
Find the states where have some college students in tryout and their decisions are yes.
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
SELECT score FROM table_name_80 WHERE winner = "johnny miller (7)"
What was the score of Johnny Miller (7)?
CREATE TABLE table_name_80 (score VARCHAR, winner VARCHAR)
SELECT to_par FROM table_name_77 WHERE place = "t6" AND score = 68 - 69 - 70 = 207
What is the To par of the T6 Place Player with a Score of 68-69-70=207?
CREATE TABLE table_name_77 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT city FROM table_name_42 WHERE venue = "arco arena"
Which city has a venue of the Arco Arena?
CREATE TABLE table_name_42 (city VARCHAR, venue VARCHAR)
SELECT date_of_entry FROM table_1160304_2 WHERE chart = "UK Albums Top 75"
What is the date of entry for the UK Albums Top 75 chart?
CREATE TABLE table_1160304_2 (date_of_entry VARCHAR, chart VARCHAR)
SELECT launch_date__ddmmyyyy_ FROM table_19246_2 WHERE _up_ = "5.76 Mbit/s" AND carrier = "Orange"
whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s
CREATE TABLE table_19246_2 (launch_date__ddmmyyyy_ VARCHAR, _up_ VARCHAR, carrier VARCHAR)
SELECT award FROM table_name_97 WHERE motion_picture = "what's love got to do with it"
What Award was received bby the Motion Picture What's Love Got To Do With It?
CREATE TABLE table_name_97 (award VARCHAR, motion_picture VARCHAR)
SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Kilgilky North"
how many areas have townland as kilgilky north?
CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR)
SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND pick__number > 223
What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger than 223?
CREATE TABLE table_name_44 (reg_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT rim_diameter FROM table_name_27 WHERE neck_diameter = "11.84 (.466)"
Which Rim diameter has a Neck diameter of 11.84 (.466)?
CREATE TABLE table_name_27 (rim_diameter VARCHAR, neck_diameter VARCHAR)
SELECT high_points FROM table_27712451_6 WHERE date = "December 10"
What are December 10's high points?
CREATE TABLE table_27712451_6 (high_points VARCHAR, date VARCHAR)
SELECT MAX(game) FROM table_name_44 WHERE attendance > 65 OFFSET 042
Which is the most recent game with an attendance larger than 65,042?
CREATE TABLE table_name_44 (game INTEGER, attendance INTEGER)
SELECT weight_lbs_ FROM table_1198175_1 WHERE born = "April 6, 1954 Detroit, MI"
What is the weight(lbs) when born is april 6, 1954 detroit, mi?
CREATE TABLE table_1198175_1 (weight_lbs_ VARCHAR, born VARCHAR)
SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"
Who was the leading scorer of the game that had a score of 107–97?
CREATE TABLE table_name_26 (leading_scorer VARCHAR, score VARCHAR)
SELECT kinka_developer FROM table_name_70 WHERE kinka_pre_release = "no*"
Who is the developer when the pre-release is no*?
CREATE TABLE table_name_70 (kinka_developer VARCHAR, kinka_pre_release VARCHAR)
SELECT completed FROM table_name_64 WHERE rank = "9"
When did the rank 9 building got completed?
CREATE TABLE table_name_64 (completed VARCHAR, rank VARCHAR)
SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%"
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?
CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR)
SELECT MAX(attendance) FROM table_name_51 WHERE game_site = "memorial stadium" AND date = "december 12, 1965"
What is the largest attendance at Memorial Stadium on December 12, 1965?
CREATE TABLE table_name_51 (attendance INTEGER, game_site VARCHAR, date VARCHAR)
SELECT us_exclusive FROM table_24600706_1 WHERE artist_band = "Miley Cyrus"
Name the us exclusive for miley cyrus
CREATE TABLE table_24600706_1 (us_exclusive VARCHAR, artist_band VARCHAR)
SELECT COUNT(drawn) FROM table_name_81 WHERE team = "corinthians" AND lost > 5
How many draws took place for team Corinthians with more than 5 losses?
CREATE TABLE table_name_81 (drawn VARCHAR, team VARCHAR, lost VARCHAR)
SELECT to_par FROM table_name_58 WHERE place = "t1" AND score = 70 - 72 - 73 - 72 = 287
What's the to par for the t1 place with a score of 70-72-73-72=287?
CREATE TABLE table_name_58 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT MAX(week) FROM table_name_53 WHERE opponent = "san diego chargers" AND attendance < 53 OFFSET 455
What is the highest week for the San Diego Chargers with an attendance that is less than 53,455?
CREATE TABLE table_name_53 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup"
Which city of license has an independent network affiliation, a variety format and is station KKUP?
CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR)
SELECT minister FROM party WHERE took_office > 1961 OR took_office < 1959
Show the minister who took office after 1961 or before 1959.
CREATE TABLE party (minister VARCHAR, took_office VARCHAR)
SELECT MIN(gold) FROM table_name_88 WHERE total < 8 AND bronze < 1 AND silver < 1
How many Gold medals did the Nation with less than 8 Total medals including 1 Bronze and 0 Silver receive?
CREATE TABLE table_name_88 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT position FROM table_name_96 WHERE pick = 113
What position does pick 113 play?
CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR)
SELECT date FROM table_name_77 WHERE loser = "new york giants" AND result = "23-17"
Which date had a loser of New York Giants and a result of 23-17?
CREATE TABLE table_name_77 (date VARCHAR, loser VARCHAR, result VARCHAR)
SELECT high_points FROM table_name_53 WHERE date = "june 16"
who has the high points on june 16?
CREATE TABLE table_name_53 (high_points VARCHAR, date VARCHAR)
SELECT try_bonus FROM table_name_12 WHERE club = "ynysybwl rfc"
What is the try bonus for ynysybwl rfc?
CREATE TABLE table_name_12 (try_bonus VARCHAR, club VARCHAR)
SELECT COUNT(clubs_remaining) FROM table_1281200_1 WHERE new_entries_this_round = "8"
When looking at new entries this round and seeing 8; what number in total is there for clubs remaining?
CREATE TABLE table_1281200_1 (clubs_remaining VARCHAR, new_entries_this_round VARCHAR)
SELECT MAX(attendance) FROM table_name_82 WHERE week = 6
what is the highest attendance for week 6?
CREATE TABLE table_name_82 (attendance INTEGER, week VARCHAR)
SELECT home_team FROM table_name_39 WHERE venue = "windy hill"
What is the home team at windy hill?
CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR)
SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams"
What is highest place reached by artist Ray Adams?
CREATE TABLE table_13805773_2 (position INTEGER, artist VARCHAR)
SELECT time FROM table_name_52 WHERE laps = 14
What is the total time that it took for the driver to finish 14 laps?
CREATE TABLE table_name_52 (time VARCHAR, laps VARCHAR)
SELECT yo FROM table_1977630_2 WHERE vosotros___vosotras = "moláis"
What are all the conjugated forms of the verb moler where the vosotros / vosotras is moláis for the yo tense?
CREATE TABLE table_1977630_2 (yo VARCHAR, vosotros___vosotras VARCHAR)
SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008"
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?
CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)
SELECT home_team FROM table_name_44 WHERE venue = "kardinia park"
Who was the home team at the game played at Kardinia Park?
CREATE TABLE table_name_44 (home_team VARCHAR, venue VARCHAR)
SELECT AVG(byes) FROM table_name_50 WHERE wins > 16
How many byes when there are more than 16 wins?
CREATE TABLE table_name_50 (byes INTEGER, wins INTEGER)
SELECT SUM(silver) FROM table_name_76 WHERE total > 2 AND bronze > 2
What is the total sum of silver metals for all countries with more than 2 Bronze medals?
CREATE TABLE table_name_76 (silver INTEGER, total VARCHAR, bronze VARCHAR)
SELECT show FROM table_169766_13 WHERE new_returning_same_network = "Syndication"
Which show was sent to syndication for its new/returning/same network.
CREATE TABLE table_169766_13 (show VARCHAR, new_returning_same_network VARCHAR)
SELECT score FROM table_name_22 WHERE date = "april 8"
Can you tell me the Score that has the Date of april 8?
CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)
SELECT discipline FROM table_name_17 WHERE championship = "international championship for makes"
What was the discipline for the Championship of international championship for makes?
CREATE TABLE table_name_17 (discipline VARCHAR, championship VARCHAR)
SELECT COUNT(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france'
How many car makers are there in france?
CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
SELECT english_title FROM table_name_95 WHERE original_title = "the crying game"
What's the English title listed that has an Original title of The Crying Game?
CREATE TABLE table_name_95 (english_title VARCHAR, original_title VARCHAR)
SELECT location FROM table_15851155_1 WHERE control = "Private" AND founded = 1870
Name the location when control is private and founded is 1870
CREATE TABLE table_15851155_1 (location VARCHAR, control VARCHAR, founded VARCHAR)
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04"
What's the series number of the episode seen by 17.04 million people in the US?
CREATE TABLE table_22078972_2 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
SELECT MIN(points) FROM table_name_1 WHERE tries = 39 AND goals > 0
I want the lowest points for tries of 39 and goals more than 0
CREATE TABLE table_name_1 (points INTEGER, tries VARCHAR, goals VARCHAR)
SELECT MAX(season) FROM table_13665809_2 WHERE byu_uu_score = "20–17 BYU #19"
what is the maximum season with byu-uu score being 20–17 byu #19
CREATE TABLE table_13665809_2 (season INTEGER, byu_uu_score VARCHAR)
SELECT literature FROM table_name_72 WHERE performing_arts = "pradit prasarttong"
Name the literature for pradit prasarttong
CREATE TABLE table_name_72 (literature VARCHAR, performing_arts VARCHAR)
SELECT winner FROM table_name_1 WHERE runner_up = "alberto mancini"
Who was the winner in the event with a runner-up of Alberto Mancini?
CREATE TABLE table_name_1 (winner VARCHAR, runner_up VARCHAR)
SELECT COUNT(qualifying) FROM table_15530244_5 WHERE race_3 = "3"
Name the total number of qualifiying for race 3 being 3
CREATE TABLE table_15530244_5 (qualifying VARCHAR, race_3 VARCHAR)
SELECT MIN(first_elected) FROM table_1341453_44 WHERE incumbent = "Bob Clement"
What year was Bob Clement first elected?
CREATE TABLE table_1341453_44 (first_elected INTEGER, incumbent VARCHAR)
SELECT mother FROM table_name_90 WHERE number = 12
Who was number 12's mother?
CREATE TABLE table_name_90 (mother VARCHAR, number 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 award FROM table_name_16 WHERE year = "2012"
Which award was given in 2012?
CREATE TABLE table_name_16 (award VARCHAR, year VARCHAR)
SELECT builder FROM table_name_6 WHERE locomotive = "2"
What is the Builder of Locomotive 2?
CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR)
SELECT lomavren FROM table_name_97 WHERE hindi = "do"
What Lomavren word has the same meaning as the Hindi word do?
CREATE TABLE table_name_97 (lomavren VARCHAR, hindi VARCHAR)
SELECT MIN(win__number) FROM table_name_27 WHERE year = "2011-12" AND points < 97
What is the lowest Win #, when Year is "2011-12", and when Points is less than 97?
CREATE TABLE table_name_27 (win__number INTEGER, year VARCHAR, points VARCHAR)
SELECT mark FROM table_name_84 WHERE athlete = "tatyana lebedeva"
Which Mark has an Athlete of tatyana lebedeva?
CREATE TABLE table_name_84 (mark VARCHAR, athlete VARCHAR)