question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the highest rank of Venezuela, which has more than 9 bronze medals?
CREATE TABLE table_name_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(rank) FROM table_name_54 WHERE nation = "venezuela" AND bronze > 9
What is the Story Title that has Albers as the Letterer?
CREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR)
SELECT story_title FROM table_name_60 WHERE letterer_s = "albers"
If the Venue was kardinia park what was the highest Crowd attended?
CREATE TABLE table_name_12 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_12 WHERE venue = "kardinia park"
what is the consistency & participation when pareto efficiency is yes and condorcet is no?
CREATE TABLE table_name_83 (consistency_ VARCHAR, _participation VARCHAR, pareto_efficiency VARCHAR, condorcet VARCHAR)
SELECT consistency_ & _participation FROM table_name_83 WHERE pareto_efficiency = "yes" AND condorcet = "no"
Which week did the Seattle Seahawks have a record of 6-6?
CREATE TABLE table_name_7 (week INTEGER, record VARCHAR)
SELECT AVG(week) FROM table_name_7 WHERE record = "6-6"
What position is todd hammel?
CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_99 WHERE player = "todd hammel"
Which Leading Scorer has a Record of 3-3?
CREATE TABLE table_name_70 (Leading VARCHAR, record VARCHAR)
SELECT Leading AS scorer FROM table_name_70 WHERE record = "3-3"
What is the County of Howard Street Tunnel?
CREATE TABLE table_name_72 (county VARCHAR, name VARCHAR)
SELECT county FROM table_name_72 WHERE name = "howard street tunnel"
Which version B-58 aircraft model originated in the United States has 2 in service?
CREATE TABLE table_name_57 (aircraft VARCHAR, versions VARCHAR, in_service VARCHAR, origin VARCHAR)
SELECT aircraft FROM table_name_57 WHERE in_service = "2" AND origin = "united states" AND versions = "b-58"
What is the English name of gùshǐ xiàn?
CREATE TABLE table_2847477_2 (english_name VARCHAR, pinyin VARCHAR)
SELECT english_name FROM table_2847477_2 WHERE pinyin = "Gùshǐ Xiàn"
Tell me the name for Investigation of thrombus imaging and Route of administration of iv
CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging"
Which venue has a scoreof 2–0?
CREATE TABLE table_name_60 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_60 WHERE score = "2–0"
What is the high 10 profile when high profile is 160?
CREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)
SELECT high_10_profile FROM table_237036_2 WHERE high_profile = 160
What are the different cities listed?
CREATE TABLE manufacturers (headquarter VARCHAR)
SELECT DISTINCT headquarter FROM manufacturers
When did fitzroy play at home?
CREATE TABLE table_name_38 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_38 WHERE home_team = "fitzroy"
Which Team plays at Western Oval?
CREATE TABLE table_name_90 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_90 WHERE venue = "western oval"
What torque does 1.9 diesel with 1905 cc have?
CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR)
SELECT torque FROM table_name_30 WHERE name = "1.9 diesel" AND capacity = "1905 cc"
what's the tries against with try bonus being 10
CREATE TABLE table_13940275_5 (tries_against VARCHAR, try_bonus VARCHAR)
SELECT tries_against FROM table_13940275_5 WHERE try_bonus = "10"
What was the attendance at game with a loss of Josh Hall (0–1)?
CREATE TABLE table_name_11 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_11 WHERE loss = "josh hall (0–1)"
What's the smallest rank of noriko inada?
CREATE TABLE table_name_76 (rank INTEGER, name VARCHAR)
SELECT MIN(rank) FROM table_name_76 WHERE name = "noriko inada"
WHAT IS THE SCORE WITH A WEEK LARGER THAN 13, AND VISITOR TEAM MONTREAL ALOUETTES?
CREATE TABLE table_name_39 (score VARCHAR, week VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_39 WHERE week > 13 AND visitor = "montreal alouettes"
What college did Terrance Taylor play for?
CREATE TABLE table_20861261_4 (college VARCHAR, player VARCHAR)
SELECT college FROM table_20861261_4 WHERE player = "Terrance Taylor"
What wrestling event was participated in during the 2008 Beijing games?
CREATE TABLE table_name_28 (event VARCHAR, games VARCHAR, sport VARCHAR)
SELECT event FROM table_name_28 WHERE games = "2008 beijing" AND sport = "wrestling"
How many Games has a Team of cai zaragoza and a Rank smaller than 1?
CREATE TABLE table_name_24 (games INTEGER, team VARCHAR, rank VARCHAR)
SELECT SUM(games) FROM table_name_24 WHERE team = "cai zaragoza" AND rank < 1
Album # of 1st was released on what date?
CREATE TABLE table_name_6 (released VARCHAR, album_number VARCHAR)
SELECT released FROM table_name_6 WHERE album_number = "1st"
What score in the final had a tournament of $25,000 Glasgow, Great Britain?
CREATE TABLE table_name_82 (score_in_the_final VARCHAR, tournament VARCHAR)
SELECT score_in_the_final FROM table_name_82 WHERE tournament = "$25,000 glasgow, great britain"
What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?
CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)
SELECT SUM(byes) FROM table_name_11 WHERE portland_dfl = "westerns" AND losses > 14
What was the result when he went 1 round against jeremy beck?
CREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck"
On November 19, 2008 what was the score?
CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_13 WHERE date = "november 19, 2008"
What was the surface made of in the contest where Paula Ormaechea was the partner?
CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_50 WHERE partner = "paula ormaechea"
Name the opponent for december 8
CREATE TABLE table_17924362_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_17924362_1 WHERE date = "December 8"
What is the highest grid when the race was retired due to the gearbox after 67 laps?
CREATE TABLE table_name_70 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_70 WHERE time_retired = "gearbox" AND laps > 67
How many League cups had a total less than 25 and a league larger than 19?
CREATE TABLE table_name_70 (league VARCHAR, total VARCHAR)
SELECT COUNT(league) AS Cup FROM table_name_70 WHERE total < 25 AND league > 19
Who was the coastal Carolina head coach in 2013?
CREATE TABLE table_28418916_3 (coastal_carolina_head_coach VARCHAR, year VARCHAR)
SELECT coastal_carolina_head_coach FROM table_28418916_3 WHERE year = 2013
What is total orders for goals of 239?
CREATE TABLE table_name_77 (order VARCHAR, goals VARCHAR)
SELECT COUNT(order) FROM table_name_77 WHERE goals = 239
What was the result of the bodil award winning film from before 2005 in the best actress category?
CREATE TABLE table_name_37 (result VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR)
SELECT result FROM table_name_37 WHERE award = "bodil award" AND category = "best actress" AND year = 2005
How many concerts are there in year 2014 or 2015?
CREATE TABLE concert (YEAR VARCHAR)
SELECT COUNT(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015
How many picks did Mike Zaher have?
CREATE TABLE table_name_17 (pick__number INTEGER, player VARCHAR)
SELECT SUM(pick__number) FROM table_name_17 WHERE player = "mike zaher"
Name the women's nickname when the enrollment is 1500 in mobile, Alabama.
CREATE TABLE table_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR)
SELECT women’s_nickname FROM table_10577579_3 WHERE enrollment = 1500 AND location = "Mobile, Alabama"
If the headquarters is Bharatpur, what is the maximum area?
CREATE TABLE table_2168295_1 (area__km²_ INTEGER, headquarters VARCHAR)
SELECT MAX(area__km²_) FROM table_2168295_1 WHERE headquarters = "Bharatpur"
What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"?
CREATE TABLE table_name_36 (nationality VARCHAR, round VARCHAR, college_team VARCHAR)
SELECT nationality FROM table_name_36 WHERE round < 2 AND college_team = "cb l'hospitalet"
Which name has a Gender of coed, and a Decile larger than 5, and a Roll of 131?
CREATE TABLE table_name_35 (name VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR)
SELECT name FROM table_name_35 WHERE gender = "coed" AND decile > 5 AND roll = 131
When someone was first elected in 1898 what was the result?
CREATE TABLE table_name_53 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_name_53 WHERE first_elected = "1898"
Name the total number of air dates for 05 cycle
CREATE TABLE table_16976547_2 (air_dates VARCHAR, cycle_no VARCHAR)
SELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = "05"
How many winners were there in the Georgia 1 district?
CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1"
What's the rank when the col (m) is less than 33 and has a summit of Haleakalā?
CREATE TABLE table_name_80 (rank INTEGER, col__m_ VARCHAR, summit VARCHAR)
SELECT SUM(rank) FROM table_name_80 WHERE col__m_ < 33 AND summit = "haleakalā"
How many candidates were first elected in 1972?
CREATE TABLE table_1341640_11 (candidates VARCHAR, first_elected VARCHAR)
SELECT COUNT(candidates) FROM table_1341640_11 WHERE first_elected = 1972
What is the swimsuit score for the item that has 7.61 as evening gown
CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR)
SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61"
What is the type of the gps iif-10 satellite with an unknown date?
CREATE TABLE table_name_13 (type VARCHAR, date VARCHAR, satellite VARCHAR)
SELECT type FROM table_name_13 WHERE date = "unknown" AND satellite = "gps iif-10"
Which Tournament has a Partner of karel nováček?
CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)
SELECT tournament FROM table_name_19 WHERE partner = "karel nováček"
In what division was there a population density in km2 of 4,491.8 in 2011?
CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR)
SELECT administrative_division FROM table_24027047_1 WHERE population_density___km²_2011_ = "4,491.8"
How many cover dates does the story "Devastation Derby! (part 1)" have?
CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR)
SELECT COUNT(cover_date) FROM table_18305523_2 WHERE story_title = "DEVASTATION DERBY! (Part 1)"
What was the budget for "Thirteen Ghosts"?
CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR)
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts"
Show the names of members that have a rank in round higher than 3.
CREATE TABLE round (Member_ID VARCHAR, Rank_in_Round INTEGER); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR)
SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID WHERE T2.Rank_in_Round > 3
How many years had a film that peaked at #10 in the UK?
CREATE TABLE table_name_1 (year VARCHAR, uk_peak_position VARCHAR)
SELECT COUNT(year) FROM table_name_1 WHERE uk_peak_position = "10"
What is the total number of Post, when Trainer is "Steve Asmussen", and when Time/ Behind is 19 ½?
CREATE TABLE table_name_22 (post VARCHAR, trainer VARCHAR, time__behind VARCHAR)
SELECT COUNT(post) FROM table_name_22 WHERE trainer = "steve asmussen" AND time__behind = "19 ½"
How much did the away team St Kilda score?
CREATE TABLE table_name_51 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_51 WHERE away_team = "st kilda"
What number has 2008 as the season?
CREATE TABLE table_name_38 (number VARCHAR, season VARCHAR)
SELECT number FROM table_name_38 WHERE season = "2008"
What is the largest amount of wins of someone who has an against score greater than 1249 and a number of losses less than 17?
CREATE TABLE table_name_29 (wins INTEGER, against VARCHAR, losses VARCHAR)
SELECT MAX(wins) FROM table_name_29 WHERE against > 1249 AND losses < 17
What is the name of the student who has the highest total credits in the History department.
CREATE TABLE student (name VARCHAR, dept_name VARCHAR, tot_cred VARCHAR)
SELECT name FROM student WHERE dept_name = 'History' ORDER BY tot_cred DESC LIMIT 1
What is the smallest crowd at the Victoria Park Venue?
CREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park"
What is the assist/pass on 2008-01-16 when the score was 2-0?
CREATE TABLE table_name_54 (assist_pass VARCHAR, date VARCHAR, score VARCHAR)
SELECT assist_pass FROM table_name_54 WHERE date = "2008-01-16" AND score = "2-0"
What episode had 9.7 million viewers?
CREATE TABLE table_2102714_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
SELECT episode FROM table_2102714_1 WHERE viewers__in_millions_ = "9.7"
Who wrote the program that originally aired on June 6, 1999?
CREATE TABLE table_name_90 (written_by VARCHAR, original_airdate VARCHAR)
SELECT written_by FROM table_name_90 WHERE original_airdate = "june 6, 1999"
What was the outcome for the match in 1989?
CREATE TABLE table_1399994_5 (outcome VARCHAR, year VARCHAR)
SELECT outcome FROM table_1399994_5 WHERE year = "1989"
What was the result in the district represented by Thomas R. Gold?
CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_2668367_13 WHERE incumbent = "Thomas R. Gold"
What was the rocket's record when they played against Indiana?
CREATE TABLE table_27744976_10 (record VARCHAR, team VARCHAR)
SELECT record FROM table_27744976_10 WHERE team = "Indiana"
Name the most draws when wins is 3
CREATE TABLE table_14876228_1 (draws INTEGER, wins VARCHAR)
SELECT MAX(draws) FROM table_14876228_1 WHERE wins = 3
What winning amount has himesh reshammiya as the contestant name?
CREATE TABLE table_name_51 (winning_amount VARCHAR, contestant_name VARCHAR)
SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya"
What was the GSR number on the date 1883?
CREATE TABLE table_name_50 (gsr_nos VARCHAR, date_made VARCHAR)
SELECT gsr_nos FROM table_name_50 WHERE date_made = "1883"
What is the function percentage when the estimated function percentage is 20?
CREATE TABLE table_name_30 (function__percentage VARCHAR, estimated_function__percentage VARCHAR)
SELECT function__percentage FROM table_name_30 WHERE estimated_function__percentage = 20
Who is the visitor with a record of 14–17–5?
CREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_54 WHERE record = "14–17–5"
What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5?
CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.5
What is the lowest Against, when Status is "First Test", and when Date is "26/05/2007"?
CREATE TABLE table_name_42 (against INTEGER, status VARCHAR, date VARCHAR)
SELECT MIN(against) FROM table_name_42 WHERE status = "first test" AND date = "26/05/2007"
Which player had a conference of PAC-10 and position of G?
CREATE TABLE table_name_56 (player VARCHAR, conf VARCHAR, pos VARCHAR)
SELECT player FROM table_name_56 WHERE conf = "pac-10" AND pos = "g"
What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point?
CREATE TABLE table_name_47 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR)
SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1
What is the Reserved For of Lahar?
CREATE TABLE table_name_39 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_39 WHERE name = "lahar"
state the earliest year li xuerui won womens singles
CREATE TABLE table_20361783_1 (year INTEGER, womens_singles VARCHAR)
SELECT MIN(year) FROM table_20361783_1 WHERE womens_singles = "Li Xuerui"
What Passenger Load Factor (%) that has a Revenue (€m) less than 958.6 and a Profit / (Loss) Before Tax (€m) of 1.1?
CREATE TABLE table_name_86 (passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR, profit____loss__before_tax__€m_ VARCHAR)
SELECT passenger_load_factor___percentage_ FROM table_name_86 WHERE revenue__€m_ < 958.6 AND profit____loss__before_tax__€m_ = "1.1"
What was the score for the match at the tournament in canada f7, toronto?
CREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_87 WHERE tournament = "canada f7, toronto"
With a score smaller than 71 along with a place of t6, what is the To par score?
CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_69 WHERE score < 71 AND place = "t6"
which examples are pronounced ɪs in american
CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR)
SELECT examples FROM table_17798093_20 WHERE american = "ɪs"
The Palazzo's street address is listed as what?
CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR)
SELECT street_address FROM table_name_73 WHERE name = "the palazzo"
Which part three is class 4?
CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR)
SELECT part_3 FROM table_name_4 WHERE class = "4"
Which ground has a crowd over 41,185?
CREATE TABLE table_name_79 (ground VARCHAR, crowd INTEGER)
SELECT ground FROM table_name_79 WHERE crowd > 41 OFFSET 185
For which tournament was the margin of victory 7 strokes?
CREATE TABLE table_name_50 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_50 WHERE margin_of_victory = "7 strokes"
What is Country, when Place is "T8", and when Score is "70-67=137"?
CREATE TABLE table_name_98 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_98 WHERE place = "t8" AND score = 70 - 67 = 137
How many road numbers are before 1922?
CREATE TABLE table_name_18 (road_number VARCHAR, year INTEGER)
SELECT COUNT(road_number) FROM table_name_18 WHERE year < 1922
What's the quarterfinals when the rank was bronze?
CREATE TABLE table_name_79 (quarterfinals VARCHAR, rank VARCHAR)
SELECT quarterfinals FROM table_name_79 WHERE rank = "bronze"
What is the Opponent on Week 11?
CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_28 WHERE week = 11
what is the affiliation of the colors maroon and white?
CREATE TABLE table_20887670_1 (affiliation VARCHAR, colors VARCHAR)
SELECT affiliation FROM table_20887670_1 WHERE colors = "Maroon and White"
Which team was played on April 20?
CREATE TABLE table_11961582_10 (team VARCHAR, date VARCHAR)
SELECT team FROM table_11961582_10 WHERE date = "April 20"
Elected smaller than 2001, and a District of 83rd has what status?
CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR)
SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd"
How much did Universal Studio's film Xanadu gross?
CREATE TABLE table_name_79 (gross VARCHAR, studio VARCHAR, title VARCHAR)
SELECT gross FROM table_name_79 WHERE studio = "universal" AND title = "xanadu"
When did the person born on 3 May 1446 cease to be countess?
CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)
SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446"
How many were won when 5 were lost?
CREATE TABLE table_17625749_3 (won VARCHAR, lost VARCHAR)
SELECT won FROM table_17625749_3 WHERE lost = "5"
What are the details of the markets that can be accessed by walk or bus?
CREATE TABLE Street_Markets (Market_Details VARCHAR, Market_ID VARCHAR); CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR)
SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" OR T2.How_to_Get_There = "bus"
How many times did Neu-Vehlefanz occur when Schwante had 2.043?
CREATE TABLE table_11680175_1 (vehlefanz VARCHAR, Neu VARCHAR, schwante VARCHAR)
SELECT COUNT(Neu) - vehlefanz FROM table_11680175_1 WHERE schwante = "2.043"
Which driver's grid was 24?
CREATE TABLE table_name_10 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_10 WHERE grid = 24
Find the names of all the product characteristics.
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR)
SELECT DISTINCT characteristic_name FROM CHARACTERISTICS