question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Top-5 is the lowest one that has Cuts made of 10, and Events larger than 10?
CREATE TABLE table_name_88 (top_5 INTEGER, cuts_made VARCHAR, events VARCHAR)
SELECT MIN(top_5) FROM table_name_88 WHERE cuts_made = 10 AND events > 10
What location is previous to 1994?
CREATE TABLE table_name_56 (location VARCHAR, year INTEGER)
SELECT location FROM table_name_56 WHERE year < 1994
What average has 1 as rhe rank?
CREATE TABLE table_name_61 (average VARCHAR, rank VARCHAR)
SELECT average FROM table_name_61 WHERE rank = "1"
When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired?
CREATE TABLE table_name_10 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_10 WHERE laps < 53 AND driver = "innes ireland"
What is the smallest crowd for a game when Melbourne is the home team?
CREATE TABLE table_name_38 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_38 WHERE home_team = "melbourne"
Where is the University of North Carolina at Greensboro located?
CREATE TABLE table_255188_3 (location VARCHAR, institution VARCHAR)
SELECT location FROM table_255188_3 WHERE institution = "University of North Carolina at Greensboro"
Which ground's round was 33?
CREATE TABLE table_name_17 (ground VARCHAR, round VARCHAR)
SELECT ground FROM table_name_17 WHERE round = "33"
How many opponents have wimbledon (2) as the championship?
CREATE TABLE table_22860698_2 (opponents VARCHAR, championship VARCHAR)
SELECT COUNT(opponents) FROM table_22860698_2 WHERE championship = "Wimbledon (2)"
What place did Lee Westwood finish in?
CREATE TABLE table_name_74 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_74 WHERE player = "lee westwood"
What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving?
CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR)
SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant"
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?
CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR)
SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3
What is the person born in Australia, rick springfield notable for?
CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)
SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"
What is the highest pole for class 125 cc and a WChmp more than 1?
CREATE TABLE table_name_88 (pole INTEGER, class VARCHAR, wchmp VARCHAR)
SELECT MAX(pole) FROM table_name_88 WHERE class = "125 cc" AND wchmp > 1
What is the English spelling of the strongs transliteration: 'adoniyah?
CREATE TABLE table_1242447_2 (english_spelling VARCHAR, strongs_transliteration VARCHAR)
SELECT english_spelling FROM table_1242447_2 WHERE strongs_transliteration = "'Adoniyah"
What year is the event in athens, greece?
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_19 WHERE venue = "athens, greece"
What year was the match against filippo volandri where xavier malisse was runner-up?
CREATE TABLE table_name_39 (year VARCHAR, outcome VARCHAR, opponent VARCHAR)
SELECT year FROM table_name_39 WHERE outcome = "runner-up" AND opponent = "filippo volandri"
Which Played has a Points of 2, and a Position smaller than 8?
CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)
SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8
What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?
CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
SELECT office FROM table_name_8 WHERE socialist_labor_ticket = "(none)" AND liberal_ticket = "stanley h. fuld"
What is Mass, when Designation is Prognoz 2?
CREATE TABLE table_name_54 (mass VARCHAR, designation VARCHAR)
SELECT mass FROM table_name_54 WHERE designation = "prognoz 2"
What is the Time/Retired value for Ludovico Scarfiotti?
CREATE TABLE table_name_80 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_80 WHERE driver = "ludovico scarfiotti"
Loss of wilcox, and a Date of jun 18 had what opponent?
CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_95 WHERE loss = "wilcox" AND date = "jun 18"
What is the maximum number of rebounds for players having exactly 35 steals?
CREATE TABLE table_24913533_4 (rebounds INTEGER, steals VARCHAR)
SELECT MAX(rebounds) FROM table_24913533_4 WHERE steals = 35
Find the average grade point of student whose last name is Smith.
CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR)
SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = "Smith"
are in tobago species liophis cobellus cobellus?
CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR)
SELECT tobago FROM table_1850282_5 WHERE species = "Liophis cobellus cobellus"
Who won when Elon was the runner-up?
CREATE TABLE table_name_53 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_name_53 WHERE runner_up = "elon"
Show the maximum amount of transaction.
CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER)
SELECT MAX(amount_of_transaction) FROM TRANSACTIONS
what is the lowest qualifying rank?
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)
SELECT MIN(qualifying_rank) FROM table_13114949_3
Which PFF NMCC has a AFC PC of dnq?
CREATE TABLE table_name_50 (pff_nmcc VARCHAR, afc_pc VARCHAR)
SELECT pff_nmcc FROM table_name_50 WHERE afc_pc = "dnq"
Which pole has a Season of 2009 and points of test driver?
CREATE TABLE table_name_90 (poles VARCHAR, season VARCHAR, points VARCHAR)
SELECT poles FROM table_name_90 WHERE season = 2009 AND points = "test driver"
On what date did the Lions play against the Tampa Bay Buccaneers?
CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_66 WHERE opponent = "tampa bay buccaneers"
If the rings are 60.500, what is the parallel bars number?
CREATE TABLE table_18662026_1 (parallel_bars VARCHAR, rings VARCHAR)
SELECT parallel_bars FROM table_18662026_1 WHERE rings = "60.500"
How many drivers won the Italian Grand Prix?
CREATE TABLE table_1132600_3 (winning_driver VARCHAR, grand_prix VARCHAR)
SELECT COUNT(winning_driver) FROM table_1132600_3 WHERE grand_prix = "Italian grand_prix"
How many production stage managers worked with secretary Rachel Hartmann?
CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann"
How many players with a position are listed for the 2009 season?
CREATE TABLE table_15463188_17 (position VARCHAR, season VARCHAR)
SELECT COUNT(position) FROM table_15463188_17 WHERE season = "2009"
How many seasons did Pat Chambers coach?
CREATE TABLE table_name_2 (seasons VARCHAR, coach VARCHAR)
SELECT COUNT(seasons) FROM table_name_2 WHERE coach = "pat chambers"
What is the name of the series with the unknown host?
CREATE TABLE table_27487310_5 (name VARCHAR, host_s_ VARCHAR)
SELECT name FROM table_27487310_5 WHERE host_s_ = "unknown"
What is the Equipment that has a Points littler than 442, and a Position of 9?
CREATE TABLE table_name_93 (equipment VARCHAR, points VARCHAR, position VARCHAR)
SELECT equipment FROM table_name_93 WHERE points < 442 AND position = 9
What is Time, when Away is Central Blues?
CREATE TABLE table_name_95 (time VARCHAR, away VARCHAR)
SELECT time FROM table_name_95 WHERE away = "central blues"
How many Games have a Drawn smaller than 1, and a Lost larger than 4?
CREATE TABLE table_name_5 (games VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT COUNT(games) FROM table_name_5 WHERE drawn < 1 AND lost > 4
How many parties were first elected in 1805?
CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR)
SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805"
When did the tom smith built train enter service with a number under 7007?
CREATE TABLE table_name_73 (entered_service INTEGER, builder VARCHAR, number VARCHAR)
SELECT AVG(entered_service) FROM table_name_73 WHERE builder = "tom smith" AND number < 7007
How many cable channels have callsign CBFT-DT?
CREATE TABLE table_name_38 (cable_channel VARCHAR, call_sign VARCHAR)
SELECT COUNT(cable_channel) FROM table_name_38 WHERE call_sign = "cbft-dt"
Name the being qualities for having things of language, religions, work, customs, values, norms
CREATE TABLE table_name_36 (being__qualities_ VARCHAR, having__things_ VARCHAR)
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms"
If the total is 6, what is the maximum R?
CREATE TABLE table (r INTEGER, total VARCHAR)
SELECT MAX(r) FROM table WHERE total = 6
Which Grid has a Rider of randy de puniet, and Laps smaller than 24?
CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_11 WHERE rider = "randy de puniet" AND laps < 24
Which Played has a Team of cerro corá, and Losses larger than 4?
CREATE TABLE table_name_55 (played INTEGER, team VARCHAR, losses VARCHAR)
SELECT AVG(played) FROM table_name_55 WHERE team = "cerro corá" AND losses > 4
What is the score in the final of the tournament with a clay surface on 18 April 2011?
CREATE TABLE table_name_88 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_88 WHERE surface = "clay" AND date = "18 april 2011"
What is the Romani associated with a Domari of na?
CREATE TABLE table_name_44 (romani VARCHAR, domari VARCHAR)
SELECT romani FROM table_name_44 WHERE domari = "na"
What was the outcome in 1982 with Kang Haeng-Suk as partner?
CREATE TABLE table_name_88 (outcome VARCHAR, partner VARCHAR, year VARCHAR)
SELECT outcome FROM table_name_88 WHERE partner = "kang haeng-suk" AND year = "1982"
What is the population (2008) when the capital was Sanniquellie, created later than 1964?
CREATE TABLE table_name_1 (population__2008_ INTEGER, capital VARCHAR, created VARCHAR)
SELECT SUM(population__2008_) FROM table_name_1 WHERE capital = "sanniquellie" AND created > 1964
Name the winner for jan 24
CREATE TABLE table_25938117_1 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_25938117_1 WHERE date = "Jan 24"
What was the final score for the match with a partnering of Tessa Price?
CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partnering VARCHAR)
SELECT score_in_the_final FROM table_name_48 WHERE partnering = "tessa price"
what's the district with incumbent being lawrence h. fountain
CREATE TABLE table_1341930_33 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341930_33 WHERE incumbent = "Lawrence H. Fountain"
Attendance of 48,510 had what highest week?
CREATE TABLE table_name_30 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_30 WHERE attendance = 48 OFFSET 510
What is the aa length when the protein name is c11orf73?
CREATE TABLE table_26708105_5 (aa_length VARCHAR, protein_name VARCHAR)
SELECT aa_length FROM table_26708105_5 WHERE protein_name = "C11orf73"
what's the winner with tournament value of kroger senior classic
CREATE TABLE table_11621915_1 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_11621915_1 WHERE tournament = "Kroger Senior Classic"
Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf )
CREATE TABLE table_name_4 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
SELECT city_of_license FROM table_name_4 WHERE channels_tv___rf = "67 ( psip ) 29 ( uhf )"
What Public Institution is in Black River Falls?
CREATE TABLE table_name_80 (institution VARCHAR, affiliation VARCHAR, location VARCHAR)
SELECT institution FROM table_name_80 WHERE affiliation = "public" AND location = "black river falls"
How many engines have a Model of sl600, and a Year From of 1994, and a Year To smaller than 1995?
CREATE TABLE table_name_82 (engine VARCHAR, year_to VARCHAR, model VARCHAR, year_from VARCHAR)
SELECT COUNT(engine) FROM table_name_82 WHERE model = "sl600" AND year_from = 1994 AND year_to < 1995
What year was the rank final of 6?
CREATE TABLE table_name_90 (year VARCHAR, rank_final VARCHAR)
SELECT year FROM table_name_90 WHERE rank_final = "6"
How many ranks have michael russell as the rider?
CREATE TABLE table_name_71 (rank INTEGER, rider VARCHAR)
SELECT SUM(rank) FROM table_name_71 WHERE rider = "michael russell"
what's height with position being center and year born being bigger than 1980.0
CREATE TABLE table_12962773_1 (height VARCHAR, position VARCHAR, year_born VARCHAR)
SELECT height FROM table_12962773_1 WHERE position = "Center" AND year_born > 1980.0
Which Surface had an Opponent of chris evert-lloyd?
CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd"
How many people attended the game on September 19, 1976?
CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_29 WHERE date = "september 19, 1976"
When was the locomotive named fighter command built?
CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR)
SELECT whenbuilt FROM table_name_28 WHERE name = "fighter command"
How many episodes had the series number of 38?
CREATE TABLE table_19925114_1 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(directed_by) FROM table_19925114_1 WHERE no_in_series = 38
Which Result has a Site of rice stadium • houston, tx?
CREATE TABLE table_name_9 (result VARCHAR, site VARCHAR)
SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx"
When was the game against Indiana?
CREATE TABLE table_name_78 (date VARCHAR, opponent_number VARCHAR)
SELECT date FROM table_name_78 WHERE opponent_number = "indiana"
Name the combativity award with winner of luis león sánchez
CREATE TABLE table_name_13 (combativity_award VARCHAR, winner VARCHAR)
SELECT combativity_award FROM table_name_13 WHERE winner = "luis león sánchez"
What station has the call number K213cl
CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR)
SELECT format FROM table_134729_3 WHERE call_sign = "K213CL"
What is the gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1?
CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT AVG(gold) FROM table_name_25 WHERE bronze = 1 AND nation = "syria" AND total < 1
What year was Jerry Huckaby first elected?
CREATE TABLE table_1341663_19 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1341663_19 WHERE incumbent = "Jerry Huckaby"
How many pressure figures are given for the .380 acp cartridge?
CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
SELECT COUNT(max_pressure) FROM table_173103_1 WHERE cartridge = ".380 ACP"
What is the maximum capacity of the San Agustin Gym?
CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR)
SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = "san agustin gym"
How many weeks had the Green Bay packers as opponents?
CREATE TABLE table_name_74 (week INTEGER, opponent VARCHAR)
SELECT SUM(week) FROM table_name_74 WHERE opponent = "green bay packers"
name the podiums for start of 22
CREATE TABLE table_2725949_6 (podiums VARCHAR, starts VARCHAR)
SELECT podiums FROM table_2725949_6 WHERE starts = 22
Which country had the first store in the year 2007?
CREATE TABLE table_name_15 (country VARCHAR, first_store VARCHAR)
SELECT country FROM table_name_15 WHERE first_store = "2007"
When was the successor seated when the district was California 10th?
CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, district VARCHAR)
SELECT date_successor_seated FROM table_1134091_4 WHERE district = "California 10th"
What is the highest season for a bowl game of the 1993 Independence Bowl?
CREATE TABLE table_15647838_3 (season INTEGER, bowl_game VARCHAR)
SELECT MAX(season) FROM table_15647838_3 WHERE bowl_game = "1993 Independence Bowl"
Name the bulgarian name for mart
CREATE TABLE table_15275060_1 (bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR)
SELECT bulgarian_name FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Mart
What home team has 16 as the tie no.?
CREATE TABLE table_name_83 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_83 WHERE tie_no = "16"
Which game has more than 112 rebounds and a rank greater than 3?
CREATE TABLE table_name_76 (games INTEGER, rank VARCHAR, rebounds VARCHAR)
SELECT MAX(games) FROM table_name_76 WHERE rank > 3 AND rebounds = 112
What is the most recent year with the Album/Song "the best worst-case scenario"?
CREATE TABLE table_name_19 (year INTEGER, album___song VARCHAR)
SELECT MAX(year) FROM table_name_19 WHERE album___song = "the best worst-case scenario"
When pointers are the nickname what is the type?
CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR)
SELECT type FROM table_262495_1 WHERE nickname = "Pointers"
Which Country has a To par larger than 3, and a Year(s) won of 1979? Question 1
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_3 WHERE to_par > 3 AND year_s__won = "1979"
how many drivers driving toyota corolla
CREATE TABLE table_20090682_4 (driver VARCHAR, vehicle VARCHAR)
SELECT COUNT(driver) FROM table_20090682_4 WHERE vehicle = "Toyota Corolla"
Where did Jay Haas place?
CREATE TABLE table_name_62 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_62 WHERE player = "jay haas"
What is the largest Against with a Byes larger than 0?
CREATE TABLE table_name_40 (against INTEGER, byes INTEGER)
SELECT MAX(against) FROM table_name_40 WHERE byes > 0
Find the first names of students who took exactly one class.
CREATE TABLE enroll (stu_num VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR)
SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num GROUP BY T2.stu_num HAVING COUNT(*) = 1
Name the college for andrej podkonicky
CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2840500_8 WHERE player = "Andrej Podkonicky"
Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85?
CREATE TABLE table_name_15 (team VARCHAR, goals_against VARCHAR, drawn VARCHAR, position VARCHAR)
SELECT team FROM table_name_15 WHERE drawn < 12 AND position > 3 AND goals_against > 85
What is the start source of the irl country, which ended on 13 April?
CREATE TABLE table_name_7 (start_source VARCHAR, country VARCHAR, ended VARCHAR)
SELECT start_source FROM table_name_7 WHERE country = "irl" AND ended = "13 april"
Name the cfl team for steven turner
CREATE TABLE table_25017530_5 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_25017530_5 WHERE player = "Steven Turner"
Name the score for the mariners opponent on may 10
CREATE TABLE table_name_20 (score VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10"
What date was Dundee appointed?
CREATE TABLE table_name_96 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_name_96 WHERE team = "dundee"
who is the runner-up where location is ellenton, fl and year is 2004
CREATE TABLE table_11214772_1 (runner_up VARCHAR, location VARCHAR, year VARCHAR)
SELECT runner_up FROM table_11214772_1 WHERE location = "Ellenton, FL" AND year = "2004"
What are the results for testing the species with voges-proskauer when citrate yields a positive result?
CREATE TABLE table_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR)
SELECT voges_proskauer FROM table_16083989_1 WHERE citrate = "Positive"
What is the home team score when the away team is Collingwood?
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_36 WHERE away_team = "collingwood"
What was the score for the World Cup Qualifier?
CREATE TABLE table_name_72 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_72 WHERE competition = "world cup qualifier"
how mant different day names in old English were coined from the Latin day name "dies iovis"?
CREATE TABLE table_2624098_1 (old_english_day_name VARCHAR, glossed_from_latin_day_name VARCHAR)
SELECT COUNT(old_english_day_name) FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Iovis"