question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the final score for the date of December 30?
CREATE TABLE table_name_99 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_99 WHERE date = "december 30"
At what venue did Alex Mettam/Mark Williams be named Man of the Match?
CREATE TABLE table_17120964_6 (venue VARCHAR, man_of_the_match VARCHAR)
SELECT venue FROM table_17120964_6 WHERE man_of_the_match = "Alex Mettam/Mark Williams"
how many viewers (m) with overall being 91/101
CREATE TABLE table_13110459_2 (viewers__m_ VARCHAR, overall VARCHAR)
SELECT COUNT(viewers__m_) FROM table_13110459_2 WHERE overall = "91/101"
When real holmesdale reserves is division four who is in division one?
CREATE TABLE table_24575253_4 (division_one VARCHAR, division_four VARCHAR)
SELECT division_one FROM table_24575253_4 WHERE division_four = "Real Holmesdale Reserves"
what is the place when the score is 68-72-77-74=291?
CREATE TABLE table_name_81 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_81 WHERE score = 68 - 72 - 77 - 74 = 291
Which language is the most popular in Aruba?
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" ORDER BY Percentage DESC LIMIT 1
What is the Type of Mill at Molen de Stud?
CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR)
SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud"
What is the name of the home team that played against Hawthorn?
CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_13 WHERE away_team = "hawthorn"
What was the sample size for the poll featuring Republican Ron Paul?
CREATE TABLE table_name_80 (sample_size VARCHAR, republican VARCHAR)
SELECT sample_size FROM table_name_80 WHERE republican = "ron paul"
What is the Round for the jiu-jitsu vs martial arts?
CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR)
SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts"
What day was the score 3-0 after 2011?
CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR, year VARCHAR)
SELECT date FROM table_name_88 WHERE score = "3-0" AND year = 2011
What is the Attendance on September 28, 1997?
CREATE TABLE table_name_53 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_53 WHERE date = "september 28, 1997"
What are the average points with a Chassis of zakspeed 881?
CREATE TABLE table_name_40 (points INTEGER, chassis VARCHAR)
SELECT AVG(points) FROM table_name_40 WHERE chassis = "zakspeed 881"
Which Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson?
CREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR)
SELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = "mike pearson"
Which player was from England with a to par of +1?
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_32 WHERE to_par = "+1" AND country = "england"
Which start has 32 as the finish and laps more than 6?
CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR)
SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6
Which series has 11 points?
CREATE TABLE table_name_57 (series VARCHAR, points VARCHAR)
SELECT series FROM table_name_57 WHERE points = "11"
What is the nationality of the SG position?
CREATE TABLE table_name_48 (nationality VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_48 WHERE position = "sg"
What was the score of the Mariners game when they had a record of 56–21?
CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_91 WHERE record = "56–21"
How many places have more than 33 points?
CREATE TABLE table_name_96 (place VARCHAR, points VARCHAR)
SELECT COUNT(place) FROM table_name_96 WHERE points = 33
What is the total amount of Top-25 having a Top-5 greater than 1?
CREATE TABLE table_name_92 (top_25 VARCHAR, top_5 INTEGER)
SELECT COUNT(top_25) FROM table_name_92 WHERE top_5 > 1
What lane did the barbados swimmer compete in before heat 3?
CREATE TABLE table_name_23 (lane VARCHAR, heat VARCHAR, nationality VARCHAR)
SELECT lane FROM table_name_23 WHERE heat < 3 AND nationality = "barbados"
What is the Date of Birth with a Block that is larger than 342?
CREATE TABLE table_name_18 (date_of_birth VARCHAR, block INTEGER)
SELECT date_of_birth FROM table_name_18 WHERE block > 342
Where did Milan play against Napoli?
CREATE TABLE table_name_74 (location VARCHAR, opponent_team VARCHAR)
SELECT location FROM table_name_74 WHERE opponent_team = "napoli"
What is the crowd size of the Away team, Fitzroy?
CREATE TABLE table_name_95 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_95 WHERE away_team = "fitzroy"
What is the lowest number of losses for the club cádiz cf?
CREATE TABLE table_name_79 (losses INTEGER, club VARCHAR)
SELECT MIN(losses) FROM table_name_79 WHERE club = "cádiz cf"
What is the highest cable ranking?
CREATE TABLE table_24399615_6 (cable_rank INTEGER)
SELECT MAX(cable_rank) FROM table_24399615_6
What is the highest number of games with more than 0 draws and 11 losses?
CREATE TABLE table_name_33 (games INTEGER, draws VARCHAR, lost VARCHAR)
SELECT MAX(games) FROM table_name_33 WHERE draws > 0 AND lost = 11
Name the score for toronto visitor and record of 29-17-8
CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT score FROM table_name_89 WHERE visitor = "toronto" AND record = "29-17-8"
Who won stage 18?
CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_14395920_2 WHERE stage = 18
Who is the Player born in 1981?
CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR)
SELECT player FROM table_name_40 WHERE year_born = 1981
What other cadidate ran against Dave Treen?
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
List all the student details in reversed lexicographical order.
CREATE TABLE Students (other_student_details VARCHAR)
SELECT other_student_details FROM Students ORDER BY other_student_details DESC
Which game has a number lower than 57 and more than 50 points?
CREATE TABLE table_name_25 (location VARCHAR, game VARCHAR, points VARCHAR)
SELECT location FROM table_name_25 WHERE game < 57 AND points > 50
What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20?
CREATE TABLE table_name_4 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20
When 3.29% was the average per candidate, what was the number of average votes per candidate?
CREATE TABLE table_28819393_1 (average_votes_per_candidate INTEGER, average__percentage_of_vote_per_candidate VARCHAR)
SELECT MIN(average_votes_per_candidate) FROM table_28819393_1 WHERE average__percentage_of_vote_per_candidate = "3.29"
When 441st bs, 7th bw is the unit what is the b-52 model?
CREATE TABLE table_18933037_3 (b_52_model VARCHAR, unit VARCHAR)
SELECT b_52_model FROM table_18933037_3 WHERE unit = "441st BS, 7th BW"
For all events with index f10, what is the sum of the overall rankings?
CREATE TABLE table_name_66 (overall_ranking INTEGER, index VARCHAR)
SELECT SUM(overall_ranking) FROM table_name_66 WHERE index = "f10"
What is the Rank of the Athletes with a Time of 3:43.491?
CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR)
SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491"
Name the nhl times for jeff jacques
CREATE TABLE table_1965650_3 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques"
What is every entry for Scott when the date is (15.12)?
CREATE TABLE table_1818471_1 (scott VARCHAR, date VARCHAR)
SELECT scott FROM table_1818471_1 WHERE date = "(15.12)"
HOW MANY GAMES HAD A WIN WITH A BONUS OF 11
CREATE TABLE table_12807904_3 (won VARCHAR, try_bonus VARCHAR)
SELECT won FROM table_12807904_3 WHERE try_bonus = "11"
Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold?
CREATE TABLE table_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR)
SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican hold"
What is the average goals for Jimmy Greaves, and matches more than 516?
CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR, matches VARCHAR)
SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516
What is the name of the integrated where allied-related is shared?
CREATE TABLE table_11944282_1 (component VARCHAR, allied_related VARCHAR)
SELECT component FROM table_11944282_1 WHERE allied_related = "Shared"
When was naomi cavaday the opponent?
CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_19 WHERE opponent = "naomi cavaday"
Who was the home team at Lake Oval?
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_66 WHERE venue = "lake oval"
Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4?
CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR)
SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4
How many entries are shown for november 3 when january 15-16 is 141?
CREATE TABLE table_25355501_2 (november_3 VARCHAR, january_15_16 VARCHAR)
SELECT COUNT(november_3) FROM table_25355501_2 WHERE january_15_16 = "141"
Show the ids for projects with at least 2 documents.
CREATE TABLE Documents (project_id VARCHAR)
SELECT project_id FROM Documents GROUP BY project_id HAVING COUNT(*) >= 2
For the United Kingdom, what's the date?
CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR)
SELECT date FROM table_name_88 WHERE country = "united kingdom"
List the names of all the customers in alphabetical order.
CREATE TABLE customers (customer_details VARCHAR)
SELECT customer_details FROM customers ORDER BY customer_details
Tell me the venue for record of 2-7
CREATE TABLE table_name_39 (venue VARCHAR, record VARCHAR)
SELECT venue FROM table_name_39 WHERE record = "2-7"
What's the highest pick for SS position?
CREATE TABLE table_name_76 (pick INTEGER, position VARCHAR)
SELECT MAX(pick) FROM table_name_76 WHERE position = "ss"
What's the county of Eastern Pekin school with fewer than 774 enrolled?
CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)
SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
Show the names of high school students and their corresponding number of friends.
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
SELECT T2.name, COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id
What chassis is used in 1989 with a cosworth engine?
CREATE TABLE table_name_2 (chassis VARCHAR, year VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_2 WHERE year = 1989 AND engine = "cosworth"
For which Category was Outstanding Main Title Design a Recipient and nominee?
CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)
SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design"
Which NTFS has a no for ReFS and a yes for HPFS?
CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR)
SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes"
What is the total for 3rd place on season 9?
CREATE TABLE table_name_41 (total VARCHAR, place VARCHAR, season VARCHAR)
SELECT total FROM table_name_41 WHERE place = "3rd" AND season = "9"
What is the frequency of the talk station?
CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_67 WHERE format = "talk"
What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played?
CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR)
SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30
Which Opposing Team has an Against of 3, and a Date of 11 february 1950?
CREATE TABLE table_name_97 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)
SELECT opposing_team FROM table_name_97 WHERE against = 3 AND date = "11 february 1950"
Engine 2.3 16v has how many cylinders?
CREATE TABLE table_name_1 (cyl VARCHAR, engine VARCHAR)
SELECT cyl FROM table_name_1 WHERE engine = "2.3 16v"
What was the lowest win% with an away score of 3-2 in 2011 season?
CREATE TABLE table_name_53 (win__percentage INTEGER, away VARCHAR, season VARCHAR)
SELECT MIN(win__percentage) FROM table_name_53 WHERE away = "3-2" AND season = "2011"
Show the name of the conductor that has conducted the most number of orchestras.
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID ORDER BY COUNT(*) DESC LIMIT 1
Name the bush% for where others # is 90
CREATE TABLE table_1733457_1 (bush_percentage VARCHAR, others_number VARCHAR)
SELECT bush_percentage FROM table_1733457_1 WHERE others_number = 90
Find the number of different product types.
CREATE TABLE products (product_type_code VARCHAR)
SELECT COUNT(DISTINCT product_type_code) FROM products
What year was E. Meyer the driver?
CREATE TABLE table_name_9 (year VARCHAR, driver VARCHAR)
SELECT year FROM table_name_9 WHERE driver = "e. meyer"
What is the lowest size of the school with titans as the mascot?
CREATE TABLE table_name_93 (size INTEGER, mascot VARCHAR)
SELECT MIN(size) FROM table_name_93 WHERE mascot = "titans"
What is the sum of the area values for districts having density over 462 and websites of http://krishna.nic.in/?
CREATE TABLE table_name_19 (area__km²_ INTEGER, density___km²_ VARCHAR, official_website VARCHAR)
SELECT SUM(area__km²_) FROM table_name_19 WHERE density___km²_ > 462 AND official_website = "http://krishna.nic.in/"
What is every pole position for the Castle Combe circuit and Robbie Kerr is the winning driver?
CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
SELECT pole_position FROM table_26137666_3 WHERE circuit = "Castle Combe" AND winning_driver = "Robbie Kerr"
Name the stadium with host team of san diego chargers and final score of 23-45
CREATE TABLE table_name_46 (stadium VARCHAR, host_team VARCHAR, final_score VARCHAR)
SELECT stadium FROM table_name_46 WHERE host_team = "san diego chargers" AND final_score = "23-45"
The nll participate in what sport?
CREATE TABLE table_name_64 (sport VARCHAR, league VARCHAR)
SELECT sport FROM table_name_64 WHERE league = "nll"
What is the name of the highest mountain?
CREATE TABLE mountain (Name VARCHAR, Height VARCHAR)
SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1
What is the lowest Population per km² (2009) that has a Solomon Islands province, with an Area (km²) smaller than 28,400?
CREATE TABLE table_name_21 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR)
SELECT MIN(population_per_km²__2009_) FROM table_name_21 WHERE province = "solomon islands" AND area__km²_ < 28 OFFSET 400
How many warfare deaths befell the choctaw nation?
CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR)
SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw"
I want the sum of Laps with Grid less than 11 for jean-pierre jarier
CREATE TABLE table_name_7 (laps INTEGER, grid VARCHAR, driver VARCHAR)
SELECT SUM(laps) FROM table_name_7 WHERE grid < 11 AND driver = "jean-pierre jarier"
what's the boiling point of diethyl ether?
CREATE TABLE table_name_74 (boiling_point VARCHAR, solvent VARCHAR)
SELECT boiling_point FROM table_name_74 WHERE solvent = "diethyl ether"
What are all the countries where the electric company Ebisa has a presence?
CREATE TABLE table_19001916_2 (country VARCHAR, entities VARCHAR)
SELECT country FROM table_19001916_2 WHERE entities = "EBISA"
What is Score, when Partnering is "Alexander Waske", and when Opponents In The Final is "Rafael Nadal Bartolomé Salvá-Vidal"?
CREATE TABLE table_name_26 (score VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_26 WHERE partnering = "alexander waske" AND opponents_in_the_final = "rafael nadal bartolomé salvá-vidal"
What is dardanus sulcus' lowest diameter?
CREATE TABLE table_name_7 (diameter INTEGER, name VARCHAR)
SELECT MIN(diameter) FROM table_name_7 WHERE name = "dardanus sulcus"
What is the capacity of the mine that is operated by Cyprus Amax minerals?
CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)
SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"
What is the Home team of the Kidderminster Harriers Away game?
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_20 WHERE away_team = "kidderminster harriers"
What team was the away team when the tie no is 40?
CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_67 WHERE tie_no = "40"
What is the name of the tournament played 13 November 2000?
CREATE TABLE table_name_35 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_35 WHERE date = "13 november 2000"
What period has 53.52% as the internet explorer?
CREATE TABLE table_name_36 (period VARCHAR, internet_explorer VARCHAR)
SELECT period FROM table_name_36 WHERE internet_explorer = "53.52%"
What is the latest year of a gratitude type mission with 99 in the entourage?
CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)
SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude"
If played is 22 and the tries against are 43, what are the points?
CREATE TABLE table_name_30 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR)
SELECT points_for FROM table_name_30 WHERE played = "22" AND tries_against = "43"
What is the UK Railway with an ObjectNumber of 1975-7023?
CREATE TABLE table_name_16 (railway VARCHAR, objectnumber VARCHAR)
SELECT railway FROM table_name_16 WHERE objectnumber = "1975-7023"
What is the total of the jury that is 2nd place and the total is larger than 190?
CREATE TABLE table_name_86 (jury INTEGER, place VARCHAR, total VARCHAR)
SELECT SUM(jury) FROM table_name_86 WHERE place = "2nd" AND total > 190
What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"?
CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR)
SELECT date FROM table_name_82 WHERE effect = "shot down" AND place = "south of stanley airport"
What Country is Catalogue # ASW 50248 (724385024825) from?
CREATE TABLE table_name_77 (country VARCHAR, catalogue__number VARCHAR)
SELECT country FROM table_name_77 WHERE catalogue__number = "asw 50248 (724385024825)"
Who was the Centerfold model in the issue in which the Interview subject was Paul Simon?
CREATE TABLE table_name_68 (centerfold_model VARCHAR, interview_subject VARCHAR)
SELECT centerfold_model FROM table_name_68 WHERE interview_subject = "paul simon"
What are the first names and last names of students with address in Wisconsin state?
CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Students (first_name VARCHAR, last_name VARCHAR, address_id VARCHAR)
SELECT T2.first_name, T2.last_name FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id WHERE T1.state_province_county = "Wisconsin"
What is the category of the touchdown atlantic?
CREATE TABLE table_name_76 (category VARCHAR, event_name VARCHAR)
SELECT category FROM table_name_76 WHERE event_name = "touchdown atlantic"
Name the points classification for mark renshaw and team csc
CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC"
Name the official website which has dish of • and callsign of kvtv
CREATE TABLE table_name_18 (official_website VARCHAR, dish VARCHAR, callsign VARCHAR)
SELECT official_website FROM table_name_18 WHERE dish = "•" AND callsign = "kvtv"
Which team had 15 draws?
CREATE TABLE table_name_21 (team VARCHAR, draws VARCHAR)
SELECT team FROM table_name_21 WHERE draws = "15"
What is the Format of AM 980?
CREATE TABLE table_name_96 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_96 WHERE frequency = "am 980"