question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
The highest position with more than 16 points and less than 7 concedes?
SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7
CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR)
What is the date for the UTC time of 03:15:46?
SELECT date__yyyy_mm_dd_ FROM table_26950408_1 WHERE time___utc__ = "03:15:46"
CREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)
What numbered pick was the player from texas?
SELECT COUNT(pick__number) FROM table_name_85 WHERE college = "texas"
CREATE TABLE table_name_85 (pick__number VARCHAR, college VARCHAR)
When was his first game on a clay surface where he scored 0–6, 3–6?
SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6"
CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR)
Tell me the most total for horse of carlson
SELECT MAX(total) FROM table_name_10 WHERE horse = "carlson"
CREATE TABLE table_name_10 (total INTEGER, horse VARCHAR)
Which home team played against the away team Carlton?
SELECT home_team FROM table_name_74 WHERE away_team = "carlton"
CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR)
What is the day 1 when the day 3 is math?
SELECT day_1 FROM table_name_16 WHERE day_3 = "math"
CREATE TABLE table_name_16 (day_1 VARCHAR, day_3 VARCHAR)
Name the studio analysts for espn with erin andrews and tom rinaldi
SELECT studio_analyst_s_ FROM table_2724704_5 WHERE network_s_ = "ESPN" AND sideline_reporter_s_ = "Erin Andrews and Tom Rinaldi"
CREATE TABLE table_2724704_5 (studio_analyst_s_ VARCHAR, network_s_ VARCHAR, sideline_reporter_s_ VARCHAR)
List the player that scored 4 times.
SELECT name FROM table_24565004_15 WHERE goals¹ = 4
CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR)
What is the average density with a land area of 123.02, and a Code larger than 2356?
SELECT AVG(density__inh_km²_) FROM table_name_33 WHERE land_area__hectares_ = 123.02 AND code > 2356
CREATE TABLE table_name_33 (density__inh_km²_ INTEGER, land_area__hectares_ VARCHAR, code VARCHAR)
the episode directed by art dielhenn was what number in the series?
SELECT no_in_series FROM table_2818164_8 WHERE directed_by = "Art Dielhenn"
CREATE TABLE table_2818164_8 (no_in_series VARCHAR, directed_by VARCHAR)
What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)?
SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "233.4 (16)"
CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR)
What is Tries Against, when Points Against is 213?
SELECT tries_against FROM table_name_78 WHERE points_against = "213"
CREATE TABLE table_name_78 (tries_against VARCHAR, points_against VARCHAR)
Tell me the captain for 1774 and guns of 14
SELECT captain FROM table_name_23 WHERE year = "1774" AND guns = "14"
CREATE TABLE table_name_23 (captain VARCHAR, year VARCHAR, guns VARCHAR)
What is the total number of Solo with a Player with sean mcinerney, and Yards larger than 0?
SELECT COUNT(solo) FROM table_name_33 WHERE player = "sean mcinerney" AND yards > 0
CREATE TABLE table_name_33 (solo VARCHAR, player VARCHAR, yards VARCHAR)
What is the nationality of the player in Position C from Round 1?
SELECT nationality FROM table_name_17 WHERE round = "1" AND position = "c"
CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, position VARCHAR)
What is shown for november 3 when august 21-22 is august 22, 1998?
SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998"
CREATE TABLE table_25355501_2 (november_3 VARCHAR, august_21_22 VARCHAR)
What was the highest number of people injured in incidents in Vaishali, Bihar?
SELECT MAX(injured) FROM table_name_14 WHERE place = "vaishali, bihar"
CREATE TABLE table_name_14 (injured INTEGER, place VARCHAR)
What country was the golfer with a score of 72-72-72=216 representing?
SELECT country FROM table_name_78 WHERE score = 72 - 72 - 72 = 216
CREATE TABLE table_name_78 (country VARCHAR, score VARCHAR)
What is Against, when Opposing Teams is "Australia", and when Date is "27/07/1991"?
SELECT against FROM table_name_12 WHERE opposing_teams = "australia" AND date = "27/07/1991"
CREATE TABLE table_name_12 (against VARCHAR, opposing_teams VARCHAR, date VARCHAR)
What's the stadium on November 8?
SELECT home FROM table_name_26 WHERE date = "november 8"
CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)
Which original air date had 0.871 U.S. viewers (millions)?
SELECT original_air_date FROM table_26808178_3 WHERE us_viewers__millions_ = "0.871"
CREATE TABLE table_26808178_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
List categories that have at least two books after year 1989.
SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 2
CREATE TABLE book_club (category VARCHAR, YEAR INTEGER)
Return all distinct detention type codes.
SELECT DISTINCT detention_type_code FROM Detention
CREATE TABLE Detention (detention_type_code VARCHAR)
What is the name of the writer when the ratings was 2.61 million?
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61"
CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR)
What was the CB CW for the year of 1982?
SELECT cb_cw FROM table_name_89 WHERE year = 1982
CREATE TABLE table_name_89 (cb_cw VARCHAR, year VARCHAR)
What time has a Set 1 of 18–25?
SELECT time FROM table_name_30 WHERE set_1 = "18–25"
CREATE TABLE table_name_30 (time VARCHAR, set_1 VARCHAR)
Which artist has the Spoofed title Miscue 911?
SELECT artist FROM table_name_94 WHERE spoofed_title = "miscue 911"
CREATE TABLE table_name_94 (artist VARCHAR, spoofed_title VARCHAR)
What county is the team with the mascot of the Tigers in?
SELECT county FROM table_name_2 WHERE mascot = "tigers"
CREATE TABLE table_name_2 (county VARCHAR, mascot VARCHAR)
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro"
CREATE TABLE table_name_27 (team_2 VARCHAR)
with name meridian condominiums what is number of floors?
SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)
Which transfer window was moving from borussia dortmund?
SELECT transfer_window FROM table_name_38 WHERE moving_from = "borussia dortmund"
CREATE TABLE table_name_38 (transfer_window VARCHAR, moving_from VARCHAR)
What is time of manufacturer with grid 21?
SELECT time FROM table_name_56 WHERE grid = 21
CREATE TABLE table_name_56 (time VARCHAR, grid VARCHAR)
What is the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"?
SELECT novelty FROM table_name_46 WHERE authors = "zhiming" AND notes = "carcharodontosaurid"
CREATE TABLE table_name_46 (novelty VARCHAR, authors VARCHAR, notes VARCHAR)
Loss of schrom happened on what date?
SELECT date FROM table_name_39 WHERE loss = "schrom"
CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)
Which Year(s) won has a Total of 289?
SELECT year_s__won FROM table_name_71 WHERE total = 289
CREATE TABLE table_name_71 (year_s__won VARCHAR, total VARCHAR)
What is shown for Record as played with a Regular season Vacated of 24–0 later than 1997?
SELECT record_as_played FROM table_name_19 WHERE regular_season_vacated = "24–0" AND season > 1997
CREATE TABLE table_name_19 (record_as_played VARCHAR, regular_season_vacated VARCHAR, season VARCHAR)
Which gc37-01 v10 engine has the fewest points?
SELECT MIN(points) FROM table_name_23 WHERE engine = "gc37-01 v10"
CREATE TABLE table_name_23 (points INTEGER, engine VARCHAR)
What were the notes in 2011?
SELECT notes FROM table_name_89 WHERE year = 2011
CREATE TABLE table_name_89 (notes VARCHAR, year VARCHAR)
What is the record for the Utah Jazz?
SELECT record FROM table_name_4 WHERE team = "utah jazz"
CREATE TABLE table_name_4 (record VARCHAR, team VARCHAR)
Name the erin and jake for week 4
SELECT erin_and_jake FROM table_2311410_5 WHERE week = 4
CREATE TABLE table_2311410_5 (erin_and_jake VARCHAR, week VARCHAR)
for the no. 7 what is the date of birth
SELECT date_of_birth FROM table_27998152_1 WHERE no = 7
CREATE TABLE table_27998152_1 (date_of_birth VARCHAR, no VARCHAR)
Name the score for josé juan barea (8)
SELECT score FROM table_27723526_12 WHERE high_assists = "José Juan Barea (8)"
CREATE TABLE table_27723526_12 (score VARCHAR, high_assists VARCHAR)
What GEO ID has a longitude of -102.693028?
SELECT geo_id FROM table_name_83 WHERE longitude = -102.693028
CREATE TABLE table_name_83 (geo_id VARCHAR, longitude VARCHAR)
What round was circuit Avus?
SELECT MAX(round) FROM table_18095719_2 WHERE circuit = "AVUS"
CREATE TABLE table_18095719_2 (round INTEGER, circuit VARCHAR)
Who had the most points in games over 59?
SELECT high_points FROM table_name_12 WHERE game > 59
CREATE TABLE table_name_12 (high_points VARCHAR, game INTEGER)
What is the pinyin name for the english name xin county?
SELECT pinyin FROM table_2847477_2 WHERE english_name = "Xin County"
CREATE TABLE table_2847477_2 (pinyin VARCHAR, english_name VARCHAR)
When Sagittarius is the wester name what is the sanskrit gloss?
SELECT sanskrit AS gloss FROM table_186462_1 WHERE western_name = "Sagittarius"
CREATE TABLE table_186462_1 (sanskrit VARCHAR, western_name VARCHAR)
how many persons got the third position whan sanyo electric tokushima got the fourth position?
SELECT COUNT(third_place) FROM table_21632864_1 WHERE fourth_place = "Sanyo Electric Tokushima"
CREATE TABLE table_21632864_1 (third_place VARCHAR, fourth_place VARCHAR)
Which label was in the United Kingdom region?
SELECT label FROM table_name_17 WHERE region = "united kingdom"
CREATE TABLE table_name_17 (label VARCHAR, region VARCHAR)
What is the home score with marek dupnitsa as opponent?
SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa"
CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)
Which college with a position of rb had a pick larger than 6 in round 28?
SELECT college FROM table_name_19 WHERE pick > 6 AND position = "rb" AND round = 28
CREATE TABLE table_name_19 (college VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
Which player was Pick #40?
SELECT player FROM table_name_98 WHERE pick__number = "40"
CREATE TABLE table_name_98 (player VARCHAR, pick__number VARCHAR)
During what year was Wicked associated with the Green Room Awards?
SELECT year FROM table_name_44 WHERE production = "wicked" AND award = "green room awards"
CREATE TABLE table_name_44 (year VARCHAR, production VARCHAR, award VARCHAR)
On what date was the game at Lincoln Financial Field?
SELECT date FROM table_name_40 WHERE game_site = "lincoln financial field"
CREATE TABLE table_name_40 (date VARCHAR, game_site VARCHAR)
What is the competition that was at serravalle, san marino?
SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino"
CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)
How many Liquidat (c) have a purpose of dual (machine & hand composition)?
SELECT COUNT(liquidat__) AS °c_ FROM table_name_94 WHERE purpose = "dual (machine & hand composition)"
CREATE TABLE table_name_94 (liquidat__ VARCHAR, purpose VARCHAR)
Name the popultion density being manthai west
SELECT population_density___km_2__ FROM table_24574438_1 WHERE ds_division = "Manthai West"
CREATE TABLE table_24574438_1 (population_density___km_2__ VARCHAR, ds_division VARCHAR)
What is the name/designation for Operational Status and a range of 1,930km?
SELECT name_designation FROM table_name_85 WHERE status = "operational" AND range__varies_with_payload_weight_ = "1,930km"
CREATE TABLE table_name_85 (name_designation VARCHAR, status VARCHAR, range__varies_with_payload_weight_ VARCHAR)
What notes are for years earlier than 2010?
SELECT notes FROM table_name_50 WHERE year < 2010
CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER)
Tell me the name with best of 58.403
SELECT name FROM table_name_46 WHERE best = "58.403"
CREATE TABLE table_name_46 (name VARCHAR, best VARCHAR)
Show the shop addresses ordered by their opening year.
SELECT address FROM shop ORDER BY open_year
CREATE TABLE shop (address VARCHAR, open_year VARCHAR)
What is the repeat date of the episode that aired 22/12/1968?
SELECT repeatairdate_s_ FROM table_13403120_1 WHERE originalairdate = "22/12/1968"
CREATE TABLE table_13403120_1 (repeatairdate_s_ VARCHAR, originalairdate VARCHAR)
What is the platform for the game of the third-person shooter genre?
SELECT platform_s_ FROM table_name_65 WHERE genre = "third-person shooter"
CREATE TABLE table_name_65 (platform_s_ VARCHAR, genre VARCHAR)
What is the census division for the city named Kenora?
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"
CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)
What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7"
CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
What was the % 2006 rating in 2006 where there were 5 seats?
SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5
CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)
Which venue is rank 3?
SELECT venue FROM table_name_4 WHERE rank = "3"
CREATE TABLE table_name_4 (venue VARCHAR, rank VARCHAR)
Who has a religion of ☪ and more than 1853 votes?
SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪"
CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR)
How many losses does Cross Keys RFC have?
SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC"
CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR)
What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15?
SELECT MIN(best_score) FROM table_name_9 WHERE worst_dancer = "leeza gibbons" AND worst_score < 15
CREATE TABLE table_name_9 (best_score INTEGER, worst_dancer VARCHAR, worst_score VARCHAR)
When did grid 8 finish?
SELECT time_retired FROM table_name_66 WHERE grid = 8
CREATE TABLE table_name_66 (time_retired VARCHAR, grid VARCHAR)
what is the highest draw when the place is less than 3 and the percentage is 30.71%?
SELECT MAX(draw) FROM table_name_61 WHERE place < 3 AND percentage = "30.71%"
CREATE TABLE table_name_61 (draw INTEGER, place VARCHAR, percentage VARCHAR)
What position is the player who was on the Grizzlies from 1995-1996?
SELECT position FROM table_16494599_1 WHERE years_for_grizzlies = "1995-1996"
CREATE TABLE table_16494599_1 (position VARCHAR, years_for_grizzlies VARCHAR)
Who has a license of proprietary (available on inquiry)?
SELECT name FROM table_name_67 WHERE license = "proprietary (available on inquiry)"
CREATE TABLE table_name_67 (name VARCHAR, license VARCHAR)
Which English winning song had the winner aris runtuwene?
SELECT WINNING_SONG(English AS Title) FROM table_name_7 WHERE winner = "aris runtuwene"
CREATE TABLE table_name_7 (English VARCHAR, winner VARCHAR)
How was the player in the position of Center acquired?
SELECT acquisition_via FROM table_name_26 WHERE position = "center"
CREATE TABLE table_name_26 (acquisition_via VARCHAR, position VARCHAR)
List all club names in descending alphabetical order.
SELECT name FROM club ORDER BY name DESC
CREATE TABLE club (name VARCHAR)
Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches?
SELECT SUM(matches) FROM table_name_1 WHERE nationality = "england" AND lost > 39 AND win__percentage = 28.7 AND drawn < 37
CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)
What is the traditional Chinese character set for the location that has an area of 181?
SELECT traditional_chinese FROM table_1982739_2 WHERE area = 181
CREATE TABLE table_1982739_2 (traditional_chinese VARCHAR, area VARCHAR)
Which average lost that has a match less than 14?
SELECT AVG(lost) FROM table_name_9 WHERE match < 14
CREATE TABLE table_name_9 (lost INTEGER, match INTEGER)
How many goals against when the draws are fewer than 3?
SELECT MAX(goals_against) FROM table_name_20 WHERE drawn < 3
CREATE TABLE table_name_20 (goals_against INTEGER, drawn INTEGER)
What is the division for the year 2006?
SELECT division FROM table_1427998_1 WHERE year = 2006
CREATE TABLE table_1427998_1 (division VARCHAR, year VARCHAR)
Which 2008 has a 2009 of A, and a Tournament of cincinnati masters?
SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters"
CREATE TABLE table_name_39 (tournament VARCHAR)
What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play?
SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982"
CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)
what is the diameter (km) of longitude 170.1e
SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = "170.1E"
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR)
Who were the umpires when Paul Medhurst (C) won the Simpson Medal?
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
For each election cycle, report the number of voting records.
SELECT Election_Cycle, COUNT(*) FROM VOTING_RECORD GROUP BY Election_Cycle
CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)
How many conflicts started in Afghanistan?
SELECT COUNT(start_of_conflict) FROM table_1921_1 WHERE location = "Afghanistan"
CREATE TABLE table_1921_1 (start_of_conflict VARCHAR, location VARCHAR)
What airport has an ICAP of BGBW?
SELECT airport FROM table_name_68 WHERE icao = "bgbw"
CREATE TABLE table_name_68 (airport VARCHAR, icao VARCHAR)
What is every name origin with the name Ovda Fluctus?
SELECT name AS origin FROM table_16799784_12 WHERE name = "Ovda Fluctus"
CREATE TABLE table_16799784_12 (name VARCHAR)
What is the record of the team with a St. Louis home?
SELECT record FROM table_name_18 WHERE home = "st. louis"
CREATE TABLE table_name_18 (record VARCHAR, home VARCHAR)
Tell me the name for Investigation of thrombus imaging and Route of administration of iv
SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging"
CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
What episode was written by Matt Maclennan?
SELECT MAX(episode__number) FROM table_27155243_4 WHERE written_by = "Matt MacLennan"
CREATE TABLE table_27155243_4 (episode__number INTEGER, written_by VARCHAR)
What is the sum of the glyph with a binary less than 111001, an octal less than 65, and a hexadecimal less than 30?
SELECT SUM(glyph) FROM table_name_96 WHERE binary < 111001 AND octal < 65 AND hexadecimal < 30
CREATE TABLE table_name_96 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR, octal VARCHAR)
Which Location Attendance has a Game larger than 5?
SELECT location_attendance FROM table_name_32 WHERE game > 5
CREATE TABLE table_name_32 (location_attendance VARCHAR, game INTEGER)
Who has a nationality of Czech Republic and a position of right wing?
SELECT player FROM table_name_49 WHERE position = "right wing" AND nationality = "czech republic"
CREATE TABLE table_name_49 (player VARCHAR, position VARCHAR, nationality VARCHAR)
What nation is the cyclist from team discovery channel?
SELECT nation FROM table_name_22 WHERE team = "discovery channel"
CREATE TABLE table_name_22 (nation VARCHAR, team VARCHAR)
Which round was Brian Elder taken in?
SELECT MIN(round) FROM table_name_15 WHERE player = "brian elder"
CREATE TABLE table_name_15 (round INTEGER, player VARCHAR)
What was the 6-4 score's maximum attendance?
SELECT MAX(attendance) FROM table_27537518_4 WHERE score = "6-4"
CREATE TABLE table_27537518_4 (attendance INTEGER, score VARCHAR)