answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT score FROM table_name_58 WHERE date = "september 28" | What was the score on september 28? | CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR) |
SELECT laps FROM table_name_82 WHERE grid > 14 AND time = "+33.150" | How many laps did the rider with a grid larger than 14 and a time of +33.150 have? | CREATE TABLE table_name_82 (laps VARCHAR, grid VARCHAR, time VARCHAR) |
SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps" | How many grids had a Time/Retired of +4 laps? | CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR) |
SELECT MIN(total) FROM table_1057262_2 WHERE crop__kilotonnes_ = "s Lupin" | what's the minimum total with crop (kilotonnes) being s lupin | CREATE TABLE table_1057262_2 (total INTEGER, crop__kilotonnes_ VARCHAR) |
SELECT SUM(wins) FROM table_name_39 WHERE club = "cobden" AND draws > 2 | What is the total number of wins for Cobden club when there are more than 2 draws? | CREATE TABLE table_name_39 (wins INTEGER, club VARCHAR, draws VARCHAR) |
SELECT year_born__age_ FROM table_name_85 WHERE position = "f/c" | What is the Age of f/c Posiiton? | CREATE TABLE table_name_85 (year_born__age_ VARCHAR, position VARCHAR) |
SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)" | What is the record for the game when the loss was hargan (14–13)? | CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR) |
SELECT MIN(total) FROM table_name_13 WHERE bronze < 16 AND silver > 6 | What's the lowest total when there's less than 16 bronze and more than 6 silver? | CREATE TABLE table_name_13 (total INTEGER, bronze VARCHAR, silver VARCHAR) |
SELECT name FROM table_name_88 WHERE cerclis_id = "fld004092532" | Which site has the CERCLIS ID fld004092532? | CREATE TABLE table_name_88 (name VARCHAR, cerclis_id VARCHAR) |
SELECT para FROM table_name_70 WHERE sipaliwini = "0.1%" | What is the para with a 0.1% sipaliwini? | CREATE TABLE table_name_70 (para VARCHAR, sipaliwini VARCHAR) |
SELECT COUNT(pl_gp) FROM table_name_13 WHERE pick__number = 178 AND rd__number > 9 | What is the sum number of Pl GP when the pick number is 178 and the road number is bigger than 9? | CREATE TABLE table_name_13 (pl_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR) |
SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940 | Which incumbent was first elected in 1940? | CREATE TABLE table_1342256_10 (incumbent VARCHAR, first_elected VARCHAR) |
SELECT attendance FROM table_name_55 WHERE home_team = "cambridge united" | What was the attendance for the match where cambridge united was the home team? | CREATE TABLE table_name_55 (attendance VARCHAR, home_team VARCHAR) |
SELECT round FROM table_name_2 WHERE pick = 112 | Which Round is pick 112 in? | CREATE TABLE table_name_2 (round VARCHAR, pick VARCHAR) |
SELECT country FROM table_14752049_1 WHERE rank = 5 | Which country has a rank of 5? | CREATE TABLE table_14752049_1 (country VARCHAR, rank VARCHAR) |
SELECT MIN(year) FROM table_16677738_1 | What is the lowest overall year? | CREATE TABLE table_16677738_1 (year INTEGER) |
SELECT partner FROM table_name_38 WHERE score = "7–6, 6–3" | Which Partner has a Score of 7–6, 6–3? | CREATE TABLE table_name_38 (partner VARCHAR, score VARCHAR) |
SELECT player FROM table_name_55 WHERE to_par = "+11" | Which player had a To par of +11? | CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR) |
SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757" | What is the rank of the person with a time of 1:44.757? | CREATE TABLE table_name_62 (rank INTEGER, time VARCHAR) |
SELECT lost FROM table_name_64 WHERE losing_bonus = "3" AND club = "bettws rfc" | What is Lost, when Losing Bonus is "3", and when Club is "Bettws RFC"? | CREATE TABLE table_name_64 (lost VARCHAR, losing_bonus VARCHAR, club VARCHAR) |
SELECT class FROM table_14624447_39 WHERE position = "RT" | Name the class when position is rt | CREATE TABLE table_14624447_39 (class VARCHAR, position VARCHAR) |
SELECT croatian FROM table_25008327_8 WHERE english = "dog" | What is every value for Croatian when value for English is dog? | CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR) |
SELECT status FROM table_name_58 WHERE name = "joon-hyung park 박준형" | What was the status of joon-hyung park 박준형? | CREATE TABLE table_name_58 (status VARCHAR, name VARCHAR) |
SELECT record FROM table_name_89 WHERE score = "110-106" | What is the record of the game with a 110-106 score? | CREATE TABLE table_name_89 (record VARCHAR, score VARCHAR) |
SELECT MAX(20 AS _rebounds) FROM table_25696729_8 WHERE double_double = 5 | What is the highest rebound Dennis Rodman obtained within the 20 rebounds category given two of the following:points, rebounds, assists, steals, and blocked shots (points) greater equal to 5 | CREATE TABLE table_25696729_8 (double_double VARCHAR) |
SELECT score_1 FROM table_name_23 WHERE away_team = "portsmouth" | What was the score of the match in which Portsmouth was the Away team? | CREATE TABLE table_name_23 (score_1 VARCHAR, away_team VARCHAR) |
SELECT MIN(season) FROM table_name_72 WHERE races > 14 AND podiums > 4 | What is the earliest season with more than 14 races and more than 4 podiums? | CREATE TABLE table_name_72 (season INTEGER, races VARCHAR, podiums VARCHAR) |
SELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = "Overton Moyle" | Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906? | CREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR) |
SELECT original_airdate FROM table_23294081_10 WHERE performer_2 = "Jeff Davis" | What was the date that the episode with Jeff Davis as the second performer originally aired? | CREATE TABLE table_23294081_10 (original_airdate VARCHAR, performer_2 VARCHAR) |
SELECT MAX(cuts_made) FROM table_name_65 WHERE events < 1 | Events smaller than 1 had what highest cuts made? | CREATE TABLE table_name_65 (cuts_made INTEGER, events INTEGER) |
SELECT Address FROM LOCATIONS WHERE Location_Name = "UK Gallery" | What is the address of the location "UK Gallery"? | CREATE TABLE LOCATIONS (Address VARCHAR, Location_Name VARCHAR) |
SELECT MAX(laps) FROM table_name_99 WHERE grid = 17 | What is the highest number of laps for grid 17? | CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR) |
SELECT song FROM table_name_50 WHERE points > 64 AND national_final = "4th" AND draw > 3 | what is the song when the points is more than 64, the national final is 4th and draw is more than 3? | CREATE TABLE table_name_50 (song VARCHAR, draw VARCHAR, points VARCHAR, national_final VARCHAR) |
SELECT year_s__won FROM table_name_69 WHERE total = 291 | In which year(s) did the person who has a total of 291 win? | CREATE TABLE table_name_69 (year_s__won VARCHAR, total VARCHAR) |
SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984" | Name the region for cd format on february 22, 1984 | CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR) |
SELECT district FROM table_23214055_2 WHERE nairs = "8.2" | Name the district for nairs 8.2 | CREATE TABLE table_23214055_2 (district VARCHAR, nairs VARCHAR) |
SELECT visitor FROM table_name_23 WHERE home = "minnesota" | Which visitor lives in Minnesota? | CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR) |
SELECT race FROM table_name_16 WHERE replica = "dnf" | Which race has a replica of DNF? | CREATE TABLE table_name_16 (race VARCHAR, replica VARCHAR) |
SELECT date FROM table_name_89 WHERE result = "l 33–14" | What is the Date of the game with a Result of L 33–14? | CREATE TABLE table_name_89 (date VARCHAR, result VARCHAR) |
SELECT college FROM table_25017530_5 WHERE player = "Nate Binder" | Name the college for nate binder | CREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR) |
SELECT title FROM table_25800134_2 WHERE airdate = "May 10, 1958" | What is the title of the episode that aired on May 10, 1958? | CREATE TABLE table_25800134_2 (title VARCHAR, airdate VARCHAR) |
SELECT stadium FROM table_24949975_1 WHERE home_team = "Shamrock Rovers" AND result = "3–0" | What was the stadium for the home team of shamrock rovers and result of 3–0? | CREATE TABLE table_24949975_1 (stadium VARCHAR, home_team VARCHAR, result VARCHAR) |
SELECT MAX(points) FROM table_14342480_15 WHERE player = "Duncan Thompson" | How many points did Duncan Thompson score? | CREATE TABLE table_14342480_15 (points INTEGER, player VARCHAR) |
SELECT second FROM table_name_16 WHERE nation = "latvia" | Which Second has a Nation of latvia? | CREATE TABLE table_name_16 (second VARCHAR, nation VARCHAR) |
SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards" | Name the 2013 club which has a Name of ana grbac category:articles with hcards? | CREATE TABLE table_name_62 (name VARCHAR) |
SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011" | Who is the opponent for the 2011 season with a decision of W? | CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR) |
SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956 | What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956? | CREATE TABLE table_name_41 (points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR) |
SELECT engine FROM table_name_49 WHERE team = "arciero racing" | What is the engine for the Arciero Racing team? | CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR) |
SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 14" | What is the result of the game on May 14 with Philadelphia as the road team? | CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR) |
SELECT position FROM table_name_39 WHERE f_laps = "test driver" | Which position had f/laps that was test driver? | CREATE TABLE table_name_39 (position VARCHAR, f_laps VARCHAR) |
SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = "Tl 2 Ba 2 CuO 6" | How many times is the formula tl 2 ba 2 cuo 6? | CREATE TABLE table_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR) |
SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 0 | How many Top 10s have Wins larger than 0, and Poles larger than 0? | CREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR) |
SELECT pick FROM table_name_34 WHERE position = "defensive end" | Which pick number resulted in a defensive end? | CREATE TABLE table_name_34 (pick VARCHAR, position VARCHAR) |
SELECT week FROM table_name_66 WHERE opponent = "bye" | What week did they have a bye? | CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR) |
SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg" | Name the 2nd leg for team 1 of hamburg | CREATE TABLE table_name_90 (team_1 VARCHAR) |
SELECT third FROM table_name_78 WHERE lead = "zanda bikše" | Which Third has a Lead of zanda bikše? | CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR) |
SELECT COUNT(quantity) FROM table_name_59 WHERE type = "2-4-2t" | What is the Quantity of type 2-4-2t? | CREATE TABLE table_name_59 (quantity VARCHAR, type VARCHAR) |
SELECT start_source FROM table_name_42 WHERE loan_club = "fulham" | What is the loan start source when the loan club is fulham? | CREATE TABLE table_name_42 (start_source VARCHAR, loan_club VARCHAR) |
SELECT location___state FROM table_name_57 WHERE winner = "craig lowndes" | The winner, Craig Lowndes, was in what location/state? | CREATE TABLE table_name_57 (location___state VARCHAR, winner VARCHAR) |
SELECT AVG(games_played) FROM table_name_5 WHERE loses = 10 AND player = "bo oshoniyi" AND minutes > 1170 | What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses? | CREATE TABLE table_name_5 (games_played INTEGER, minutes VARCHAR, loses VARCHAR, player VARCHAR) |
SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 | What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races? | CREATE TABLE table_name_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR) |
SELECT MAX(4 AS _hoops), _2_clubs FROM table_name_14 WHERE nation = "belarus" AND total < 38.25 | What is the highest 4 hoops, 2 clubs of Belarus, which has a total less than 38.25? | CREATE TABLE table_name_14 (_2_clubs VARCHAR, nation VARCHAR, total VARCHAR) |
SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 5 | How many Games has a Name of stéphane dumas and a Rank larger than 5? | CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR) |
SELECT MIN(attendance) FROM table_name_82 WHERE result = "l 42-35" AND week < 13 | What is the lowest attendance that has l 42-35 as the result, with a week less than 13? | CREATE TABLE table_name_82 (attendance INTEGER, result VARCHAR, week VARCHAR) |
SELECT try_bonus FROM table_name_82 WHERE points_for = "418" | That is the value for Try bonus when the value for Points is 418? | CREATE TABLE table_name_82 (try_bonus VARCHAR, points_for VARCHAR) |
SELECT visitor FROM table_name_49 WHERE home = "anaheim" AND date = "april 12" | Who was the Visitor when the Home team was Anaheim on the Date of April 12? | CREATE TABLE table_name_49 (visitor VARCHAR, home VARCHAR, date VARCHAR) |
SELECT COUNT(semi_finals_result) FROM table_26267849_11 WHERE performance_order = 12 | Name the number of semi final results for 12 performance order | CREATE TABLE table_26267849_11 (semi_finals_result VARCHAR, performance_order VARCHAR) |
SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne" | Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish? | CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR) |
SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia" | Which class City of license of ferrum, virginia? | CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR) |
SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer" | What was Bernhard Langer's highest score? | CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) |
SELECT MAX(total_kurdistan_list) FROM table_24440361_1 WHERE governorate = "Diyala" | Name the most kirdistan list for diyala | CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER, governorate VARCHAR) |
SELECT no_5 FROM table_name_28 WHERE no_6 = "ethan" AND no_4 = "william" AND no_9 = "john" | Name the No. 5 which has a No. 6 of ethan, and a No. 4 of william, and a No. 9 of john? | CREATE TABLE table_name_28 (no_5 VARCHAR, no_9 VARCHAR, no_6 VARCHAR, no_4 VARCHAR) |
SELECT team FROM table_26914854_3 WHERE date_of_appointment = "23 March 2011" | What is the team when the date of appointment is 23 march 2011? | CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR) |
SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton" | What is the average total for Dave Stockton? | CREATE TABLE table_name_66 (total INTEGER, player VARCHAR) |
SELECT event FROM table_name_49 WHERE viewers = "2.4 million" AND rating = "1.4" | What is Event, when Viewers is 2.4 Million, and when Rating is 1.4? | CREATE TABLE table_name_49 (event VARCHAR, viewers VARCHAR, rating VARCHAR) |
SELECT actor FROM table_name_88 WHERE number_of_episodes = "117 episodes" | What is Actor, when Number Of Episodes is "117 Episodes"? | CREATE TABLE table_name_88 (actor VARCHAR, number_of_episodes VARCHAR) |
SELECT series__number FROM table_29087004_3 WHERE written_by = "Evan Gore" | Which episode/s were written by Evan Gore? | CREATE TABLE table_29087004_3 (series__number VARCHAR, written_by VARCHAR) |
SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale" | Which Species/Authority has a Name of true's beaked whale? | CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR) |
SELECT venue FROM table_name_14 WHERE away_team = "south melbourne" | Which venue has an Away team of south melbourne? | CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR) |
SELECT champion FROM table_name_26 WHERE year = 1988 | Who were the champions in 1988? | CREATE TABLE table_name_26 (champion VARCHAR, year VARCHAR) |
SELECT mult FROM table_name_85 WHERE sspec_number = "slj6d(b1)slj6f(b1)" | Spec number of slj6d(b1)slj6f(b1) has what mult.? | CREATE TABLE table_name_85 (mult VARCHAR, sspec_number VARCHAR) |
SELECT chassis FROM table_name_89 WHERE team = "marlboro brm" | Which chassis has marlboro brm as the team? | CREATE TABLE table_name_89 (chassis VARCHAR, team VARCHAR) |
SELECT 2008 FROM table_name_37 WHERE 2012 = "f" | Name the 2008 for 2012 f | CREATE TABLE table_name_37 (Id VARCHAR) |
SELECT location FROM table_11214772_2 WHERE year = 2007 | Where was the final game played in 2007 | CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR) |
SELECT 2012 FROM table_name_13 WHERE 2010 = "a" AND tournament = "wimbledon" | What is the 2012 value with A in 2010 at the Tournament of Wimbledon? | CREATE TABLE table_name_13 (tournament VARCHAR) |
SELECT MAX(production_code) FROM table_11951237_1 WHERE original_air_date = "October 27, 1994" | What is the production code for the show that aired on October 27, 1994? | CREATE TABLE table_11951237_1 (production_code INTEGER, original_air_date 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 MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962 | What's the game with an attendance of 71,962? | CREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR) |
SELECT years FROM table_name_23 WHERE area = "makikihi" | What years does the school have that's in Makikihi? | CREATE TABLE table_name_23 (years VARCHAR, area VARCHAR) |
SELECT institution FROM table_1974782_1 WHERE location = "Worcester, Massachusetts" | What school is located in Worcester, Massachusetts? | CREATE TABLE table_1974782_1 (institution VARCHAR, location VARCHAR) |
SELECT player FROM table_name_8 WHERE pick__number = "15" | What is the name of the player that was Pick 15? | CREATE TABLE table_name_8 (player VARCHAR, pick__number VARCHAR) |
SELECT SUM(grid) FROM table_name_28 WHERE driver = "johnny herbert" AND laps > 52 | What is the number of the grid for Johnny Herbert with more than 52 laps? | CREATE TABLE table_name_28 (grid INTEGER, driver VARCHAR, laps VARCHAR) |
SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)" | Which Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)? | CREATE TABLE table_name_58 (year INTEGER, category VARCHAR) |
SELECT team FROM table_name_75 WHERE pos > 3 AND make = "toyota" AND car__number < 59 AND driver = "mike skinner" | Which Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner? | CREATE TABLE table_name_75 (team VARCHAR, driver VARCHAR, car__number VARCHAR, pos VARCHAR, make VARCHAR) |
SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel" | Who composed the work conducted by jaroslav Vogel? | CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR) |
SELECT season FROM table_name_91 WHERE apps = 7 | What season did he have 7 appearances? | CREATE TABLE table_name_91 (season VARCHAR, apps VARCHAR) |
SELECT chassis FROM table_name_66 WHERE engine = "ford v8" AND year < 1976 AND points = "12" | Before 1976 and with 12 points, what chassis did the Ford V8 have? | CREATE TABLE table_name_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR) |
SELECT MIN(lane) FROM table_name_31 WHERE name = "kasey giteau" AND rank < 18 | Name the least lane for kasey giteau and rank less than 18 | CREATE TABLE table_name_31 (lane INTEGER, name VARCHAR, rank VARCHAR) |
SELECT title FROM table_24910737_1 WHERE us_viewers__millions_ = "8.16" | What is the episode title that had a US viewership of 8.16? | CREATE TABLE table_24910737_1 (title VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT college FROM table_name_93 WHERE name = "hardy brown" | Which College has a Name of hardy brown? | CREATE TABLE table_name_93 (college VARCHAR, name VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.