answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(electorate) FROM table_1289762_1 WHERE constituency = "Hedmark" | How many electorates are there with Hedmark as a constituency? | CREATE TABLE table_1289762_1 (electorate VARCHAR, constituency VARCHAR) |
SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267" | When did the episode seen by is 2.267 million people get aired? | CREATE TABLE table_21055055_2 (au_air_date VARCHAR, viewers__m_ VARCHAR) |
SELECT player FROM table_name_81 WHERE college = "arizona state" | who is the player from arizona state? | CREATE TABLE table_name_81 (player VARCHAR, college VARCHAR) |
SELECT surface FROM table_26202847_6 WHERE score_in_the_final = "2–6, 6–2, 6–0" | The score in the final is 2–6, 6–2, 6–0, on what surface? | CREATE TABLE table_26202847_6 (surface VARCHAR, score_in_the_final VARCHAR) |
SELECT away_team FROM table_name_96 WHERE home_team = "melbourne" | What was the away team that played against Melbourne? | CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) |
SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 | Who had a score of 77-69-70-71=287? | CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) |
SELECT away_team FROM table_name_24 WHERE home_team = "footscray" | What is the visiting team that has a home team related to footscray? | CREATE TABLE table_name_24 (away_team VARCHAR, home_team VARCHAR) |
SELECT COUNT(team) FROM table_30054758_3 WHERE high_assists = "Inge – 6" | How many teams did inge – 6 have the high assists with? | CREATE TABLE table_30054758_3 (team VARCHAR, high_assists VARCHAR) |
SELECT date FROM table_name_9 WHERE opponent = "renato ferreira" | What was the date for renato ferreira? | CREATE TABLE table_name_9 (date VARCHAR, opponent VARCHAR) |
SELECT AVG(crowd) FROM table_name_22 WHERE venue = "victoria park" | What was the average crowd size at Victoria Park? | CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR) |
SELECT winner FROM table_name_62 WHERE loser = "philadelphia eagles" AND location = "yankee stadium" AND year > 1958 | Who was the winner when the Philadelphia eagles were the losers after 1958 at Yankee Stadium? | CREATE TABLE table_name_62 (winner VARCHAR, year VARCHAR, loser VARCHAR, location VARCHAR) |
SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze" | Name the date for margalita chakhnashvili salome devidze | CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR) |
SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50" | What the is the state that the boat is from with LOA of 19.50? | CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR) |
SELECT nationality FROM table_name_71 WHERE rank > 3 AND name = "tom hilde" | Which Nationality has a Rank larger than 3, and a Name of tom hilde? | CREATE TABLE table_name_71 (nationality VARCHAR, rank VARCHAR, name VARCHAR) |
SELECT AVG(total) FROM table_name_90 WHERE year_of_census > 1971 AND serbs = "10,412 (32.88%)" | What is the average total of the census after 1971 with 10,412 (32.88%) Serbs? | CREATE TABLE table_name_90 (total INTEGER, year_of_census VARCHAR, serbs VARCHAR) |
SELECT score FROM table_name_40 WHERE date = "march 8" | what is the score on march 8? | CREATE TABLE table_name_40 (score VARCHAR, date VARCHAR) |
SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1 | What is the most common nationality of people? | CREATE TABLE people (Nationality VARCHAR) |
SELECT years_for_jazz FROM table_11545282_7 WHERE no = 25 | How many years did number 25 play for the Jazz? | CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, no VARCHAR) |
SELECT athlete FROM table_name_59 WHERE notes = "sc/d" AND time = "7:26.85" | Who has a time of 7:26.85 and notes of sc/d? | CREATE TABLE table_name_59 (athlete VARCHAR, notes VARCHAR, time VARCHAR) |
SELECT class FROM table_name_21 WHERE identifier = "cbfx-fm-6" | What Class has the Identifier of CBFX-FM-6? | CREATE TABLE table_name_21 (class VARCHAR, identifier VARCHAR) |
SELECT date FROM table_name_21 WHERE week = 9 | What date has 9 as the week? | CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR) |
SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg" | What was the away team's score at the game held at MCG? | CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR) |
SELECT SUM(year) FROM table_name_90 WHERE nominee = "lesli margherita" | In what year was Lesli Margherita nominated? | CREATE TABLE table_name_90 (year INTEGER, nominee VARCHAR) |
SELECT name FROM table_name_13 WHERE sport = "tennis" AND notes = "b" | Which name has notes b and the game of tennis? | CREATE TABLE table_name_13 (name VARCHAR, sport VARCHAR, notes VARCHAR) |
SELECT young_rider_classification FROM table_name_16 WHERE general_classification = "giuseppe saronni" AND stage = "6" | Name the young rider classification for giuseppe saronni at stage 6 | CREATE TABLE table_name_16 (young_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) |
SELECT assists FROM table_name_45 WHERE pen_min = "54" | How many assists did the player with 54 penalty minutes have? | CREATE TABLE table_name_45 (assists VARCHAR, pen_min VARCHAR) |
SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING COUNT(*) < 3 | Show all template type codes with less than three templates. | CREATE TABLE Templates (template_type_code VARCHAR) |
SELECT province FROM table_name_73 WHERE largest_city = "birjand" | What province has the largest city of Birjand? | CREATE TABLE table_name_73 (province VARCHAR, largest_city VARCHAR) |
SELECT date FROM table_name_42 WHERE catalog = "32xa-112" | What was the date for the catalog 32xa-112? | CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR) |
SELECT result FROM table_name_45 WHERE competition = "league/cup" AND opponent = "swindon wildcats" AND man_of_the_match = "neil liddiard" | What is the result of the league/cup competition with the swindon wildcats as the opponent and neil liddiard as the man of the match? | CREATE TABLE table_name_45 (result VARCHAR, man_of_the_match VARCHAR, competition VARCHAR, opponent VARCHAR) |
SELECT AVG(attendance) FROM table_name_81 WHERE home = "san jose" | What is the average attendance San Jose home games? | CREATE TABLE table_name_81 (attendance INTEGER, home VARCHAR) |
SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina" | How many times did argentina win? | CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR) |
SELECT to_par FROM table_name_77 WHERE place = "t7" AND score = 72 - 67 = 139 AND player = "raymond floyd" | WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD? | CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) |
SELECT MIN(runs) FROM table_28846752_4 WHERE highest_score = "228*" | How many runs are there when the highest score is 228*? | CREATE TABLE table_28846752_4 (runs INTEGER, highest_score VARCHAR) |
SELECT first_pref_votes FROM table_name_23 WHERE _percentage_fpv = "0.06" | What is the First Pref Votes for the % FPv of 0.06? | CREATE TABLE table_name_23 (first_pref_votes VARCHAR, _percentage_fpv VARCHAR) |
SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = "Miss Bahamas" | which is the former pageant in the country where the new pageant is miss bahamas? | CREATE TABLE table_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR) |
SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = "johnny murtagh" AND runners < 26 | What is the total dist with Johnny Murtagh and less than 26 runners? | CREATE TABLE table_name_12 (dist__f_ INTEGER, jockey VARCHAR, runners VARCHAR) |
SELECT first_day_cover_cancellation FROM table_name_4 WHERE date_of_issue = "13 june 2005" | What's listed as the First Day Cover Cancellation with a Date of Issue of 13 June 2005? | CREATE TABLE table_name_4 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR) |
SELECT chassis FROM table_name_64 WHERE year > 1991 | What is the chassis after 1991? | CREATE TABLE table_name_64 (chassis VARCHAR, year INTEGER) |
SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes" | Which Leader has Spoilt Votes as % of Seats? | CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR) |
SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0 | Name the most rank with bronze of 0 and silver more than 1 and gold more than 0 | CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT number FROM table_12206918_2 WHERE opponent = "Iran Barkley" | How many times was iran barkley an opponent? | CREATE TABLE table_12206918_2 (number VARCHAR, opponent VARCHAR) |
SELECT COUNT(new_pageant) FROM table_14308895_2 WHERE country_territory = "Aruba" | How many new pageants does Aruba have? | CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) |
SELECT entered_office FROM table_name_43 WHERE election = "jun. 1959" | When did the party elected in jun. 1959 enter office? | CREATE TABLE table_name_43 (entered_office VARCHAR, election VARCHAR) |
SELECT runner_up FROM table_name_12 WHERE rank = 7 | What is the runner-up for rank of 7? | CREATE TABLE table_name_12 (runner_up VARCHAR, rank VARCHAR) |
SELECT COUNT(round) FROM table_name_3 WHERE position = "lb" AND pick < 25 | Which Round has a Position of lb, and a Pick smaller than 25? | CREATE TABLE table_name_3 (round VARCHAR, position VARCHAR, pick VARCHAR) |
SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia" | Name the number of stage winners for team columbia | CREATE TABLE table_19115414_4 (stage__winner_ VARCHAR, team_classification VARCHAR) |
SELECT AVG(rank) FROM table_name_73 WHERE lane = 6 | What was the rank of the player in lane 6? | CREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR) |
SELECT laid_down FROM table_name_26 WHERE pennant = "u21" | What date was the U21 pennant laid down? | CREATE TABLE table_name_26 (laid_down VARCHAR, pennant VARCHAR) |
SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)" | What opponent has tomko (1-1) as a loss? | CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR) |
SELECT AVG(laps) FROM table_name_23 WHERE time_retired = "+23.707" AND grid > 21 | What is the average lap time for retired time of +23.707 and a Grid greater than 21? | CREATE TABLE table_name_23 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) |
SELECT chinese FROM table_name_50 WHERE subject = "adjectives, adverbs, mostly with reduplication" | Name the chinese with subject of adjectives, adverbs, mostly with reduplication | CREATE TABLE table_name_50 (chinese VARCHAR, subject VARCHAR) |
SELECT MIN(year) FROM table_name_71 WHERE location = "cape town, south africa" | What is the earliest year that the tournament was played in Cape Town, South Africa? | CREATE TABLE table_name_71 (year INTEGER, location VARCHAR) |
SELECT COUNT(area__acres__) FROM table_30120761_1 WHERE civil_parish = "Macroom" AND townland = "Maghereen" | What is the acreage of the Maghereen in the civil parish of Macroom? | CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, civil_parish VARCHAR, townland VARCHAR) |
SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "6.0" | What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg | CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR) |
SELECT result FROM table_name_39 WHERE record = "1-3" | What is the Result of the event with a Record of 1-3? | CREATE TABLE table_name_39 (result VARCHAR, record VARCHAR) |
SELECT tournament FROM table_name_34 WHERE margin_of_victory = "6 strokes" | Which tournament had a margin of victory of 6 strokes? | CREATE TABLE table_name_34 (tournament VARCHAR, margin_of_victory VARCHAR) |
SELECT SUM(year) FROM table_name_18 WHERE competition = "world championships" AND notes = 39.01 | WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01? | CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, notes VARCHAR) |
SELECT COUNT(total) FROM table_name_48 WHERE round_1_ + _2a_points = "19.620" | Name the total number of total when round 1 +2A points of 19.620 | CREATE TABLE table_name_48 (total VARCHAR, round_1_ VARCHAR, _2a_points VARCHAR) |
SELECT 2005 FROM table_name_29 WHERE 2002 = "a" AND 2010 = "3r" | What is the 2005 figure when 2002 is A and 2010 is 3R? | CREATE TABLE table_name_29 (Id VARCHAR) |
SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart" | Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? | CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) |
SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway" | On what team did John Bowe round winner at Winton Motor Raceway belong to? | CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR) |
SELECT notes FROM table_name_36 WHERE year = 2005 | What are the notes for 2005? | CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR) |
SELECT worst_score FROM table_name_95 WHERE best_score = 36 AND worst_dancer_s_ = "john barnes" | What's the worst score for the worst dancer(s) john barnes, with a best score of 36? | CREATE TABLE table_name_95 (worst_score VARCHAR, best_score VARCHAR, worst_dancer_s_ VARCHAR) |
SELECT 1991 AS _92 FROM table_14368332_1 WHERE average = "1.053" | What is the result in 91-92 for the team with a 1.053 average? | CREATE TABLE table_14368332_1 (average VARCHAR) |
SELECT MIN(total) FROM table_name_24 WHERE year_s__won = "1964" | What is the total medals in 1964? | CREATE TABLE table_name_24 (total INTEGER, year_s__won VARCHAR) |
SELECT name FROM table_name_14 WHERE event = "500 metres" | Who set the record in the 500 metres event? | CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR) |
SELECT team FROM table_name_30 WHERE birthplace = "northfield, minnesota" | What is the Team for the player born in northfield, minnesota? | CREATE TABLE table_name_30 (team VARCHAR, birthplace VARCHAR) |
SELECT week_7_oct_12 FROM table_name_29 WHERE week_12_nov_16 = "oregon state (7-3)" | What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)? | CREATE TABLE table_name_29 (week_7_oct_12 VARCHAR, week_12_nov_16 VARCHAR) |
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27" | What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27? | CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR) |
SELECT player FROM table_name_84 WHERE s_wicket = "48" | Which player has a s wicket at 48? | CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR) |
SELECT margin_of_victory FROM table_name_4 WHERE runner_s__up = "betty burfeindt" AND tournament = "pompano beach classic" | Which Margin of victory has a Runner(s)-up of betty burfeindt, and a Tournament of pompano beach classic? | CREATE TABLE table_name_4 (margin_of_victory VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) |
SELECT award FROM table_name_1 WHERE name = "lowe" | What is the award type for all Lowe awards? | CREATE TABLE table_name_1 (award VARCHAR, name VARCHAR) |
SELECT runner_up FROM table_name_21 WHERE tournament = "japan open" | Who was the Japan open runner up? | CREATE TABLE table_name_21 (runner_up VARCHAR, tournament VARCHAR) |
SELECT isbn FROM table_name_42 WHERE first_edition = "may 2011" | What is the ISBN of the book with a first edition in May 2011? | CREATE TABLE table_name_42 (isbn VARCHAR, first_edition VARCHAR) |
SELECT sport FROM table_name_64 WHERE league = "nll" | The nll participate in what sport? | CREATE TABLE table_name_64 (sport VARCHAR, league VARCHAR) |
SELECT AVG(round) FROM table_name_87 WHERE position = "defensive tackle" | What round on average was a defensive tackle selected? | CREATE TABLE table_name_87 (round INTEGER, position VARCHAR) |
SELECT date FROM table_name_66 WHERE record = "4-2" | On what date was the record 4-2? | CREATE TABLE table_name_66 (date VARCHAR, record VARCHAR) |
SELECT area FROM table_name_85 WHERE name = "mount albert school" | What is the area of Mount Albert School? | CREATE TABLE table_name_85 (area VARCHAR, name VARCHAR) |
SELECT MIN(played) FROM table_name_38 WHERE points > 11 AND position = 1 AND lost < 1 | What is the lowest played that has points greater than 11, 1 as the position, and a loss less than 1? | CREATE TABLE table_name_38 (played INTEGER, lost VARCHAR, points VARCHAR, position VARCHAR) |
SELECT score FROM table_name_4 WHERE home_team = "wolverhampton wanderers" | What's the score when the Wolverhampton Wanderers played at home? | CREATE TABLE table_name_4 (score VARCHAR, home_team VARCHAR) |
SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53 | What is the average Density of 53 No. munic.? | CREATE TABLE table_name_40 (density__per_km²_ INTEGER, no_munic VARCHAR) |
SELECT AVG(draws) FROM table_name_38 WHERE losses < 16 AND team = "university" AND wins > 0 | Which Draws have Losses smaller than 16, and a Team of university, and Wins larger than 0? | CREATE TABLE table_name_38 (draws INTEGER, wins VARCHAR, losses VARCHAR, team VARCHAR) |
SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson" | Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? | CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR) |
SELECT place FROM table_name_47 WHERE player = "raymond floyd" | Where is the player Raymond Floyd? | CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR) |
SELECT proto_oceanic FROM table_name_43 WHERE verb = "to sew" | What is the Proto-Oceanic verb for the verb to sew? | CREATE TABLE table_name_43 (proto_oceanic VARCHAR, verb VARCHAR) |
SELECT score FROM table_name_19 WHERE visitor = "ny rangers" AND record = "19–28–15" | Which Score has a Visitor of ny rangers, and a Record of 19–28–15? | CREATE TABLE table_name_19 (score VARCHAR, visitor VARCHAR, record VARCHAR) |
SELECT MAX(losses) FROM table_name_25 WHERE goals_against < 68 AND goal_difference < 23 AND draws = 10 AND club = "racing de santander" | What losses did racing de santander, that scored less than 68 goals, had a goal difference of less than 23 and 10 draws? | CREATE TABLE table_name_25 (losses INTEGER, club VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_difference VARCHAR) |
SELECT points FROM table_20107762_1 WHERE rebounds = "4.4" | What is the points number when rebounds is 4.4? | CREATE TABLE table_20107762_1 (points VARCHAR, rebounds VARCHAR) |
SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia" | What rank was the team from Australia? | CREATE TABLE table_name_77 (rank VARCHAR, country VARCHAR) |
SELECT away_team AS score FROM table_name_82 WHERE venue = "scg" | Which Away team score has a Venue of scg? | CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) |
SELECT region_2 FROM table_191591_5 WHERE number_of_episodes = "25" AND dvd_title = "Catfights and Brawls" | Where are there 25 episodes in Catfights and Brawls? | CREATE TABLE table_191591_5 (region_2 VARCHAR, number_of_episodes VARCHAR, dvd_title VARCHAR) |
SELECT result FROM table_name_85 WHERE week > 8 AND opponent = "washington redskins" | What's the result when the Washington Redskins were the opponents on a week after 8? | CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_45 WHERE time___gmt__ = "23:34" | Which date has time (GMT) of 23:34? | CREATE TABLE table_name_45 (date VARCHAR, time___gmt__ VARCHAR) |
SELECT original_air_date FROM table_28116528_1 WHERE production_code = "3X6316" | What date did the episode with a production code of 3x6316 originally air? | CREATE TABLE table_28116528_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT rating / SHARE(18 - 49) FROM table_20522228_2 WHERE viewers__millions_ = "5.50" | What are the ratings/share ratio when viewers are 5.50 Million? | CREATE TABLE table_20522228_2 (rating VARCHAR, viewers__millions_ VARCHAR) |
SELECT segment_a FROM table_15187735_19 WHERE episode = 237 | What is the segment A on episode 237? | CREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR) |
SELECT points_for FROM table_name_29 WHERE lost = "11" | What is the points when the lost was 11? | CREATE TABLE table_name_29 (points_for VARCHAR, lost VARCHAR) |
SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE frequency_mhz = "100.1" | how many height m ( ft ) with frequency mhz being 100.1 | CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, frequency_mhz VARCHAR) |
SELECT macros FROM table_name_65 WHERE software = "tabula" | Are the there macros in the Tabula software? | CREATE TABLE table_name_65 (macros VARCHAR, software VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.