answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT COUNT(status) FROM table_24431348_20 WHERE new_points = 2690
How many times is the new points 2690?
CREATE TABLE table_24431348_20 (status VARCHAR, new_points VARCHAR)
SELECT SUM(points) FROM table_name_65 WHERE class = "125cc" AND rank = "3rd" AND year < 1996
For years before 1996, having a rank of 3rd in the 125cc class, what is the sum of the points?
CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)
SELECT imperfect_stem FROM table_name_74 WHERE meaning = "'take away, remove'"
What is the imperfect stem of the word that means 'take away, remove'?
CREATE TABLE table_name_74 (imperfect_stem VARCHAR, meaning VARCHAR)
SELECT AVG(tries_against) FROM table_name_8 WHERE points_against > 156 AND points_for = 127 AND tries_for > 17
Which Tries against has Points against larger than 156, and Points for of 127, and Tries for larger than 17?
CREATE TABLE table_name_8 (tries_against INTEGER, tries_for VARCHAR, points_against VARCHAR, points_for VARCHAR)
SELECT host_team FROM table_name_67 WHERE final_score = "26-24"
Who was the host team for the game with the final score of 26-24?
CREATE TABLE table_name_67 (host_team VARCHAR, final_score VARCHAR)
SELECT release_date FROM table_name_59 WHERE title = "the blow out"
What is the release date of The Blow Out?
CREATE TABLE table_name_59 (release_date VARCHAR, title VARCHAR)
SELECT high_rebounds FROM table_name_9 WHERE high_assists = "bryant (7)" AND team = "@ utah"
What is the High rebounds with a High assists with bryant (7), and a Team of @ utah?
CREATE TABLE table_name_9 (high_rebounds VARCHAR, high_assists VARCHAR, team VARCHAR)
SELECT eastern__number2 FROM table_name_23 WHERE western__number2 = "oakland"
Tell me the eastern #2 for western #2 of oakland
CREATE TABLE table_name_23 (eastern__number2 VARCHAR, western__number2 VARCHAR)
SELECT constructor FROM table_name_29 WHERE grid = "6"
Who constructed the car that had a grid of 6?
CREATE TABLE table_name_29 (constructor VARCHAR, grid VARCHAR)
SELECT high_rebounds FROM table_17118657_8 WHERE record = "5-11"
In the game resulting in a 5-11 record, who scored the high rebounds?
CREATE TABLE table_17118657_8 (high_rebounds VARCHAR, record VARCHAR)
SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%"
Which Table diameter has a Crown height of 14.45%?
CREATE TABLE table_name_35 (table_diameter VARCHAR, crown_height VARCHAR)
SELECT AVG(pick) FROM table_name_14 WHERE position = "pg" AND round < 1
What is the average Pick with a Position of pg, and a Round less than 1?
CREATE TABLE table_name_14 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT opponent FROM table_21007907_1 WHERE record = "7-1-0"
Name the opponent for 7-1-0
CREATE TABLE table_21007907_1 (opponent VARCHAR, record VARCHAR)
SELECT COUNT(laps) FROM table_name_53 WHERE make = "chevrolet" AND winnings = "$97,508"
How many total laps did the Chevrolet that won $97,508 make?
CREATE TABLE table_name_53 (laps VARCHAR, make VARCHAR, winnings VARCHAR)
SELECT year_won FROM table_name_4 WHERE to_par > 4 AND total < 157
What is the Year won for the player with a larger than 4 To par and less the 157 Total?
CREATE TABLE table_name_4 (year_won VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT MIN(prominence__m_) FROM table_name_41 WHERE rank = 10 AND col__m_ < 50
Which Prominence (m) has a Rank of 10, and a Col (m) smaller than 50?
CREATE TABLE table_name_41 (prominence__m_ INTEGER, rank VARCHAR, col__m_ VARCHAR)
SELECT source FROM table_name_43 WHERE chrome = "32.60%"
Which source reported 32.60% of browsers used Chrome?
CREATE TABLE table_name_43 (source VARCHAR, chrome VARCHAR)
SELECT COUNT(university_of_dublin) FROM table_name_46 WHERE cultural_and_educational_panel = 5 AND industrial_and_commercial_panel < 9
What is the number for the University of Dublin with their Cultural and Educational Panel of 5, and an Industrial and Commercial Panel with less than 9?
CREATE TABLE table_name_46 (university_of_dublin VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT away_team FROM table_name_56 WHERE home_team = "richmond"
Who was the opponent when Richmond played as the home team?
CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)
SELECT location FROM table_13943239_1 WHERE episode = "12th Pride of Britain Awards"
Where was held the ceremony for the 12th Pride of Britain Awards?
CREATE TABLE table_13943239_1 (location VARCHAR, episode VARCHAR)
SELECT AVG(points) FROM table_name_46 WHERE player = "joe vagana" AND tries < 2
What is the average number of points scored by Joe Vagana when making fewer than 2 tries?
CREATE TABLE table_name_46 (points INTEGER, player VARCHAR, tries VARCHAR)
SELECT COUNT(rank) FROM table_name_34 WHERE nation = "gotland" AND gold > 23
What is the total rank with a Nation of gotland, and a Gold larger than 23?
CREATE TABLE table_name_34 (rank VARCHAR, nation VARCHAR, gold VARCHAR)
SELECT segment_d FROM table_15187735_3 WHERE segment_a = "Combination Locks"
Name the segment d for combination locks
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_a VARCHAR)
SELECT country FROM table_14937957_1 WHERE city = "Netanya"
In which country is the city of Netanya?
CREATE TABLE table_14937957_1 (country VARCHAR, city VARCHAR)
SELECT score FROM table_name_27 WHERE date = "january 12"
What was the score on January 12?
CREATE TABLE table_name_27 (score VARCHAR, date VARCHAR)
SELECT COUNT(series__number) FROM table_name_20 WHERE season__number < 22 AND directed_by = "matthew penn"
How many episodes did Matthew Penn direct before season 22?
CREATE TABLE table_name_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR)
SELECT transcription FROM table_name_11 WHERE english_name = "march"
What is the transcription for the English word March?
CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)
SELECT COUNT(number_of_electorates__2009_) FROM table_name_57 WHERE name = "katol"
What is the total number of electorates (2009) for Katol?
CREATE TABLE table_name_57 (number_of_electorates__2009_ VARCHAR, name VARCHAR)
SELECT MAX(round) FROM table_name_46 WHERE draft > 1980 AND player = "shane doan category:articles with hcards"
What is the highest Round, when Draft is greater than 1980, and when Player is "Shane Doan Category:Articles with hCards"?
CREATE TABLE table_name_46 (round INTEGER, draft VARCHAR, player VARCHAR)
SELECT english_title FROM table_14631909_1 WHERE author = "Mariusz Szczygieł"
What is the English version of Mariusz Szczygieł book?
CREATE TABLE table_14631909_1 (english_title VARCHAR, author VARCHAR)
SELECT Team FROM technician GROUP BY Team ORDER BY COUNT(*) DESC LIMIT 1
Please show the team that has the most number of technicians.
CREATE TABLE technician (Team VARCHAR)
SELECT home_town FROM table_name_81 WHERE year = "freshman" AND height = "6–6"
What is the Home Town with a Year of freshman, and a Height with 6–6?
CREATE TABLE table_name_81 (home_town VARCHAR, year VARCHAR, height VARCHAR)
SELECT surface FROM table_name_41 WHERE score_in_the_final = "6–2, 6–3"
What type of surface was used where the final score was 6–2, 6–3?
CREATE TABLE table_name_41 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT location FROM table_name_69 WHERE date = "28 dec 2010"
Where was the race on 28 dec 2010 held?
CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR)
SELECT race FROM table_name_81 WHERE date = "23 october"
what is the race on 23 october?
CREATE TABLE table_name_81 (race VARCHAR, date VARCHAR)
SELECT thurs_25_aug FROM table_30058355_2 WHERE wed_24_aug = "19' 59.73 113.216mph"
What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph?
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, wed_24_aug VARCHAR)
SELECT opponent FROM table_name_16 WHERE score = "2-8"
Who is the Opponent when the Score is 2-8?
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR)
SELECT SUM(overall) FROM table_name_13 WHERE pick__number < 20 AND round < 6
How much Overall has a Pick # smaller than 20, and a Round smaller than 6?
CREATE TABLE table_name_13 (overall INTEGER, pick__number VARCHAR, round VARCHAR)
SELECT director FROM table_2602958_3 WHERE prod_code = 227451
Who directed the episode with production code 227451?
CREATE TABLE table_2602958_3 (director VARCHAR, prod_code VARCHAR)
SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3
What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3?
CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT AVG(top_10) FROM table_name_93 WHERE wins < 0
What is average Top 10 with 0 wins?
CREATE TABLE table_name_93 (top_10 INTEGER, wins INTEGER)
SELECT mixed_doubles FROM table_name_92 WHERE year = 1979
what game had a doubles round in 1979
CREATE TABLE table_name_92 (mixed_doubles VARCHAR, year VARCHAR)
SELECT title FROM table_2342078_5 WHERE written_by = "Harry Winkler"
What's the title of the episode written by Harry Winkler?
CREATE TABLE table_2342078_5 (title VARCHAR, written_by VARCHAR)
SELECT winner FROM table_name_29 WHERE team = "r.j.macarthur onslow" AND circuit = "oran park raceway"
What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"?
CREATE TABLE table_name_29 (winner VARCHAR, team VARCHAR, circuit VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_23 WHERE score = 70 - 71 - 77 - 76 = 294
How much was paid to the player whose score was 70-71-77-76=294?
CREATE TABLE table_name_23 (money___ INTEGER, score VARCHAR)
SELECT kapampangan FROM table_name_8 WHERE malay = "aku"
What is the Kapampangan word for the Malay word aku?
CREATE TABLE table_name_8 (kapampangan VARCHAR, malay VARCHAR)
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)
Find all the stores in the district with the most population.
CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
SELECT date_of_issue FROM table_name_56 WHERE theme = "bobsleigh"
When did the Theme of bobsleigh release?
CREATE TABLE table_name_56 (date_of_issue VARCHAR, theme VARCHAR)
SELECT city_state FROM table_name_52 WHERE status = "2nd runner-up"
Which city/state was associated with a contestant whose status was 2nd runner-up?
CREATE TABLE table_name_52 (city_state VARCHAR, status VARCHAR)
SELECT team FROM table_name_51 WHERE win__number = "1" AND rating = "+85"
What is the name of the team that had 1 win and a rating of +85?
CREATE TABLE table_name_51 (team VARCHAR, win__number VARCHAR, rating VARCHAR)
SELECT 2009 FROM table_name_40 WHERE ranking = "webometrics"
What was the 2009 ranking for Webometrics?
CREATE TABLE table_name_40 (ranking VARCHAR)
SELECT 2002 FROM table_name_85 WHERE 2010 = "69"
What shows for 2002 when 2010 shows 69?
CREATE TABLE table_name_85 (Id VARCHAR)
SELECT plant_hardiness_zone FROM table_name_36 WHERE region = "northern" AND annual_precipitation = "443mm (17.4in)"
What is the plant hardiness zone in the Northern region where the annual precipitation is 443mm (17.4in)?
CREATE TABLE table_name_36 (plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR)
SELECT party FROM table_name_14 WHERE took_office = "1998"
What is Party, when Took Office is 1998?
CREATE TABLE table_name_14 (party VARCHAR, took_office VARCHAR)
SELECT position FROM table_22402438_7 WHERE player = "Bernie Doan"
Which position is player bernie doan?
CREATE TABLE table_22402438_7 (position VARCHAR, player VARCHAR)
SELECT AVG(defenses) FROM table_name_57 WHERE days_held = "404" AND reign > 1
What is the average defenses a champion with 404 days held and a reign larger than 1 has?
CREATE TABLE table_name_57 (defenses INTEGER, days_held VARCHAR, reign VARCHAR)
SELECT number FROM table_name_82 WHERE name = "rashad mccants"
What number was Rashad McCants?
CREATE TABLE table_name_82 (number VARCHAR, name VARCHAR)
SELECT SUM(attendance) FROM table_name_59 WHERE date = "october 16" AND game > 5
what is the attendance on the date of october 16 and the game is more than 5?
CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR, game VARCHAR)
SELECT home_team FROM table_name_65 WHERE crowd > 23 OFFSET 327
When the Crowd is larger than 23,327, what Home team is playing?
CREATE TABLE table_name_65 (home_team VARCHAR, crowd INTEGER)
SELECT category FROM table_name_4 WHERE finish = "orange"
Which category had an orange finish?
CREATE TABLE table_name_4 (category VARCHAR, finish VARCHAR)
SELECT season FROM table_name_21 WHERE score = "2–1" AND winners = "rangers"
In which season did the Rangers win with a score of 2–1?
CREATE TABLE table_name_21 (season VARCHAR, score VARCHAR, winners VARCHAR)
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
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 record FROM table_name_37 WHERE opponent = "akiko inoue"
what is the record when the opponent is akiko inoue?
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
SELECT general_classification FROM table_12261714_2 WHERE stage = "1a"
Who's leading in the general classification in stage 1a?
CREATE TABLE table_12261714_2 (general_classification VARCHAR, stage VARCHAR)
SELECT melbourne FROM table_name_90 WHERE adelaide = "yes" AND gold_coast = "no"
yes or no for the melbourne that has no for adelaide, no for gold coast?
CREATE TABLE table_name_90 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR)
SELECT score FROM table_name_14 WHERE city = "inglewood, california"
What was the final score of the player from Inglewood, California?
CREATE TABLE table_name_14 (score VARCHAR, city VARCHAR)
SELECT avg_finish FROM table_2308381_2 WHERE position = "70th"
Name the avg finish for position of 70th
CREATE TABLE table_2308381_2 (avg_finish VARCHAR, position VARCHAR)
SELECT home_team FROM table_name_59 WHERE away_team = "geelong"
What team played Geelong at their away game?
CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(tests_won_by_australia) FROM table_2554479_2 WHERE series = 10
Name the total number of tests won by australia for series 10
CREATE TABLE table_2554479_2 (tests_won_by_australia VARCHAR, series VARCHAR)
SELECT no_in_season FROM table_23483182_1 WHERE us_viewers__million_ = "6.01"
What number was there 6.01 million u.s. drivers?
CREATE TABLE table_23483182_1 (no_in_season VARCHAR, us_viewers__million_ VARCHAR)
SELECT T2.Title, T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID
Show titles of songs and names of singers.
CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Title VARCHAR, Singer_ID VARCHAR)
SELECT pressure_in_hpa__mbar_ FROM table_170097_1 WHERE vacuum_range = "Ultra high vacuum"
What is the pressure in ultra high vacuum?
CREATE TABLE table_170097_1 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_52 WHERE nationality = "canada" AND round < 3
What College/Junior/Club Team (League) from Canada has a round smaller than 3?
CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)
SELECT COUNT(class) FROM table_14342210_13 WHERE player = "Everett Sweeley"
How many entries are there for Class for the player Everett Sweeley?
CREATE TABLE table_14342210_13 (class VARCHAR, player VARCHAR)
SELECT high_points FROM table_22669044_9 WHERE record = "31-27"
Name the high points 31-27
CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR)
SELECT county FROM table_name_99 WHERE median_family_income = "$50,227"
Which county has a median family income of $50,227?
CREATE TABLE table_name_99 (county VARCHAR, median_family_income VARCHAR)
SELECT MIN(game) FROM table_27712702_11 WHERE date = "March 27"
What was the game number on march 27?
CREATE TABLE table_27712702_11 (game INTEGER, date VARCHAR)
SELECT manufacturer FROM table_2226343_1 WHERE date = "June 22"
Who is the manufacturer for the date of June 22?
CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR)
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004
Name the tournaments played for 2004
CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR)
SELECT week FROM table_name_70 WHERE tournament = "rome"
In what Week is the Rome Tournament?
CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR)
SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1
What is the total number of bronze medals with a total of 4 medals and 1 gold medal?
CREATE TABLE table_name_90 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT score FROM table_name_39 WHERE champion = "ken rosewall" AND year = "1957"
What is the score of champion Ken Rosewall in 1957?
CREATE TABLE table_name_39 (score VARCHAR, champion VARCHAR, year VARCHAR)
SELECT nation FROM table_name_83 WHERE points = 187.84
What nation has 187.84 points?
CREATE TABLE table_name_83 (nation VARCHAR, points VARCHAR)
SELECT batting_team FROM table_11303072_5 WHERE fielding_team = "Durham"
Name the batting team at Durham
CREATE TABLE table_11303072_5 (batting_team VARCHAR, fielding_team VARCHAR)
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1
What largest bronze number has a gold number that is bigger than 1?
CREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER)
SELECT semi_finalist__number1 FROM table_11214772_1 WHERE runner_up = "Elon University"
who is the semi-finalist #1 where runner-up is elon university
CREATE TABLE table_11214772_1 (semi_finalist__number1 VARCHAR, runner_up VARCHAR)
SELECT record FROM table_27700530_9 WHERE team = "Minnesota"
What was the team's record when they played minnesota?
CREATE TABLE table_27700530_9 (record VARCHAR, team VARCHAR)
SELECT visitor FROM table_name_7 WHERE home = "nets"
Who were the Visitor when the Nets were the Home team?
CREATE TABLE table_name_7 (visitor VARCHAR, home VARCHAR)
SELECT result FROM table_26555737_1 WHERE director = "Hany Abu-Assad Category:Articles with hCards"
When hany abu-assad category:articles with hcards is the director what is the result?
CREATE TABLE table_26555737_1 (result VARCHAR, director VARCHAR)
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)"
Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)
CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
SELECT score FROM table_17382360_7 WHERE team = "Boston Celtics"
what is the score in february 12 of the boston celtics team
CREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR)
SELECT station__and_code_ FROM table_14748457_1 WHERE station_users_2008_9 = "130368"
whatis hte station code where users are 130368?
CREATE TABLE table_14748457_1 (station__and_code_ VARCHAR, station_users_2008_9 VARCHAR)
SELECT COUNT(pick) FROM table_name_25 WHERE position = "lb" AND overall < 46
How many times is the position lb and the overall is less than 46?
CREATE TABLE table_name_25 (pick VARCHAR, position VARCHAR, overall VARCHAR)
SELECT ordained_bishop FROM table_name_6 WHERE born = "february 22, 1825"
When was the archbishop that was born on February 22, 1825 ordained as a bishop?
CREATE TABLE table_name_6 (ordained_bishop VARCHAR, born VARCHAR)
SELECT state FROM table_name_38 WHERE major_series = "trans-am" AND city = "grand rapids"
What is the State with the trans-am Major Series in Grand Rapids?
CREATE TABLE table_name_38 (state VARCHAR, major_series VARCHAR, city VARCHAR)
SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 2"
What is the Region of the release with Catalog number 3 12046 2?
CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)
SELECT release_date FROM table_name_21 WHERE production_num < 5038 AND characters = "bosko"
When was the film released that a less than 5038 production number and was of the character Bosko?
CREATE TABLE table_name_21 (release_date VARCHAR, production_num VARCHAR, characters VARCHAR)
SELECT AVG(goalsagainst) FROM table_name_40 WHERE points = 108 AND lost < 14
Goalsagainst that has a Points of 108, and a Lost smaller than 14 has what average?
CREATE TABLE table_name_40 (goalsagainst INTEGER, points VARCHAR, lost VARCHAR)
SELECT traditional FROM table_1638437_2 WHERE population = 74779
Name the traditional for population 74779
CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR)
SELECT team_nickname FROM table_28211213_2 WHERE enrollment = 4512
4512 is the enrollment what is the team nickname?
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, enrollment VARCHAR)