answer stringlengths 32 484 | context stringlengths 27 489 | question stringlengths 12 244 |
|---|---|---|
SELECT outcome FROM table_name_35 WHERE surface = "carpet" | CREATE TABLE table_name_35 (outcome VARCHAR, surface VARCHAR) | What is the Outcome of the Doubles played on Carpet? |
SELECT surface FROM table_name_26 WHERE partner = "debbie graham" | CREATE TABLE table_name_26 (surface VARCHAR, partner VARCHAR) | What was the Surface during the match with Partner Debbie Graham? |
SELECT partner FROM table_name_91 WHERE date = "february 23, 1997" | CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR) | What was the Partner on February 23, 1997? |
SELECT tournament FROM table_name_64 WHERE surface = "clay" AND date = "may 24, 1992" | CREATE TABLE table_name_64 (tournament VARCHAR, surface VARCHAR, date VARCHAR) | What was the Tournament on May 24, 1992 played on a Clay Surface? |
SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6" | CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR) | What was the Surface in the match with a Score of 7–5, 6–7, 4–6? |
SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah" | CREATE TABLE table_name_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) | What is the frequency MHz in tremonton, utah with a ERP W larger than 30? |
SELECT MAX(erp_w) FROM table_name_59 WHERE call_sign = "k275av" | CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR) | What is k275av call sign's highest erp w? |
SELECT year FROM table_name_96 WHERE playoffs = "american conference semifinals" | CREATE TABLE table_name_96 (year VARCHAR, playoffs VARCHAR) | Name the year for american conference semifinals |
SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals" | CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR) | Name the total number of years for quarterfinals |
SELECT runner_up FROM table_name_54 WHERE season < 2005 | CREATE TABLE table_name_54 (runner_up VARCHAR, season INTEGER) | Who is the Runner-up that has a Season less than 2005? |
SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen" | CREATE TABLE table_name_52 (season INTEGER, score VARCHAR) | Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? |
SELECT season FROM table_name_31 WHERE score = "3 – 3 aet , 4–3 pen" | CREATE TABLE table_name_31 (season VARCHAR, score VARCHAR) | Which Season has a Score of 3 – 3 aet , 4–3 pen |
SELECT COUNT(round) FROM table_name_24 WHERE overall = 211 | CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR) | How many rounds had an overall of 211? |
SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134 | CREATE TABLE table_name_60 (pick__number INTEGER, position VARCHAR, overall VARCHAR) | What is the mean pick number for the cornerback position when the overall is less than 134? |
SELECT SUM(1956) FROM table_name_40 WHERE county = "vâlcea" AND 2011 < 371714 | CREATE TABLE table_name_40 (county VARCHAR) | Which 1956 has a County of vâlcea, and a 2011 smaller than 371714? |
SELECT MIN(2011) FROM table_name_81 WHERE 1948 < 15872624 AND 1966 = 263103 AND 1992 > 266308 | CREATE TABLE table_name_81 (Id VARCHAR) | Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308? |
SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524 | CREATE TABLE table_name_12 (Id VARCHAR) | Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524? |
SELECT MIN(1977) FROM table_name_23 WHERE county = "zzz bucharest" AND 2011 < 1883425 | CREATE TABLE table_name_23 (county VARCHAR) | Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425? |
SELECT game_site FROM table_name_23 WHERE attendance = "54,040" | CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR) | What is the site of the game that had an attendance of 54,040? |
SELECT attendance FROM table_name_6 WHERE opponent = "houston oilers" | CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR) | What is the attendance of the game against the houston oilers? |
SELECT date FROM table_name_49 WHERE week = 7 | CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR) | What was the date of the game on week 7? |
SELECT attendance FROM table_name_53 WHERE game_site = "bye" | CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR) | How many fans attended the game at Bye? |
SELECT winner FROM table_name_12 WHERE location = "iowa" | CREATE TABLE table_name_12 (winner VARCHAR, location VARCHAR) | Which winner had a location of Iowa? |
SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)" | CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR) | Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)? |
SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open" | CREATE TABLE table_name_30 (partner VARCHAR, surface VARCHAR, championship VARCHAR) | Who was the partner when the championship was us open on a hard surface? |
SELECT surface FROM table_name_55 WHERE partner = "julie halard" AND score_in_the_final = "6–3, 6–2" | CREATE TABLE table_name_55 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR) | What was the surface for Julie Halard when the final score was 6–3, 6–2? |
SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "serena williams venus williams" AND surface = "hard" | CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR, surface VARCHAR) | What was the outcome when the oppenent was serena williams venus williams and had a hard surface? |
SELECT COUNT(played) FROM table_name_1 WHERE drawn = 2 AND position > 3 AND points < 10 | CREATE TABLE table_name_1 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR) | How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10? |
SELECT AVG(against) FROM table_name_24 WHERE difference = "10" AND lost < 2 | CREATE TABLE table_name_24 (against INTEGER, difference VARCHAR, lost VARCHAR) | Which average Against has a Difference of 10, and a Lost smaller than 2? |
SELECT AVG(attendance) FROM table_name_71 WHERE result_f___a = "0 – 2" AND date = "31 january 1903" | CREATE TABLE table_name_71 (attendance INTEGER, result_f___a VARCHAR, date VARCHAR) | How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903? |
SELECT attendance FROM table_name_37 WHERE date = "13 april 1903" | CREATE TABLE table_name_37 (attendance VARCHAR, date VARCHAR) | How many Attendances on 13 april 1903? |
SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903" | CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR) | How many Attendances have a H / A of h on 7 march 1903? |
SELECT opponents FROM table_name_50 WHERE h___a = "a" AND result_f___a = "2 – 0" AND attendance > 30 OFFSET 000 | CREATE TABLE table_name_50 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR) | Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000? |
SELECT date FROM table_name_31 WHERE opponents = "lincoln city" AND h___a = "a" | CREATE TABLE table_name_31 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) | When is The Opponents of lincoln city and a H / A of a? |
SELECT score FROM table_name_83 WHERE december = 11 | CREATE TABLE table_name_83 (score VARCHAR, december VARCHAR) | What is the score for the Dec 11 game? |
SELECT AVG(game) FROM table_name_96 WHERE opponent = "phoenix coyotes" AND december < 9 | CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR, december VARCHAR) | Which game has an opponent of Phoenix Coyotes and was before Dec 9? |
SELECT MAX(december) FROM table_name_9 WHERE record = "11-13-5" | CREATE TABLE table_name_9 (december INTEGER, record VARCHAR) | What is the December game that led to an 11-13-5 record? |
SELECT record FROM table_name_1 WHERE game = 41 | CREATE TABLE table_name_1 (record VARCHAR, game VARCHAR) | What was the record after game 41? |
SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2 | CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR) | Which Overall has a College of florida state, and a Round larger than 2? |
SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137 | CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR) | How many Picks have a Position of kicker, and an Overall smaller than 137? |
SELECT position FROM table_name_99 WHERE pick__number = 18 | CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR) | Which Position has a Pick # of 18? |
SELECT college FROM table_name_37 WHERE round < 7 AND pick__number < 27 AND name = "anthony maddox" | CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR) | Which College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox? |
SELECT COUNT(overall) FROM table_name_53 WHERE pick__number > 9 AND round > 5 | CREATE TABLE table_name_53 (overall VARCHAR, pick__number VARCHAR, round VARCHAR) | How much Overall has a Pick # larger than 9, and a Round larger than 5? |
SELECT score FROM table_name_60 WHERE visitor = "spurs" AND record = "35–16" | CREATE TABLE table_name_60 (score VARCHAR, visitor VARCHAR, record VARCHAR) | Which score was for the Spurs as visitors with record of 35–16? |
SELECT record FROM table_name_67 WHERE home = "warriors" | CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR) | Which record was for Warriors at home? |
SELECT original_title FROM table_name_9 WHERE english_title = "malèna" | CREATE TABLE table_name_9 (original_title VARCHAR, english_title VARCHAR) | English title of malèna had what original title? |
SELECT english_title FROM table_name_79 WHERE original_title = "возвращение / vozvrashcheniye" | CREATE TABLE table_name_79 (english_title VARCHAR, original_title VARCHAR) | Original title of возвращение / vozvrashcheniye had what English title? |
SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier" | CREATE TABLE table_name_3 (year INTEGER, director VARCHAR) | Director of christophe barratier had what highest year? |
SELECT year FROM table_name_87 WHERE english_title = "amélie" | CREATE TABLE table_name_87 (year VARCHAR, english_title VARCHAR) | English title of amélie had what year? |
SELECT director FROM table_name_28 WHERE original_title = "das leben der anderen" | CREATE TABLE table_name_28 (director VARCHAR, original_title VARCHAR) | Original title of das leben der anderen had what director? |
SELECT director FROM table_name_13 WHERE role = "fred ayres" | CREATE TABLE table_name_13 (director VARCHAR, role VARCHAR) | Who was the director where the role was Fred Ayres? |
SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = "peter p. peters" | CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR) | What was the theatre where Peter P. Peters is the role? |
SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke" | CREATE TABLE table_name_12 (runner_s__up VARCHAR, margin VARCHAR) | Who are the Runner(s)-up with a Margin of 1 stroke? |
SELECT runner_s__up FROM table_name_49 WHERE margin = "3 strokes" | CREATE TABLE table_name_49 (runner_s__up VARCHAR, margin VARCHAR) | Who are the Runner(s)-up with a Margin of 3 strokes? |
SELECT MAX(year) FROM table_name_14 WHERE championship = "the open championship" | CREATE TABLE table_name_14 (year INTEGER, championship VARCHAR) | What is the highest Year with of the open championship? |
SELECT winning_score FROM table_name_57 WHERE year = 1956 | CREATE TABLE table_name_57 (winning_score VARCHAR, year VARCHAR) | What is the Winning score in 1956? |
SELECT winning_score FROM table_name_90 WHERE year = 1965 | CREATE TABLE table_name_90 (winning_score VARCHAR, year VARCHAR) | What is the Winning score in 1965? |
SELECT year FROM table_name_64 WHERE runner_s__up = "flory van donck" | CREATE TABLE table_name_64 (year VARCHAR, runner_s__up VARCHAR) | What Year had a Runner(s)-up of flory van donck? |
SELECT date FROM table_name_72 WHERE region = "new zealand" | CREATE TABLE table_name_72 (date VARCHAR, region VARCHAR) | What is the release Date for the Region in New Zealand ? |
SELECT date FROM table_name_16 WHERE region = "new zealand" | CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR) | What is the release Date for the New Zealand Region? |
SELECT date FROM table_name_90 WHERE catalogue = "602517739468" | CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR) | What is the Date of Catalogue number 602517739468? |
SELECT region FROM table_name_16 WHERE catalogue = "1785089" | CREATE TABLE table_name_16 (region VARCHAR, catalogue VARCHAR) | In what Region was the Catalogue number 1785089 released? |
SELECT city_of_license FROM table_name_5 WHERE frequency_mhz < 100.1 | CREATE TABLE table_name_5 (city_of_license VARCHAR, frequency_mhz INTEGER) | Which city of license has a frequency less than 100.1? |
SELECT erp_w FROM table_name_19 WHERE call_sign = "w261cq" | CREATE TABLE table_name_19 (erp_w VARCHAR, call_sign VARCHAR) | What is the ERP W with a call sign at w261cq? |
SELECT AVG(erp_w) FROM table_name_6 WHERE frequency_mhz > 100.1 | CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) | What is the average value for ERP W when frequency is more than 100.1? |
SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg" | CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR) | What frequency has call sign w228bg? |
SELECT AVG(erp_w) FROM table_name_70 WHERE city_of_license = "beardstown, illinois" AND frequency_mhz > 93.5 | CREATE TABLE table_name_70 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) | What is the average value of ERP W in Beardstown, Illinois for a frequency greater than 93.5? |
SELECT score FROM table_name_30 WHERE year = 2000 | CREATE TABLE table_name_30 (score VARCHAR, year VARCHAR) | What was the winning score in 2000? |
SELECT weekly_rank FROM table_name_43 WHERE airdate = "sunday, june 14, 2009" | CREATE TABLE table_name_43 (weekly_rank VARCHAR, airdate VARCHAR) | Name the weekly rank for sunday, june 14, 2009 |
SELECT MAX(pick__number) FROM table_name_25 WHERE overall = 184 AND round > 6 | CREATE TABLE table_name_25 (pick__number INTEGER, overall VARCHAR, round VARCHAR) | Which Pick # is the highest one that has an Overall of 184, and a Round larger than 6? |
SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114 | CREATE TABLE table_name_75 (pick__number VARCHAR, overall VARCHAR) | How many picks have an Overall of 114? |
SELECT MAX(overall) FROM table_name_26 WHERE name = "daimon shelton" AND round > 6 | CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR) | Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6? |
SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 3 | CREATE TABLE table_name_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR) | Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3? |
SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21 | CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR) | Which Position has an Overall larger than 147, and a Pick # of 21? |
SELECT MIN(pick__number) FROM table_name_13 WHERE college = "cornell" | CREATE TABLE table_name_13 (pick__number INTEGER, college VARCHAR) | What is cornell's lowest pick number? |
SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%" | CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR) | Which Eviction result has a Net vote of 31.86%? |
SELECT nominee FROM table_name_36 WHERE vote_to_save = "1.98%" | CREATE TABLE table_name_36 (nominee VARCHAR, vote_to_save VARCHAR) | Which Nominee has a Vote to Save of 1.98%? |
SELECT vote_to_evict FROM table_name_27 WHERE vote_to_save = "21.22%" | CREATE TABLE table_name_27 (vote_to_evict VARCHAR, vote_to_save VARCHAR) | Which Vote to Evict has a Vote to Save of 21.22%? |
SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%" | CREATE TABLE table_name_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR) | Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%? |
SELECT AVG(rank) FROM table_name_6 WHERE 2012 = 219 OFFSET 721 | CREATE TABLE table_name_6 (rank INTEGER) | What is the average rank of a nation that had 219,721 in 2012? |
SELECT SUM(round) FROM table_name_93 WHERE pick = 138 | CREATE TABLE table_name_93 (round INTEGER, pick VARCHAR) | In what Round was Pick 138? |
SELECT nationality FROM table_name_47 WHERE player = "john crawford" | CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR) | What is John Crawford's Nationality? |
SELECT erp_w FROM table_name_22 WHERE call_sign = "k236am" | CREATE TABLE table_name_22 (erp_w VARCHAR, call_sign VARCHAR) | What is the ERP W for K236AM? |
SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170 | CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR) | What is the average frequency in MHz for stations with an ERP W of 170? |
SELECT MIN(frequency_mhz) FROM table_name_51 WHERE call_sign = "k236am" | CREATE TABLE table_name_51 (frequency_mhz INTEGER, call_sign VARCHAR) | What is K236AM's lowest frequency in MHz? |
SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5 | CREATE TABLE table_name_49 (class VARCHAR, frequency_mhz INTEGER) | What class is assigned to frequencies lower than 90.5? |
SELECT class FROM table_name_60 WHERE frequency_mhz > 89.3 AND erp_w = 250 | CREATE TABLE table_name_60 (class VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | What class is assigned to frequencies larger than 89.3 with an ERP W of 250? |
SELECT score FROM table_name_11 WHERE home = "st. louis" | CREATE TABLE table_name_11 (score VARCHAR, home VARCHAR) | What did st. louis score at home? |
SELECT result FROM table_name_4 WHERE week = 1 | CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR) | What was the result of the game on week 1? |
SELECT record FROM table_name_34 WHERE week = 13 | CREATE TABLE table_name_34 (record VARCHAR, week VARCHAR) | What is the record of the game on week 13? |
SELECT MAX(killeen_rate) FROM table_name_89 WHERE texas_rate < 32.9 AND us_rate > 5.6 | CREATE TABLE table_name_89 (killeen_rate INTEGER, texas_rate VARCHAR, us_rate VARCHAR) | Texas Rate smaller than 32.9, and a U.S. Rate larger than 5.6 is what highest killeen rate? |
SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = "violent crime" | CREATE TABLE table_name_8 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR) | Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate? |
SELECT MIN(reported_offenses) FROM table_name_96 WHERE killeen_rate = 511.6 AND texas_rate < 314.4 | CREATE TABLE table_name_96 (reported_offenses INTEGER, killeen_rate VARCHAR, texas_rate VARCHAR) | Killeen Rate of 511.6, and a Texas Rate smaller than 314.4 is the lowest reported offenses? |
SELECT type FROM table_name_49 WHERE category = "mouse" AND attribute = "ondblclick" | CREATE TABLE table_name_49 (type VARCHAR, category VARCHAR, attribute VARCHAR) | Tell me the type for category of mouse and attribute of ondblclick |
SELECT type FROM table_name_79 WHERE cancelable = "no" AND attribute = "ondragend" | CREATE TABLE table_name_79 (type VARCHAR, cancelable VARCHAR, attribute VARCHAR) | Name the type with cancelable of no and attribute of ondragend |
SELECT cancelable FROM table_name_25 WHERE attribute = "onmouseover" | CREATE TABLE table_name_25 (cancelable VARCHAR, attribute VARCHAR) | Name the cancelable for onmouseover |
SELECT bubbles FROM table_name_12 WHERE attribute = "onscroll" | CREATE TABLE table_name_12 (bubbles VARCHAR, attribute VARCHAR) | Name the bubbles for onscroll |
SELECT attribute FROM table_name_81 WHERE category = "mutation" AND type = "domcharacterdatamodified" | CREATE TABLE table_name_81 (attribute VARCHAR, category VARCHAR, type VARCHAR) | Name the attribute for mutation and domcharacterdatamodified |
SELECT high_rebounds FROM table_name_15 WHERE date = "may 1" | CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR) | Who had high rebounds on May 1? |
SELECT location_attendance FROM table_name_30 WHERE score = "l 92–116" | CREATE TABLE table_name_30 (location_attendance VARCHAR, score VARCHAR) | What location attendance had a score of l 92–116? |
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.