question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the nationality of the person who played small forward? | CREATE TABLE table_name_82 (nationality VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_82 WHERE position = "small forward" |
What is the maximum number of picks for the CFL team Calgary Stampeders? | CREATE TABLE table_10975034_4 (pick__number INTEGER, cfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_10975034_4 WHERE cfl_team = "Calgary Stampeders" |
What manufacturer has a year made of 1883? | CREATE TABLE table_name_76 (manufacturer VARCHAR, year_made VARCHAR) | SELECT manufacturer FROM table_name_76 WHERE year_made = "1883" |
Who ran for the House in the 1924 election? | CREATE TABLE table_1342256_11 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1342256_11 WHERE first_elected = 1924 |
I want the total number of gross tonnage when entered service was 1903 | CREATE TABLE table_name_51 (gross_tonnage VARCHAR, entered_service VARCHAR) | SELECT COUNT(gross_tonnage) FROM table_name_51 WHERE entered_service = "1903" |
During November 3 where august 21-22 is august 21, 2017? | CREATE TABLE table_25287007_2 (november_3 VARCHAR, august_21_22 VARCHAR) | SELECT november_3 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017" |
Which decile features Mayfield School? | CREATE TABLE table_name_90 (decile VARCHAR, name VARCHAR) | SELECT decile FROM table_name_90 WHERE name = "mayfield school" |
Show the transportation method most people choose to get to tourist attractions. | CREATE TABLE Tourist_Attractions (How_to_Get_There VARCHAR) | SELECT How_to_Get_There FROM Tourist_Attractions GROUP BY How_to_Get_There ORDER BY COUNT(*) DESC LIMIT 1 |
When did TDB depart? | CREATE TABLE table_name_16 (year INTEGER, departed_from VARCHAR) | SELECT MAX(year) FROM table_name_16 WHERE departed_from = "tdb" |
What is the sum of October, when Opponent is "Pittsburgh Penguins"? | CREATE TABLE table_name_19 (october INTEGER, opponent VARCHAR) | SELECT SUM(october) FROM table_name_19 WHERE opponent = "pittsburgh penguins" |
Which capacity has a purple and white colors? | CREATE TABLE table_name_77 (capacity VARCHAR, colors VARCHAR) | SELECT capacity FROM table_name_77 WHERE colors = "purple and white" |
Name the security forces with civilians being 67 | CREATE TABLE table_name_81 (security_forces VARCHAR, civilians VARCHAR) | SELECT security_forces FROM table_name_81 WHERE civilians = "67" |
What is the song by the musician panjabi mc? | CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR) | SELECT single FROM table_25760427_2 WHERE artist = "Panjabi MC" |
What is the status with the opposing team of Scotland? | CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR) | SELECT status FROM table_name_9 WHERE opposing_teams = "scotland" |
Who was the opponent of the game before week 11 on October 31, 1976? | CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976" |
What number of wins was ranked higher than 5? | CREATE TABLE table_name_43 (wins INTEGER, rank INTEGER) | SELECT SUM(wins) FROM table_name_43 WHERE rank > 5 |
Who was the Partner in the United Airlines Tournament (1)? | CREATE TABLE table_name_62 (partner VARCHAR, tournament_name VARCHAR) | SELECT partner FROM table_name_62 WHERE tournament_name = "united airlines tournament (1)" |
Where is the train going to when departing at 20.35? | CREATE TABLE table_18332845_2 (going_to VARCHAR, departure VARCHAR) | SELECT going_to FROM table_18332845_2 WHERE departure = "20.35" |
How many average wins does bruce fleisher have? | CREATE TABLE table_name_40 (wins INTEGER, player VARCHAR) | SELECT AVG(wins) FROM table_name_40 WHERE player = "bruce fleisher" |
Tell me the result for venue of a | CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_51 WHERE venue = "a" |
What's the highest lane of rank 4 with a time less than 24.72? | CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR) | SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4 |
What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki? | CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR) | SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki" |
What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%? | CREATE TABLE table_name_41 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR) | SELECT MIN(year) FROM table_name_41 WHERE seat_factor = "68%" AND flying_hours > 105 OFFSET 579 |
What is the capacity for the institution of university of alberta? | CREATE TABLE table_27599216_6 (capacity VARCHAR, institution VARCHAR) | SELECT capacity FROM table_27599216_6 WHERE institution = "University of Alberta" |
What is Date, when Away is High Park Demons? | CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR) | SELECT date FROM table_name_6 WHERE away = "high park demons" |
What is the score when the tie no is 29? | CREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_65 WHERE tie_no = "29" |
What years did the player with the jersey number 33 and played position pf play? | CREATE TABLE table_name_4 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR) | SELECT years FROM table_name_4 WHERE jersey_number_s_ = 33 AND position = "pf" |
Which Points have Goals against of 32, and Played larger than 38? | CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR) | SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38 |
Which polling source gave Michael Signer 5%? | CREATE TABLE table_name_54 (source VARCHAR, michael_signer VARCHAR) | SELECT source FROM table_name_54 WHERE michael_signer = "5%" |
Who were the Djurgarden scorers when the venue was Idrottsparken? | CREATE TABLE table_name_21 (djurgården_scorers VARCHAR, venue VARCHAR) | SELECT djurgården_scorers FROM table_name_21 WHERE venue = "idrottsparken" |
What is the Singapore Gross with a Producer that is 2000? | CREATE TABLE table_name_72 (singapore_gross VARCHAR, producer VARCHAR) | SELECT singapore_gross FROM table_name_72 WHERE producer = "2000" |
Name the trofeo fast team of stage 2 | CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR) | SELECT trofeo_fast_team FROM table_12261806_2 WHERE stage = "2" |
What is the lowest total with an all around of 10 and a rope higher than 10? | CREATE TABLE table_name_13 (total INTEGER, all_around VARCHAR, rope VARCHAR) | SELECT MIN(total) FROM table_name_13 WHERE all_around = 10 AND rope > 10 |
What is the hight of the player who's tenure lasted from 1969-70? | CREATE TABLE table_11734041_17 (height_in_ft VARCHAR, years_for_rockets VARCHAR) | SELECT height_in_ft FROM table_11734041_17 WHERE years_for_rockets = "1969-70" |
Tell me the 3rd component for bp azeo of 62.1 | CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR) | SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1" |
What is the score of the friendly competition? | CREATE TABLE table_name_72 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_72 WHERE competition = "friendly" |
How many losses have 222 as the goals against, with points greater than 78? | CREATE TABLE table_name_24 (lost INTEGER, goals_against VARCHAR, points VARCHAR) | SELECT SUM(lost) FROM table_name_24 WHERE goals_against = 222 AND points > 78 |
Who was the losing pitcher when 40583 attended? | CREATE TABLE table_13710464_1 (losing_pitcher VARCHAR, attendance VARCHAR) | SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = 40583 |
What are the results of a first elected prior to year 1982? | CREATE TABLE table_name_48 (results VARCHAR, first_elected INTEGER) | SELECT results FROM table_name_48 WHERE first_elected < 1982 |
What is the least amount of severe tropical cyclones for the 1992–93 season and the tropical Lows smaller than 6? | CREATE TABLE table_name_61 (Severe INTEGER, season VARCHAR, tropical_lows VARCHAR) | SELECT MIN(Severe) AS tropical_cyclones FROM table_name_61 WHERE season = "1992–93" AND tropical_lows < 6 |
How many wins in the season he finished 33rd | CREATE TABLE table_1875157_1 (winnings VARCHAR, position VARCHAR) | SELECT winnings FROM table_1875157_1 WHERE position = "33rd" |
What was the date of the game when Richmond was the home team? | CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_42 WHERE home_team = "richmond" |
What type has an unspecified species and less than 367 genes? | CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR) | SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367 |
What was the date of the game against North Carolina? | CREATE TABLE table_name_10 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_10 WHERE opponent = "north carolina" |
What event did the shooter, who had 29 total points, compete in? | CREATE TABLE table_name_31 (event VARCHAR, total VARCHAR) | SELECT event FROM table_name_31 WHERE total = "29" |
What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2006 less than 2.5? | CREATE TABLE table_name_19 (Id VARCHAR) | SELECT AVG(2007) FROM table_name_19 WHERE 2009 > 2.8 AND 2010 = 4.9 AND 2006 < 2.5 |
What aircraft was introduced in 2004 and has a retired of —? | CREATE TABLE table_name_83 (aircraft VARCHAR, retired VARCHAR, introduced VARCHAR) | SELECT aircraft FROM table_name_83 WHERE retired = "—" AND introduced = 2004 |
What is the team when the time is 1:11.19.89? | CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR) | SELECT team FROM table_name_36 WHERE time = "1:11.19.89" |
How many people attended in the game against morton? | CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_79 WHERE opponent = "morton" |
What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50? | CREATE TABLE table_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR) | SELECT name FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R20.50" |
What are the Opponents at the Schenectady, U.S. Tournament? | CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, tournament VARCHAR) | SELECT opponents_in_the_final FROM table_name_51 WHERE tournament = "schenectady, u.s." |
Which Goal Difference has 13 Wins, and a Position of 3, and Played smaller than 30? | CREATE TABLE table_name_10 (goal_difference INTEGER, played VARCHAR, wins VARCHAR, position VARCHAR) | SELECT AVG(goal_difference) FROM table_name_10 WHERE wins = 13 AND position = 3 AND played < 30 |
For score 7–6 (7–3) , 6–4 please mention total number of outcome | CREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR) | SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4" |
What is the time/retired for grid 19? | CREATE TABLE table_name_40 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_40 WHERE grid = 19 |
What episode had a run time of 23:38? | CREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR) | SELECT episode FROM table_2108684_1 WHERE run_time = "23:38" |
Who is the home captain that played at Edgbaston? | CREATE TABLE table_name_41 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston" |
Who was he opponent on december 11? | CREATE TABLE table_22893781_5 (team VARCHAR, date VARCHAR) | SELECT team FROM table_22893781_5 WHERE date = "December 11" |
What is the maximum season that has exactly 2 podiums? | CREATE TABLE table_29434211_1 (season INTEGER, podiums VARCHAR) | SELECT MAX(season) FROM table_29434211_1 WHERE podiums = 2 |
What is every points value for race 1 if the total race points is 180? | CREATE TABLE table_23293785_2 (race_1_pts_ VARCHAR, race_total_pts_ VARCHAR) | SELECT race_1_pts_ FROM table_23293785_2 WHERE race_total_pts_ = 180 |
Which Player has a PI GP over 0 and a Rd # of 1? | CREATE TABLE table_name_71 (player VARCHAR, pl_gp VARCHAR, rd__number VARCHAR) | SELECT player FROM table_name_71 WHERE pl_gp > 0 AND rd__number = 1 |
What was the score of the tournament against Isha Lakhani? | CREATE TABLE table_name_80 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_80 WHERE opponent = "isha lakhani" |
Which model's chipset is intel 955? | CREATE TABLE table_name_63 (memory VARCHAR, chipset VARCHAR) | SELECT memory FROM table_name_63 WHERE chipset = "intel 955" |
What was the loan club when Derry played? | CREATE TABLE table_12608427_8 (loan_club VARCHAR, name VARCHAR) | SELECT loan_club FROM table_12608427_8 WHERE name = "Derry" |
What is Tournament, when Result is 18th? | CREATE TABLE table_name_50 (tournament VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_50 WHERE result = "18th" |
What is FM 99.9's Format? | CREATE TABLE table_name_78 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_78 WHERE frequency = "fm 99.9" |
Name the distance for stage of 2 | CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR) | SELECT distance FROM table_name_5 WHERE stage = "2" |
What is the lowest round number for the fight that had a time of 1:09? | CREATE TABLE table_name_12 (round INTEGER, time VARCHAR) | SELECT MIN(round) FROM table_name_12 WHERE time = "1:09" |
What is the highest Top-5 ranking with Events less than 4? | CREATE TABLE table_name_63 (top_5 INTEGER, events INTEGER) | SELECT MAX(top_5) FROM table_name_63 WHERE events < 4 |
What is the low point total for arrows a22 chassis? | CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR) | SELECT MIN(points) FROM table_name_3 WHERE chassis = "arrows a22" |
When did Orville H. Browning (r) succeed? | CREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR) | SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE successor = "Orville H. Browning (R)" |
Name the 3rd for season less than 4 and lost of 61 | CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR) | SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61 |
Who was the opponent when the record was 55-14? | CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_52 WHERE record = "55-14" |
What is the lowest season? | CREATE TABLE table_17632217_1 (season INTEGER) | SELECT MIN(season) FROM table_17632217_1 |
Who wrote episode 11, of which was directed by Will Waring? | CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) | SELECT written_by FROM table_15284274_1 WHERE directed_by = "Will Waring" AND no_in_season = 11 |
Who was the opponent when Raphael was 4-0? | CREATE TABLE table_name_11 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_11 WHERE record = "4-0" |
what team played against zimbabwe in 1999? | CREATE TABLE table_name_11 (team VARCHAR, year VARCHAR, versus VARCHAR) | SELECT team FROM table_name_11 WHERE year = 1999 AND versus = "zimbabwe" |
How many points were scored by car number 10 that ended with a collision? | CREATE TABLE table_name_20 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR) | SELECT points FROM table_name_20 WHERE time_retired = "collision" AND car_no = "10" |
What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August? | CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR) | SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph" |
What is the title for the episode written by Robert Carlock & Dana Klein Borkow? | CREATE TABLE table_14889988_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_14889988_1 WHERE written_by = "Robert Carlock & Dana Klein Borkow" |
What was the best album in 1965? | CREATE TABLE table_name_13 (us VARCHAR, album VARCHAR, year VARCHAR) | SELECT us AS AC FROM table_name_13 WHERE album = "the best" AND year = 1965 |
what is the song name for the film name ganga kare insaaf? | CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR) | SELECT song_name FROM table_11827596_2 WHERE film_name = "Ganga Kare Insaaf" |
What is the maximum training hours for the students whose training hours is greater than 1000 in different positions? | CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR) | SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos |
What Country has a number smaller than 56 in 2005 and of 14 in 2006? | CREATE TABLE table_name_47 (Id VARCHAR) | SELECT COUNT(2004) FROM table_name_47 WHERE 2005 < 56 AND 2006 = 14 |
Name the record for cotton bowl classic | CREATE TABLE table_2517159_1 (record VARCHAR, name_of_bowl VARCHAR) | SELECT record FROM table_2517159_1 WHERE name_of_bowl = "Cotton Bowl Classic" |
How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers? | CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_analysts VARCHAR) | SELECT COUNT(play_by_play) FROM table_17628022_2 WHERE pregame_analysts = "Darren Flutie, Eric Tillman and Greg Frers" |
Which country had a production (bbl/day) of 2,494,000 (10th)? | CREATE TABLE table_166346_1 (country VARCHAR, production___bbl__day_ VARCHAR) | SELECT country FROM table_166346_1 WHERE production___bbl__day_ = "2,494,000 (10th)" |
What are the average price and score of wines grouped by appelation? | CREATE TABLE WINE (Appelation VARCHAR, Price INTEGER, Score INTEGER) | SELECT AVG(Price), AVG(Score), Appelation FROM WINE GROUP BY Appelation |
What is the Status of the 44 Against? | CREATE TABLE table_name_86 (status VARCHAR, against VARCHAR) | SELECT status FROM table_name_86 WHERE against = 44 |
What is the smallest fleet size with a type of shunter introduced in 1953? | CREATE TABLE table_name_87 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR) | SELECT MIN(fleet_size) FROM table_name_87 WHERE type = "shunter" AND introduced = "1953" |
What is the maximum goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15? | CREATE TABLE table_name_84 (goals_conceded__gc_ INTEGER, ____dif_ VARCHAR, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR) | SELECT MAX(goals_conceded__gc_) FROM table_name_84 WHERE draw__pe_ = 2 AND goals_scored__gf_ > 29 AND ____dif_ > 15 |
How many different reasons are there for the change in Connecticut (3)? | CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) | SELECT COUNT(reason_for_change) FROM table_18563954_3 WHERE state__class_ = "Connecticut (3)" |
what's party with district being pennsylvania 21 | CREATE TABLE table_1341586_39 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341586_39 WHERE district = "Pennsylvania 21" |
In Ghent in 2011, what was the rank-qualifying value when the score-qualifying value was 14.850 | CREATE TABLE table_26681728_1 (rank_qualifying INTEGER, score_qualifying VARCHAR, location VARCHAR, year VARCHAR) | SELECT MAX(rank_qualifying) FROM table_26681728_1 WHERE location = "Ghent" AND year = 2011 AND score_qualifying = "14.850" |
Which Author's Company is Ruth Kanner Theatre Group? | CREATE TABLE table_name_93 (author VARCHAR, company VARCHAR) | SELECT author FROM table_name_93 WHERE company = "ruth kanner theatre group" |
Who is the incumbent when the elected year is 2004, the status is re-elected and the party is republican? | CREATE TABLE table_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR) | SELECT incumbent FROM table_26416704_1 WHERE elected = "2004" AND status = "Re-elected" AND party = "Republican" |
After the year 2011, who was the youngest nominee? | CREATE TABLE table_name_24 (record_set VARCHAR, year VARCHAR, superlative VARCHAR) | SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee" |
What opposing team has 20 against? | CREATE TABLE table_name_7 (opposing_team VARCHAR, against VARCHAR) | SELECT opposing_team FROM table_name_7 WHERE against = 20 |
What is every team with location attendance of Seattle Center Coliseum 14,180? | CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_27902171_5 WHERE location_attendance = "Seattle Center Coliseum 14,180" |
What is the total Lane with a Mark of 47.02, and a Heat higher than 5? | CREATE TABLE table_name_64 (lane INTEGER, mark VARCHAR, heat VARCHAR) | SELECT SUM(lane) FROM table_name_64 WHERE mark = "47.02" AND heat > 5 |
Which visitor has detroit as the home, and february 24 as the date? | CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_76 WHERE home = "detroit" AND date = "february 24" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.