question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the percentage listed for the team who scored 63 points?
CREATE TABLE table_26200568_16 (percentage VARCHAR, points_for VARCHAR)
SELECT percentage FROM table_26200568_16 WHERE points_for = 63
What kind of Placement in Miss Universe that rosita cornell capuyon is in?
CREATE TABLE table_name_4 (placement_in_miss_universe VARCHAR, delegate VARCHAR)
SELECT placement_in_miss_universe FROM table_name_4 WHERE delegate = "rosita cornell capuyon"
Which player is from Joliet Catholic HIgh School?
CREATE TABLE table_11677691_7 (player VARCHAR, school VARCHAR)
SELECT player FROM table_11677691_7 WHERE school = "Joliet Catholic High school"
List the first and last name of all players in the order of birth date.
CREATE TABLE players (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)
SELECT first_name, last_name FROM players ORDER BY birth_date
What was the 1st leg when team 1 was apoel?
CREATE TABLE table_name_79 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "apoel"
In what award show was Bad Girls nominated for Best Loved Drama in 2002?
CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)
SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002
What is the Athlete from Riverbank, California?
CREATE TABLE table_name_67 (athlete VARCHAR, city VARCHAR)
SELECT athlete FROM table_name_67 WHERE city = "riverbank, california"
Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?
CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)
SELECT MIN(frequency) FROM table_name_2 WHERE webcast = "listen live" AND city_of_license = "monterrey" AND callsign = "xet"
How many attendances had the Detroit Lions as opponents?
CREATE TABLE table_name_11 (attendance INTEGER, opponent VARCHAR)
SELECT SUM(attendance) FROM table_name_11 WHERE opponent = "detroit lions"
Which Pos has a Team of germian racing?
CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR)
SELECT pos FROM table_name_68 WHERE team = "germian racing"
Who wrote the episodes that were viewed by 2.12 million viewers?
CREATE TABLE table_11111116_8 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_11111116_8 WHERE us_viewers__million_ = "2.12"
What is the region for tv vtv?
CREATE TABLE table_name_69 (region VARCHAR, name VARCHAR)
SELECT region FROM table_name_69 WHERE name = "tv vtv"
WHAT IS THE RECORD FOR FEBRUARY 11?
CREATE TABLE table_name_62 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_62 WHERE date = "february 11"
Which Final has a Run 2 of 1:27.58?
CREATE TABLE table_name_50 (final VARCHAR, run_2 VARCHAR)
SELECT final FROM table_name_50 WHERE run_2 = "1:27.58"
Name the player for pick number for 30
CREATE TABLE table_1965650_2 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_1965650_2 WHERE pick__number = 30
How many different locations have the score 207 (-10)?
CREATE TABLE table_11603006_1 (location VARCHAR, score VARCHAR)
SELECT COUNT(location) FROM table_11603006_1 WHERE score = "207 (-10)"
I want to know the lowest week with a date of december 19, 2004
CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_26 WHERE date = "december 19, 2004"
Who has the high assists when 50-26 is the record?
CREATE TABLE table_23284271_10 (high_assists VARCHAR, record VARCHAR)
SELECT high_assists FROM table_23284271_10 WHERE record = "50-26"
What pregame host was on espn and had taylor twellman color commentating?
CREATE TABLE table_17516922_1 (pregame_host VARCHAR, network VARCHAR, color_commentator VARCHAR)
SELECT pregame_host FROM table_17516922_1 WHERE network = "ESPN" AND color_commentator = "Taylor Twellman"
Which Allied Force targetted Woensdrecht?
CREATE TABLE table_1160161_12 (allied_forces VARCHAR, target VARCHAR)
SELECT allied_forces FROM table_1160161_12 WHERE target = "Woensdrecht"
Which bike traveled the most often in zip code 94002?
CREATE TABLE trip (bike_id VARCHAR, zip_code VARCHAR)
SELECT bike_id FROM trip WHERE zip_code = 94002 GROUP BY bike_id ORDER BY COUNT(*) DESC LIMIT 1
What is the number of silver when the total is more than 2, and bronze is less than 3, with a rank of 7?
CREATE TABLE table_name_44 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_44 WHERE total > 2 AND bronze < 3 AND rank = "7"
What team was the opponent when the score was 8-2?
CREATE TABLE table_name_24 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_24 WHERE score = "8-2"
Show the distinct venues of debates
CREATE TABLE debate (Venue VARCHAR)
SELECT DISTINCT Venue FROM debate
Which school is in Raleigh, NC?
CREATE TABLE table_name_23 (school VARCHAR, hometown VARCHAR)
SELECT school FROM table_name_23 WHERE hometown = "raleigh, nc"
Which album had the note tape [tape echo]?
CREATE TABLE table_name_95 (album VARCHAR, note VARCHAR)
SELECT album FROM table_name_95 WHERE note = "tape [tape echo]"
What season had a viewer rank of #4?
CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#4"
What was the result for the game on October 5?
CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_11 WHERE date = "october 5"
what was valentino rossi's rider time?
CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
What is the week 32 result when week 33 is 31.9%?
CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR)
SELECT week_32 FROM table_23680576_3 WHERE week_33 = "31.9%"
How many Points have a Home of pittsburgh, and a Score of 1–7?
CREATE TABLE table_name_11 (points INTEGER, home VARCHAR, score VARCHAR)
SELECT SUM(points) FROM table_name_11 WHERE home = "pittsburgh" AND score = "1–7"
What is the home team score when the away team is St Kilda?
CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_37 WHERE away_team = "st kilda"
What was the score on april 4, 1993?
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_33 WHERE date = "april 4, 1993"
Display the first name and department name for each employee.
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR)
SELECT T1.first_name, T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id
When joan tewkesbury is the director what is the number in seasons?
CREATE TABLE table_18367694_3 (no_in_season VARCHAR, directed_by VARCHAR)
SELECT no_in_season FROM table_18367694_3 WHERE directed_by = "Joan Tewkesbury"
who is the the judges with seasons and winners being season 1, 2013–2014: upcoming season
CREATE TABLE table_13779832_1 (judges VARCHAR, seasons_and_winners VARCHAR)
SELECT judges FROM table_13779832_1 WHERE seasons_and_winners = "Season 1, 2013–2014: Upcoming season"
What is the highest number of poles of the year before 1992 with more than 18 starts and winnings of $125,102?
CREATE TABLE table_name_81 (poles INTEGER, year VARCHAR, starts VARCHAR, winnings VARCHAR)
SELECT MAX(poles) FROM table_name_81 WHERE starts > 18 AND winnings = "$125,102" AND year < 1992
What date has a game smaller than 4, and a score of 116-114?
CREATE TABLE table_name_73 (date VARCHAR, game VARCHAR, score VARCHAR)
SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114"
how many people work with N Rawiller
CREATE TABLE table_13498403_1 (trainer VARCHAR, jockey VARCHAR)
SELECT COUNT(trainer) FROM table_13498403_1 WHERE jockey = "N Rawiller"
Who was the General classification when Pascal Richard was the winner?
CREATE TABLE table_name_90 (general_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_name_90 WHERE winner = "pascal richard"
On what NHL team does Roman Vopat play for?
CREATE TABLE table_name_57 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_name_57 WHERE player = "roman vopat"
What is the lowest total points Karine Trécy has with less than 4 draws?
CREATE TABLE table_name_8 (total_points INTEGER, draw VARCHAR, artist VARCHAR)
SELECT MIN(total_points) FROM table_name_8 WHERE draw < 4 AND artist = "karine trécy"
Find the most prominent max page size among all the products.
CREATE TABLE product (max_page_size VARCHAR)
SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY COUNT(*) DESC LIMIT 1
How many schools with greyhounds as their nickname?
CREATE TABLE table_1969634_1 (institution VARCHAR, nickname VARCHAR)
SELECT COUNT(institution) FROM table_1969634_1 WHERE nickname = "Greyhounds"
What was the game site for week 14?
CREATE TABLE table_name_87 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_87 WHERE week = "14"
Find the name of customer who has the highest amount of loans.
CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount) DESC LIMIT 1
What is the nationality of the guard who plays at Utah?
CREATE TABLE table_name_96 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_96 WHERE position = "guard" AND school_club_team = "utah"
Name the score for rebeka dremelj
CREATE TABLE table_21378339_5 (score VARCHAR, artist VARCHAR)
SELECT score FROM table_21378339_5 WHERE artist = "Rebeka Dremelj"
How many numbers were listed under attendance for March 2?
CREATE TABLE table_11959669_7 (location_attendance VARCHAR, date VARCHAR)
SELECT COUNT(location_attendance) FROM table_11959669_7 WHERE date = "March 2"
Who were the Opponents when Laura DuPont had Pam Shriver as Partner with a Score of 6-3, 6-3?
CREATE TABLE table_name_10 (opponents VARCHAR, partner VARCHAR, score VARCHAR)
SELECT opponents FROM table_name_10 WHERE partner = "pam shriver" AND score = "6-3, 6-3"
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
CREATE TABLE table_name_33 (failures INTEGER, orbital_regime VARCHAR, launches VARCHAR)
SELECT SUM(failures) FROM table_name_33 WHERE orbital_regime = "heliocentric orbit" AND launches < 1
Name the cyrillic name for melenci
CREATE TABLE table_2562572_35 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_35 WHERE settlement = "Melenci"
What Premier League Manager has an Adidas sponsor and a Newcastle United club?
CREATE TABLE table_name_52 (manager VARCHAR, manufacturer VARCHAR, club VARCHAR)
SELECT manager FROM table_name_52 WHERE manufacturer = "adidas" AND club = "newcastle united"
Which Nationality has a 2.24 of xo, and a 2.20 of xo?
CREATE TABLE table_name_35 (nationality VARCHAR)
SELECT nationality FROM table_name_35 WHERE 224 = "xo" AND 220 = "xo"
Who had the high assists on November 17?
CREATE TABLE table_27744976_6 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_27744976_6 WHERE date = "November 17"
What was the tie no when Oxford city was the away team?
CREATE TABLE table_name_39 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_39 WHERE away_team = "oxford city"
What is the number of minutes when there are more than 4 goals and 3 assists?
CREATE TABLE table_name_8 (minutes VARCHAR, goals VARCHAR, assists VARCHAR)
SELECT minutes FROM table_name_8 WHERE goals > 4 AND assists = 3
Name the least episode number for jonathan harvey
CREATE TABLE table_27218002_1 (episode__number INTEGER, written_by VARCHAR)
SELECT MIN(episode__number) FROM table_27218002_1 WHERE written_by = "Jonathan Harvey"
Which Silver has a Nation of total, and a Bronze smaller than 18?
CREATE TABLE table_name_1 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_1 WHERE nation = "total" AND bronze < 18
what is the venue when the event is 4x400 m relay and the competition is asian championships?
CREATE TABLE table_name_7 (venue VARCHAR, event VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_7 WHERE event = "4x400 m relay" AND competition = "asian championships"
What is the highest total of Player Damon Gray, with a Challenge Cup less than 0?
CREATE TABLE table_name_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR)
SELECT MAX(total) FROM table_name_25 WHERE player = "damon gray" AND challenge_cup < 0
What Team 1 has union douala as Team 2?
CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_46 WHERE team_2 = "union douala"
who directed the episode that elaine ko wrote?
CREATE TABLE table_27332038_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_27332038_1 WHERE written_by = "Elaine Ko"
What is the Location for the buick-goodwrench open?
CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open"
I want the date for rockies
CREATE TABLE table_name_66 (date VARCHAR, team VARCHAR)
SELECT date FROM table_name_66 WHERE team = "rockies"
Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt?
CREATE TABLE table_name_32 (outcomes VARCHAR, launch_date VARCHAR)
SELECT outcomes FROM table_name_32 WHERE launch_date = "march 18, 1964; 14:50 gmt"
Can you tell me the Date that has the Visitor of florida?
CREATE TABLE table_name_84 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_84 WHERE visitor = "florida"
What is the frequency of the soft adult contemporary stations?
CREATE TABLE table_name_14 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_14 WHERE format = "soft adult contemporary"
Who the GM winning team when the EP winning team was #37 Porsche?
CREATE TABLE table_29225103_2 (gm_winning_team VARCHAR, ep_winning_team VARCHAR)
SELECT gm_winning_team FROM table_29225103_2 WHERE ep_winning_team = "#37 Porsche"
Which date has a Stage of 12?
CREATE TABLE table_name_68 (date VARCHAR, stage VARCHAR)
SELECT date FROM table_name_68 WHERE stage = "12"
Which Points have Wins larger than 1?
CREATE TABLE table_name_15 (points INTEGER, wins INTEGER)
SELECT AVG(points) FROM table_name_15 WHERE wins > 1
What was the result of the event against Nate Mohr?
CREATE TABLE table_name_57 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_57 WHERE opponent = "nate mohr"
On what Date was the Record 9–6–4?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_62 WHERE record = "9–6–4"
What is the 1989 value with F in 1990?
CREATE TABLE table_name_95 (Id VARCHAR)
SELECT 1989 FROM table_name_95 WHERE 1990 = "f"
Which country is Lee Trevino from?
CREATE TABLE table_name_97 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_97 WHERE player = "lee trevino"
What Year has an (Aramac) of 832 and a Population (Total) less than 3,762?
CREATE TABLE table_name_42 (year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR)
SELECT SUM(year) FROM table_name_42 WHERE _aramac_ = 832 AND population__total_ < 3 OFFSET 762
Which Name has a Case Length of 73.99 (2.913)?
CREATE TABLE table_name_16 (name VARCHAR, case_length VARCHAR)
SELECT name FROM table_name_16 WHERE case_length = "73.99 (2.913)"
What is the party of the election in which Robert Bauman is the incumbent?
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman"
Which rowers represented the country of portugal?
CREATE TABLE table_name_4 (rowers VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_4 WHERE country = "portugal"
What is the word form for the ALA-LC transliteration of muay s″ain?
CREATE TABLE table_name_55 (word_form VARCHAR, ala_lc VARCHAR)
SELECT word_form FROM table_name_55 WHERE ala_lc = "muay s″ain"
For each product that has problems, find the number of problems reported after 1986-11-13 and the product id?
CREATE TABLE product (product_id VARCHAR); CREATE TABLE problems (product_id VARCHAR, date_problem_reported INTEGER)
SELECT COUNT(*), T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T1.date_problem_reported > "1986-11-13" GROUP BY T2.product_id
Which Score has a Couple comprised of jason & edyta, and a Style of freestyle?
CREATE TABLE table_name_2 (score VARCHAR, couple VARCHAR, style VARCHAR)
SELECT score FROM table_name_2 WHERE couple = "jason & edyta" AND style = "freestyle"
How many scores are associated with a record of 27-9?
CREATE TABLE table_22654073_8 (score VARCHAR, record VARCHAR)
SELECT COUNT(score) FROM table_22654073_8 WHERE record = "27-9"
What is the series of the winning team in Iowa, for softball?
CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR)
SELECT series FROM table_name_24 WHERE winning_team = "iowa" AND sport = "softball"
What was the water depth that entered service in 2001 named Cajun Express?
CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)
SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express"
How many people were in the crowd when Essendon was the home team?
CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon"
Name the number of enrollment for county of 48 madison
CREATE TABLE table_name_47 (enrollment VARCHAR, _number___county VARCHAR)
SELECT COUNT(enrollment) FROM table_name_47 WHERE _number___county = "48 madison"
What is the maximum download speed for the Internet basic plan with 3G?
CREATE TABLE table_name_24 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR)
SELECT maximum_download_speed__kbps FROM table_name_24 WHERE technology = "3g" AND plan_name = "internet basic"
What is Name, when Team is "Herdez Competition", and when Best is 1:27.432?
CREATE TABLE table_name_88 (name VARCHAR, team VARCHAR, best VARCHAR)
SELECT name FROM table_name_88 WHERE team = "herdez competition" AND best = "1:27.432"
When was avishka gunawardene born?
CREATE TABLE table_name_51 (date_of_birth VARCHAR, player VARCHAR)
SELECT date_of_birth FROM table_name_51 WHERE player = "avishka gunawardene"
What player has a 147 total from Spain?
CREATE TABLE table_name_97 (player VARCHAR, total VARCHAR, country VARCHAR)
SELECT player FROM table_name_97 WHERE total = 147 AND country = "spain"
How many people attended the game in week 13?
CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_60 WHERE week = 13
What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?
CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR)
SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.5
If the distance is 55.7, what is the name of the constellation?
CREATE TABLE table_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR)
SELECT constellation FROM table_1820752_1 WHERE distance___ly__ = "55.7"
What is the 2007 estimate for tulsa-bartlesville, ok csa?
CREATE TABLE table_12720275_1 (combined_statistical_area__or_metropolitan_statistical_area_if_noted_ VARCHAR)
SELECT 2007 AS _estimate FROM table_12720275_1 WHERE combined_statistical_area__or_metropolitan_statistical_area_if_noted_ = "Tulsa-Bartlesville, OK CSA"
Name the most number
CREATE TABLE table_24924576_2 (number INTEGER)
SELECT MAX(number) FROM table_24924576_2
Name the kr narayanan votes for values being 936 for kr
CREATE TABLE table_22897453_1 (kr_narayanan__votes_ VARCHAR, kr_narayanan__values_ VARCHAR)
SELECT kr_narayanan__votes_ FROM table_22897453_1 WHERE kr_narayanan__values_ = 936
Where is Shaq Thompson from?
CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_11677691_6 WHERE player = "Shaq Thompson"
What is the largest number of rounds for the team that hired Donnie Wingo as crew chief?
CREATE TABLE table_1266602_2 (rounds INTEGER, crew_chief VARCHAR)
SELECT MAX(rounds) FROM table_1266602_2 WHERE crew_chief = "Donnie Wingo"
What is the date of the German Grand Prix?
CREATE TABLE table_12186237_1 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_12186237_1 WHERE grand_prix = "German grand_prix"