question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What kind of chassis on the angie's list sponsored car?
CREATE TABLE table_2503102_2 (chassis VARCHAR, primary_sponsor VARCHAR)
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's List"
Which Lost has an Against of 49 and a Played smaller than 20?
CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)
SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20
Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%?
CREATE TABLE table_name_24 (romaji_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR)
SELECT romaji_title FROM table_name_24 WHERE episodes = 11 AND tv_station = "fuji tv" AND average_ratings = "14.9%"
After 1972, how many points did Marlboro Team Alfa Romeo have?
CREATE TABLE table_name_84 (points VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT points FROM table_name_84 WHERE year > 1972 AND entrant = "marlboro team alfa romeo"
What notes are for years earlier than 2010?
CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER)
SELECT notes FROM table_name_50 WHERE year < 2010
Which event was the opponent jose carlos oliveira?
CREATE TABLE table_name_46 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_46 WHERE opponent = "jose carlos oliveira"
What is the class of the translator with 10 ERP W and a call sign of w273bl?
CREATE TABLE table_name_57 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = "w273bl"
what's the extroverted, relationship-oriented where moderate is introverted sanguine
CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, moderate VARCHAR)
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE moderate = "Introverted Sanguine"
What was the total amount of matches for Alan Shearer?
CREATE TABLE table_name_81 (matches VARCHAR, name VARCHAR)
SELECT COUNT(matches) FROM table_name_81 WHERE name = "alan shearer"
What was the away score when North Melbourne was played?
CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_91 WHERE home_team = "north melbourne"
List the title of films that do not have any market estimation.
CREATE TABLE film_market_estimation (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film (Title VARCHAR, Film_ID VARCHAR)
SELECT Title FROM film WHERE NOT Film_ID IN (SELECT Film_ID FROM film_market_estimation)
List the 1st air date for the show where the writers are russel friend & garrett lerner.
CREATE TABLE table_22904780_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_22904780_1 WHERE written_by = "Russel Friend & Garrett Lerner"
What is the home team score of the Ghantoot Racing and Polo Club Ground?
CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"
What's LSU's overall record/
CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR)
SELECT overall_record FROM table_22993636_2 WHERE team = "LSU"
What was the sum of the crowds at Western Oval?
CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval"
What is the Presentation of Credentials has a Termination of Mission listed as August 15, 2000?
CREATE TABLE table_name_91 (presentation_of_credentials VARCHAR, termination_of_mission VARCHAR)
SELECT presentation_of_credentials FROM table_name_91 WHERE termination_of_mission = "august 15, 2000"
What is te name of the constructors dated 26 march?
CREATE TABLE table_1140105_6 (constructor VARCHAR, date VARCHAR)
SELECT constructor FROM table_1140105_6 WHERE date = "26 March"
Who was the constructor of the car that Jan Lammers made 7-14 rounds in?
CREATE TABLE table_name_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR)
SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14"
What is 1996 during the US Open?
CREATE TABLE table_name_72 (tournament VARCHAR)
SELECT 1996 FROM table_name_72 WHERE tournament = "us open"
What was the venue of season 1907?
CREATE TABLE table_name_48 (venue VARCHAR, season VARCHAR)
SELECT venue FROM table_name_48 WHERE season = "1907"
What's the loss of the game with the opponent of the Nationals with a score of 7-1?
CREATE TABLE table_name_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT loss FROM table_name_69 WHERE opponent = "nationals" AND score = "7-1"
What was the home team's score at junction oval?
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval"
What is the greatest number of losses when there are more than 0 draws and 1390 against matches?
CREATE TABLE table_name_22 (losses INTEGER, draws VARCHAR, against VARCHAR)
SELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390
Which Literacy (2003) has an HDI (2005) smaller than 0.718, and a GDP per capita (US$) (2004) smaller than 3877, and a State of maranhão?
CREATE TABLE table_name_8 (literacy__2003_ VARCHAR, state VARCHAR, hdi__2005_ VARCHAR, gdp_per_capita__us$___2004_ VARCHAR)
SELECT literacy__2003_ FROM table_name_8 WHERE hdi__2005_ < 0.718 AND gdp_per_capita__us$___2004_ < 3877 AND state = "maranhão"
What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough?
CREATE TABLE table_name_67 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)
SELECT pregame_host FROM table_name_67 WHERE play_by_play = "jp dellacamera" AND year < 2009 AND color_commentator_s_ = "ty keough"
What is Chris Riley's Money?
CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_46 WHERE player = "chris riley"
What year was Jeff Mullins?
CREATE TABLE table_name_36 (year INTEGER, trainer VARCHAR)
SELECT MIN(year) FROM table_name_36 WHERE trainer = "jeff mullins"
When the position in 2012-12 is 7th, third division what is the home ground?
CREATE TABLE table_name_24 (home_ground VARCHAR, position_in_2012_13 VARCHAR)
SELECT home_ground FROM table_name_24 WHERE position_in_2012_13 = "7th, third division"
What is the GDP (nominal) with Population of 5,125,693?
CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)
SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693"
Which competition occurred after 1980 with a score of 0:5 in Jerusalem?
CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR)
SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem"
Which video is on channel 31.2 with a 4:3 aspect?
CREATE TABLE table_name_97 (video VARCHAR, aspect VARCHAR, channel VARCHAR)
SELECT video FROM table_name_97 WHERE aspect = "4:3" AND channel = 31.2
With the lost of 3, how many points?
CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR)
SELECT points_against FROM table_name_9 WHERE lost = "3"
Which song was released 12/8/70 with a time of 2:54?
CREATE TABLE table_name_19 (song_title VARCHAR, release_date VARCHAR, time VARCHAR)
SELECT song_title FROM table_name_19 WHERE release_date = "12/8/70" AND time = "2:54"
What Constellation has a Object type of globular cluster and a NGC number of 5986?
CREATE TABLE table_name_17 (constellation VARCHAR, object_type VARCHAR, ngc_number VARCHAR)
SELECT constellation FROM table_name_17 WHERE object_type = "globular cluster" AND ngc_number = 5986
Which CFL Team has a Pick # larger than 31?
CREATE TABLE table_name_73 (cfl_team VARCHAR, pick__number INTEGER)
SELECT cfl_team FROM table_name_73 WHERE pick__number > 31
In what year did the teams leave the conference?
CREATE TABLE table_2419754_1 (left INTEGER)
SELECT MAX(left) FROM table_2419754_1
What Away Team's venue is Arden Street Oval?
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_45 WHERE venue = "arden street oval"
Who is Eric McClure's and Tristar Motorsports' crew chief?
CREATE TABLE table_name_36 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR)
SELECT crew_chief FROM table_name_36 WHERE team = "tristar motorsports" AND driver_s_ = "eric mcclure"
What days is greenock morton vacant?
CREATE TABLE table_11207040_6 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT date_of_vacancy FROM table_11207040_6 WHERE team = "Greenock Morton"
What is listed as the highest Rank that has a Gold that's larger than 0, and Participants that's smaller than 10?
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, participants VARCHAR)
SELECT MAX(rank) FROM table_name_6 WHERE gold > 0 AND participants < 10
What's the number of poles in the season where the team had a Kalex motorcycle?
CREATE TABLE table_20016339_1 (poles VARCHAR, motorcycle VARCHAR)
SELECT poles FROM table_20016339_1 WHERE motorcycle = "Kalex"
Who wrote the last episode (episode 15) of season 3?
CREATE TABLE table_17861265_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_17861265_1 WHERE no_in_season = 15
What is the rank of the division with an area of 456800 sq mi?
CREATE TABLE table_171666_1 (rank VARCHAR, area__sq_mi_ VARCHAR)
SELECT rank FROM table_171666_1 WHERE area__sq_mi_ = 456800
What district first elected a Democratic incumbent in 1998?
CREATE TABLE table_1805191_50 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1805191_50 WHERE party = "Democratic" AND first_elected = 1998
What day was geelong the away side?
CREATE TABLE table_name_96 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_96 WHERE away_team = "geelong"
In the match where south melbourne was the away team, who was the home team?
CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_34 WHERE away_team = "south melbourne"
What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m19s?
CREATE TABLE table_name_61 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT object_type FROM table_name_61 WHERE ngc_number > 2090 AND right_ascension___j2000__ = "05h52m19s"
If the place is smaller than 8 and they played more than 18, what is the total number of goals conceded?
CREATE TABLE table_name_54 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR)
SELECT COUNT(goals_conceded) FROM table_name_54 WHERE place < 8 AND played > 18
How many ministers are there when the cabinet (nickname) is Steingrímur Hermannsson III?
CREATE TABLE table_21422977_2 (ministers VARCHAR, cabinet__nickname_ VARCHAR)
SELECT ministers FROM table_21422977_2 WHERE cabinet__nickname_ = "Steingrímur Hermannsson III"
Name the FCC info for frequency Mhz of 95.3 fm
CREATE TABLE table_name_34 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_34 WHERE frequency_mhz = "95.3 fm"
Did the round 8 race get reported
CREATE TABLE table_15511178_3 (report VARCHAR, rd VARCHAR)
SELECT report FROM table_15511178_3 WHERE rd = 8
What is the total number of Goals Scored, when the Team is San Salvador F.C., and when the Points are less than 10?
CREATE TABLE table_name_33 (goals_scored INTEGER, team VARCHAR, points VARCHAR)
SELECT MAX(goals_scored) FROM table_name_33 WHERE team = "san salvador f.c." AND points < 10
Who was the host team on November 17?
CREATE TABLE table_name_48 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_48 WHERE date = "november 17"
What position did the draft pick going to saskatchewan play?
CREATE TABLE table_28059992_5 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan"
Which year had J.R. Reid as a player?
CREATE TABLE table_name_62 (year VARCHAR, player VARCHAR)
SELECT year FROM table_name_62 WHERE player = "j.r. reid"
What is the Language for Canale Aste?
CREATE TABLE table_name_16 (language VARCHAR, television_service VARCHAR)
SELECT language FROM table_name_16 WHERE television_service = "canale aste"
what is the date when the away team is bolton wanderers?
CREATE TABLE table_name_66 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_66 WHERE away_team = "bolton wanderers"
Who was the runner(s)-up when the winning score was –13 (75-68-68=211)?
CREATE TABLE table_name_77 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_77 WHERE winning_score = –13(75 - 68 - 68 = 211)
What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65?
CREATE TABLE table_name_25 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR)
SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65
Which team did Scott Pruett drive for when the grid was smaller than 20 and there were 65 laps?
CREATE TABLE table_name_80 (team VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT team FROM table_name_80 WHERE laps = 65 AND grid < 20 AND driver = "scott pruett"
Which College has a Round of 11, and a Pick of 14?
CREATE TABLE table_name_53 (college VARCHAR, round VARCHAR, pick VARCHAR)
SELECT college FROM table_name_53 WHERE round = 11 AND pick = 14
What is every value for area if change% is -3.6?
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR)
SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.6"
What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521?
CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR)
SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > 9.521
How many teams had a 99.3% capacity rating?
CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)
SELECT COUNT(team) FROM table_28884858_2 WHERE capacity_percentage = "99.3%"
What is the highest pick number for a pick drafted by the denver broncos?
CREATE TABLE table_name_52 (pick INTEGER, team VARCHAR)
SELECT MAX(pick) FROM table_name_52 WHERE team = "denver broncos"
how many winnings does jeff gordon have?
CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)
SELECT winnings FROM table_27781212_1 WHERE driver = "Jeff Gordon"
Name the Prominence of the Mountain Peak of matchless mountain pb?
CREATE TABLE table_name_81 (prominence VARCHAR, mountain_peak VARCHAR)
SELECT prominence FROM table_name_81 WHERE mountain_peak = "matchless mountain pb"
What is the sigma (with 1.5σ shift) when there are 69% defective?
CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR)
SELECT sigma__with_15σ_shift_ FROM table_222448_1 WHERE percent_defective = "69%"
What was the class position of the team that was in the 4th position?
CREATE TABLE table_name_73 (class VARCHAR, pos VARCHAR)
SELECT class AS pos FROM table_name_73 WHERE pos = "4th"
who is the player when the school is spring hs (spring, texas)?
CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR)
SELECT player FROM table_name_24 WHERE school = "spring hs (spring, texas)"
when did no. 32 play for grizzles
CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, no VARCHAR)
SELECT years_for_grizzlies FROM table_16494599_5 WHERE no = 32
Name the pinyin for mazar
CREATE TABLE table_2008069_2 (pinyin VARCHAR, conventional VARCHAR)
SELECT pinyin FROM table_2008069_2 WHERE conventional = "Mazar"
How many different allergy types exist?
CREATE TABLE Allergy_type (allergytype VARCHAR)
SELECT COUNT(DISTINCT allergytype) FROM Allergy_type
What is the minimum number of field goals associated with exactly 84 assists?
CREATE TABLE table_24908692_5 (field_goals INTEGER, assists VARCHAR)
SELECT MIN(field_goals) FROM table_24908692_5 WHERE assists = 84
who is beavercreek's representative
CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR)
SELECT representative FROM table_29486189_4 WHERE residence = "Beavercreek"
Name number first elected for tennessee 2?
CREATE TABLE table_1341586_43 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = "Tennessee 2"
Which player has a total bigger than 285 and a to par of +14?
CREATE TABLE table_name_10 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_10 WHERE total > 285 AND to_par = "+14"
Who was the opponent on April 29?
CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_5 WHERE date = "april 29"
what was the score when goran ivanišević was runner up and the tournament was in algarve?
CREATE TABLE table_name_53 (score VARCHAR, runner_up VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_53 WHERE runner_up = "goran ivanišević" AND tournament = "algarve"
Which home team had the score 1-3?
CREATE TABLE table_name_6 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_6 WHERE score = "1-3"
What language is the film Marion Bridge?
CREATE TABLE table_name_46 (language VARCHAR, film VARCHAR)
SELECT language FROM table_name_46 WHERE film = "marion bridge"
Who wrote the episode that had 8.84 million viewers?
CREATE TABLE table_21025437_5 (written_by VARCHAR, viewers__millions_ VARCHAR)
SELECT written_by FROM table_21025437_5 WHERE viewers__millions_ = "8.84"
What is the team for the position in table 19th?
CREATE TABLE table_24231638_3 (team VARCHAR, position_in_table VARCHAR)
SELECT team FROM table_24231638_3 WHERE position_in_table = "19th"
Lowest finish for ganassi at smaller than 19 start for smaller than 2004 year?
CREATE TABLE table_name_13 (finish INTEGER, year VARCHAR, team VARCHAR, start VARCHAR)
SELECT MIN(finish) FROM table_name_13 WHERE team = "ganassi" AND start < 19 AND year < 2004
What is the average speed for filmar racing?
CREATE TABLE table_28178756_1 (average_speed__mph_ VARCHAR, team VARCHAR)
SELECT average_speed__mph_ FROM table_28178756_1 WHERE team = "FILMAR Racing"
Which lap number had Olivier Panis as a driver?
CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_98 WHERE driver = "olivier panis"
What is the width for the year of the 1970?
CREATE TABLE table_name_38 (width VARCHAR, year VARCHAR)
SELECT width FROM table_name_38 WHERE year = "1970"
Parts Plus sponsors what driver?
CREATE TABLE table_name_21 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)
SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = "parts plus"
What is Driver Brendan Gaughan's Pos?
CREATE TABLE table_name_29 (pos VARCHAR, driver VARCHAR)
SELECT pos FROM table_name_29 WHERE driver = "brendan gaughan"
Name the county with the peak being indre russetind?
CREATE TABLE table_12280396_1 (county VARCHAR, peak VARCHAR)
SELECT county FROM table_12280396_1 WHERE peak = "Indre Russetind"
What is the date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark?
CREATE TABLE table_name_2 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = "resigned" AND replaced_by = "sandy clark"
Which To par has a Player of momoko ueda?
CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_64 WHERE player = "momoko ueda"
What was the reason for change in staff in formal installations on March 15, 1865?
CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 15, 1865"
Which constructor has a Grid smaller than 18, and a Driver of mika häkkinen?
CREATE TABLE table_name_14 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_14 WHERE grid < 18 AND driver = "mika häkkinen"
What is the final score when the visiting team is the Washington Redskins and the date is September 4?
CREATE TABLE table_name_82 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_82 WHERE visiting_team = "washington redskins" AND date = "september 4"
Orbital period of 89 to 128 min has what specific orbital energy?
CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR)
SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min"
What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?
CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR)
SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = "australia" AND best_bowling = "5/36" AND average < 23.33
How many populations are listed for mladenovo?
CREATE TABLE table_2562572_12 (population__2011_ VARCHAR, settlement VARCHAR)
SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo"
Who did the Raptors play against when their record was 13-48?
CREATE TABLE table_13619053_8 (team VARCHAR, record VARCHAR)
SELECT team FROM table_13619053_8 WHERE record = "13-48"
Where was the game played where North Melbourne was the away team?
CREATE TABLE table_name_40 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_40 WHERE away_team = "north melbourne"