answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT result FROM table_name_81 WHERE date = "27 august 2003" | What was the result on 27 august 2003? | CREATE TABLE table_name_81 (result VARCHAR, date VARCHAR) |
SELECT company_or_product_name FROM table_name_83 WHERE episode = "episode 3" AND investing_dragon_s_ = "deborah meaden" | What is the name of the Company or Product that is Episode 3 and is suppoted by Investing Dragon Deborah Meaden? | CREATE TABLE table_name_83 (company_or_product_name VARCHAR, episode VARCHAR, investing_dragon_s_ VARCHAR) |
SELECT away_team AS score FROM table_name_33 WHERE home_team = "footscray" | During footscray's home match, who was the away team? | CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) |
SELECT place FROM table_name_18 WHERE money___$__ > 400 | What placement gets more than $400? | CREATE TABLE table_name_18 (place VARCHAR, money___$__ INTEGER) |
SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire" | Which season did Tich Freeman play against opponent V Warwickshire? | CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR) |
SELECT T1.crs_code FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num WHERE T3.stu_lname = 'Smithson' | What is the code of the course which the student whose last name is Smithson took? | CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR); CREATE TABLE CLASS (crs_code VARCHAR, class_code VARCHAR) |
SELECT MIN(total) FROM table_name_89 WHERE silver > 2 AND nation = "russia" AND gold < 4 | What is the lowest amount of medals Russia has if they have more than 2 silver medals and less than 4 gold medals? | CREATE TABLE table_name_89 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) |
SELECT date FROM table_name_14 WHERE venue = "lancaster park , christchurch" | WHICH Date has a Venue of lancaster park , christchurch? | CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR) |
SELECT score FROM table_name_11 WHERE date = "december 12, 1998" | What's the score on December 12, 1998? | CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR) |
SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama" | At what time did the opponent Takaichi Hirayama have an event? | CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) |
SELECT score FROM table_name_2 WHERE date = "august 20, 2007" | What was the score in the August 20, 2007 match? | CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) |
SELECT verb_meaning FROM table_name_78 WHERE part_1 = "saugen" | What is the verb meaning for Saugen in part 1? | CREATE TABLE table_name_78 (verb_meaning VARCHAR, part_1 VARCHAR) |
SELECT segment_d FROM table_15187735_11 WHERE series_ep = "11-05" | What is the title of series episode 11-05's segment d? | CREATE TABLE table_15187735_11 (segment_d VARCHAR, series_ep VARCHAR) |
SELECT AVG(floors) FROM table_name_9 WHERE pinnacle_height_ft__m_ = "1,136 (346)" AND pinn_rank > 4 | Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4? | CREATE TABLE table_name_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR) |
SELECT player FROM table_name_43 WHERE to_par = 7 AND country = "england" | Who was the player for England when the to par is 7? | CREATE TABLE table_name_43 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian" | Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? | CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) |
SELECT away_team AS score FROM table_name_1 WHERE venue = "lake oval" | Name the away team score for lake oval | CREATE TABLE table_name_1 (away_team VARCHAR, venue VARCHAR) |
SELECT time FROM table_name_69 WHERE rider = "noriyuki haga" | What is noriyuki haga's time? | CREATE TABLE table_name_69 (time VARCHAR, rider VARCHAR) |
SELECT away_team AS score FROM table_name_96 WHERE venue = "mcg" | What did the away team score at MCG? | CREATE TABLE table_name_96 (away_team VARCHAR, venue VARCHAR) |
SELECT period FROM table_24565004_21 WHERE name = "Nabatingue Toko" | During what years did nabatingue toko play. | CREATE TABLE table_24565004_21 (period VARCHAR, name VARCHAR) |
SELECT position FROM table_25539502_1 WHERE team = "FMS International" | What was his position when the team was FMS International? | CREATE TABLE table_25539502_1 (position VARCHAR, team VARCHAR) |
SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53" | How long in miles (km) was the race that lasted 3:07:53? | CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR) |
SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0 | What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals? | CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR) |
SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1 | What is the total number of gold medals of the nation with 0 silver and more than 1 bronze? | CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) |
SELECT circuit FROM table_name_62 WHERE winning_driver = "emilio de villota" AND name = "pace petroleum trophy" | What circuit did emilio de villota win on at the pace petroleum trophy? | CREATE TABLE table_name_62 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR) |
SELECT date FROM table_1139087_2 WHERE location = "Jerez" | What day was the grand prix in jerez? | CREATE TABLE table_1139087_2 (date VARCHAR, location VARCHAR) |
SELECT home_team FROM table_name_24 WHERE away_team = "hawthorn" | Who was the Away team at Hawthorn? | CREATE TABLE table_name_24 (home_team VARCHAR, away_team VARCHAR) |
SELECT place FROM table_name_90 WHERE score = 70 - 66 - 65 = 201 | What place goes with the score of 70-66-65=201? | CREATE TABLE table_name_90 (place VARCHAR, score VARCHAR) |
SELECT year FROM table_name_29 WHERE 1851 = "634" | What's the year when 1851 had 634? | CREATE TABLE table_name_29 (year VARCHAR) |
SELECT MIN(total) FROM table_name_30 WHERE rank < 2 AND bronze > 0 | what is the lowest total when the rank is less than 2 and bronze is more than 0? | CREATE TABLE table_name_30 (total INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT city FROM table_name_43 WHERE team = "trojans" AND school = "taylor" | What city has trojans as the team, and taylor as the school? | CREATE TABLE table_name_43 (city VARCHAR, team VARCHAR, school VARCHAR) |
SELECT first_elected FROM table_1341604_22 WHERE incumbent = "Joseph D. Early" | what's the first elected with incumbent being joseph d. early | CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR) |
SELECT country FROM table_name_74 WHERE director = "thomas vinterberg" | Which Country is listed for the Director Thomas Vinterberg? | CREATE TABLE table_name_74 (country VARCHAR, director VARCHAR) |
SELECT COUNT(finale_weight) FROM table_28654454_5 WHERE starting_bmi = "33.1" | How many contestants had a starting bmi of 33.1? | CREATE TABLE table_28654454_5 (finale_weight VARCHAR, starting_bmi VARCHAR) |
SELECT general_classification FROM table_27112708_2 WHERE stage = 4 | Who is listed under general classification on stage 4? | CREATE TABLE table_27112708_2 (general_classification VARCHAR, stage VARCHAR) |
SELECT kana FROM table_name_2 WHERE korean_name = "chungcheong-namdo" | What is the Kana of the Province with a Korean name of Chungcheong-Namdo? | CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR) |
SELECT hc__g_kwh_ FROM table_2780146_6 WHERE no_x__g_kwh_ = "7.0" | What's the HC for the standard with NO x of 7.0 g/kWh? | CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, no_x__g_kwh_ VARCHAR) |
SELECT COUNT(position) FROM table_25177625_1 WHERE weight = 170 | How many position did a player took while weighing 170? | CREATE TABLE table_25177625_1 (position VARCHAR, weight VARCHAR) |
SELECT australian_cast, _2012 FROM table_29289213_1 WHERE character = "Lily Cahill" | Who played Lily Cahill in the Australian 2012 production? | CREATE TABLE table_29289213_1 (australian_cast VARCHAR, _2012 VARCHAR, character VARCHAR) |
SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys" | What is the date for a week before 9, and a opponent of dallas cowboys? | CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT SUM(pendle) FROM table_name_47 WHERE burnley < 0 | Which Pendle has a Burnley smaller than 0? | CREATE TABLE table_name_47 (pendle INTEGER, burnley INTEGER) |
SELECT MIN(grid) FROM table_name_84 WHERE time = "+1:37.055" | With a Time of +1:37.055, which has the lowest Grid? | CREATE TABLE table_name_84 (grid INTEGER, time VARCHAR) |
SELECT class FROM table_name_50 WHERE city_of_license = "garden city, kansas" | Which Class has a City of license of garden city, kansas? | CREATE TABLE table_name_50 (class VARCHAR, city_of_license VARCHAR) |
SELECT AVG(wins) FROM table_name_87 WHERE tournament = "pga championship" AND top_5 < 2 | What is the average number of Wins in a PGA Championship with a Top-5 less than 2? | CREATE TABLE table_name_87 (wins INTEGER, tournament VARCHAR, top_5 VARCHAR) |
SELECT original_title FROM table_20963074_1 WHERE film_title_used_in_nomination = "No Stars in the Jungle" | Name the originl title for no stars in the jungle | CREATE TABLE table_20963074_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) |
SELECT attendance FROM table_name_37 WHERE loss = "yates (3-2)" | What's the attendance of the game where there was a Loss of Yates (3-2)? | CREATE TABLE table_name_37 (attendance VARCHAR, loss VARCHAR) |
SELECT COUNT(money___) AS $__ FROM table_name_2 WHERE to_par = 13 AND player = "julius boros" | What is the total number of Money ( $ ), when To Par is "13", and when Player is "Julius Boros"? | CREATE TABLE table_name_2 (money___ VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT AVG(total) FROM table_name_33 WHERE rank = "3" AND bronze > 3 | What average Total has a Rank of 3 and a Bronze award larger than 3? | CREATE TABLE table_name_33 (total INTEGER, rank VARCHAR, bronze VARCHAR) |
SELECT hull_no FROM table_name_29 WHERE commissioned__decommissioned = "1973–1996" | Name the hull number of Commissioned– Decommissioned of 1973–1996 | CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR) |
SELECT player FROM table_22824312_1 WHERE weight = 170 | Who are the player's who weighed 170? | CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR) |
SELECT serial FROM table_name_91 WHERE outcome = "failure" AND date = "1959-01-27" | On 1959-01-27 when outcome was failure, what is the serial? | CREATE TABLE table_name_91 (serial VARCHAR, outcome VARCHAR, date VARCHAR) |
SELECT prize_money FROM table_12454156_1 WHERE runner_up = "John Tabatabai" | What was the total prize money where John Tabatabai was the runner-up? | CREATE TABLE table_12454156_1 (prize_money VARCHAR, runner_up VARCHAR) |
SELECT MAX(week) FROM table_name_72 WHERE attendance = "74,162" | What is the latest week with an attendance of 74,162? | CREATE TABLE table_name_72 (week INTEGER, attendance VARCHAR) |
SELECT constructor FROM table_name_79 WHERE tyre = "e" AND driver = "mike sparken" | Who constructed Mike Sparken's car with a tyre of E? | CREATE TABLE table_name_79 (constructor VARCHAR, tyre VARCHAR, driver VARCHAR) |
SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawford" | Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford? | CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR) |
SELECT tries_for FROM table_12828723_5 WHERE tries_against = "33" | What was the tries for with tries against at 33? | CREATE TABLE table_12828723_5 (tries_for VARCHAR, tries_against VARCHAR) |
SELECT barony FROM table_30120547_1 WHERE townland = "Gurraghy" | What is the barony of the Gurraghy townland? | CREATE TABLE table_30120547_1 (barony VARCHAR, townland VARCHAR) |
SELECT place FROM table_name_23 WHERE score = 67 - 73 - 73 = 213 | What was the place when the score was 67-73-73=213? | CREATE TABLE table_name_23 (place VARCHAR, score VARCHAR) |
SELECT common FROM table_1449169_1 WHERE area__km_2__ = "38.38" | Which common has an area (km2) of 38.38? | CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR) |
SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010 | How many entries feature a year built of 2010? | CREATE TABLE table_name_24 (total VARCHAR, year_built VARCHAR) |
SELECT head_coach FROM table_19905183_1 WHERE price = "$3.22 million" | Who's the head coach of the team with a price of $3.22 million? | CREATE TABLE table_19905183_1 (head_coach VARCHAR, price VARCHAR) |
SELECT 2007 FROM table_name_10 WHERE 1999 = "3r" | What was in 2007 that has a 3r of 1999? | CREATE TABLE table_name_10 (Id VARCHAR) |
SELECT manufacturer FROM table_name_5 WHERE rider = "stefan bradl" | Can you tell me the Manufacturer that has the Rider of stefan bradl? | CREATE TABLE table_name_5 (manufacturer VARCHAR, rider VARCHAR) |
SELECT date FROM table_name_50 WHERE opposing_teams = "france" | What is the date when France is the opposing team? | CREATE TABLE table_name_50 (date VARCHAR, opposing_teams VARCHAR) |
SELECT rank FROM table_name_4 WHERE county = "cork" | What is cork's rank? | CREATE TABLE table_name_4 (rank VARCHAR, county VARCHAR) |
SELECT venue FROM table_name_9 WHERE away_team = "essendon" | Where did Essendon play as the away team? | CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) |
SELECT date FROM table_1137703_2 WHERE winning_driver = "Alain Prost" AND pole_position = "Damon Hill" | On which date was the winning driver Alain Prost and and had Damon Hill in the pole position? | CREATE TABLE table_1137703_2 (date VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) |
SELECT COUNT(number_of_believers) FROM table_24613895_1 WHERE name_of_village = "Patavur" | Name the number of believers for patavur | CREATE TABLE table_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR) |
SELECT venue FROM table_name_41 WHERE game > 18 AND opponent = "morecambe" | What is Venue, when Game is greater than 18, and when Opponent is Morecambe? | CREATE TABLE table_name_41 (venue VARCHAR, game VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_52 WHERE round = "sf" | what is the date when the round is sf? | CREATE TABLE table_name_52 (date VARCHAR, round VARCHAR) |
SELECT runner_s__up FROM table_name_41 WHERE year = "1972" | What are the Runner(s)-up of the 1972 Championship? | CREATE TABLE table_name_41 (runner_s__up VARCHAR, year VARCHAR) |
SELECT pos FROM table_name_11 WHERE first_round < 10 | Which Pos has a First round smaller than 10? | CREATE TABLE table_name_11 (pos VARCHAR, first_round INTEGER) |
SELECT country FROM table_name_29 WHERE killed = "14" AND year = 1965 | What coutry had a rampaged killing 14 in 1965? | CREATE TABLE table_name_29 (country VARCHAR, killed VARCHAR, year VARCHAR) |
SELECT party FROM table_25030512_12 WHERE candidates = "Dennis Ross (R) unopposed" | When dennis ross (r) unopposed is the candidate what is the party? | CREATE TABLE table_25030512_12 (party VARCHAR, candidates VARCHAR) |
SELECT MIN(population) FROM table_27003223_4 WHERE democratic = "28.0%" | What is the lowest population in which 28.0% are democrat? | CREATE TABLE table_27003223_4 (population INTEGER, democratic VARCHAR) |
SELECT country FROM table_name_20 WHERE score = 69 - 69 = 138 AND player = "ian poulter" | What is Country, when Score is "69-69=138", and when Player is "Ian Poulter"? | CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR, score VARCHAR) |
SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Customer reviews" | Show all paragraph texts for the document "Customer reviews". | CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR) |
SELECT national_team FROM table_name_95 WHERE club = "arsenal" AND apps < 4 AND year = "2010" | Which National team has a Club of arsenal, and Apps smaller than 4, and a Year of 2010? | CREATE TABLE table_name_95 (national_team VARCHAR, year VARCHAR, club VARCHAR, apps VARCHAR) |
SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118 | What round did Mitch Davis, with an overall higher than 118, have? | CREATE TABLE table_name_50 (round INTEGER, name VARCHAR, overall VARCHAR) |
SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989 | What was the original title of the Bruno Barreto film in 1989 | CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR) |
SELECT COUNT(vehicle_theft) FROM table_26060884_2 WHERE population = 4465430 | How many vehicle theft data were recorded for a year with a population of 4465430? | CREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, population VARCHAR) |
SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181 | What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? | CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR) |
SELECT COUNT(home_games) FROM table_28884858_1 WHERE average_attendance = 79475 | How many home games are listed when the average attendance is 79475? | CREATE TABLE table_28884858_1 (home_games VARCHAR, average_attendance VARCHAR) |
SELECT MAX(founded) FROM table_255188_1 WHERE institution = "Piedmont College" | When was Piedmont College founded? | CREATE TABLE table_255188_1 (founded INTEGER, institution VARCHAR) |
SELECT team FROM table_23286112_8 WHERE date = "January 4" | Name the team for january 4 | CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR) |
SELECT attendance FROM table_name_38 WHERE opponent = "philadelphia eagles" | Opponent of Philadelphia eagles had what attendance? | CREATE TABLE table_name_38 (attendance VARCHAR, opponent VARCHAR) |
SELECT to_par FROM table_name_75 WHERE country = "united states" AND place = "t4" AND score = 71 - 68 = 139 | What is To Par, when Country is "United States", when Place is "T4", and when Score is "71-68=139"? | CREATE TABLE table_name_75 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) |
SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon" | What 2012 has q2 as the 2010, and wimbledon as the tournament? | CREATE TABLE table_name_31 (tournament VARCHAR) |
SELECT venue FROM table_name_72 WHERE home_team = "geelong" | Name the venue with a home team of geelong | CREATE TABLE table_name_72 (venue VARCHAR, home_team VARCHAR) |
SELECT time_retired FROM table_name_13 WHERE fin_pos = "19" | What was the time of the driver with a finish position of 19? | CREATE TABLE table_name_13 (time_retired VARCHAR, fin_pos VARCHAR) |
SELECT original_airdate FROM table_19517621_4 WHERE title = "The Transit of Venus" | What was the original air date for the episode Calle, The Transit of Venus? | CREATE TABLE table_19517621_4 (original_airdate VARCHAR, title VARCHAR) |
SELECT player FROM table_name_13 WHERE years_for_grizzlies = "1997-1998" | Which player played for the Grizzlies from 1997-1998? | CREATE TABLE table_name_13 (player VARCHAR, years_for_grizzlies VARCHAR) |
SELECT MIN(goals) FROM table_name_37 WHERE goals / matches > 0.43 AND name = "joachim streich" AND matches > 378 | What are the lowest goal that have goals/matches greater than 0.43 with joachim streich as the name and matches greater than 378? | CREATE TABLE table_name_37 (goals INTEGER, matches VARCHAR, name VARCHAR) |
SELECT score FROM table_name_39 WHERE player = "larry nelson" | What was Larry Nelson's final score? | CREATE TABLE table_name_39 (score VARCHAR, player VARCHAR) |
SELECT season FROM table_name_57 WHERE name = "tony boy espinosa" | What is Season, when Name is Tony Boy Espinosa? | CREATE TABLE table_name_57 (season VARCHAR, name VARCHAR) |
SELECT record FROM table_name_93 WHERE opponent = "clayton mckinney" | What is the record when Clayton Mckinney was the opponent? | CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_56 WHERE circuit = "eastern creek raceway" | The Eastern Creek Raceway circuit is on what date? | CREATE TABLE table_name_56 (date VARCHAR, circuit VARCHAR) |
SELECT date FROM table_name_63 WHERE competition = "semifinal" AND result = "2-1 aet" | On What Date is the Competition Semifinal that has a result of 2-1 aet? | CREATE TABLE table_name_63 (date VARCHAR, competition VARCHAR, result VARCHAR) |
SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras" | What Datacenter is listed against the network access connections: rras Feature? | CREATE TABLE table_name_85 (datacenter VARCHAR, features VARCHAR) |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID | What are the names of body builders? | CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.