answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT english_translation FROM table_1740431_3 WHERE tamil_months = "mārkazhi, tai"
What is every English translation when Tamil months is Mārkazhi, Tai?
CREATE TABLE table_1740431_3 (english_translation VARCHAR, tamil_months VARCHAR)
SELECT SUM(pick) FROM table_name_80 WHERE player = "pong escobal"
How many picks have a Player of pong escobal?
CREATE TABLE table_name_80 (pick INTEGER, player VARCHAR)
SELECT rank FROM table_name_79 WHERE losing_semi__finalist > 1 AND winner < 5
Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5?
CREATE TABLE table_name_79 (rank VARCHAR, losing_semi__finalist VARCHAR, winner VARCHAR)
SELECT component FROM table_11944282_1 WHERE allied_related = "Shared"
What is the name of the integrated where allied-related is shared?
CREATE TABLE table_11944282_1 (component VARCHAR, allied_related VARCHAR)
SELECT location_code, COUNT(*) FROM Document_locations GROUP BY location_code
Show the location codes and the number of documents in each location.
CREATE TABLE Document_locations (location_code VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286
what is the most money ($) when the score is 71-74-69-72=286?
CREATE TABLE table_name_21 (money___ INTEGER, score VARCHAR)
SELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = "nelson" AND lost > 16
What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16?
CREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR)
SELECT venue FROM table_name_99 WHERE date = "16 january 1996"
what is the venue when the date is 16 january 1996?
CREATE TABLE table_name_99 (venue VARCHAR, date VARCHAR)
SELECT position FROM table_2508633_6 WHERE college = "Delaware"
Name the position for delaware
CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)
SELECT entrant FROM table_name_77 WHERE laps = 17
Can you tell me the Entrant that has the Laps of 17?
CREATE TABLE table_name_77 (entrant VARCHAR, laps VARCHAR)
SELECT place FROM table_name_95 WHERE player = "lee trevino"
Which Place has a Player of lee trevino?
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)
SELECT COUNT(division) FROM table_1986692_1 WHERE year = "2008"
When 2008 is the year how many divisions are there?
CREATE TABLE table_1986692_1 (division VARCHAR, year VARCHAR)
SELECT torque FROM table_name_72 WHERE engine = "6.3l v12"
What is the torque of the 6.3l v12 engine?
CREATE TABLE table_name_72 (torque VARCHAR, engine VARCHAR)
SELECT team FROM table_19905183_1 WHERE province = "Eastern"
What team is from the Eastern province?
CREATE TABLE table_19905183_1 (team VARCHAR, province VARCHAR)
SELECT background FROM table_12286195_1 WHERE result = "13 The celebrity Apprentice (2008-03-27)"
What is the background of the celebrity who had the result 13 the celebrity apprentice (2008-03-27)?
CREATE TABLE table_12286195_1 (background VARCHAR, result VARCHAR)
SELECT captain FROM table_name_49 WHERE manager = "joe royle"
Which captain's manager is Joe Royle?
CREATE TABLE table_name_49 (captain VARCHAR, manager VARCHAR)
SELECT COUNT(season) FROM table_name_48 WHERE races > 14 AND position = "9th" AND wins < 0
how many times is races more than 14, position is 9th and wins less than 0?
CREATE TABLE table_name_48 (season VARCHAR, wins VARCHAR, races VARCHAR, position VARCHAR)
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"
Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?
CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)
SELECT venue FROM table_name_39 WHERE record = "2-7"
Tell me the venue for record of 2-7
CREATE TABLE table_name_39 (venue VARCHAR, record VARCHAR)
SELECT singapore_league_cup FROM table_name_50 WHERE rank > 4 AND s_league = "2 (12)"
What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?
CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR)
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988
Name the genre for release-year of first charted record of 1988
CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)
SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford"
What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon?
CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR)
SELECT cdt___5_utc_ FROM table_name_71 WHERE edt___4_utc_ = "4:55 a.m."
What time is CDT when EDT is 4:55 a.m.?
CREATE TABLE table_name_71 (cdt___5_utc_ VARCHAR, edt___4_utc_ VARCHAR)
SELECT country FROM table_name_95 WHERE player = "tom kite"
What Country is Tom Kite from?
CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_96 WHERE week = 5
Who is the opponent for week 5?
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR)
SELECT melbourne FROM table_name_92 WHERE gold_coast = "yes" AND adelaide = "no" AND auckland = "no"
yes or no for the melbourne with yes for gold coast, yes for adelaide, no for auckland?
CREATE TABLE table_name_92 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT state FROM table_name_5 WHERE royal_house = "jiang"
Which state has a royal house of Jiang?
CREATE TABLE table_name_5 (state VARCHAR, royal_house VARCHAR)
SELECT SUM(points) FROM table_name_87 WHERE games < 4
What is the sum of the points when there are fewer than 4 games?
CREATE TABLE table_name_87 (points INTEGER, games INTEGER)
SELECT zodiac_sign FROM table_name_81 WHERE english_name = "march"
What is the zodiac sign for the English March?
CREATE TABLE table_name_81 (zodiac_sign VARCHAR, english_name VARCHAR)
SELECT SUM(crowd) FROM table_name_18 WHERE home_team = "south melbourne"
What is the number of the crowd for the home team of South Melbourne?
CREATE TABLE table_name_18 (crowd INTEGER, home_team VARCHAR)
SELECT engine FROM table_name_59 WHERE year = 1960
What is the engine for a vehicle in 1960?
CREATE TABLE table_name_59 (engine VARCHAR, year VARCHAR)
SELECT date FROM table_name_50 WHERE away_team = "richmond"
On what date was Richmond hosted as the away team?
CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)
SELECT COUNT(number_of_dances) FROM table_19744915_14 WHERE total_points = "50.5"
If the total points is 50.5, what is the total number of dances?
CREATE TABLE table_19744915_14 (number_of_dances VARCHAR, total_points VARCHAR)
SELECT MIN(year) FROM table_name_83 WHERE notes = "ordinary people"
What is the earliest year for ordinary people to appear in the notes?
CREATE TABLE table_name_83 (year INTEGER, notes VARCHAR)
SELECT game FROM table_name_14 WHERE record = "27-12"
What game has 27-12 record?
CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)
SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9
What is the total number of overall picks that were after pick 9 and went to Auburn College?
CREATE TABLE table_name_48 (overall VARCHAR, college VARCHAR, pick VARCHAR)
SELECT commentator FROM table_184803_4 WHERE spokespersons = "Claude Darget"
who was the commentator when spokesperson was claude darget
CREATE TABLE table_184803_4 (commentator VARCHAR, spokespersons VARCHAR)
SELECT SUM(interview) FROM table_name_11 WHERE swimsuit > 7.6 AND province = "la vega" AND average < 8.38
Which Interview has a Swimsuit larger than 7.6, and a Province of la vega, and an Average smaller than 8.38?
CREATE TABLE table_name_11 (interview INTEGER, average VARCHAR, swimsuit VARCHAR, province VARCHAR)
SELECT stage FROM table_name_79 WHERE mountains_classification = "filippo savini"
Which Stage has a Mountains classification of filippo savini?
CREATE TABLE table_name_79 (stage VARCHAR, mountains_classification VARCHAR)
SELECT score FROM table_name_71 WHERE opponent = "@ seattle"
Which Score has an Opponent of @ seattle?
CREATE TABLE table_name_71 (score VARCHAR, opponent VARCHAR)
SELECT opponent FROM table_name_17 WHERE loss = "báez (5-5)"
Which Opponent has a Loss of báez (5-5)?
CREATE TABLE table_name_17 (opponent VARCHAR, loss VARCHAR)
SELECT AVG(draws) FROM table_name_31 WHERE points < 17 AND wins < 4
What is the average number of draws of the team with less than 17 points and less than 4 wins?
CREATE TABLE table_name_31 (draws INTEGER, points VARCHAR, wins VARCHAR)
SELECT position FROM table_name_97 WHERE college = "houston"
What is Position, when College is "Houston"?
CREATE TABLE table_name_97 (position VARCHAR, college VARCHAR)
SELECT T3.staff_first_name, T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON T1.product_id = T2.product_id AND T1.reported_by_staff_id = T3.staff_id WHERE T2.product_name = "rem" EXCEPT SELECT T3.staff_first_name, T3.staff_last_name FROM problems AS T1 JOIN product AS T2 JOIN staff AS T3 ON...
Find the first and last name of the staff members who reported problems from the product "rem" but not "aut"?
CREATE TABLE product (product_name VARCHAR, product_id VARCHAR); CREATE TABLE staff (staff_first_name VARCHAR, staff_last_name VARCHAR, staff_id VARCHAR); CREATE TABLE problems (product_id VARCHAR, reported_by_staff_id VARCHAR)
SELECT MAX(conceded) FROM table_14889048_1 WHERE draws = 5 AND position = 1
Name the most conceded when draws is 5 and position is 1
CREATE TABLE table_14889048_1 (conceded INTEGER, draws VARCHAR, position VARCHAR)
SELECT last_season FROM table_name_65 WHERE team = "worcester wolves"
What is the last season the Worcester Wolves played?
CREATE TABLE table_name_65 (last_season VARCHAR, team VARCHAR)
SELECT country FROM table_name_38 WHERE finish = "t42"
What country had a finish of t42?
CREATE TABLE table_name_38 (country VARCHAR, finish VARCHAR)
SELECT notation FROM table_101336_1 WHERE crystal_structure = "Tetragonal" AND formula = "Bi 2 Sr 2 CaCu 2 O 8"
What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8
CREATE TABLE table_101336_1 (notation VARCHAR, crystal_structure VARCHAR, formula VARCHAR)
SELECT date FROM table_name_84 WHERE venue = "rome"
The venue of Rome has which date?
CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR)
SELECT visitor FROM table_name_74 WHERE home = "chicago"
What is the visitor team of the game with Chicago as the home team?
CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR)
SELECT record FROM table_name_43 WHERE leading_scorer = "andrew bogut (21)"
What is the record of the game with Andrew Bogut (21) as the leading scorer?
CREATE TABLE table_name_43 (record VARCHAR, leading_scorer VARCHAR)
SELECT place FROM table_name_49 WHERE player = "bill glasson"
What place was Bill Glasson in?
CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
SELECT AVG(year) FROM table_name_29 WHERE director = "ayan mukerji"
What is average year for ayan mukerji?
CREATE TABLE table_name_29 (year INTEGER, director VARCHAR)
SELECT class_aA FROM table_14603057_2 WHERE class_a = "Plains" AND class_aAAAA = Lubbock
Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner?
CREATE TABLE table_14603057_2 (class_aA VARCHAR, class_a VARCHAR, class_aAAAA VARCHAR, Lubbock VARCHAR)
SELECT COUNT(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.service_details = 'Unsatisfied'
How many distinct locations have the things with service detail 'Unsatisfied' been located in?
CREATE TABLE Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR)
SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd"
What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region?
CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR)
SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0"
Who won the 2012 game that had a score of 15–0?
CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR)
SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd"
Name the number of song for scoreboard being 3rd
CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR)
SELECT holmenkollen FROM table_174491_2 WHERE fis_nordic_world_ski_championships = "1982"
What is the holmenkollen for the 1982 FIS Nordic World Ski Championships?
CREATE TABLE table_174491_2 (holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT result FROM table_21092427_1 WHERE record = "9-1"
Name the result for 9-1 record
CREATE TABLE table_21092427_1 (result VARCHAR, record VARCHAR)
SELECT MAX(wins) FROM table_26222468_1
What is the maximum number of wins?
CREATE TABLE table_26222468_1 (wins INTEGER)
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37
What is the highest earnings for the golfer who has more than 37 wins?
CREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)
SELECT shoots FROM table_name_62 WHERE player = "craig peacock a"
What shows for shoots for craig peacock a?
CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR)
SELECT barony FROM table_30121082_1 WHERE area__acres__ = 276
What are the Baronies when the area (in acres) is 276?
CREATE TABLE table_30121082_1 (barony VARCHAR, area__acres__ VARCHAR)
SELECT result FROM table_name_83 WHERE date = "august 23"
What is the result for the date of august 23?
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)
SELECT product_category_code, typical_buying_price FROM products WHERE product_name = "cumin"
What is the category and typical buying price of the product with name "cumin"?
CREATE TABLE products (product_category_code VARCHAR, typical_buying_price VARCHAR, product_name VARCHAR)
SELECT nation FROM table_name_56 WHERE time__sec_ = 47.049
Which nation finished with a time of 47.049?
CREATE TABLE table_name_56 (nation VARCHAR, time__sec_ VARCHAR)
SELECT AVG(round1) FROM table_name_62 WHERE round3 < 51 AND total_points < 273 AND round2 < 98 AND round5 < 24
what is round1 when round3 is less than 51, total points is less than 273, round2 is less than 98 and round5 is less than 24?
CREATE TABLE table_name_62 (round1 INTEGER, round5 VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR)
SELECT MIN(pick) FROM table_name_22 WHERE college = "ohio state"
Which Pick has a College of ohio state?
CREATE TABLE table_name_22 (pick INTEGER, college VARCHAR)
SELECT state FROM table_name_95 WHERE percent__2009_ = "6.2%"
Which state has a Percent (2009) of 6.2%?
CREATE TABLE table_name_95 (state VARCHAR, percent__2009_ VARCHAR)
SELECT first_day_cover_cancellation FROM table_name_31 WHERE design = "karen smith design"
What is the first day cover cancellation for the Karen Smith Design stamp?
CREATE TABLE table_name_31 (first_day_cover_cancellation VARCHAR, design VARCHAR)
SELECT MAX(goals_for) FROM table_name_8 WHERE losses < 16 AND wins < 11 AND goal_difference > -9
What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?
CREATE TABLE table_name_8 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT singer_s_ FROM table_23667534_1 WHERE song_s__title = "He's Bigfoot"
Who sand He's Bigfoot?
CREATE TABLE table_23667534_1 (singer_s_ VARCHAR, song_s__title VARCHAR)
SELECT name FROM table_name_46 WHERE year_named = 1994 AND diameter__km_ > 125 AND latitude = "30.0s"
What name was given in 1994 when the diameter (km) was larger than 125 and the latitude was 30.0s?
CREATE TABLE table_name_46 (name VARCHAR, latitude VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR)
SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box"
What's the singer part number of the buttonholer whose storage case is a green plastic box?
CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR)
SELECT name FROM media_types
List all media types.
CREATE TABLE media_types (name VARCHAR)
SELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = "4.1" AND written_by = "Douglas Lieblein"
What's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein?
CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT date FROM table_name_14 WHERE game = "13"
What was the date for game 13?
CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR)
SELECT loss FROM table_name_43 WHERE date = "june 8"
What loss happened june 8?
CREATE TABLE table_name_43 (loss VARCHAR, date VARCHAR)
SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2
What is the Max Aggregate bandwidth with a HyperTransport of 2?
CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR)
SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50"
with lola t86/50 chassis and less than 7 points what is the entrant?
CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT outcome FROM table_2139023_2 WHERE championship = "Australian championships"
What was the result of the Australian Championships?
CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR)
SELECT venue FROM table_name_10 WHERE date = "12 september 1998"
Which venue was used on 12 September 1998?
CREATE TABLE table_name_10 (venue VARCHAR, date VARCHAR)
SELECT MAX(weeks_in_top_10) FROM table_27813010_2
How long has the longest song spent in the top 10?
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER)
SELECT prefix FROM table_name_4 WHERE chemical_class = "haloalkane"
What prefix has Haloalkane as the chemical class?
CREATE TABLE table_name_4 (prefix VARCHAR, chemical_class VARCHAR)
SELECT writer_s_ FROM table_25800134_1 WHERE airdate = "December 1, 1956"
Who wrote the episode that aired December 1, 1956?
CREATE TABLE table_25800134_1 (writer_s_ VARCHAR, airdate VARCHAR)
SELECT source_language FROM table_name_28 WHERE meaning = "mahjong"
What language did the word that means mahjong first come from?
CREATE TABLE table_name_28 (source_language VARCHAR, meaning VARCHAR)
SELECT record FROM table_name_55 WHERE date = "december 4"
What is the record on December 4?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers"
What country are the new orleans shell shockers from?
CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR)
SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver"
For which location was the round smaller than 11 and the circuit streets of denver?
CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT placing FROM table_24915874_1 WHERE weight__kg_ = "58.0"
What was the placing when the weight in kg was 58.0?
CREATE TABLE table_24915874_1 (placing VARCHAR, weight__kg_ VARCHAR)
SELECT nfl_recap FROM table_name_16 WHERE kickoff = "7:00pm edt"
Which NFL Recap had a Kickoff of 7:00pm edt?
CREATE TABLE table_name_16 (nfl_recap VARCHAR, kickoff VARCHAR)
SELECT date FROM table_name_75 WHERE result = "3–0"
What is the Date of the Competition with a Result of 3–0?
CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR)
SELECT home_team FROM table_name_50 WHERE away_team = "scarborough"
What is the home team with scarborough as the away team?
CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(high_rebounds) FROM table_17058151_8 WHERE date = "February 10"
Name the total number of high rebounds for february 10
CREATE TABLE table_17058151_8 (high_rebounds VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_83 WHERE crowd > 25 OFFSET 000
Which Venue has a crowd larger than 25,000?
CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER)
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle"
What is the Tournament with a Opponents in the final with rod laver fred stolle?
CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR)
SELECT opponent FROM table_name_57 WHERE game_site = "candlestick park"
Game site of candlestick park had what opponent?
CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR)
SELECT country FROM table_name_77 WHERE score = 73 - 71 - 70 = 214
The score of 73-71-70=214 belongs to what country?
CREATE TABLE table_name_77 (country VARCHAR, score VARCHAR)
SELECT district FROM table_1341453_37 WHERE incumbent = "Marcia C. Kaptur"
In which district is the incumbent Marcia C. Kaptur?
CREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)