question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
With a Championship of 1959 USAC Championship Car Season what is the event?
CREATE TABLE table_name_32 (event VARCHAR, championship VARCHAR)
SELECT event FROM table_name_32 WHERE championship = "1959 usac championship car season"
What was the film nomination in the Netherlands?
CREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands"
What is the score for the game that was played on 29-Jun-2009?
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "29-jun-2009"
Name the number of viewers for series number 50
CREATE TABLE table_20704243_5 (us_viewers__in_millions_ VARCHAR, series__number VARCHAR)
SELECT us_viewers__in_millions_ FROM table_20704243_5 WHERE series__number = 50
What is the team with the name Boumediene Abderahmane?
CREATE TABLE table_name_48 (teams VARCHAR, name VARCHAR)
SELECT teams FROM table_name_48 WHERE name = "boumediene abderahmane"
How many episodes are numbered 14 in the series?
CREATE TABLE table_27081956_1 (episode VARCHAR, series_no VARCHAR)
SELECT COUNT(episode) FROM table_27081956_1 WHERE series_no = 14
COunt the Year which has a Venue of latakia , syria?
CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR)
SELECT COUNT(year) FROM table_name_71 WHERE venue = "latakia , syria"
Which event in 2007 had a position of 5th?
CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR)
SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
Who plays on the date september 29?
CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_48 WHERE date = "september 29"
Construction start of 1 december 1984 is what unit?
CREATE TABLE table_name_75 (unit VARCHAR, construction_start VARCHAR)
SELECT unit FROM table_name_75 WHERE construction_start = "1 december 1984"
How many items appear in the written by column in episode 3?
CREATE TABLE table_27155243_4 (written_by VARCHAR, episode__number VARCHAR)
SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 3
What are the average league goals that have 2 (1) as the total apps?
CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR)
SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (1)"
What is the code name when the Southbridge shows as amd-766, via-vt82c686b?
CREATE TABLE table_name_26 (code_name VARCHAR, southbridge VARCHAR)
SELECT code_name FROM table_name_26 WHERE southbridge = "amd-766, via-vt82c686b"
Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954?
CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)
SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954"
Name the total number of high asists for 34-27
CREATE TABLE table_27902171_8 (high_assists VARCHAR, record VARCHAR)
SELECT COUNT(high_assists) FROM table_27902171_8 WHERE record = "34-27"
What is the home team's score at mcg?
CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg"
Which campus was opened between 1935 and 1939?
CREATE TABLE campuses (campus VARCHAR, YEAR VARCHAR)
SELECT campus FROM campuses WHERE YEAR >= 1935 AND YEAR <= 1939
What was the outcome of the match against andy roddick?
CREATE TABLE table_name_78 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_78 WHERE opponent = "andy roddick"
Tell me the sum of interview for evening gown more than 8.37 and average of 8.363
CREATE TABLE table_name_57 (interview INTEGER, average VARCHAR, evening_gown VARCHAR)
SELECT SUM(interview) FROM table_name_57 WHERE average = 8.363 AND evening_gown > 8.37
What is the date of the poll with Silbert at 10.0%?
CREATE TABLE table_name_48 (date VARCHAR, silbert VARCHAR)
SELECT date FROM table_name_48 WHERE silbert = "10.0%"
Which tournament had a playoff with a margin of victory?
CREATE TABLE table_name_49 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_49 WHERE margin_of_victory = "playoff"
When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR)
SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola"
If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?
CREATE TABLE table_21995420_9 (stunts VARCHAR, school VARCHAR)
SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats"
Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims?
CREATE TABLE table_name_91 (elector VARCHAR, cardinalatial_title VARCHAR)
SELECT elector FROM table_name_91 WHERE cardinalatial_title = "priest of s. sabina and archbishop of reims"
How many Picks have a Position of defensive back?
CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR)
SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back"
Who's ranked less than 2?
CREATE TABLE table_name_32 (player VARCHAR, rank INTEGER)
SELECT player FROM table_name_32 WHERE rank < 2
Which Incumbent has a District of massachusetts 2?
CREATE TABLE table_name_62 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_name_62 WHERE district = "massachusetts 2"
When Event has Bubbles of yes, Cancelable of yes, Category of mouse, and a Type of contextmenu what is the Attribute?
CREATE TABLE table_name_41 (attribute VARCHAR, type VARCHAR, category VARCHAR, bubbles VARCHAR, cancelable VARCHAR)
SELECT attribute FROM table_name_41 WHERE bubbles = "yes" AND cancelable = "yes" AND category = "mouse" AND type = "contextmenu"
what is the lowest rank when the type is hydro, the name is grand rapids generating station and the capacity (mw) is more than 479?
CREATE TABLE table_name_67 (rank INTEGER, capacity___mw__ VARCHAR, type VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_67 WHERE type = "hydro" AND name = "grand rapids generating station" AND capacity___mw__ > 479
what is the type of lithium when rubidium is nabr (1.9)?
CREATE TABLE table_name_54 (lithium VARCHAR, rubidium VARCHAR)
SELECT lithium FROM table_name_54 WHERE rubidium = "nabr (1.9)"
Who was the pilot at lake dumbleyung?
CREATE TABLE table_name_43 (pilot_s_ VARCHAR, location VARCHAR)
SELECT pilot_s_ FROM table_name_43 WHERE location = "lake dumbleyung"
what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer
CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR)
SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_position = "Bradley Ellis Alex Mortimer"
Which ICAO has a Province of heilongjiang, and a IATA of jmu?
CREATE TABLE table_name_34 (icao VARCHAR, province VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_34 WHERE province = "heilongjiang" AND iata = "jmu"
When 1 is the number what episodes were used?
CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR)
SELECT episodes_used FROM table_2144389_9 WHERE _number = 1
Tell me the time for 6/6/77 release date and song title of way down
CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR)
SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down"
What is every district for incumbent Joseph Desha?
CREATE TABLE table_2668352_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha"
What is track 6's title?
CREATE TABLE table_name_62 (title VARCHAR, track VARCHAR)
SELECT title FROM table_name_62 WHERE track = 6
What is the group a winner for modena?
CREATE TABLE table_1137142_1 (group_a_winner VARCHAR, group_b_winner VARCHAR)
SELECT group_a_winner FROM table_1137142_1 WHERE group_b_winner = "Modena"
How much attendance has a Loss of roloson (11โ€“5)?
CREATE TABLE table_name_70 (attendance INTEGER, loss VARCHAR)
SELECT SUM(attendance) FROM table_name_70 WHERE loss = "roloson (11โ€“5)"
Which home team has a score of 5 โ€“ 6?
CREATE TABLE table_name_90 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_90 WHERE score = "5 โ€“ 6"
What is the ship id and name that caused most total injuries?
CREATE TABLE death (caused_by_ship_id VARCHAR); CREATE TABLE ship (Id VARCHAR)
SELECT T2.id, T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY COUNT(*) DESC LIMIT 1
what is the earliest year when the result is won and the role/episode is fox mulder?
CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)
SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder"
Name the departure for spalding
CREATE TABLE table_17200372_2 (departure VARCHAR, going_to VARCHAR)
SELECT departure FROM table_17200372_2 WHERE going_to = "Spalding"
What was the 2nd leg score having an aggregate score of 4-2?
CREATE TABLE table_name_88 (aggregate VARCHAR)
SELECT 2 AS nd_leg FROM table_name_88 WHERE aggregate = "4-2"
Where did Richmond play as the away team?
CREATE TABLE table_name_51 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_51 WHERE away_team = "richmond"
what is the finishes when points is more than 337 and starts is more than 26?
CREATE TABLE table_name_90 (finishes INTEGER, points VARCHAR, starts VARCHAR)
SELECT SUM(finishes) FROM table_name_90 WHERE points > 337 AND starts > 26
What numbered pick was dominic picard, ol, selected?
CREATE TABLE table_name_8 (pick__number VARCHAR, position VARCHAR, player VARCHAR)
SELECT pick__number FROM table_name_8 WHERE position = "ol" AND player = "dominic picard"
What was the depravitiy of earnings where international sales was 2470?
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR)
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470
On how many dates did the Timberwolves play Phoenix?
CREATE TABLE table_17058226_10 (date VARCHAR, team VARCHAR)
SELECT COUNT(date) FROM table_17058226_10 WHERE team = "Phoenix"
What was the score of the game played when the team was 16-17?
CREATE TABLE table_17104539_12 (score VARCHAR, record VARCHAR)
SELECT score FROM table_17104539_12 WHERE record = "16-17"
Name the date that had a record of 90-60
CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_31 WHERE record = "90-60"
How much was spent in 1949/50 (in $ millions) in the country where the cumulative expenditure is $376 millions?
CREATE TABLE table_19766_1 (cumulative__$_millions_ VARCHAR)
SELECT MIN(1949 AS _50__) AS $_millions_ FROM table_19766_1 WHERE cumulative__$_millions_ = 376
What to par has The United States as the country, t8 as the place, and tommy valentine as the player?
CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine"
Which week was on November 13, 1955 when the attendance was over 33,982?
CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_57 WHERE date = "november 13, 1955" AND attendance > 33 OFFSET 982
Can you tell me the total number of Matched that has the Strike Rate smallet than 152.3, and the Balls of 395?
CREATE TABLE table_name_88 (matches VARCHAR, strike_rate VARCHAR, balls VARCHAR)
SELECT COUNT(matches) FROM table_name_88 WHERE strike_rate < 152.3 AND balls = 395
Name the tries when tries against were 41, try bonus was 6, and had 317 points.
CREATE TABLE table_name_35 (tries_for VARCHAR, points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_name_35 WHERE try_bonus = "6" AND tries_against = "41" AND points_against = "317"
Who is the star of the program on Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx?
CREATE TABLE table_18540104_1 (starring_actors VARCHAR, time_frame VARCHAR)
SELECT starring_actors FROM table_18540104_1 WHERE time_frame = "Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx"
What is the average field goal someone has when they have 0 extra points but more than 5 touch downs?
CREATE TABLE table_name_80 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR)
SELECT AVG(field_goals) FROM table_name_80 WHERE extra_points > 0 AND touchdowns > 5
What is the poverty rate in the county that has a market income per capita of $16,420?
CREATE TABLE table_22815568_1 (poverty_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT poverty_rate FROM table_22815568_1 WHERE market_income_per_capita = "$16,420"
What was the name of race #28?
CREATE TABLE table_1749567_2 (name VARCHAR, number VARCHAR)
SELECT name FROM table_1749567_2 WHERE number = 28
What was the record at the game that had a loss of Spillner (1-8)?
CREATE TABLE table_name_13 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_13 WHERE loss = "spillner (1-8)"
What date was the match against Morocco played?
CREATE TABLE table_18042031_16 (date VARCHAR, against VARCHAR)
SELECT date FROM table_18042031_16 WHERE against = "Morocco"
What is the sum of Seasons, when the Team is Penske Racing, and when the Date is October 3?
CREATE TABLE table_name_10 (season INTEGER, team VARCHAR, date VARCHAR)
SELECT SUM(season) FROM table_name_10 WHERE team = "penske racing" AND date = "october 3"
Name the most april with record of 38-33-10
CREATE TABLE table_name_19 (april INTEGER, record VARCHAR)
SELECT MAX(april) FROM table_name_19 WHERE record = "38-33-10"
What is the grid sum with more than 50 laps?
CREATE TABLE table_name_16 (grid INTEGER, laps INTEGER)
SELECT SUM(grid) FROM table_name_16 WHERE laps > 50
what is the highest spartak when played is less than 15 and dynamo is less than 3?
CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)
SELECT MAX(spartak) FROM table_name_42 WHERE played < 15 AND dynamo < 3
What is the date for Zouave?
CREATE TABLE table_name_99 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_99 WHERE name = "zouave"
What round was the debut of Scott Tunbridge?
CREATE TABLE table_name_58 (debut VARCHAR, name VARCHAR)
SELECT debut FROM table_name_58 WHERE name = "scott tunbridge"
What film did michaylo ilyenko make with best actor in a supporting role?
CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR)
SELECT film_name FROM table_10236830_1 WHERE director = "Michaylo Ilyenko" AND nomination = "Best Actor in a Supporting Role"
What is the hometown of the players for placer, california
CREATE TABLE table_11677691_12 (school VARCHAR, hometown VARCHAR)
SELECT school FROM table_11677691_12 WHERE hometown = "Placer, California"
What base pair has 832 genes?
CREATE TABLE table_name_79 (base_pairs VARCHAR, genes VARCHAR)
SELECT base_pairs FROM table_name_79 WHERE genes = 832
Which Party has a Residence of san diego?
CREATE TABLE table_name_23 (party VARCHAR, residence VARCHAR)
SELECT party FROM table_name_23 WHERE residence = "san diego"
Which circuit was held on 25โ€“28 march?
CREATE TABLE table_26686908_2 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_26686908_2 WHERE date = "25โ€“28 March"
What are the original air dates when scientology isthe poll winner?
CREATE TABLE table_15781170_3 (original_air_date VARCHAR, poll_winner VARCHAR)
SELECT original_air_date FROM table_15781170_3 WHERE poll_winner = "Scientology"
What was the resolution for KO opposing Cliff Beckett?
CREATE TABLE table_name_81 (res VARCHAR, type VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_81 WHERE type = "ko" AND opponent = "cliff beckett"
What film was awarded on 22/3/06?
CREATE TABLE table_name_2 (film VARCHAR, date VARCHAR)
SELECT film FROM table_name_2 WHERE date = "22/3/06"
Name the overall record for road record being 4-3
CREATE TABLE table_22825679_1 (overall_record VARCHAR, road_record VARCHAR)
SELECT overall_record FROM table_22825679_1 WHERE road_record = "4-3"
Name the place where adelaide oval is
CREATE TABLE table_name_51 (city_country VARCHAR, venue VARCHAR)
SELECT city_country FROM table_name_51 WHERE venue = "adelaide oval"
Which first was born on 5 february 1979?
CREATE TABLE table_name_30 (first VARCHAR, dob VARCHAR)
SELECT first FROM table_name_30 WHERE dob = "5 february 1979"
What was the score on April 20?
CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_3 WHERE date = "april 20"
What is the avg/g of Rhines, Chris, who has an effic greater than 73.95?
CREATE TABLE table_name_70 (avg_g VARCHAR, effic VARCHAR, name VARCHAR)
SELECT avg_g FROM table_name_70 WHERE effic > 73.95 AND name = "rhines, chris"
Which store has most the customers?
CREATE TABLE customer (store_id VARCHAR)
SELECT store_id FROM customer GROUP BY store_id ORDER BY COUNT(*) DESC LIMIT 1
Which race happened in 1948?
CREATE TABLE table_name_26 (race_title VARCHAR, year VARCHAR)
SELECT race_title FROM table_name_26 WHERE year = 1948
Which Representative was from Kentucky during the years of 1855โ€“1859?
CREATE TABLE table_name_25 (representative VARCHAR, state VARCHAR, years VARCHAR)
SELECT representative FROM table_name_25 WHERE state = "kentucky" AND years = "1855โ€“1859"
What director has a worldwide gross of $149,022,650 and is ranked greater than 7?
CREATE TABLE table_name_39 (director VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
SELECT director FROM table_name_39 WHERE rank > 7 AND worldwide_gross = "$149,022,650"
Which Episodes have a TV Station of ntv, and a Japanese Title of ใ‚ใ„ใฎใ†ใŸ?
CREATE TABLE table_name_17 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR)
SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "ใ‚ใ„ใฎใ†ใŸ"
How many times was team 1 the wykeham wonderers?
CREATE TABLE table_18733480_1 (players_left_after_round_1 VARCHAR, team_1 VARCHAR)
SELECT COUNT(players_left_after_round_1) FROM table_18733480_1 WHERE team_1 = "Wykeham Wonderers"
If the product code is 2t6267, who was the director?
CREATE TABLE table_17467447_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_17467447_1 WHERE production_code = "2T6267"
What is the population in the city of Pomorskie?
CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, voivodeship_separate_city VARCHAR)
SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE voivodeship_separate_city = "pomorskie"
Name the sum of hull number for italy and year more than 1999
CREATE TABLE table_name_37 (hull_no INTEGER, destination VARCHAR, year VARCHAR)
SELECT SUM(hull_no) FROM table_name_37 WHERE destination = "italy" AND year > 1999
What result had a score of 2-1?
CREATE TABLE table_name_73 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_73 WHERE score = "2-1"
Show the headquarters shared by more than two companies.
CREATE TABLE Companies (Headquarters VARCHAR)
SELECT Headquarters FROM Companies GROUP BY Headquarters HAVING COUNT(*) > 2
Which office was Richard M. Griffin vying for on the Greenback ticket?
CREATE TABLE table_name_97 (office VARCHAR, greenback_ticket VARCHAR)
SELECT office FROM table_name_97 WHERE greenback_ticket = "richard m. griffin"
Which March is the lowest one that has a Score of 5โ€“6, and Points smaller than 100?
CREATE TABLE table_name_88 (march INTEGER, score VARCHAR, points VARCHAR)
SELECT MIN(march) FROM table_name_88 WHERE score = "5โ€“6" AND points < 100
What was the date when the record was 1-0?
CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR)
SELECT date FROM table_20745444_1 WHERE record = "1-0"
What is the number of cities/municipalities having an urban settlement of Srbobran?
CREATE TABLE table_2562572_2 (city___municipality VARCHAR, urban_settlement VARCHAR)
SELECT COUNT(city___municipality) FROM table_2562572_2 WHERE urban_settlement = "Srbobran"
What was Tiger Woods' score?
CREATE TABLE table_name_57 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_57 WHERE player = "tiger woods"
Which opponent was playing on December 20, 1998?
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_63 WHERE date = "december 20, 1998"
Which circuit has a Race Title of japanese grand prix?
CREATE TABLE table_name_22 (circuit VARCHAR, race_title VARCHAR)
SELECT circuit FROM table_name_22 WHERE race_title = "japanese grand prix"
What year was Kelin nominated?
CREATE TABLE table_name_53 (year_ceremony VARCHAR, english_title VARCHAR)
SELECT year_ceremony FROM table_name_53 WHERE english_title = "kelin"