question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
What is the lowest rank with poland as the nationality and a time greater than 55.34?
SELECT MIN(rank) FROM table_name_73 WHERE nationality = "poland" AND time > 55.34
CREATE TABLE table_name_73 (rank INTEGER, nationality VARCHAR, time VARCHAR)
what is the material of the surface in noida , uttar pradesh, india
SELECT surface FROM table_29127804_3 WHERE location = "Noida , Uttar Pradesh, India"
CREATE TABLE table_29127804_3 (surface VARCHAR, location VARCHAR)
When private/ nonsectarian is the the affiliation what is the team nickname?
SELECT team_nickname FROM table_28211213_2 WHERE affiliation = "Private/ Nonsectarian"
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, affiliation VARCHAR)
When was the Australian open?
SELECT MAX(australian_open) FROM table_197638_7
CREATE TABLE table_197638_7 (australian_open INTEGER)
which companies released on 2010-11-04 4 november 2010
SELECT company FROM table_20174050_24 WHERE release_date = "2010-11-04 4 November 2010"
CREATE TABLE table_20174050_24 (company VARCHAR, release_date VARCHAR)
What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270?
SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270
CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR)
What is the number of stages where the teams classification leader is Cervélo Testteam?
SELECT COUNT(stage) FROM table_26010857_13 WHERE teams_classification = "Cervélo TestTeam"
CREATE TABLE table_26010857_13 (stage VARCHAR, teams_classification VARCHAR)
What is the total number of Silver with a Total that is smaller than 1?
SELECT COUNT(silver) FROM table_name_19 WHERE total < 1
CREATE TABLE table_name_19 (silver VARCHAR, total INTEGER)
Which Name has a Pennant number of f82?
SELECT name FROM table_name_56 WHERE pennant_number = "f82"
CREATE TABLE table_name_56 (name VARCHAR, pennant_number VARCHAR)
When Aalborg BK is Team 1, what is the 1st leg?
SELECT 1 AS st_leg FROM table_name_32 WHERE team_1 = "aalborg bk"
CREATE TABLE table_name_32 (team_1 VARCHAR)
What is the time/retired for the driver emerson fittipaldi?
SELECT time_retired FROM table_name_55 WHERE driver = "emerson fittipaldi"
CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR)
What result has miami dolphins as the opponent?
SELECT result FROM table_name_36 WHERE opponent = "miami dolphins"
CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR)
What is the Reserved for (SC / ST /None) when the constituency number is 203?
SELECT reserved_for___sc___st__none_ FROM table_name_81 WHERE constituency_number = "203"
CREATE TABLE table_name_81 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
What was the total rating that had a score higher than 7 and a b score smaller than 8.65?
SELECT SUM(total) FROM table_name_87 WHERE a_score > 7 AND b_score < 8.65
CREATE TABLE table_name_87 (total INTEGER, a_score VARCHAR, b_score VARCHAR)
What is the location of Classification of T12?
SELECT location FROM table_name_96 WHERE classification = "t12"
CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR)
Can you tell me the Record that has the Team of minnesota?
SELECT record FROM table_name_91 WHERE team = "minnesota"
CREATE TABLE table_name_91 (record VARCHAR, team VARCHAR)
Which of the chassis had a total of 7 points?
SELECT chassis FROM table_name_60 WHERE points = 7
CREATE TABLE table_name_60 (chassis VARCHAR, points VARCHAR)
What is the name of team 1 that was after the 2005 season and with a 4-2 score?
SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "4-2"
CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
What Player is a Wide Receiver?
SELECT player FROM table_name_40 WHERE position = "wide receiver"
CREATE TABLE table_name_40 (player VARCHAR, position VARCHAR)
What was the away team that played at Princes Park?
SELECT away_team FROM table_name_51 WHERE venue = "princes park"
CREATE TABLE table_name_51 (away_team VARCHAR, venue VARCHAR)
what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)?
SELECT year FROM table_name_81 WHERE position = "1/22 promoted" AND leading_scorer = "james dean (27)"
CREATE TABLE table_name_81 (year VARCHAR, position VARCHAR, leading_scorer VARCHAR)
For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ?
SELECT tie_no FROM table_name_5 WHERE attendance = "2 january 1999" AND home_team = "plymouth argyle"
CREATE TABLE table_name_5 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR)
What was the attendance on september 8?
SELECT AVG(attendance) FROM table_name_71 WHERE date = "september 8"
CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR)
Who was Margaret Court's opponent on clay in 1975?
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975
CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)
Which Combination classification has Points classification of daniele bennati, and a Team classification of quick step?
SELECT combination_classification FROM table_name_34 WHERE points_classification = "daniele bennati" AND team_classification = "quick step"
CREATE TABLE table_name_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)
List the names of all the distinct product names in alphabetical order?
SELECT DISTINCT product_name FROM product ORDER BY product_name
CREATE TABLE product (product_name VARCHAR)
For Pigeon Creek what is the per capita income?
SELECT per_capita_income FROM table_1840495_2 WHERE place = "Pigeon Creek"
CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, place VARCHAR)
What is "the date in location from" and "the date in location to" for the document with name "Robin CV"?
SELECT T1.date_in_location_from, T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV"
CREATE TABLE All_documents (document_id VARCHAR, document_name VARCHAR); CREATE TABLE Document_locations (date_in_location_from VARCHAR, date_in_locaton_to VARCHAR, document_id VARCHAR)
What is the name if the appearance is 2 and the position is FW?
SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 2
CREATE TABLE table_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR)
What is the venue on 3 September 1972?
SELECT venue FROM table_name_57 WHERE date = "3 september 1972"
CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR)
How many total batting partners were most successful in the 2006 season?
SELECT COUNT(batting_partners) FROM table_1670921_2 WHERE season = "2006"
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR)
Who represents district 41?
SELECT delegate FROM table_27050732_7 WHERE district = "41"
CREATE TABLE table_27050732_7 (delegate VARCHAR, district VARCHAR)
How many millions viewers watched the episode that ran 23:25?
SELECT viewers__in_millions_ FROM table_2101431_1 WHERE run_time = "23:25"
CREATE TABLE table_2101431_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
What team is Keith Mccambridge on?
SELECT college_junior_club_team FROM table_1013129_8 WHERE player = "Keith McCambridge"
CREATE TABLE table_1013129_8 (college_junior_club_team VARCHAR, player VARCHAR)
Tell me the total number of years for wins less than 2 and class of 50cc with points of 15
SELECT COUNT(year) FROM table_name_4 WHERE wins < 2 AND class = "50cc" AND points = 15
CREATE TABLE table_name_4 (year VARCHAR, points VARCHAR, wins VARCHAR, class VARCHAR)
Who was the loss to for the film Chicago?
SELECT lost_to FROM table_name_74 WHERE film = "chicago"
CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR)
What party is Frank Lobiondo a member of?
SELECT party FROM table_1341453_32 WHERE incumbent = "Frank LoBiondo"
CREATE TABLE table_1341453_32 (party VARCHAR, incumbent VARCHAR)
Name the average goals against for draws of 8 and wins more than 22 with losses less than 12
SELECT AVG(goals_against) FROM table_name_92 WHERE draws = 8 AND losses < 12 AND wins > 22
CREATE TABLE table_name_92 (goals_against INTEGER, wins VARCHAR, draws VARCHAR, losses VARCHAR)
Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?
SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1
CREATE TABLE table_name_89 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
What is the Region, when the Catalog is 25AP 301?
SELECT region FROM table_name_61 WHERE catalog = "25ap 301"
CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR)
What was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?
SELECT record FROM table_name_5 WHERE opponent = "@ orioles" AND loss = "leal (5-4)"
CREATE TABLE table_name_5 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
What is the highest year with field reporter Steve Lyons?
SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"
CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR)
What day is collingwood the home side?
SELECT date FROM table_name_79 WHERE home_team = "collingwood"
CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)
At what latitude can the name origin of naijok fossae be found?
SELECT latitude FROM table_16799784_11 WHERE name = "Naijok Fossae"
CREATE TABLE table_16799784_11 (latitude VARCHAR, name VARCHAR)
What is the Week when anke huber chanda rubin shows for Semi finalists, and the Runner-up is meredith mcgrath larisa savchenko?
SELECT week_of FROM table_name_2 WHERE semi_finalists = "anke huber chanda rubin" AND runner_up = "meredith mcgrath larisa savchenko"
CREATE TABLE table_name_2 (week_of VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
What was the score of the game that home team birmingham city played?
SELECT score FROM table_name_84 WHERE home_team = "birmingham city"
CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR)
Which year has the most degrees conferred?
SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY SUM(degrees) DESC LIMIT 1
CREATE TABLE degrees (YEAR VARCHAR, degrees INTEGER)
What is the status when points is 4595?
SELECT status FROM table_29572583_19 WHERE points = 4595
CREATE TABLE table_29572583_19 (status VARCHAR, points VARCHAR)
What team played in front of 28,536 at an away stadium?
SELECT away_team AS score FROM table_name_34 WHERE crowd > 28 OFFSET 536
CREATE TABLE table_name_34 (away_team VARCHAR, crowd INTEGER)
WHAT kind of No Result has Wins smaller than 2, and Losses larger than 1?
SELECT no_result FROM table_name_2 WHERE wins < 2 AND losses > 1
CREATE TABLE table_name_2 (no_result VARCHAR, wins VARCHAR, losses VARCHAR)
What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against?
SELECT SUM(losses) FROM table_name_56 WHERE team = "montreal hockey club" AND goals_against > 15
CREATE TABLE table_name_56 (losses INTEGER, team VARCHAR, goals_against VARCHAR)
What is the highest number of fai space flights when max mach is 5.65?
SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65"
CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR)
What's the 1994 if 1995 has a 1R?
SELECT 1994 FROM table_name_84 WHERE 1995 = "1r"
CREATE TABLE table_name_84 (Id VARCHAR)
what is the result for October 14, 1956?
SELECT result FROM table_14984039_1 WHERE date = "October 14, 1956"
CREATE TABLE table_14984039_1 (result VARCHAR, date VARCHAR)
What shows for 2002 when the 2004 is A, and the 2005 is 1r?
SELECT 2002 FROM table_name_40 WHERE 2004 = "a" AND 2005 = "1r"
CREATE TABLE table_name_40 (Id VARCHAR)
How many runners had placings over 8?
SELECT COUNT(runners) FROM table_name_34 WHERE placing > 8
CREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER)
What player has the score of 67-72=139?
SELECT player FROM table_name_58 WHERE score = 67 - 72 = 139
CREATE TABLE table_name_58 (player VARCHAR, score VARCHAR)
What was Canada's skip?
SELECT skip FROM table_name_68 WHERE country = "canada"
CREATE TABLE table_name_68 (skip VARCHAR, country VARCHAR)
Which Score has a Loss of buehrle (7-2)?
SELECT score FROM table_name_91 WHERE loss = "buehrle (7-2)"
CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)
What is the date that the item was laid down if it was launched on 1899-04-25?
SELECT laid_down FROM table_name_95 WHERE launched = "1899-04-25"
CREATE TABLE table_name_95 (laid_down VARCHAR, launched VARCHAR)
List a name that has a heat of at least 3 and a Lane of exactly 5.
SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 5
CREATE TABLE table_name_54 (name VARCHAR, heat VARCHAR, lane VARCHAR)
How many Phonetic Greek words translate to grenouille in French?
SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE french = "grenouille"
CREATE TABLE table_2077192_2 (phonetic_greek VARCHAR, french VARCHAR)
What Week 4 has a Week 2 of samantha speer?
SELECT week_4 FROM table_name_62 WHERE week_2 = "samantha speer"
CREATE TABLE table_name_62 (week_4 VARCHAR, week_2 VARCHAR)
What is the location of the University of Montana, which was founded after 1890?
SELECT location FROM table_name_23 WHERE founded > 1890 AND institution = "university of montana"
CREATE TABLE table_name_23 (location VARCHAR, founded VARCHAR, institution VARCHAR)
Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds?
SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds > 100000
CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER); CREATE TABLE drivers (driverid VARCHAR, nationality VARCHAR)
When is every date that control site condition or owner is machine shop on Martin Dr.?
SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = "machine shop on Martin Dr."
CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR)
Which program has 3.5 years?
SELECT program FROM table_name_35 WHERE duration__years_ = 3.5
CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
What is the rank number for a placing of 28.5 and a total less than 92.7?
SELECT COUNT(rank) FROM table_name_30 WHERE placings = "28.5" AND total < 92.7
CREATE TABLE table_name_30 (rank VARCHAR, placings VARCHAR, total VARCHAR)
What is the name origin with a diameter of 220.0 kilometers?
SELECT name AS origin FROM table_16799784_14 WHERE diameter__km_ = "220.0"
CREATE TABLE table_16799784_14 (name VARCHAR, diameter__km_ VARCHAR)
What is the away team score when the home team is Geelong?
SELECT away_team AS score FROM table_name_25 WHERE home_team = "geelong"
CREATE TABLE table_name_25 (away_team VARCHAR, home_team VARCHAR)
For the player fero lasagavibau who has the lowest start?
SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"
CREATE TABLE table_name_71 (start INTEGER, player VARCHAR)
Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05?
SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05"
CREATE TABLE table_name_82 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR)
what is the frequency of visits to elmanana.com.mx
SELECT frequency FROM table_name_65 WHERE website = "elmanana.com.mx"
CREATE TABLE table_name_65 (frequency VARCHAR, website VARCHAR)
Show the school name and type for schools without a school bus.
SELECT school, TYPE FROM school WHERE NOT school_id IN (SELECT school_id FROM school_bus)
CREATE TABLE school_bus (school VARCHAR, TYPE VARCHAR, school_id VARCHAR); CREATE TABLE school (school VARCHAR, TYPE VARCHAR, school_id VARCHAR)
What's the points when the division is ebl div1 with 22 played?
SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR)
what is the tournament when the score is 7-6(0), 6-3?
SELECT tournament FROM table_name_48 WHERE score = "7-6(0), 6-3"
CREATE TABLE table_name_48 (tournament VARCHAR, score VARCHAR)
What is the kind of Democratic ticket has a Office of comptroller?
SELECT democratic_ticket FROM table_name_14 WHERE office = "comptroller"
CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)
What are the results of those elections for which Marcy Kaptur is the incumbent?
SELECT results FROM table_1805191_36 WHERE incumbent = "Marcy Kaptur"
CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR)
what was the result where the candidates are sam m. gibbons (d) unopposed?
SELECT result FROM table_1341663_10 WHERE candidates = "Sam M. Gibbons (D) Unopposed"
CREATE TABLE table_1341663_10 (result VARCHAR, candidates VARCHAR)
What was the competition held in 2003?
SELECT competition FROM table_name_17 WHERE year = 2003
CREATE TABLE table_name_17 (competition VARCHAR, year VARCHAR)
What was the result when Jam Hsiao was nominated in 2012?
SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012
CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)
How many times did Keith Downing depart a position?
SELECT COUNT(position_in_table) FROM table_18788823_5 WHERE outgoing_manager = "Keith Downing"
CREATE TABLE table_18788823_5 (position_in_table VARCHAR, outgoing_manager VARCHAR)
Find the number of products for each manufacturer, showing the name of each company.
SELECT COUNT(*), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name
CREATE TABLE products (Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)
Which party won in the election in voting district Kentucky 5?
SELECT party FROM table_1342218_17 WHERE district = "Kentucky 5"
CREATE TABLE table_1342218_17 (party VARCHAR, district VARCHAR)
Name the opponent for week of 2
SELECT opponent FROM table_name_6 WHERE week = 2
CREATE TABLE table_name_6 (opponent VARCHAR, week VARCHAR)
Who is the lowest ranked player from the United States that has less than 3 Wins?
SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3
CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR)
Which line is the Geumjeong tunnel?
SELECT line FROM table_name_82 WHERE name = "geumjeong tunnel"
CREATE TABLE table_name_82 (line VARCHAR, name VARCHAR)
What is the score when a loss was listed with Lannan (4-8)?
SELECT score FROM table_name_48 WHERE loss = "lannan (4-8)"
CREATE TABLE table_name_48 (score VARCHAR, loss VARCHAR)
What was the lowest pick when the position was OF with the Chicago White Sox?
SELECT MIN(pick) FROM table_name_35 WHERE position = "of" AND team = "chicago white sox"
CREATE TABLE table_name_35 (pick INTEGER, position VARCHAR, team VARCHAR)
What is the number of points for the Entrant of escuderia bandeirantes earlier than 1952?
SELECT SUM(points) FROM table_name_65 WHERE entrant = "escuderia bandeirantes" AND year < 1952
CREATE TABLE table_name_65 (points INTEGER, entrant VARCHAR, year VARCHAR)
What is the Visitor with a Home with chicago, and a Score of 3 – 2?
SELECT visitor FROM table_name_34 WHERE home = "chicago" AND score = "3 – 2"
CREATE TABLE table_name_34 (visitor VARCHAR, home VARCHAR, score VARCHAR)
What is the status of the Wales opposing team?
SELECT status FROM table_name_70 WHERE opposing_teams = "wales"
CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)
What was the result of the election in the Texas 4 district?
SELECT result FROM table_1342149_43 WHERE district = "Texas 4"
CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR)
what are every one of the rivals in conclusive where title is zürich
SELECT opponents_in_final FROM table_23197088_4 WHERE championship = "Zürich"
CREATE TABLE table_23197088_4 (opponents_in_final VARCHAR, championship VARCHAR)
What event was Fatima Whitbread Trine Hattestad in?
SELECT event FROM table_name_25 WHERE athlete = "fatima whitbread trine hattestad"
CREATE TABLE table_name_25 (event VARCHAR, athlete VARCHAR)
How many clubs are there in the Korea Republic?
SELECT clubs FROM table_19412902_2 WHERE member_association = "Korea Republic"
CREATE TABLE table_19412902_2 (clubs VARCHAR, member_association VARCHAR)
Name the year for t-10th
SELECT year FROM table_20774360_2 WHERE standing = "T-10th"
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR)
I want the constructor for grid less than 20 and Laps of 6
SELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6
CREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
What is the name of the away captain when Hugh Trumble was the home captain and the result was Aus by 32 runs?
SELECT away_captain FROM table_name_65 WHERE home_captain = "hugh trumble" AND result = "aus by 32 runs"
CREATE TABLE table_name_65 (away_captain VARCHAR, home_captain VARCHAR, result VARCHAR)
what is the reported death date for laura svehaug?
SELECT reported_death_date FROM table_name_97 WHERE name = "laura svehaug"
CREATE TABLE table_name_97 (reported_death_date VARCHAR, name VARCHAR)