answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(high_points) FROM table_27882867_9 WHERE high_assists = "A. Webb (7)"
How many people had the high points when a. webb (7) had the high assists?
CREATE TABLE table_27882867_9 (high_points VARCHAR, high_assists VARCHAR)
SELECT SUM(year) FROM table_name_85 WHERE points = 2
How many years has 2 points?
CREATE TABLE table_name_85 (year INTEGER, points VARCHAR)
SELECT status FROM table_12271718_1 WHERE channel = "44.1"
What is the status of channel 44.1?
CREATE TABLE table_12271718_1 (status VARCHAR, channel VARCHAR)
SELECT womens_doubles FROM table_12194021_1 WHERE mens_singles = "Arvind Bhat" AND mixed_doubles = "Valiyaveetil Diju Jwala Gutta"
In womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win?
CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR)
SELECT club FROM table_name_86 WHERE league = "american basketball association" AND venue = "tba"
Which club has a League of american basketball association, and a Venue of tba?
CREATE TABLE table_name_86 (club VARCHAR, league VARCHAR, venue VARCHAR)
SELECT interview FROM table_11690135_1 WHERE swimsuit = "9.72"
Who scored a 9.72 in the swimsuit?
CREATE TABLE table_11690135_1 (interview VARCHAR, swimsuit VARCHAR)
SELECT player_name FROM table_name_53 WHERE year_[a_] > 2011
Which players were selected after 2011?
CREATE TABLE table_name_53 (player_name VARCHAR, year_ VARCHAR, a_ VARCHAR)
SELECT partner FROM table_name_94 WHERE score_in_final = "6–1, 6–2"
Which Partner has a Score in Final of 6–1, 6–2?
CREATE TABLE table_name_94 (partner VARCHAR, score_in_final VARCHAR)
SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches"
How many netflow version are there when the vendor and type is enterasys switches?
CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)
SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval"
What is the highest number of people that attended a game at Moorabbin Oval?
CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR)
SELECT year__ceremony_ FROM table_26385848_1 WHERE film_title = "Eldra"
What is the year (ceremony) for the film title Eldra?
CREATE TABLE table_26385848_1 (year__ceremony_ VARCHAR, film_title VARCHAR)
SELECT aggregate_score FROM table_name_66 WHERE opposition = "dynamo dresden"
What was the aggregate score for the game against Dynamo Dresden?
CREATE TABLE table_name_66 (aggregate_score VARCHAR, opposition VARCHAR)
SELECT engine_s_ FROM table_name_68 WHERE tyres = "f" AND year = 1971
What is the Engine(s) that has f Tyres in 1971?
CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_83 WHERE assists = 5 AND rebounds < 16
How many points were there when there were less than 16 rebounds and 5 assists?
CREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)
SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson"
What district has Riley Joseph Wilson as the incumbent?
CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR)
SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Per Gustafsson"
What club team is Per Gustafsson play for?
CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (punches and elbows)"
What is the average round for the TKO (punches and elbows) method?
CREATE TABLE table_name_89 (round INTEGER, method VARCHAR)
SELECT team FROM table_23274514_4 WHERE record = "2-5"
What team did the Wizards play against when their record was 2-5?
CREATE TABLE table_23274514_4 (team VARCHAR, record VARCHAR)
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"
What is josé maría olazábal's country?
CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)
SELECT part_4 FROM table_1745843_8 WHERE part_1 = "heizan"
What is the part 4 of the word with the part 1 "heizan"?
CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR)
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"
Name the total number of total with finish of t45
CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)
SELECT undecided FROM table_name_51 WHERE goldberg = "6%"
What is the undecided percentage of the poll where Goldberg had 6%?
CREATE TABLE table_name_51 (undecided VARCHAR, goldberg VARCHAR)
SELECT date_enacted FROM table_name_73 WHERE ns = "10" AND normal_total = "104"
Name the date enacted for N.S. of 10 and normal total of 104
CREATE TABLE table_name_73 (date_enacted VARCHAR, ns VARCHAR, normal_total VARCHAR)
SELECT vote FROM table_24233848_2 WHERE eliminated = "Thiago"
Name the vote for thiago
CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR)
SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1
Find the id and local authority of the station with has the highest average high temperature.
CREATE TABLE weekly_weather (station_id VARCHAR); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)
SELECT COUNT(hometown) FROM table_26419467_1 WHERE fresh_meat_partner = "Sydney Walker"
How many cast members had sydney walker as their fresh meat partner?
CREATE TABLE table_26419467_1 (hometown VARCHAR, fresh_meat_partner VARCHAR)
SELECT MAX(poles) FROM table_24330803_1 WHERE season = 2011
How many pole positions were there for the 2011 season?
CREATE TABLE table_24330803_1 (poles INTEGER, season VARCHAR)
SELECT standard_order FROM table_name_69 WHERE traditional_chinese = "國殤"
Which number is 國殤?
CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR)
SELECT home_team FROM table_name_49 WHERE date = "6 december 1986" AND tie_no = "4"
What is Home Team, when Date is "6 December 1986", and when Tie No is "4"?
CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
SELECT branding FROM table_27588823_2 WHERE location = "San Jose Del Monte"
What is the branding for the station located in san jose del monte?
CREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR)
SELECT draft_round FROM table_20589703_2 WHERE college = "Rio Hondo" AND draft_year = 2012
In what draft round in 2012 did a player from Rio Hondo get drafted?
CREATE TABLE table_20589703_2 (draft_round VARCHAR, college VARCHAR, draft_year VARCHAR)
SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 38
What is the highest number of points team vitória, which had more than 38 played, had?
CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR)
SELECT COUNT(outcome) FROM table_22597626_5 WHERE opponent_in_the_final = "Johan Kriek"
How many outcomes are listed when the final opponent was Johan Kriek?
CREATE TABLE table_22597626_5 (outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT 2010 FROM table_name_10 WHERE 2008 = "a" AND 2011 = "a" AND 2012 = "qf"
What is the categorization in 2010 when it was A in 2008 and 20011 while being QF in 2012?
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT year FROM table_name_48 WHERE laps = 116
What is the year with 116 laps?
CREATE TABLE table_name_48 (year VARCHAR, laps VARCHAR)
SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010"
Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010?
CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR)
SELECT vault FROM table_11542215_3 WHERE total = "56.635"
What is the vault score for the total of 56.635?
CREATE TABLE table_11542215_3 (vault VARCHAR, total VARCHAR)
SELECT game FROM table_20850527_1 WHERE opponent = "Purdue"
What game number did the Wildcats play Purdue?
CREATE TABLE table_20850527_1 (game VARCHAR, opponent VARCHAR)
SELECT COUNT(starter) FROM table_25517718_3 WHERE position = "Right tackle"
How many starters are there at right tackle?
CREATE TABLE table_25517718_3 (starter VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_name_70 WHERE wins < 0
What is the total number of Year, when Wins is less than 0?
CREATE TABLE table_name_70 (year VARCHAR, wins INTEGER)
SELECT MIN(points) FROM table_name_30 WHERE games > 20 AND team = "partizan belgrade"
What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade?
CREATE TABLE table_name_30 (points INTEGER, games VARCHAR, team VARCHAR)
SELECT ground FROM table_name_16 WHERE match < 2
What ground has a match smaller than 2?
CREATE TABLE table_name_16 (ground VARCHAR, match INTEGER)
SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella"
What is the LOA of Brindabella?
CREATE TABLE table_25595209_1 (loa__metres_ VARCHAR, yacht VARCHAR)
SELECT MIN(goals_for) FROM table_name_88 WHERE draw < 5 AND points < 70
What is the lowest goals for value with fewer than 5 draws and under 70 points?
CREATE TABLE table_name_88 (goals_for INTEGER, draw VARCHAR, points VARCHAR)
SELECT title FROM table_14346353_1 WHERE series__number = 1
What is the title of series #1?
CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR)
SELECT MAX(game) FROM table_name_98 WHERE opponents < 80 AND record = "1-0"
What is the highest Game, when Opponents is less than 80, and when Record is "1-0"?
CREATE TABLE table_name_98 (game INTEGER, opponents VARCHAR, record VARCHAR)
SELECT league FROM table_2553861_1 WHERE playoffs = "Conference Finals"
Name the league for conference finals
CREATE TABLE table_2553861_1 (league VARCHAR, playoffs VARCHAR)
SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'
Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'.
CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR)
SELECT AVG(rank) FROM table_name_92 WHERE matches < 205 AND goals < 100
What is the average rank for players with under 205 matches and under 100 goals?
CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR, goals VARCHAR)
SELECT opponent FROM table_name_72 WHERE player = "phil graham"
Who is the opponent of player phil graham?
CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR)
SELECT nation FROM table_name_31 WHERE gold < 2 AND bronze < 5
Which nation has a gold less than 2 and a bronze less than 5?
CREATE TABLE table_name_31 (nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MIN(played) FROM table_name_74 WHERE points = 18 AND position > 5
What is the lowest number of played of the team with 18 points and a position greater than 5?
CREATE TABLE table_name_74 (played INTEGER, points VARCHAR, position VARCHAR)
SELECT tournament FROM table_19765685_2 WHERE city = "Katowice"
What tournament is in katowice?
CREATE TABLE table_19765685_2 (tournament VARCHAR, city VARCHAR)
SELECT 2011 FROM table_name_32 WHERE 2010 = "1r"
What is the 2011 with 1r in 2010?
CREATE TABLE table_name_32 (Id VARCHAR)
SELECT SUM(rank) FROM table_name_5 WHERE name = "fernando cavenaghi" AND appearances < 7
What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)
SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012
What's the total enrollment ofr Mcgill University that has a capacity less than 25,012?
CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR)
SELECT goals FROM table_name_16 WHERE venue = "sydney"
What were the goals at Sydney?
CREATE TABLE table_name_16 (goals VARCHAR, venue VARCHAR)
SELECT winner FROM table_name_71 WHERE points_classification = "giuseppe saronni" AND trofeo_fast_team = "bianchi" AND stage = "3"
Who was the winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3?
CREATE TABLE table_name_71 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR)
SELECT understanding FROM table_19760_1 WHERE reason = "νοῦς Nous"
What is the understanding of the one that has νοῦς nous reasoning?
CREATE TABLE table_19760_1 (understanding VARCHAR, reason VARCHAR)
SELECT away_team AS score FROM table_name_39 WHERE away_team = "melbourne"
What is the visiting team of Melbourne's score?
CREATE TABLE table_name_39 (away_team VARCHAR)
SELECT MAX(others_number) FROM table_1756284_1
What was the highest vote for others?
CREATE TABLE table_1756284_1 (others_number INTEGER)
SELECT race FROM table_name_78 WHERE jockey = "d. nikolic"
Which Race that Jockey of d. nikolic is in?
CREATE TABLE table_name_78 (race VARCHAR, jockey VARCHAR)
SELECT Name, Score FROM WINE
List the names and scores of all wines.
CREATE TABLE WINE (Name VARCHAR, Score VARCHAR)
SELECT position FROM table_16441561_5 WHERE player = "Gene Stahl"
What position did Gene Stahl play
CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR)
SELECT date FROM table_name_82 WHERE catalog = "mhcl-20004"
What date is the MHCL-20004 Catalog?
CREATE TABLE table_name_82 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_40 WHERE location = "scotiabank place" AND points < 20 AND game > 16 AND opponent = "montreal canadiens"
Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens?
CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR, points VARCHAR)
SELECT position FROM table_name_20 WHERE overall = 133
What position did the draft pick number play that was overall pick number 133?
CREATE TABLE table_name_20 (position VARCHAR, overall VARCHAR)
SELECT name FROM people WHERE height > 200 OR height < 190
find the names of people who are taller than 200 or lower than 190.
CREATE TABLE people (name VARCHAR, height VARCHAR)
SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00"
How many different engines are there for the model with model designation 97G00?
CREATE TABLE table_20866024_2 (engine VARCHAR, model_designation VARCHAR)
SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699"
What is the date of the game against the Royals that had an attendance of 12,699?
CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT position FROM table_name_44 WHERE team = "boston red sox" AND player = "corey jenkins"
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?
CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR)
SELECT rank FROM table_name_44 WHERE gold < 16 AND bronze > 2 AND silver > 2 AND total = 14
What rank has less than 16 gold, more than 2 bronze and silver, and a total of 14?
CREATE TABLE table_name_44 (rank VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13
What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?
CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR)
SELECT television FROM table_1672976_6 WHERE time = "9:00PM"
What station aired a game at 9:00pm?
CREATE TABLE table_1672976_6 (television VARCHAR, time VARCHAR)
SELECT T2.Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown
What are the hometowns of gymnasts and the corresponding number of gymnasts?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
SELECT location FROM table_29535057_4 WHERE acc_team = "Wake Forest"
Where did the games that had Wake Forest as Acc Team take place?
CREATE TABLE table_29535057_4 (location VARCHAR, acc_team VARCHAR)
SELECT score_in_the_final FROM table_name_35 WHERE date < 1978 AND opponent_in_the_final = "manuel orantes"
What was the Score in the Final against Opponent in the Final Manuel Orantes, prior to 1978?
CREATE TABLE table_name_35 (score_in_the_final VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_26 WHERE date = "august 1"
Name the score on august 1
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
SELECT season FROM table_29619494_2 WHERE sake_tuyas = "1st"
What season did the Sake Tuyas come in 1st place?
CREATE TABLE table_29619494_2 (season VARCHAR, sake_tuyas VARCHAR)
SELECT winning_driver FROM table_name_66 WHERE winning_car = "mclaren m23" AND circuit = "snetterton"
Which driver drove car McLaren M23 at the Snetterton Circuit?
CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_car VARCHAR, circuit VARCHAR)
SELECT position FROM table_name_2 WHERE uni_number = 14
Which position does #14 play?
CREATE TABLE table_name_2 (position VARCHAR, uni_number VARCHAR)
SELECT frequency FROM table_name_19 WHERE call_sign = "wgnr-fm"
What is the frequency of the radio station with a call sign of WGNR-FM?
CREATE TABLE table_name_19 (frequency VARCHAR, call_sign VARCHAR)
SELECT MAX(week) FROM table_name_83 WHERE attendance = "64,900" AND result = "l 34-13"
What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13?
CREATE TABLE table_name_83 (week INTEGER, attendance VARCHAR, result VARCHAR)
SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = "Chris Horner"
Who led sprints classification when Chris Horner led general classification?
CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR)
SELECT COUNT(manner_of_departure) FROM table_29414946_3 WHERE outgoing_manager = "Silas"
How many times did Silas leave as a team manager?
CREATE TABLE table_29414946_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT rider FROM table_name_10 WHERE rank = 10
what person was in rank 10
CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR)
SELECT AVG(losses) FROM table_name_20 WHERE sunrayia_fl = "red cliffs" AND against > 2294
What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?
CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR)
SELECT SUM(founded) FROM table_name_5 WHERE venue = "villa park"
COunt the Founded which has a Venue of villa park?
CREATE TABLE table_name_5 (founded INTEGER, venue VARCHAR)
SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8"
Name the horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8
CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR)
SELECT streak FROM table_name_81 WHERE date = "march 27"
What was the streak on March 27?
CREATE TABLE table_name_81 (streak VARCHAR, date VARCHAR)
SELECT location FROM table_283203_1 WHERE capacity = "10,517 5,006"
Where is the team that has a stadium capable of a capacity of 10,517 5,006 located?
CREATE TABLE table_283203_1 (location VARCHAR, capacity VARCHAR)
SELECT MIN(game) FROM table_name_47 WHERE time = "2:06" AND attendance < 27 OFFSET 374
Which week was the first game played that had a time of 2:06 and less than 27,374 attendees?
CREATE TABLE table_name_47 (game INTEGER, time VARCHAR, attendance VARCHAR)
SELECT lived_when___mya__ FROM table_name_99 WHERE discovery___publication_of_name = "1994/2003"
Tell me lived for name of 1994/2003
CREATE TABLE table_name_99 (lived_when___mya__ VARCHAR, discovery___publication_of_name VARCHAR)
SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts"
What was the result when Ray Roberts was elected?
CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR)
SELECT chassis FROM table_name_32 WHERE points = "4"
Which Chassis has 4 points?
CREATE TABLE table_name_32 (chassis VARCHAR, points VARCHAR)
SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free"
What player had a transfer window of winter, and free as the transfer fee?
CREATE TABLE table_name_72 (name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)
SELECT elevator FROM table_name_10 WHERE elector = "gerardo"
What is listed for the Elevator that has the Elector of Gerardo?
CREATE TABLE table_name_10 (elevator VARCHAR, elector VARCHAR)
SELECT date FROM table_name_20 WHERE attendance = "33,307"
Name the date when 33,307 attended
CREATE TABLE table_name_20 (date VARCHAR, attendance VARCHAR)
SELECT COUNT(pick) FROM table_name_47 WHERE school_club_team = "auburn"
How many picks does Auburn have?
CREATE TABLE table_name_47 (pick VARCHAR, school_club_team VARCHAR)
SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships"
What are the categories of events that occurred after 2007 that were World Championships?
CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR)