question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the place of the Pinyin transcription Xi Wangri?
CREATE TABLE table_1805919_1 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
SELECT MAX(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "Xi Wangri"
What date did Ted Horn win Lakewood Race 2?
CREATE TABLE table_name_46 (date VARCHAR, winner VARCHAR, race_name VARCHAR)
SELECT date FROM table_name_46 WHERE winner = "ted horn" AND race_name = "lakewood race 2"
When osku palermaa is on the europe team how many match numbers are there?
CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR)
SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa"
Show the customer ids and firstname without a credit card.
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, card_type_code VARCHAR)
SELECT customer_id, customer_first_name FROM Customers EXCEPT SELECT T1.customer_id, T2.customer_first_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE card_type_code = "Credit"
What was the size of the crowd when Essendon was the away team?
CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_40 WHERE away_team = "essendon"
What Gender has the area of swannanoa?
CREATE TABLE table_name_53 (gender VARCHAR, area VARCHAR)
SELECT gender FROM table_name_53 WHERE area = "swannanoa"
What was the team with a ratt of 57?
CREATE TABLE table_name_18 (team VARCHAR, ratt VARCHAR)
SELECT team FROM table_name_18 WHERE ratt = "57"
What is the lowest Score when the Country is canada?
CREATE TABLE table_name_77 (score INTEGER, country VARCHAR)
SELECT MIN(score) FROM table_name_77 WHERE country = "canada"
Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?
CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)
SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrated"
How many games were played?
CREATE TABLE table_14911550_5 (played INTEGER)
SELECT MIN(played) FROM table_14911550_5
Which team started 2010?
CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR)
SELECT team_name FROM table_17289224_1 WHERE season = "2010"
What was the score when the home team had a crowd larger than 21,188?
CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188
Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?
CREATE TABLE table_name_16 (_2_ribbons VARCHAR, nation VARCHAR, place VARCHAR)
SELECT MAX(3 AS _balls), _2_ribbons FROM table_name_16 WHERE nation = "bulgaria" AND place > 1
What is the distance when brisbane is $4.80?
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
SELECT distance FROM table_2923917_4 WHERE brisbane = "$4.80"
For an IATA of MLE, what is the ICAO?
CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_21 WHERE iata = "mle"
when the writer is Brad Kern, how many u.s viewers (in millions) had the episode?
CREATE TABLE table_21313327_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_21313327_1 WHERE written_by = "Brad Kern"
Find the code of city where most of students are living in.
CREATE TABLE student (city_code VARCHAR)
SELECT city_code FROM student GROUP BY city_code ORDER BY COUNT(*) DESC LIMIT 1
What is the PBA team for roberto jabar who was picked before number 11?
CREATE TABLE table_name_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR)
SELECT pba_team FROM table_name_41 WHERE pick < 11 AND player = "roberto jabar"
What was the position in 1999?
CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR)
SELECT position FROM table_name_58 WHERE years = "1999"
Stations of 16 is assigned what length?
CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR)
SELECT length FROM table_name_89 WHERE stations = "16"
What date was the game with a score of w 116–93 (ot)?
CREATE TABLE table_27715173_6 (date VARCHAR, score VARCHAR)
SELECT date FROM table_27715173_6 WHERE score = "W 116–93 (OT)"
what was the appointment date for outgoing manager luis césar sampedro
CREATE TABLE table_27495117_3 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_27495117_3 WHERE outgoing_manager = "Luis César Sampedro"
When was the most recent year that kathy whitworth was the runner-up?
CREATE TABLE table_name_49 (year INTEGER, runner_s__up VARCHAR)
SELECT MAX(year) FROM table_name_49 WHERE runner_s__up = "kathy whitworth"
What is the highest rank for the team that raced a time of 6:50.40?
CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR)
SELECT MAX(rank) FROM table_name_10 WHERE time = "6:50.40"
What is the average Top-10, when Wins is less than 0?
CREATE TABLE table_name_37 (top_10 INTEGER, wins INTEGER)
SELECT AVG(top_10) FROM table_name_37 WHERE wins < 0
What is the institution with the nickname engineers?
CREATE TABLE table_261927_1 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_261927_1 WHERE nickname = "Engineers"
What is the Score of the Pittsburgh Home game on March 3 with 61 Points?
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, points VARCHAR)
SELECT score FROM table_name_18 WHERE home = "pittsburgh" AND points = 61 AND date = "march 3"
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74
Name the date with chicago visiting
CREATE TABLE table_name_64 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_64 WHERE visitor = "chicago"
What is the European competition when the tier is more than 2?
CREATE TABLE table_name_33 (european_competitions VARCHAR, tier INTEGER)
SELECT european_competitions FROM table_name_33 WHERE tier > 2
Record of 9–1 had what game site?
CREATE TABLE table_name_70 (game_site VARCHAR, record VARCHAR)
SELECT game_site FROM table_name_70 WHERE record = "9–1"
What percentage of Slovenes lived in the village of Roach in 1951?
CREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = "roach"
I want the attendance for week larger than 10 and result of l 22-21
CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_60 WHERE week > 10 AND result = "l 22-21"
What is the number of lost games when 2 were drawn, and there were 6 bonus points?
CREATE TABLE table_name_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR)
SELECT lost FROM table_name_55 WHERE drawn = "2" AND bonus_points = "6"
What position does the draft pick from Finland play?
CREATE TABLE table_name_72 (position VARCHAR, nationality VARCHAR)
SELECT position FROM table_name_72 WHERE nationality = "finland"
How many times did district of Columbia receive a score for evening gown?
CREATE TABLE table_12094300_1 (evening_gown VARCHAR, state VARCHAR)
SELECT COUNT(evening_gown) FROM table_12094300_1 WHERE state = "District of Columbia"
What is the 2004 when 2013 is 3rd?
CREATE TABLE table_name_17 (Id VARCHAR)
SELECT 2004 FROM table_name_17 WHERE 2013 = "3rd"
What's the Bronze cumulative number for less than 0 gold?
CREATE TABLE table_name_27 (bronze INTEGER, gold INTEGER)
SELECT SUM(bronze) FROM table_name_27 WHERE gold < 0
What year did Naushad Direct the Music?
CREATE TABLE table_2528382_5 (year INTEGER, music_director VARCHAR)
SELECT MAX(year) FROM table_2528382_5 WHERE music_director = "Naushad"
Which date was game 35 on?
CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_2 WHERE game = 35
how many series had 6.55 u.s. viewers (million) and were directed by pete michels
CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete Michels"
how many first elected with district being north carolina 2
CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = "North Carolina 2"
What was the record when the team played Boston?
CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17325580_10 WHERE team = "Boston"
When was chuck morris, back, drafted?
CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, player VARCHAR)
SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "chuck morris"
Who was the vacator when the date successor seated was august 21, 1973?
CREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)
SELECT vacator FROM table_1134091_4 WHERE date_successor_seated = "August 21, 1973"
What is the original air date for the production code of 1.12?
CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_2226817_2 WHERE production_code = "1.12"
What is the highest Week when the opponent was the los angeles rams, with more than 37,382 in Attendance?
CREATE TABLE table_name_93 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_93 WHERE opponent = "los angeles rams" AND attendance > 37 OFFSET 382
What test had 49,608 students?
CREATE TABLE table_name_86 (test VARCHAR, number_of_students VARCHAR)
SELECT test FROM table_name_86 WHERE number_of_students = "49,608"
Which territory has a channel of 144 and a broadcaster of Astro?
CREATE TABLE table_name_23 (territory VARCHAR, channel VARCHAR, broadcaster VARCHAR)
SELECT territory FROM table_name_23 WHERE channel = 144 AND broadcaster = "astro"
Name the games for rubén limardo
CREATE TABLE table_name_66 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_66 WHERE name = "rubén limardo"
What team is after 1998 with a start of dnq?
CREATE TABLE table_name_87 (team VARCHAR, year VARCHAR, start VARCHAR)
SELECT team FROM table_name_87 WHERE year > 1998 AND start = "dnq"
What season did the player who came from Cebu play in?
CREATE TABLE table_name_64 (season VARCHAR, school_club_team VARCHAR)
SELECT season FROM table_name_64 WHERE school_club_team = "cebu"
What is the release date of the CD by EG Records in the UK?
CREATE TABLE table_name_32 (release_date INTEGER, music_label VARCHAR, media VARCHAR, country VARCHAR)
SELECT SUM(release_date) FROM table_name_32 WHERE media = "cd" AND country = "uk" AND music_label = "eg records"
Which engine finished 7th with the reynard 95i chassis?
CREATE TABLE table_name_51 (engine VARCHAR, rank VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_51 WHERE rank = "7th" AND chassis = "reynard 95i"
Find the number of students that have at least one grade "B".
CREATE TABLE ENROLLED_IN (StuID VARCHAR, Grade VARCHAR)
SELECT COUNT(DISTINCT StuID) FROM ENROLLED_IN WHERE Grade = "B"
Show the county name and population of all counties.
CREATE TABLE county (County_name VARCHAR, Population VARCHAR)
SELECT County_name, Population FROM county
Which name has a Lane smaller than 3, a Heat larger than 4, and a Time of 2:00.80?
CREATE TABLE table_name_12 (name VARCHAR, time VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT name FROM table_name_12 WHERE lane < 3 AND heat > 4 AND time = "2:00.80"
What Team had less than 1 point with a Zakspeed 871 chassis?
CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT team FROM table_name_44 WHERE points < 1 AND chassis = "zakspeed 871"
What is the away team score with geelong home team?
CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_68 WHERE home_team = "geelong"
What is the KINKA 1.3 when the developer is yes and the support version is support mo 230?
CREATE TABLE table_name_11 (kinka_13 VARCHAR, kinka_developer VARCHAR, version VARCHAR)
SELECT kinka_13 FROM table_name_11 WHERE kinka_developer = "yes" AND version = "support mo 230"
Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0?
CREATE TABLE table_name_85 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = "portugal" AND bronze > 0
What is the average speed for ships before 1974 with over 1.73 passengers?
CREATE TABLE table_name_31 (speed INTEGER, year VARCHAR, passengers VARCHAR)
SELECT AVG(speed) FROM table_name_31 WHERE year < 1974 AND passengers > 1.73
What 2011 has 12.7% as the 2010?
CREATE TABLE table_name_33 (Id VARCHAR)
SELECT 2011 FROM table_name_33 WHERE 2010 = "12.7%"
Which Location has a Record of 5–2–1?
CREATE TABLE table_name_31 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_31 WHERE record = "5–2–1"
Who was the incumbent when the candidate was william drayton (j)?
CREATE TABLE table_2668254_22 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_2668254_22 WHERE candidates = "William Drayton (J)"
What year has tries less than 24 and 0 points?
CREATE TABLE table_name_38 (year VARCHAR, tries VARCHAR, points VARCHAR)
SELECT year FROM table_name_38 WHERE tries < 24 AND points = 0
What time did the ferrari car that finished 62 laps have?
CREATE TABLE table_name_85 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)
SELECT time_retired FROM table_name_85 WHERE laps < 62 AND constructor = "ferrari"
What are asashio's years?
CREATE TABLE table_name_31 (years VARCHAR, name VARCHAR)
SELECT years FROM table_name_31 WHERE name = "asashio"
What is the score for the game that is less than 4 and a high points of williams (28)?
CREATE TABLE table_name_40 (score VARCHAR, game VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_40 WHERE game < 4 AND high_points = "williams (28)"
What island has a population over 76, a height over 210, and an area larger than 12068?
CREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR)
SELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068
Where did someone run a 61:32
CREATE TABLE table_name_61 (event_place VARCHAR, time VARCHAR)
SELECT event_place FROM table_name_61 WHERE time = "61:32"
What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)?
CREATE TABLE table_name_88 (l3_cache VARCHAR, sspec_number VARCHAR)
SELECT l3_cache FROM table_name_88 WHERE sspec_number = "sr0r2(l1)sr0t6(l1)"
What was the total when the set 3 score was 25–27?
CREATE TABLE table_name_12 (total VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_12 WHERE set_3 = "25–27"
What is the greatest capacity when the largest number in attendance is 6,192?
CREATE TABLE table_name_91 (capacity INTEGER, highest INTEGER)
SELECT MAX(capacity) FROM table_name_91 WHERE highest > 6 OFFSET 192
Which Overall has a Position of te, and a Round larger than 5?
CREATE TABLE table_name_82 (overall INTEGER, position VARCHAR, round VARCHAR)
SELECT AVG(overall) FROM table_name_82 WHERE position = "te" AND round > 5
Which horse was Horse 1 when rené guzmán raced with the mulchén association?
CREATE TABLE table_name_32 (horse_1 VARCHAR, rider_1 VARCHAR, association VARCHAR)
SELECT horse_1 FROM table_name_32 WHERE rider_1 = "rené guzmán" AND association = "mulchén"
WHAT SCORE WAS ON 1999-05-31?
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_52 WHERE date = "1999-05-31"
What T10 Place Player has a Score of 74-73-68=215?
CREATE TABLE table_name_96 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_96 WHERE place = "t10" AND score = 74 - 73 - 68 = 215
What is the French translation for the English word "orange"?
CREATE TABLE table_2077192_2 (french VARCHAR, english VARCHAR)
SELECT french FROM table_2077192_2 WHERE english = "orange"
Which team had more than 10 wins with a champion of Mat Mladin?
CREATE TABLE table_name_88 (team VARCHAR, wins VARCHAR, champion VARCHAR)
SELECT team FROM table_name_88 WHERE wins > 10 AND champion = "mat mladin"
What is Liscumb when Haydon is 1632?
CREATE TABLE table_11447995_2 (liscumb VARCHAR, haydon VARCHAR)
SELECT liscumb FROM table_11447995_2 WHERE haydon = "1632"
Which country has Spence in the name section?
CREATE TABLE table_name_6 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_6 WHERE name = "spence"
What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?
CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)
SELECT MAX(year) FROM table_name_93 WHERE winning_team = "europe" AND usa_captain = "kathy whitworth"
Which Points is the highest one that has a Game smaller than 43, and a January larger than 8?
CREATE TABLE table_name_64 (points INTEGER, game VARCHAR, january VARCHAR)
SELECT MAX(points) FROM table_name_64 WHERE game < 43 AND january > 8
Name the least amount of races for 2 poles
CREATE TABLE table_16908657_1 (races INTEGER, poles VARCHAR)
SELECT MIN(races) FROM table_16908657_1 WHERE poles = 2
How many series were directed by Rob Renzetti?
CREATE TABLE table_18734298_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_series) FROM table_18734298_1 WHERE directed_by = "Rob Renzetti"
what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa?
CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR)
SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa"
What 2nd Party has an Election of 1885?
CREATE TABLE table_name_53 (election VARCHAR)
SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885"
What is the area (square km) where the arrondissement is millau?
CREATE TABLE table_1175233_1 (area__square_km_ INTEGER, arrondissement VARCHAR)
SELECT MIN(area__square_km_) FROM table_1175233_1 WHERE arrondissement = "Millau"
What was the TO par for the player who scored 68-69=137?
CREATE TABLE table_name_82 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_82 WHERE score = 68 - 69 = 137
How many laps does driver dario franchitti have?
CREATE TABLE table_name_46 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_46 WHERE driver = "dario franchitti"
Who was the away team at Western Oval?
CREATE TABLE table_name_52 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_52 WHERE venue = "western oval"
Who was the opponent of the game at Homewood field?
CREATE TABLE table_name_86 (opponent VARCHAR, field VARCHAR)
SELECT opponent FROM table_name_86 WHERE field = "homewood field"
What is the name origin of Morrigan Linea?
CREATE TABLE table_16799784_9 (name VARCHAR)
SELECT name AS origin FROM table_16799784_9 WHERE name = "Morrigan Linea"
Which game was played on October 13?
CREATE TABLE table_27713030_3 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_27713030_3 WHERE date = "October 13"
What is Colorado College's lowest pick number?
CREATE TABLE table_name_9 (pick__number INTEGER, college VARCHAR)
SELECT MIN(pick__number) FROM table_name_9 WHERE college = "colorado"
Which Model has Comments of curved daggerboards. design: morelli und melvin?
CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)
SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin"
How many villages had 21.7% of slovenes in 1991?
CREATE TABLE table_10797463_1 (village__german_ VARCHAR, percent_of_slovenes_1991 VARCHAR)
SELECT COUNT(village__german_) FROM table_10797463_1 WHERE percent_of_slovenes_1991 = "21.7%"
Which team won against the New England Patriots 40-21?
CREATE TABLE table_name_14 (winner VARCHAR, loser VARCHAR, result VARCHAR)
SELECT winner FROM table_name_14 WHERE loser = "new england patriots" AND result = "40-21"
Which couple participated in the Contemporary style of dance?
CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR)
SELECT couple FROM table_name_27 WHERE style = "contemporary"