answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT horse FROM table_name_54 WHERE finished = "8" | Which Horse finished in 8? | CREATE TABLE table_name_54 (horse VARCHAR, finished VARCHAR) |
SELECT date FROM table_14971788_1 WHERE week = 2 | What date was week 2? | CREATE TABLE table_14971788_1 (date VARCHAR, week VARCHAR) |
SELECT away_team FROM table_name_72 WHERE venue = "arden street oval" | What team was the away team at Arden Street Oval? | CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR) |
SELECT location FROM table_name_13 WHERE team_nickname = "fighting missionaries" | What Location has a Team Nickname called the Fighting Missionaries? | CREATE TABLE table_name_13 (location VARCHAR, team_nickname VARCHAR) |
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21" | Name the driver for race time being 2:34:21 | CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR) |
SELECT to_par FROM table_name_66 WHERE place = "t5" | What was the To par of the golfer that placed t5? | CREATE TABLE table_name_66 (to_par VARCHAR, place VARCHAR) |
SELECT wickets FROM table_name_77 WHERE runs < 7531 AND matches > 44 AND average = 22.17 | How many wickets have runs under 7531, matches over 44, and an average of 22.17? | CREATE TABLE table_name_77 (wickets VARCHAR, average VARCHAR, runs VARCHAR, matches VARCHAR) |
SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)" | what is the team when the high points is by charlie villanueva (24)? | CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR) |
SELECT opponent FROM table_name_96 WHERE game = 75 | Who was the opponent for game 75? | CREATE TABLE table_name_96 (opponent VARCHAR, game VARCHAR) |
SELECT SUM(pick) FROM table_name_24 WHERE round = 11 | Round of 11 had waht sum of pick? | CREATE TABLE table_name_24 (pick INTEGER, round VARCHAR) |
SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12" | For the 12/12 races, what is the fastest lap? | CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR) |
SELECT producer FROM table_18943444_1 WHERE product = "金必氏牌嬰幼兒配方乳粉" | Who is the producer of 金必氏牌嬰幼兒配方乳粉 ? | CREATE TABLE table_18943444_1 (producer VARCHAR, product VARCHAR) |
SELECT name FROM airports WHERE country = 'Cuba' OR country = 'Argentina' | Find the name of the airports located in Cuba or Argentina. | CREATE TABLE airports (name VARCHAR, country VARCHAR) |
SELECT AVG(round) FROM table_name_56 WHERE circuit = "oulton park" | What was the average round for the oulton park circuit? | CREATE TABLE table_name_56 (round INTEGER, circuit VARCHAR) |
SELECT opponent FROM table_20745706_1 WHERE _number = "5" | Who is the opponent in game 5? | CREATE TABLE table_20745706_1 (opponent VARCHAR, _number VARCHAR) |
SELECT outcome FROM table_name_68 WHERE tournament = "lugano , switzerland wta virginia slims" AND opponent_in_the_final = "bonnie gadusek" | What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek? | CREATE TABLE table_name_68 (outcome VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) |
SELECT aircraft FROM table_name_40 WHERE quantity = "129" | What aircraft has 129 made? | CREATE TABLE table_name_40 (aircraft VARCHAR, quantity VARCHAR) |
SELECT MAX(season) FROM table_25539502_1 WHERE podiums = 1 | What is the latest season where he had 1 podium? | CREATE TABLE table_25539502_1 (season INTEGER, podiums VARCHAR) |
SELECT game FROM table_name_37 WHERE result = "win" AND opponent = "new hampshire" AND season < 2008 | Which Game has a Result of win, and an Opponent of new hampshire, and a Season smaller than 2008? | CREATE TABLE table_name_37 (game VARCHAR, season VARCHAR, result VARCHAR, opponent VARCHAR) |
SELECT lost FROM table_1676073_13 WHERE points_for = "539" | How many losses does the club with 539 points for have? | CREATE TABLE table_1676073_13 (lost VARCHAR, points_for VARCHAR) |
SELECT MIN(game) FROM table_name_5 WHERE location = "shibe park" AND date = "october 10" | Name the least game for october 10 at shibe park | CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR) |
SELECT COUNT(high_rebounds) FROM table_22669044_9 WHERE location_attendance = "United Center 19,335" | Name the number of high rebounds for united center 19,335 | CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, location_attendance VARCHAR) |
SELECT COUNT(region) FROM table_2588674_1 WHERE village = "Asan-Maina" | How many places named asan-maina? | CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR) |
SELECT date FROM table_name_2 WHERE record = "1-0" | What is the date of the Cubs game when the Cubs had a record of 1-0? | CREATE TABLE table_name_2 (date VARCHAR, record VARCHAR) |
SELECT duration__days_ FROM table_245801_1 WHERE crew = "Georgi Grechko" | Name the duration for georgi grechko | CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR) |
SELECT english FROM table_name_46 WHERE icelandic = "hlaupa" | What is the ENglish word for the Icelandic word hlaupa? | CREATE TABLE table_name_46 (english VARCHAR, icelandic VARCHAR) |
SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = "65.56" | what is the rank when judge m is 65.93 and judge e is 65.56? | CREATE TABLE table_name_67 (rank VARCHAR, judge_m VARCHAR, judge_e VARCHAR) |
SELECT 2000 FROM table_name_67 WHERE tournament = "canada masters" | What is 2000, when Tournament is "Canada Masters"? | CREATE TABLE table_name_67 (tournament VARCHAR) |
SELECT date FROM table_name_26 WHERE result = "w 27-24 (ot)" | When was the game with a result of w 27-24 (ot)? | CREATE TABLE table_name_26 (date VARCHAR, result VARCHAR) |
SELECT nationality FROM table_name_35 WHERE player = "dick walker" | Which nationality is Dick Walker? | CREATE TABLE table_name_35 (nationality VARCHAR, player VARCHAR) |
SELECT date FROM table_name_49 WHERE attendance > 19 OFFSET 600 | What date were there more than 19,600 people in attendance? | CREATE TABLE table_name_49 (date VARCHAR, attendance INTEGER) |
SELECT location FROM table_26476336_2 WHERE team_nickname = "Red Raiders" | Where is the nickname the Red Raiders? | CREATE TABLE table_26476336_2 (location VARCHAR, team_nickname VARCHAR) |
SELECT fleet_number_s_ FROM table_name_78 WHERE quantity_made = "1" | Which fleet numbers has quantity of 1? | CREATE TABLE table_name_78 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) |
SELECT code FROM table_name_34 WHERE currency = "croatian kuna" | What code is used to represent the currency of Croatian Kuna? | CREATE TABLE table_name_34 (code VARCHAR, currency VARCHAR) |
SELECT player FROM table_name_25 WHERE round > 5 AND position = "c" | Tell me the player for round more than 5 and position of c | CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR) |
SELECT site FROM table_name_92 WHERE result = "w52-0" | What is the Site when the Result was w52-0? | CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR) |
SELECT party FROM table_1342393_23 WHERE first_elected = 1923 | What was the party for first elected 1923? | CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR) |
SELECT country FROM table_name_73 WHERE champion = "jocelyne bourassa" | What country does jocelyne bourassa play for? | CREATE TABLE table_name_73 (country VARCHAR, champion VARCHAR) |
SELECT nhl_team FROM table_name_66 WHERE position = "left wing" | Which NHL team has left wing listed as the position? | CREATE TABLE table_name_66 (nhl_team VARCHAR, position VARCHAR) |
SELECT MAX(top_5) FROM table_name_88 WHERE events < 16 AND wins < 0 | Name the most top-5 for wins less than 0 and events less than 16 | CREATE TABLE table_name_88 (top_5 INTEGER, events VARCHAR, wins VARCHAR) |
SELECT T1.name, T1.date, T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id | Show the name and date for each race and its track name. | CREATE TABLE race (name VARCHAR, date VARCHAR, track_id VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) |
SELECT venue FROM table_name_2 WHERE notes = "5000 m" AND year = 2009 AND position = "1st" | Which venue had 5000 m notes in 2009 with a 1st position? | CREATE TABLE table_name_2 (venue VARCHAR, position VARCHAR, notes VARCHAR, year VARCHAR) |
SELECT score FROM table_name_55 WHERE record = "67-82" | When the record was 67-82, what was the final score recorded? | CREATE TABLE table_name_55 (score VARCHAR, record VARCHAR) |
SELECT wind__m_s_ FROM table_1231316_7 WHERE date = "21 June 1976" | What was the wind on 21 june 1976? | CREATE TABLE table_1231316_7 (wind__m_s_ VARCHAR, date VARCHAR) |
SELECT minor_sponsors FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND main_sponsor = "Batavo" | When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors? | CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, main_sponsor VARCHAR) |
SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22 | What is the highest number of losses with 23 points and 22 plays? | CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR) |
SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth" | what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth? | CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR) |
SELECT MAX(rank) FROM table_name_16 WHERE date_of_official_foundation_of_municipality = 1952 AND 2006 < 189120 | What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120? | CREATE TABLE table_name_16 (rank INTEGER, date_of_official_foundation_of_municipality VARCHAR) |
SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai" | How many base pairs are there in the tohamai strain? | CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR) |
SELECT record FROM table_name_38 WHERE leading_scorer = "maurice williams (25)" AND date = "27 january 2008" | What is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008? | CREATE TABLE table_name_38 (record VARCHAR, leading_scorer VARCHAR, date VARCHAR) |
SELECT undisclosed FROM table_23835213_2 WHERE wycombe_wanderers = "Unattached" | What is the undisclosed when Wycombe Wanderers is unattached? | CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR) |
SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96" | Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96? | CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR) |
SELECT us_state_district FROM table_name_51 WHERE charter_date = "april 17, 2011" | What state or district has a charter date of april 17, 2011? | CREATE TABLE table_name_51 (us_state_district VARCHAR, charter_date VARCHAR) |
SELECT COUNT(type_of_record) FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)" | how many records had result/games: 10 games (29,606 avg.) | CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR) |
SELECT result FROM table_name_83 WHERE year < 2005 | What was the result for years prior to 2005? | CREATE TABLE table_name_83 (result VARCHAR, year INTEGER) |
SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver" | How much money did the player Ed Oliver win? | CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR) |
SELECT party FROM table_1341423_22 WHERE first_elected = 1994 | Which party does the incumbent first elected in 1994 belong to? | CREATE TABLE table_1341423_22 (party VARCHAR, first_elected VARCHAR) |
SELECT scorers FROM table_name_94 WHERE result_f_a = "1–0" | Who were F–A of 1–0 scorers? | CREATE TABLE table_name_94 (scorers VARCHAR, result_f_a VARCHAR) |
SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 2008" | Name the republican steve sauerberg where dates administered september 15-september 18, 2008 | CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR) |
SELECT MAX(3620) FROM table_name_34 WHERE 5432 = 5432 AND 15122 > 15122 | What is the highest 3620 value with a 5432 of 5432 and a 15122 greater than 15122? | CREATE TABLE table_name_34 (Id VARCHAR) |
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62" | How many tries against got the club with 62 tries for? | CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR) |
SELECT home_team FROM table_name_93 WHERE tie_no = "9" | Who is the home team with tie number 9? | CREATE TABLE table_name_93 (home_team VARCHAR, tie_no VARCHAR) |
SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan" | how many bosnian in cook islands is sri lankan | CREATE TABLE table_24807774_1 (bosnian VARCHAR, cook_islands VARCHAR) |
SELECT korean FROM table_name_51 WHERE chinese = "師子菩提 / shīzǐpútí" | Which KOREAN has a CHINESE of 師子菩提 / shīzǐpútí? | CREATE TABLE table_name_51 (korean VARCHAR, chinese VARCHAR) |
SELECT MAX(team_wins) FROM table_name_48 WHERE nation = "sweden" AND individual_wins < 1 | Which Team Win is from sweden and has a Individual win smaller than 1 | CREATE TABLE table_name_48 (team_wins INTEGER, nation VARCHAR, individual_wins VARCHAR) |
SELECT SUM(attendance) FROM table_name_6 WHERE result = "w 48-10" | How many attendances have w 48-10 as the result? | CREATE TABLE table_name_6 (attendance INTEGER, result VARCHAR) |
SELECT regular_season_winner FROM table_22779004_1 WHERE tournament_winner = "Maryland" | Who won the regular season when Maryland won the tournament? | CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, tournament_winner VARCHAR) |
SELECT COUNT(lost) FROM table_name_50 WHERE points > 14 | Hoe many of lost have points greater than 14? | CREATE TABLE table_name_50 (lost VARCHAR, points INTEGER) |
SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = "207-215" | How many points are obtained when a standing broad jump is 207-215 cm? | CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR) |
SELECT original_air_date FROM table_13183076_3 WHERE directed_by = "Tricia Brock" | What is the Original air date for the episode directed by Tricia Brock? | CREATE TABLE table_13183076_3 (original_air_date VARCHAR, directed_by VARCHAR) |
SELECT winner FROM table_name_71 WHERE week_of = "26 june 2 weeks" AND runner_up = "arantxa sánchez vicario" | Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa Sánchez Vicario? | CREATE TABLE table_name_71 (winner VARCHAR, week_of VARCHAR, runner_up VARCHAR) |
SELECT venue FROM table_name_43 WHERE score = "24–28" | What was the venue when the score was 24–28? | CREATE TABLE table_name_43 (venue VARCHAR, score VARCHAR) |
SELECT location_attendance FROM table_name_9 WHERE record = "41–36" | What shows for the location and attendance when the record is 41–36? | CREATE TABLE table_name_9 (location_attendance VARCHAR, record VARCHAR) |
SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner" | Who was the partner of the winner after 2012? | CREATE TABLE table_name_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR) |
SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks" | What player belongs to the Chicago Blackhawks? | CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR) |
SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68" | How many numbers were listed under losing bonus when there were 68 tries for? | CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR) |
SELECT rating FROM table_name_23 WHERE event = "johnson vs. dodson" | What is Rating, when Event is Johnson Vs. Dodson? | CREATE TABLE table_name_23 (rating VARCHAR, event VARCHAR) |
SELECT distance FROM table_name_5 WHERE stage = "2" | Name the distance for stage of 2 | CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR) |
SELECT district FROM table_name_3 WHERE first_elected = 1858 AND result = "defeated democratic gain" AND incumbent = "james humphrey" | What district is James Humphrey from who was first elected in 1858 and was eventually defeated democratic gain? | CREATE TABLE table_name_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) |
SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85–90 (ot)" | What is the Team with a game of more than 56, and the score is l 85–90 (ot)? | CREATE TABLE table_name_76 (team VARCHAR, game VARCHAR, score VARCHAR) |
SELECT team FROM table_name_73 WHERE rank = 3 | What team has rank 3? | CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR) |
SELECT opening_date FROM table_name_53 WHERE capacity = 100 | What opening date has a capacity of 100? | CREATE TABLE table_name_53 (opening_date VARCHAR, capacity VARCHAR) |
SELECT record FROM table_23916539_3 WHERE opponent = "Stampeders" | If the opponent is the Stampeders, what is the record? | CREATE TABLE table_23916539_3 (record VARCHAR, opponent VARCHAR) |
SELECT COUNT(format) FROM table_11222744_2 WHERE title = "Beginning Callanetics" | where title is beginning callanetics , what is the total of format ? | CREATE TABLE table_11222744_2 (format VARCHAR, title VARCHAR) |
SELECT COUNT(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = "voluptatem" | How many problems are there for product voluptatem? | CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_id VARCHAR, product_name VARCHAR) |
SELECT to_par FROM table_name_1 WHERE country = "united states" AND score = 71 - 71 = 142 | What's the to par of the United States with the score of 71-71=142? | CREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, score VARCHAR) |
SELECT player FROM table_name_45 WHERE to_par = "+2" | Which player has +2 to par? | CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR) |
SELECT SUM(year) FROM table_name_5 WHERE album = "roots and branches" | What is the total years for roots and branches? | CREATE TABLE table_name_5 (year INTEGER, album VARCHAR) |
SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002 | Show each school name, its budgeted amount, and invested amount in year 2002 or after. | CREATE TABLE budget (budgeted VARCHAR, invested VARCHAR, school_id VARCHAR, year VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) |
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 2)" | What is the Cover Date of the Story Title Spacehikers (Part 2)? | CREATE TABLE table_name_59 (cover_date VARCHAR, story_title VARCHAR) |
SELECT SUM(round) FROM table_name_36 WHERE pick__number < 26 AND position = "cornerback" AND overall > 41 | Which cornerback round has a pick number lower than 26 and an overall higher than 41? | CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) |
SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw" | What's the call sign that has 20kw of power? | CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR) |
SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11 | Name the most bronze for silver more than 6 and total less than 127 with gold less than 11 | CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) |
SELECT circuit FROM table_24852622_1 WHERE round = "2" | What was the circuit in round 2? | CREATE TABLE table_24852622_1 (circuit VARCHAR, round VARCHAR) |
SELECT bodybuilder FROM table_28035004_1 WHERE operator = "Coventry" | Who was the bodybuilder when Coventry was operating? | CREATE TABLE table_28035004_1 (bodybuilder VARCHAR, operator VARCHAR) |
SELECT date FROM table_name_91 WHERE tournament = "tokyo, japan" AND score = "4–6, 6–4, 6–4" | Tournament of tokyo, japan, and a Score of 4–6, 6–4, 6–4 had which date attached? | CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR, score VARCHAR) |
SELECT employee__real_name_ FROM table_name_9 WHERE pick__number > 10 AND brand__to_ = "raw" | what is the employee (real name) when the pick # is higher than 10 and the brand (to) is raw? | CREATE TABLE table_name_9 (employee__real_name_ VARCHAR, pick__number VARCHAR, brand__to_ VARCHAR) |
SELECT artist FROM table_name_67 WHERE label = "reunion" AND credit = "guitar" AND album = "christmas" | Who was the artist for the album, Christmas under the reunion label with the guitar? | CREATE TABLE table_name_67 (artist VARCHAR, album VARCHAR, label VARCHAR, credit VARCHAR) |
SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10 | Show all the buildings that have at least 10 professors. | CREATE TABLE Faculty (building VARCHAR, rank VARCHAR) |
SELECT original_airdate FROM table_name_2 WHERE episode = 1 | Which Original Airdate has an Episode of 1? | CREATE TABLE table_name_2 (original_airdate VARCHAR, episode VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.