question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the attendance of the game on week 4? | CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_10 WHERE week = 4 |
Which host university is based in Missoula? | CREATE TABLE table_name_40 (host VARCHAR, city VARCHAR) | SELECT host FROM table_name_40 WHERE city = "missoula" |
What was the game number when record is 59-15? | CREATE TABLE table_name_71 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_71 WHERE record = "59-15" |
What is the score during the 2006-2007 year? | CREATE TABLE table_name_81 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_81 WHERE year = "2006-2007" |
How many catagories for denominations does Austria have? | CREATE TABLE table_2592308_1 (denominations__gold_weight_ VARCHAR, country VARCHAR) | SELECT COUNT(denominations__gold_weight_) FROM table_2592308_1 WHERE country = "Austria" |
What is the smallest capacity for Fandok? | CREATE TABLE table_name_84 (capacity INTEGER, team VARCHAR) | SELECT MIN(capacity) FROM table_name_84 WHERE team = "fandok" |
How many wins did the team with 5 podiums have? | CREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR) | SELECT wins FROM table_name_15 WHERE podiums = "5" |
Which average attendance has stoneman (0-2) as the loss? | CREATE TABLE table_name_18 (attendance INTEGER, loss VARCHAR) | SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)" |
On what date was Arthur Jones the away captain at Sydney Cricket Ground? | CREATE TABLE table_name_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR) | SELECT date FROM table_name_33 WHERE away_captain = "arthur jones" AND venue = "sydney cricket ground" |
Name the score for hawthorn opponent | CREATE TABLE table_name_64 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_64 WHERE opponent = "hawthorn" |
What is the surface at the tournament of Vaihingen? | CREATE TABLE table_name_24 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_24 WHERE tournament = "vaihingen" |
What are the manuals with an opus of 147? | CREATE TABLE table_name_2 (manuals VARCHAR, opus VARCHAR) | SELECT manuals FROM table_name_2 WHERE opus = "147" |
Who composed the work conducted by jaroslav Vogel? | CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR) | SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel" |
Which pick was MIchael Holper? | CREATE TABLE table_name_42 (pick INTEGER, player VARCHAR) | SELECT MIN(pick) FROM table_name_42 WHERE player = "michael holper" |
What is the area of Waterford? | CREATE TABLE table_name_25 (area__km²_ VARCHAR, principal_town_city VARCHAR) | SELECT area__km²_ FROM table_name_25 WHERE principal_town_city = "waterford" |
What's terry jones' lowest pick? | CREATE TABLE table_name_11 (pick INTEGER, player VARCHAR) | SELECT MIN(pick) FROM table_name_11 WHERE player = "terry jones" |
What is the name of the actor who played Billy Elliot in the Final Cast with a Last Performance of 13 June 2009? | CREATE TABLE table_name_15 (name VARCHAR, status VARCHAR, last_performance VARCHAR) | SELECT name FROM table_name_15 WHERE status = "final cast" AND last_performance = "13 june 2009" |
Find the name of the item with the lowest average rating. | CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) LIMIT 1 |
Which Game Site has a Date of october 17, 1999? | CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_name_1 WHERE date = "october 17, 1999" |
What is the average Year, when Start is "11"? | CREATE TABLE table_name_42 (year INTEGER, start VARCHAR) | SELECT AVG(year) FROM table_name_42 WHERE start = 11 |
When the opponent is houston oilers what is the result? | CREATE TABLE table_name_27 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_27 WHERE opponent = "houston oilers" |
How many pages were in the book by Stefano D'Arrigo? | CREATE TABLE table_name_39 (page_count VARCHAR, author VARCHAR) | SELECT page_count FROM table_name_39 WHERE author = "stefano d'arrigo" |
What is the number of turns for the City of san antonio? | CREATE TABLE table_name_35 (turns VARCHAR, city VARCHAR) | SELECT turns FROM table_name_35 WHERE city = "san antonio" |
What was the lowest rank by average of a couple who had an average of 23 and a total of 115? | CREATE TABLE table_name_99 (rank_by_average INTEGER, average VARCHAR, total VARCHAR) | SELECT MIN(rank_by_average) FROM table_name_99 WHERE average = 23 AND total = 115 |
Find all students taught by OTHA MOYER. Output the first and last names of the students. | CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) | SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER" |
What resulted in a score of 22-21? | CREATE TABLE table_name_27 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_27 WHERE score = "22-21" |
What is the Away team when Arsenal is the Home team? | CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_93 WHERE home_team = "arsenal" |
Where the away team is Bradford City, who is the home team? | CREATE TABLE table_name_83 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_83 WHERE away_team = "bradford city" |
What is Time, when Event is "GCM: Demolition 1"? | CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1" |
In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees? | CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR) | SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972 |
which is the new pageant from spain? | CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) | SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain" |
What is the phone number of the man with the first name Timmothy and the last name Ward? | CREATE TABLE Students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward' |
What was the guage of the concessionaire ferrosur roca? | CREATE TABLE table_name_8 (gauge VARCHAR, concessionaire VARCHAR) | SELECT gauge FROM table_name_8 WHERE concessionaire = "ferrosur roca" |
What year was The Last Samurai nominated? | CREATE TABLE table_name_42 (year VARCHAR, status VARCHAR, film VARCHAR) | SELECT year FROM table_name_42 WHERE status = "nominated" AND film = "the last samurai" |
What is the attendance on location for a record of 40–40? | CREATE TABLE table_name_67 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_67 WHERE record = "40–40" |
What is the lowest Built, when Floors is greater than 23, and when Rank is 3? | CREATE TABLE table_name_38 (built INTEGER, floors VARCHAR, rank VARCHAR) | SELECT MIN(built) FROM table_name_38 WHERE floors > 23 AND rank = 3 |
What is the A-side for catalog 902? | CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR) | SELECT a_side FROM table_name_87 WHERE catalog_number = "902" |
what is the horse that ranked 69? | CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR) | SELECT horse FROM table_name_5 WHERE rank = "69" |
What is Laid Down, when Commissioned is "11 November 1989"? | CREATE TABLE table_name_90 (laid_down VARCHAR, commissioned VARCHAR) | SELECT laid_down FROM table_name_90 WHERE commissioned = "11 november 1989" |
What Location has a Team Nickname called the Fighting Missionaries? | CREATE TABLE table_name_13 (location VARCHAR, team_nickname VARCHAR) | SELECT location FROM table_name_13 WHERE team_nickname = "fighting missionaries" |
How many votes were there on November 10? | CREATE TABLE table_name_32 (votes VARCHAR, date VARCHAR) | SELECT votes FROM table_name_32 WHERE date = "november 10" |
How many countries spent at least $51.0 billion in international tourism in 2012? | CREATE TABLE table_29789_3 (rank_2012 INTEGER, international_tourism_expenditure_2011 VARCHAR) | SELECT MAX(rank_2012) FROM table_29789_3 WHERE international_tourism_expenditure_2011 = "$51.0 billion" |
When the game was played at Domnarvsvallen who were the opponents? | CREATE TABLE table_name_12 (opponents VARCHAR, venue VARCHAR) | SELECT opponents FROM table_name_12 WHERE venue = "domnarvsvallen" |
What is the minimum number of shared titles for the club whose last final was in 2006? | CREATE TABLE table_2869837_1 (Shared INTEGER, last_final VARCHAR) | SELECT MIN(Shared) AS titles FROM table_2869837_1 WHERE last_final = 2006 |
How much money does the player with a 72-70-71-72=285 score have? | CREATE TABLE table_name_54 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_54 WHERE score = 72 - 70 - 71 - 72 = 285 |
Who is the athlete from the nation of Ethiopia (eth) who had a rank bigger than 7.0? | CREATE TABLE table_22355_20 (athlete VARCHAR, nation VARCHAR, rank VARCHAR) | SELECT athlete FROM table_22355_20 WHERE nation = "Ethiopia (ETH)" AND rank > 7.0 |
Name the 26 august 2005 asian record | CREATE TABLE table_24011830_2 (world_record VARCHAR) | SELECT 26 AS _august_2005 FROM table_24011830_2 WHERE world_record = "Asian record" |
What is the total average for swimsuits smaller than 9.62 in Colorado? | CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR) | SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado" |
who are the directors of the episode that had 20.5 millions of north american viewers? | CREATE TABLE table_27714573_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_27714573_1 WHERE us_viewers__millions_ = "20.5" |
What was the winning part in the district of South Carolina 3? | CREATE TABLE table_1346137_4 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1346137_4 WHERE district = "South Carolina 3" |
How many policies are listed for the customer named "Dayana Robel"? | CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR) | SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Dayana Robel" |
what is the minimum stage where mountains classification is aitor osa and aitor gonzález won? | CREATE TABLE table_15088557_1 (stage INTEGER, mountains_classification VARCHAR, winner VARCHAR) | SELECT MIN(stage) FROM table_15088557_1 WHERE mountains_classification = "Aitor Osa" AND winner = "Aitor González" |
What is the total number of teams founded that were left in 1976? | CREATE TABLE table_name_47 (founded INTEGER, left VARCHAR) | SELECT SUM(founded) FROM table_name_47 WHERE left = "1976" |
What is the status of vessel number K-223? | CREATE TABLE table_1634376_1 (status VARCHAR, _number VARCHAR) | SELECT status FROM table_1634376_1 WHERE _number = "K-223" |
Who is the constructor of the 196 chassis? | CREATE TABLE table_name_50 (constructor VARCHAR, chassis VARCHAR) | SELECT constructor FROM table_name_50 WHERE chassis = "196" |
What is the lowest crowd seen by the mcg Venue? | CREATE TABLE table_name_84 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_84 WHERE venue = "mcg" |
Name the year for womens doubles being raina tzvetkova emilia dimitrova | CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR) | SELECT year FROM table_14903491_1 WHERE womens_doubles = "Raina Tzvetkova Emilia Dimitrova" |
What is Notes, when Date is 2007? | CREATE TABLE table_name_9 (notes VARCHAR, date VARCHAR) | SELECT notes FROM table_name_9 WHERE date = "2007" |
What season had a date of 30 august 1980 | CREATE TABLE table_name_54 (season VARCHAR, date VARCHAR) | SELECT season FROM table_name_54 WHERE date = "30 august 1980" |
Status of reelected, and a Incumbent of danny marshall iii is what highest elected? | CREATE TABLE table_name_75 (elected INTEGER, status VARCHAR, incumbent VARCHAR) | SELECT MAX(elected) FROM table_name_75 WHERE status = "reelected" AND incumbent = "danny marshall iii" |
How many candidates are listed all together for the incumbent named bob clement? | CREATE TABLE table_1341577_43 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1341577_43 WHERE incumbent = "Bob Clement" |
Which Gold has a Total of 2998, and a Bronze smaller than 1191? | CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_68 WHERE total = 2998 AND bronze < 1191 |
What is the average number of Wins in a PGA Championship with a Top-5 less than 2? | CREATE TABLE table_name_87 (wins INTEGER, tournament VARCHAR, top_5 VARCHAR) | SELECT AVG(wins) FROM table_name_87 WHERE tournament = "pga championship" AND top_5 < 2 |
List of high assists with high rebounds for k. mchale (10) | CREATE TABLE table_17344582_11 (high_assists VARCHAR, high_rebounds VARCHAR) | SELECT high_assists FROM table_17344582_11 WHERE high_rebounds = "K. McHale (10)" |
Which Date has an Attendance larger than 1,858? | CREATE TABLE table_name_32 (date VARCHAR, attendance INTEGER) | SELECT date FROM table_name_32 WHERE attendance > 1 OFFSET 858 |
Who was the opponent at the game with a score of 6–5 (10)? | CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_47 WHERE score = "6–5 (10)" |
what is the name of the battleship with the battle listed on May 13, 1915? | CREATE TABLE table_name_23 (name VARCHAR, ship_type VARCHAR, date VARCHAR) | SELECT name FROM table_name_23 WHERE ship_type = "battleship" AND date = "may 13, 1915" |
What is the Score when Donyell Marshall (26) had the high points? | CREATE TABLE table_name_20 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_20 WHERE high_points = "donyell marshall (26)" |
What is the Order and Title with an Elevated with 1261, december 17, and a Faction with angevin? | CREATE TABLE table_name_88 (order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR) | SELECT order_and_title FROM table_name_88 WHERE elevated = "1261, december 17" AND faction = "angevin" |
Which IATA has a ICAO of slk? | CREATE TABLE table_name_14 (iata VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_14 WHERE icao = "slk" |
What was the earliest year that the result 21-17? | CREATE TABLE table_name_51 (year INTEGER, result VARCHAR) | SELECT MIN(year) FROM table_name_51 WHERE result = "21-17" |
I want the lowest date for catalog of 6561910008-1 | CREATE TABLE table_name_87 (date INTEGER, catalog VARCHAR) | SELECT MIN(date) FROM table_name_87 WHERE catalog = "6561910008-1" |
Find the name of scientists who are not assigned to any project. | CREATE TABLE scientists (Name VARCHAR, ssn VARCHAR, scientist VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, ssn VARCHAR, scientist VARCHAR) | SELECT Name FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo) |
what's the s mestizo with asians being 0.2% and whites being 74.8% | CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR) | SELECT s_mestizo FROM table_1333612_1 WHERE asians = "0.2%" AND whites = "74.8%" |
Who produced track 7? | CREATE TABLE table_name_7 (producer_s_ VARCHAR, track VARCHAR) | SELECT producer_s_ FROM table_name_7 WHERE track = 7 |
If Arthur Albert is the director, what is the maximum series number? | CREATE TABLE table_17356106_1 (series__number INTEGER, directed_by VARCHAR) | SELECT MAX(series__number) FROM table_17356106_1 WHERE directed_by = "Arthur Albert" |
Which Total has a Bronze of 5, and a Silver smaller than 1? | CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1 |
In how many counties di McCain win 41.62% of the vote? | CREATE TABLE table_20524090_1 (county VARCHAR, mccain_percentage VARCHAR) | SELECT COUNT(county) FROM table_20524090_1 WHERE mccain_percentage = "41.62%" |
Which group nominated Kim in years before 2010 for Thirst? | CREATE TABLE table_name_66 (group VARCHAR, year VARCHAR, film_series VARCHAR) | SELECT group FROM table_name_66 WHERE year < 2010 AND film_series = "thirst" |
Which Opponent in the final has a Partnering of graydon oliver? | CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR) | SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver" |
What artist had 1 draw? | CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR) | SELECT artist FROM table_name_52 WHERE draw = 1 |
How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010? | CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, population__2010_ VARCHAR) | SELECT COUNT(no_of_barangays) FROM table_2402209_1 WHERE population__2010_ = 13824 |
Can you tell me the Opponent that has the Record of 7-7-1? | CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_8 WHERE record = "7-7-1" |
What was the introductory phrase for episode 794? | CREATE TABLE table_25691838_11 (introductory_phrase VARCHAR, episode__number VARCHAR) | SELECT introductory_phrase FROM table_25691838_11 WHERE episode__number = 794 |
where births is 388 000 how many number is natural increase | CREATE TABLE table_21258_1 (natural_increase VARCHAR, births VARCHAR) | SELECT COUNT(natural_increase) FROM table_21258_1 WHERE births = "388 000" |
Who is the lw position player from a round greater than 10? | CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10 |
When was commercial operation where construction started June 10, 1971? | CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR) | SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971" |
What's the lowest ranking source of copper, copper ore, concentrated and leached? | CREATE TABLE table_name_60 (rank INTEGER, source_of_copper VARCHAR) | SELECT MIN(rank) FROM table_name_60 WHERE source_of_copper = "copper ore, concentrated and leached" |
what is the highest round for anthony gonzalez? | CREATE TABLE table_name_53 (round INTEGER, name VARCHAR) | SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez" |
Who had the highest assists on November 4 | CREATE TABLE table_11959669_3 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_11959669_3 WHERE date = "November 4" |
Which Record has a Loss of o'connor (0-1)? | CREATE TABLE table_name_44 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_44 WHERE loss = "o'connor (0-1)" |
What is Anna Khlistunova's Nationality? | CREATE TABLE table_name_20 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_20 WHERE name = "anna khlistunova" |
Who was the visiting team on 12 March 2008? | CREATE TABLE table_name_77 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_77 WHERE date = "12 march 2008" |
Show the name of the county with the biggest population. | CREATE TABLE county (County_name VARCHAR, Population VARCHAR) | SELECT County_name FROM county ORDER BY Population DESC LIMIT 1 |
What is the lowest total for the silver less than 1, and a rank more than 5, more than 1 bronze? | CREATE TABLE table_name_71 (total INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_71 WHERE silver < 1 AND rank > 5 AND bronze > 1 |
Tell me the % of wt 2nd for bp 3rd comp of 98.4 | CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR) | SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4" |
What is the competition on 23 February 1929? | CREATE TABLE table_name_27 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_27 WHERE date = "23 february 1929" |
Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12? | CREATE TABLE table_name_71 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT SUM(silver) FROM table_name_71 WHERE gold = 2 AND nation = "puerto rico" AND total < 12 |
What's the method for a record of 4-2 and round smaller than 3? | CREATE TABLE table_name_78 (method VARCHAR, round VARCHAR, record VARCHAR) | SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-2" |
Tell me the sum of rank for australia when points are less than 79 | CREATE TABLE table_name_58 (rank INTEGER, nationality VARCHAR, points VARCHAR) | SELECT SUM(rank) FROM table_name_58 WHERE nationality = "australia" AND points < 79 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.