question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the winning pct for jersey 15?
CREATE TABLE table_14389782_2 (winning_pct VARCHAR, jersey_no VARCHAR)
SELECT winning_pct FROM table_14389782_2 WHERE jersey_no = "15"
What party does ron klink represent?
CREATE TABLE table_1341522_41 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341522_41 WHERE incumbent = "Ron Klink"
What team played under 52 Reg GP, and picked 130?
CREATE TABLE table_name_23 (team__league_ VARCHAR, reg_gp VARCHAR, pick__number VARCHAR)
SELECT team__league_ FROM table_name_23 WHERE reg_gp < 52 AND pick__number = 130
Who recorded the loss on august 7?
CREATE TABLE table_name_98 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_98 WHERE date = "august 7"
What were the scores of the games with a record of 47-34?
CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR)
SELECT score FROM table_27902171_9 WHERE record = "47-34"
What is the total number of Goals with a nationality of England, and position of DF, and a Crewe Alexandra career is 1958–1962, and less than 170 appearances?
CREATE TABLE table_name_98 (goals VARCHAR, appearances VARCHAR, crewe_alexandra_career VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT COUNT(goals) FROM table_name_98 WHERE nationality = "england" AND position = "df" AND crewe_alexandra_career = "1958–1962" AND appearances < 170
Which chassis has 17 points?
CREATE TABLE table_name_30 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_30 WHERE points = 17
What were the results for incumbent Jim McCrery?
CREATE TABLE table_1341453_20 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_1341453_20 WHERE incumbent = "Jim McCrery"
What is the Position for Orlando for 1989–1999?
CREATE TABLE table_name_52 (position VARCHAR, years_in_orlando VARCHAR)
SELECT position FROM table_name_52 WHERE years_in_orlando = "1989–1999"
how many times is the fleet series (quantity) is 468-473 (6)?
CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR)
SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)"
What is the lowest Top-10 when the Top-25 is 6, and a Tournament of u.s. open, and a Cut made larger than 9?
CREATE TABLE table_name_44 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, tournament VARCHAR)
SELECT MIN(top_10) FROM table_name_44 WHERE top_25 = 6 AND tournament = "u.s. open" AND cuts_made > 9
What was the domestic box office for the film that had a foreign box office of $26,600,000?
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, foreign_box_office VARCHAR)
SELECT domestic_box_office FROM table_2203760_4 WHERE foreign_box_office = "$26,600,000"
What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?
CREATE TABLE table_name_37 (goals_for INTEGER, playoffs VARCHAR, games VARCHAR)
SELECT AVG(goals_for) FROM table_name_37 WHERE playoffs = "lost in round 2" AND games < 81
What is the status of the fleet that was commissioned on July 28, 1963?
CREATE TABLE table_name_9 (status VARCHAR, commissioned VARCHAR)
SELECT status FROM table_name_9 WHERE commissioned = "july 28, 1963"
How tall is the Street address of 07.0 200 east washington street?
CREATE TABLE table_name_10 (height_ft___m__ VARCHAR, street_address VARCHAR)
SELECT height_ft___m__ FROM table_name_10 WHERE street_address = "07.0 200 east washington street"
Tell me the chief judge which has reason for termination of retirement
CREATE TABLE table_name_35 (chief_judge VARCHAR, reason_for_termination VARCHAR)
SELECT chief_judge FROM table_name_35 WHERE reason_for_termination = "retirement"
What is the IHSAA class of the county that is less than 228?
CREATE TABLE table_name_71 (ihsaa_class VARCHAR, county INTEGER)
SELECT ihsaa_class FROM table_name_71 WHERE county < 228
Name the date for l 89–92 (ot)
CREATE TABLE table_23284271_11 (date VARCHAR, score VARCHAR)
SELECT date FROM table_23284271_11 WHERE score = "L 89–92 (OT)"
What is To par, when Country is "United States", and when Player is "Jay Haas"?
CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_85 WHERE country = "united states" AND player = "jay haas"
How many regions had an hdi of 0.896?
CREATE TABLE table_25042332_33 (combined_gross_enrollment_ratio__2009_ VARCHAR, hdi VARCHAR)
SELECT COUNT(combined_gross_enrollment_ratio__2009_) FROM table_25042332_33 WHERE hdi = "0.896"
What is the highest number of losses for Presidente Hayes, when the draws were more than 4?
CREATE TABLE table_name_61 (losses INTEGER, team VARCHAR, draws VARCHAR)
SELECT MAX(losses) FROM table_name_61 WHERE team = "presidente hayes" AND draws > 4
Name the most ending with
CREATE TABLE table_1852650_1 (ending_with INTEGER)
SELECT MAX(ending_with) FROM table_1852650_1
What is the event average for a top-25 smaller than 0?
CREATE TABLE table_name_84 (events INTEGER, top_25 INTEGER)
SELECT AVG(events) FROM table_name_84 WHERE top_25 < 0
Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+?
CREATE TABLE table_name_16 (supplier VARCHAR, keys__x_modes_ VARCHAR, basic_shape VARCHAR, wrist_pad VARCHAR)
SELECT supplier FROM table_name_16 WHERE basic_shape = "flat" AND wrist_pad = "no" AND keys__x_modes_ = "25+"
What was the active period for the pop genre?
CREATE TABLE table_name_87 (period_active VARCHAR, genre VARCHAR)
SELECT period_active FROM table_name_87 WHERE genre = "pop"
Which Song of the Year was 42 on the UK charts prior to 1994?
CREATE TABLE table_name_14 (song VARCHAR, year VARCHAR, uk_chart VARCHAR)
SELECT song FROM table_name_14 WHERE year < 1994 AND uk_chart = "42"
How many airlines do we have?
CREATE TABLE AIRLINES (Id VARCHAR)
SELECT COUNT(*) FROM AIRLINES
" what's the engine with turbo being yes (mitsubishi td04-15g ) "
CREATE TABLE table_11167610_1 (engine VARCHAR, turbo VARCHAR)
SELECT engine FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD04-15g )"
Which position had a pick larger than 80 and Walt Mainer as a player?
CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR, player VARCHAR)
SELECT position FROM table_name_7 WHERE pick > 80 AND player = "walt mainer"
What is the Established date of the Brian Timmis Stadium?
CREATE TABLE table_name_57 (established VARCHAR, venue VARCHAR)
SELECT COUNT(established) FROM table_name_57 WHERE venue = "brian timmis stadium"
How many blocks did the player who had 59 rebounds have?
CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR)
SELECT blocks FROM table_24850487_5 WHERE rebounds = 59
When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?
CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.6"
Name the least area for vas
CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)
SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas"
What country submitted the movie the orphanage?
CREATE TABLE table_12842068_1 (submitting_country VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT submitting_country FROM table_12842068_1 WHERE film_title_used_in_nomination = "The Orphanage"
What were the results of the tennessee tech as a visiting team?
CREATE TABLE table_26842217_4 (result VARCHAR, visiting_team VARCHAR)
SELECT result FROM table_26842217_4 WHERE visiting_team = "Tennessee Tech"
What week has a date of September 3, 2000?
CREATE TABLE table_name_98 (week INTEGER, date VARCHAR)
SELECT AVG(week) FROM table_name_98 WHERE date = "september 3, 2000"
What was the overall pick number of the player selected before round 3?
CREATE TABLE table_name_40 (overall_pick VARCHAR, round INTEGER)
SELECT COUNT(overall_pick) FROM table_name_40 WHERE round < 3
Which game took place April 6?
CREATE TABLE table_name_87 (game VARCHAR, april VARCHAR)
SELECT game FROM table_name_87 WHERE april = 6
What day were the results 3:0?
CREATE TABLE table_name_67 (date VARCHAR, results¹ VARCHAR)
SELECT date FROM table_name_67 WHERE results¹ = "3:0"
How many full professors work under Hartmut Kliemt with more than 0 lecturers?
CREATE TABLE table_name_72 (full_professors VARCHAR, head VARCHAR, lecturers VARCHAR)
SELECT COUNT(full_professors) FROM table_name_72 WHERE head = "hartmut kliemt" AND lecturers > 0
What was the home for season 1949-50?
CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR)
SELECT home FROM table_name_79 WHERE season = "1949-50"
What is the average points for a team that lost 4 and played more than 28 games?
CREATE TABLE table_name_56 (points INTEGER, lost VARCHAR, played VARCHAR)
SELECT AVG(points) FROM table_name_56 WHERE lost = 4 AND played > 28
what's the report with location  österreichring
CREATE TABLE table_1140080_2 (report VARCHAR, location VARCHAR)
SELECT report FROM table_1140080_2 WHERE location = "Österreichring"
What pick # did Western Illinois have?
CREATE TABLE table_16575609_3 (pick__number VARCHAR, college VARCHAR)
SELECT pick__number FROM table_16575609_3 WHERE college = "Western Illinois"
Where is the Westfield State University located?
CREATE TABLE table_1974545_2 (location VARCHAR, institution VARCHAR)
SELECT location FROM table_1974545_2 WHERE institution = "Westfield State University"
Which date has a Score in the final of 4–6, 3–6?
CREATE TABLE table_name_11 (date VARCHAR, score_in_the_final VARCHAR)
SELECT date FROM table_name_11 WHERE score_in_the_final = "4–6, 3–6"
What is the lowest draw that has We The Lovers for the english translation, with a place greater than 1?
CREATE TABLE table_name_26 (draw INTEGER, english_translation VARCHAR, place VARCHAR)
SELECT MIN(draw) FROM table_name_26 WHERE english_translation = "we the lovers" AND place > 1
What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750?
CREATE TABLE table_name_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR)
SELECT displacement FROM table_name_61 WHERE year = 1999 AND torque = "280n·m (207lb·ft) @ 1750"
Which Show is dated 9 June?
CREATE TABLE table_name_39 (show VARCHAR, date VARCHAR)
SELECT show FROM table_name_39 WHERE date = "9 june"
Swimmer Aurore Mongel has what nationality?
CREATE TABLE table_name_88 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_88 WHERE name = "aurore mongel"
What artist was released in 2005?
CREATE TABLE table_name_71 (artist VARCHAR, year VARCHAR)
SELECT artist FROM table_name_71 WHERE year = 2005
WHAT POINTS 1 HAD A 22 LOST?
CREATE TABLE table_name_88 (points_1 VARCHAR, lost VARCHAR)
SELECT points_1 FROM table_name_88 WHERE lost = 22
What team has a location and attendance at the Seattle Center Coliseum 12,591?
CREATE TABLE table_name_22 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_name_22 WHERE location_attendance = "seattle center coliseum 12,591"
What date was the episode with production code 176265 aired?
CREATE TABLE table_14889988_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_14889988_1 WHERE production_code = 176265
How many results of the count of Latin Americans in Yukon in 2001 are there?
CREATE TABLE table_1939405_2 (latin_americans_2001 VARCHAR, province VARCHAR)
SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon"
What are the numbers of episodes that were broadcast on September 1, 2003
CREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR)
SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003"
When the team is the Boston Red Sox and the is date July 27, 1946, what are the average RBIs?
CREATE TABLE table_name_79 (rbis INTEGER, team VARCHAR, date VARCHAR)
SELECT AVG(rbis) FROM table_name_79 WHERE team = "boston red sox" AND date = "july 27, 1946"
What time slot had an adult rating of 0.6?
CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR)
SELECT timeslot FROM table_19188562_2 WHERE rating__adults_18_49_ = "0.6"
What country is phil mickelson from?
CREATE TABLE table_name_57 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_57 WHERE player = "phil mickelson"
What was the distance of the race in which Northerly raced in group G3?
CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR)
SELECT distance FROM table_1358608_4 WHERE group = "G3"
How many years are listed under joined for the Nor'easters?
CREATE TABLE table_1973729_1 (joined VARCHAR, nickname VARCHAR)
SELECT COUNT(joined) FROM table_1973729_1 WHERE nickname = "Nor'easters"
What is the kickoff time for the Miami Dolphins?
CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR)
SELECT kickoff FROM table_name_81 WHERE opponent = "miami dolphins"
How big was the crowd for Essendon?
CREATE TABLE table_name_78 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_78 WHERE home_team = "essendon"
What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?
CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR)
SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"
How many years was the record 3:40.8?
CREATE TABLE table_name_28 (year VARCHAR, record VARCHAR)
SELECT COUNT(year) FROM table_name_28 WHERE record = "3:40.8"
How many times did the Wildcats play a game 11 regardless of points scored?
CREATE TABLE table_21062353_1 (wildcats_points VARCHAR, game VARCHAR)
SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 11
Name the average losses for draws larger than 6 and played more than 38
CREATE TABLE table_name_58 (losses INTEGER, draws VARCHAR, played VARCHAR)
SELECT AVG(losses) FROM table_name_58 WHERE draws > 6 AND played > 38
How many regions do we have?
CREATE TABLE region (Id VARCHAR)
SELECT COUNT(*) FROM region
Who was the leader in Points with Assists of 2 tied (5) and Steals of 3 tied (2)?
CREATE TABLE table_name_7 (points VARCHAR, steals VARCHAR, assists VARCHAR)
SELECT points FROM table_name_7 WHERE steals = "3 tied (2)" AND assists = "2 tied (5)"
Name the date for record 3-3
CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_64 WHERE record = "3-3"
What team has Steinar Kaldal, a guard / forward?
CREATE TABLE table_name_57 (team VARCHAR, position VARCHAR, player VARCHAR)
SELECT team FROM table_name_57 WHERE position = "guard / forward" AND player = "steinar kaldal"
Name the loss with record of 45-59
CREATE TABLE table_name_87 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_87 WHERE record = "45-59"
What was the record in the game whose first star was J. Oduya?
CREATE TABLE table_27537518_6 (record VARCHAR, first_star VARCHAR)
SELECT record FROM table_27537518_6 WHERE first_star = "J. Oduya"
Name the Score which has a Time of 18:00 and a Venue of african union?
CREATE TABLE table_name_99 (score VARCHAR, time VARCHAR, venue VARCHAR)
SELECT score FROM table_name_99 WHERE time = "18:00" AND venue = "african union"
What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR)
SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph"
What is the lowest goal difference for the club ud alzira, with a played larger than 38?
CREATE TABLE table_name_59 (goal_difference INTEGER, club VARCHAR, played VARCHAR)
SELECT MIN(goal_difference) FROM table_name_59 WHERE club = "ud alzira" AND played > 38
What is lead for the Election Results polling firm and has a PSOE of 39.6% 175?
CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR)
SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175"
What year ranked larger than 5?
CREATE TABLE table_name_18 (year VARCHAR, rank INTEGER)
SELECT year FROM table_name_18 WHERE rank > 5
What season was School/Club Team perpetual help in the guard position?
CREATE TABLE table_name_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT season FROM table_name_6 WHERE position = "guard" AND school_club_team = "perpetual help"
What is the number of races associated with 7 podiums and a position of 4th?
CREATE TABLE table_name_93 (races VARCHAR, position VARCHAR, podiums VARCHAR)
SELECT races FROM table_name_93 WHERE position = "4th" AND podiums = "7"
How many players were in the event after 2011 with less than 9 aces?
CREATE TABLE table_name_72 (player VARCHAR, event VARCHAR, aces VARCHAR)
SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9
What is the TV Station of the episode with a Romaji Title of Tokkyuu Tanaka Sangou?
CREATE TABLE table_name_84 (tv_station VARCHAR, romaji_title VARCHAR)
SELECT tv_station FROM table_name_84 WHERE romaji_title = "tokkyuu tanaka sangou"
What is the Height of the Player with a Date of Birth of 1982-07-05?
CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR)
SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"
What College has a Player that is jermaine romans?
CREATE TABLE table_name_79 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_79 WHERE player = "jermaine romans"
What is the sum of the pick numbers for the player that went to San Miguel Beermen who played at San Sebastian?
CREATE TABLE table_name_36 (pick INTEGER, pba_team VARCHAR, college VARCHAR)
SELECT SUM(pick) FROM table_name_36 WHERE pba_team = "san miguel beermen" AND college = "san sebastian"
How many people attended the game on December 2, 1951?
CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_69 WHERE date = "december 2, 1951"
What was the earliest game with a record of 16–4–3?
CREATE TABLE table_name_96 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3"
On what surface did they play the match in the week of October 21?
CREATE TABLE table_name_27 (surface VARCHAR, week VARCHAR)
SELECT surface FROM table_name_27 WHERE week = "october 21"
What wiaa classifications does vancouver itech prepratory have?
CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR)
SELECT wiaa_classification FROM table_22058547_1 WHERE high_school = "Vancouver iTech Prepratory"
How many students are there?
CREATE TABLE Student (Id VARCHAR)
SELECT COUNT(*) FROM Student
What is the Country of the rowers with a Rank of 4?
CREATE TABLE table_name_11 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_11 WHERE rank = 4
How many points did Denis Pederson have?
CREATE TABLE table_name_79 (points VARCHAR, player VARCHAR)
SELECT points FROM table_name_79 WHERE player = "denis pederson"
What is Original Title, when Film Title Used In Nomination is "Monga"?
CREATE TABLE table_name_15 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_15 WHERE film_title_used_in_nomination = "monga"
What are the remarks for 8 October 2008?
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008"
where is the participant marelissa him from
CREATE TABLE table_27515452_3 (hometown VARCHAR, contestant VARCHAR)
SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him"
Show the statement id and the statement detail for the statement with most number of accounts.
CREATE TABLE Accounts (statement_id VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR)
SELECT T1.statement_id, T2.statement_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id = T2.statement_id GROUP BY T1.statement_id ORDER BY COUNT(*) DESC LIMIT 1
What player is from the California Golden Seals?
CREATE TABLE table_1965650_10 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_1965650_10 WHERE nhl_team = "California Golden Seals"
Which major metropolitan area had a land area of 23.80?
CREATE TABLE table_22916979_1 (metropolitan_area VARCHAR, land_area__mi_2__ VARCHAR)
SELECT metropolitan_area FROM table_22916979_1 WHERE land_area__mi_2__ = "23.80"
What was Attendance/G with Tms more than 18?
CREATE TABLE table_name_48 (attendance_g INTEGER, tms INTEGER)
SELECT AVG(attendance_g) FROM table_name_48 WHERE tms > 18
Name the original air date for number in season being 1
CREATE TABLE table_17625876_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_17625876_1 WHERE no_in_season = 1