question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the least number of extra points?
CREATE TABLE table_25730326_2 (extra_points INTEGER)
SELECT MIN(extra_points) FROM table_25730326_2
Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
CREATE TABLE table_name_91 (Id VARCHAR)
SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"
Who was the runner-up in the Memorial Tournament?
CREATE TABLE table_1602858_1 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_1602858_1 WHERE tournament = "Memorial tournament"
What Year has a Rank of 12.0 12?
CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR)
SELECT AVG(year) FROM table_name_52 WHERE rank = "12.0 12"
How many goals did a player from France have?
CREATE TABLE table_name_6 (goals VARCHAR, country VARCHAR)
SELECT goals FROM table_name_6 WHERE country = "france"
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?
CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)
SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你"
List the kilo watt hoours per day for moline.
CREATE TABLE table_25034983_2 (day_power___w__ VARCHAR, city VARCHAR)
SELECT day_power___w__ FROM table_25034983_2 WHERE city = "Moline"
What is was the Chassis in 1967?
CREATE TABLE table_name_38 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_38 WHERE year = 1967
What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
SELECT _percentage_of_all_immigrants_2004 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "2.1%"
Name the total number of points for chassis of bmw t269 (f2)
CREATE TABLE table_name_2 (points VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_2 WHERE chassis = "bmw t269 (f2)"
How many losses for the team with less than 4 wins, more than 0 byes and 2510 against?
CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR)
SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0
When does V Madgwick Cup take place?
CREATE TABLE table_1140116_5 (date VARCHAR, race_name VARCHAR)
SELECT date FROM table_1140116_5 WHERE race_name = "V Madgwick Cup"
What nationality is Demetris Nichols?
CREATE TABLE table_name_1 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_1 WHERE player = "demetris nichols"
How many different services are provided by all stations?
CREATE TABLE station (services VARCHAR)
SELECT COUNT(DISTINCT services) FROM station
Which opponent has a Round of 12?
CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_34 WHERE round = "12"
Who was the publisher of Martial Law: Dead Ringers?
CREATE TABLE table_name_56 (publisher VARCHAR, release_title VARCHAR)
SELECT publisher FROM table_name_56 WHERE release_title = "martial law: dead ringers"
What is Crows' Feat's production number?
CREATE TABLE table_name_49 (production_number VARCHAR, title VARCHAR)
SELECT production_number FROM table_name_49 WHERE title = "crows' feat"
What are the average start(s) when he had $1,663,868?
CREATE TABLE table_1637041_2 (avg_start VARCHAR, winnings VARCHAR)
SELECT avg_start FROM table_1637041_2 WHERE winnings = "$1,663,868"
Which label is from the Germany region?
CREATE TABLE table_name_52 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_52 WHERE region = "germany"
What was the top scorer in the 1890-91 season?
CREATE TABLE table_name_31 (top_scorer VARCHAR, season VARCHAR)
SELECT top_scorer FROM table_name_31 WHERE season = "1890-91"
How many IRST figures for the show that premiered on Canale 5 (2006)?
CREATE TABLE table_28803803_1 (irst VARCHAR, original_channel VARCHAR)
SELECT COUNT(irst) FROM table_28803803_1 WHERE original_channel = "Canale 5 (2006)"
What venue has euro 2004 q. as the competition?
CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_60 WHERE competition = "euro 2004 q."
Find the number of followers for each user.
CREATE TABLE follows (f1 VARCHAR)
SELECT COUNT(*) FROM follows GROUP BY f1
Please list the countries and years of film market estimations.
CREATE TABLE film_market_estimation (Year VARCHAR, Market_ID VARCHAR); CREATE TABLE market (Country VARCHAR, Market_ID VARCHAR)
SELECT T2.Country, T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID
If the average is 1.2803, what is the total points maximum?
CREATE TABLE table_22011138_7 (total_pts INTEGER, avg VARCHAR)
SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803"
What is the score of the home team olimpia?
CREATE TABLE table_name_14 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_14 WHERE home = "olimpia"
What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?
CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR)
SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"
Which Rank has a Finish of 8?
CREATE TABLE table_name_11 (rank VARCHAR, finish VARCHAR)
SELECT rank FROM table_name_11 WHERE finish = "8"
What is Hon Paul Keating's Party?
CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR)
SELECT party FROM table_name_70 WHERE member = "hon paul keating"
Who had a Qualifying 2 time over 58.669 for Team Australia?
CREATE TABLE table_name_68 (name VARCHAR, qual_2 VARCHAR, team VARCHAR)
SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia"
Name the location attendance for l 93-105
CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105"
What is week 15's result?
CREATE TABLE table_name_24 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_24 WHERE week = 15
What numbered pick was the player from texas?
CREATE TABLE table_name_85 (pick__number VARCHAR, college VARCHAR)
SELECT COUNT(pick__number) FROM table_name_85 WHERE college = "texas"
What is the played number with points 1 is 80, and goals for is more than 77?
CREATE TABLE table_name_57 (played VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT COUNT(played) FROM table_name_57 WHERE points_1 = "80" AND goals_for > 77
What team is based at junction oval?
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_66 WHERE venue = "junction oval"
Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?
CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)
SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3
Result of win, and a Score of 33-22 involved what event?
CREATE TABLE table_name_4 (event VARCHAR, result VARCHAR, score VARCHAR)
SELECT event FROM table_name_4 WHERE result = "win" AND score = "33-22"
How many original air dates totaled 26.06 million viewers?
CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(original_air_date) FROM table_18217753_1 WHERE us_viewers__millions_ = "26.06"
What score occurred on February 6?
CREATE TABLE table_name_31 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_31 WHERE date = "february 6"
What is the total number of years wehre anna thompson had a 3rd place result at edinburgh, scotland?
CREATE TABLE table_name_28 (year VARCHAR, result VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_28 WHERE result = "3rd" AND venue = "edinburgh, scotland"
What is the score for the away team when South Melbourne was the home team?
CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_58 WHERE home_team = "south melbourne"
What is the record of teams that play the yankees, and lose at mulholland (5-6)
CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_61 WHERE opponent = "yankees" AND loss = "mulholland (5-6)"
What's Fitchburg State University's LEC sport?
CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR)
SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University"
Name the 2008 for 2012 of sf
CREATE TABLE table_name_41 (Id VARCHAR)
SELECT 2008 FROM table_name_41 WHERE 2012 = "sf"
Who did the cowboys play when 65,537 attended?
CREATE TABLE table_name_54 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_54 WHERE attendance = "65,537"
What is the score of the visiting Hartford Whalers game from April 11?
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_8 WHERE visitor = "hartford whalers" AND date = "april 11"
Who was the visitor on January 19, 2008?
CREATE TABLE table_name_38 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_38 WHERE date = "january 19, 2008"
What was the year elected in District 17?
CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR)
SELECT MIN(elected) FROM table_name_87 WHERE district = 17
How many episodes have the production code ip04004?
CREATE TABLE table_29273243_1 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_29273243_1 WHERE production_code = "IP04004"
How many languages have elles as the film title used in nomination?
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Elles"
How many fans were at Essendon?
CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
What are the gaols(L/C/E) with an App(L/C/E) of 55 (47/5/3)?
CREATE TABLE table_name_50 (goals_l_c_e_ VARCHAR, app_l_c_e_ VARCHAR)
SELECT goals_l_c_e_ FROM table_name_50 WHERE app_l_c_e_ = "55 (47/5/3)"
What Club team has an average of 8, plays kaj linna, and has an overall larger than 131?
CREATE TABLE table_name_97 (club_team VARCHAR, player VARCHAR, overall VARCHAR, round VARCHAR)
SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna"
Which Set 3 has a Set 1 of 25–20?
CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR)
SELECT set_3 FROM table_name_9 WHERE set_1 = "25–20"
If the season number is 2.08, who was the episode written by?
CREATE TABLE table_24639086_3 (written_by VARCHAR, season__number VARCHAR)
SELECT written_by FROM table_24639086_3 WHERE season__number = "2.08"
What season was won by Ashutosh Kaushik?
CREATE TABLE table_20026849_1 (season INTEGER, winner VARCHAR)
SELECT MIN(season) FROM table_20026849_1 WHERE winner = "Ashutosh Kaushik"
Who was the artist for Spoofed title Genteel Ben in an issue later than 74?
CREATE TABLE table_name_42 (artist VARCHAR, issue VARCHAR, spoofed_title VARCHAR)
SELECT artist FROM table_name_42 WHERE issue > 74 AND spoofed_title = "genteel ben"
What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12?
CREATE TABLE table_name_78 (total VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)
SELECT total FROM table_name_78 WHERE score = "3–0" AND date = "14 oct" AND set_1 = "15–12"
What is the highest ERP W of an 89.1 frequency translator?
CREATE TABLE table_name_97 (erp_w INTEGER, frequency_mhz VARCHAR)
SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.1
Who left office on November 26, 1800?
CREATE TABLE table_224840_4 (vacator VARCHAR, date_successor_seated VARCHAR)
SELECT vacator FROM table_224840_4 WHERE date_successor_seated = "November 26, 1800"
Which Rank is Highest for Yoshiazuma?
CREATE TABLE table_name_44 (highest_rank VARCHAR, name VARCHAR)
SELECT highest_rank FROM table_name_44 WHERE name = "yoshiazuma"
What is the country that has a music writer of Angelo Francesco Lavagnino, written in 1969?
CREATE TABLE table_name_57 (country VARCHAR, music VARCHAR, year VARCHAR)
SELECT country FROM table_name_57 WHERE music = "angelo francesco lavagnino" AND year = 1969
What is the highest place of a song by Henri Dès that has fewer than 8 points?
CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR)
SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8
What was Tom Kite's to par?
CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_71 WHERE player = "tom kite"
What is the pick number for Peter Moore of the Montreal Alouettes?
CREATE TABLE table_name_74 (pick__number VARCHAR, cfl_team VARCHAR, player VARCHAR)
SELECT pick__number FROM table_name_74 WHERE cfl_team = "montreal alouettes" AND player = "peter moore"
Who had 8 points, later than 1980, and a theodore ty02 chassis?
CREATE TABLE table_name_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR)
SELECT entrant FROM table_name_73 WHERE year > 1980 AND pts = 8 AND chassis = "theodore ty02"
How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13?
CREATE TABLE table_name_58 (ends_won INTEGER, stolen_ends VARCHAR, blank_ends VARCHAR, locale VARCHAR)
SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba" AND stolen_ends > 13
Name the number of location for 22-1
CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR)
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"
What is the location of Tamagaki station with an l stop?
CREATE TABLE table_name_14 (location VARCHAR, stop VARCHAR, station VARCHAR)
SELECT location FROM table_name_14 WHERE stop = "l" AND station = "tamagaki"
What team had 3 seasons and fewer than 27 in 1984?
CREATE TABLE table_name_71 (team VARCHAR, seasons VARCHAR)
SELECT team FROM table_name_71 WHERE seasons = 3 AND 1984 < 27
Which country has at most 3 stadiums listed?
CREATE TABLE stadium (country VARCHAR)
SELECT country FROM stadium GROUP BY country HAVING COUNT(*) <= 3
Who was the Elevator of Giacomo Colonna?
CREATE TABLE table_name_21 (elevator VARCHAR, elector VARCHAR)
SELECT elevator FROM table_name_21 WHERE elector = "giacomo colonna"
Which Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?
CREATE TABLE table_name_84 (week_2_sept_7 VARCHAR, week_6_oct_5 VARCHAR)
SELECT week_2_sept_7 FROM table_name_84 WHERE week_6_oct_5 = "wake forest (3-1)"
What is geelong's aberage crowd as Away Team?
CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong"
How many draws with 1 loss?
CREATE TABLE table_name_55 (draws INTEGER, losses VARCHAR)
SELECT SUM(draws) FROM table_name_55 WHERE losses = 1
Who won the 250 cc in 1987?
CREATE TABLE table_name_31 (year VARCHAR)
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1987"
Which location is in the Belgian Congo Tanganyika?
CREATE TABLE table_name_49 (location VARCHAR, country VARCHAR)
SELECT location FROM table_name_49 WHERE country = "belgian congo tanganyika"
What is the rank of Japan?
CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR)
SELECT rank FROM table_name_84 WHERE nationality = "japan"
Which vocal type is the most frequently appearring type?
CREATE TABLE vocals (TYPE VARCHAR)
SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
When did they play against Wales?
CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_41 WHERE opponent = "wales"
what's current club with height being 2.09
CREATE TABLE table_12962773_1 (current_club VARCHAR, height VARCHAR)
SELECT current_club FROM table_12962773_1 WHERE height = "2.09"
What is melbourne's away score?
CREATE TABLE table_name_29 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_29 WHERE away_team = "melbourne"
Find the id and local authority of the station whose maximum precipitation is higher than 50.
CREATE TABLE weekly_weather (station_id VARCHAR, precipitation INTEGER); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)
SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id HAVING MAX(t1.precipitation) > 50
Who was the bachelorette of the season where ian mckee was the winner?
CREATE TABLE table_name_20 (bachelorette VARCHAR, winner VARCHAR)
SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee"
What was the production code of the episode with an audience of 14.79 million in the US?
CREATE TABLE table_27776266_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT production_code FROM table_27776266_1 WHERE us_viewers__million_ = "14.79"
what is the score where the record is 1-1
CREATE TABLE table_26173058_2 (ramtha VARCHAR, ahli VARCHAR)
SELECT ramtha FROM table_26173058_2 WHERE ahli = "1-1"
Which Total has a Nation of japan (jpn), and a Silver smaller than 1?
CREATE TABLE table_name_85 (total INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_85 WHERE nation = "japan (jpn)" AND silver < 1
What is Name, when Moving To is "NEC Nijmegen"?
CREATE TABLE table_name_30 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_30 WHERE moving_to = "nec nijmegen"
Which 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?
CREATE TABLE table_name_57 (Id VARCHAR)
SELECT 2000 FROM table_name_57 WHERE 2002 = "not tier i" AND 2006 = "2r"
How many singles does Lisa Stansfield have?
CREATE TABLE table_26400075_2 (single VARCHAR, artist VARCHAR)
SELECT COUNT(single) FROM table_26400075_2 WHERE artist = "Lisa Stansfield"
Name the division record for riders
CREATE TABLE table_name_28 (division_record VARCHAR, team VARCHAR)
SELECT division_record FROM table_name_28 WHERE team = "riders"
Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine?
CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR)
SELECT model FROM table_name_94 WHERE gcm__kg__technical_capacity = "35000" AND gvm__kg__technical_capacity = "16000" AND engine_make_capacity = "cummins interact 6.0-euro iii (turbo intercooler)"
What is the number of distinct cities the stations are located at?
CREATE TABLE station (city VARCHAR)
SELECT COUNT(DISTINCT city) FROM station
Who was the girl on week 2 that was previous to week 4's Chelsie Loraine?
CREATE TABLE table_name_73 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_73 WHERE week_4 = "chelsie loraine"
Which Stopping pattern has a Platform of [2777] mciver station platforms?
CREATE TABLE table_name_50 (stopping_pattern VARCHAR, platform VARCHAR)
SELECT stopping_pattern FROM table_name_50 WHERE platform = "[2777] mciver station platforms"
When was the game with richmond as Away team?
CREATE TABLE table_name_86 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_86 WHERE away_team = "richmond"
Which Term expiration has an Appointing Governor of george pataki, republican, and an Appointed larger than 2004?
CREATE TABLE table_name_22 (term_expiration INTEGER, appointing_governor VARCHAR, appointed VARCHAR)
SELECT SUM(term_expiration) FROM table_name_22 WHERE appointing_governor = "george pataki, republican" AND appointed > 2004
In what season did the team get in the conference finals of the playoffs?
CREATE TABLE table_1939214_1 (regular_season VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_1939214_1 WHERE playoffs = "Conference Finals"
Which average Long has a Gain smaller than 16, and a Loss smaller than 6?
CREATE TABLE table_name_51 (long INTEGER, gain VARCHAR, loss VARCHAR)
SELECT AVG(long) FROM table_name_51 WHERE gain < 16 AND loss < 6
Which band plays Self Versus Self - Immersion?
CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)
SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion"