answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)" | CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR) | What is the sum of the people in attendance when there was a Loss of clement (5–7)? |
SELECT place FROM table_name_57 WHERE player = "corey pavin" | CREATE TABLE table_name_57 (place VARCHAR, player VARCHAR) | What place was Corey Pavin in? |
SELECT score FROM table_name_45 WHERE player = "bob tway" | CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR) | What was the two-round score for Bob Tway? |
SELECT SUM(attendance) FROM table_name_54 WHERE game > 2 AND time = "2:37" | CREATE TABLE table_name_54 (attendance INTEGER, game VARCHAR, time VARCHAR) | How many people went to the game that lasted 2:37 after game 2? |
SELECT fcc_info FROM table_name_64 WHERE frequency_mhz < 96.3 AND call_sign = "w214ba" | CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | What is the FCC info of the w214ba call sign with a frequency below 96.3? |
SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak" | CREATE TABLE table_name_81 (erp_w VARCHAR, call_sign VARCHAR) | What is the total number of the ERP W with a call sign of w242ak? |
SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida" | CREATE TABLE table_name_48 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida? |
SELECT date FROM table_name_42 WHERE outcome = "runner-up" AND score = "6–4, 6–2" AND opponents = "gisela dulko flavia pennetta" | CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, outcome VARCHAR, score VARCHAR) | What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta? |
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin" | CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR) | In Round 10, what was the Overall for Ed Tomlin? |
SELECT position FROM table_name_53 WHERE round < 5 AND pick__number = 23 AND overall = 23 | CREATE TABLE table_name_53 (position VARCHAR, overall VARCHAR, round VARCHAR, pick__number VARCHAR) | What was the Position of Pick #23 in a Round less than 5 with 23 Overall? |
SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296 | CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR) | What Average Pick # has an Overall of 296? |
SELECT pick__number FROM table_name_53 WHERE overall > 23 AND position = "guard" AND round = 13 | CREATE TABLE table_name_53 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) | In Round 13, what was the Pick # of the Guard Position with an Overall greater than 23? |
SELECT SUM(round) FROM table_name_19 WHERE name = "jim duncan" AND overall > 107 | CREATE TABLE table_name_19 (round INTEGER, name VARCHAR, overall VARCHAR) | With an Overall larger than 107, in what Round was Jim Duncan picked? |
SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore" | CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR) | What is the highest Pick # for the College of Maryland-Eastern Shore? |
SELECT MAX(points) FROM table_name_72 WHERE year > 1950 AND engine = "offenhauser l4" AND entrant = "brown motors" | CREATE TABLE table_name_72 (points INTEGER, entrant VARCHAR, year VARCHAR, engine VARCHAR) | What is Brown Motors best point total using the Offenhauser L4 engine since 1950? |
SELECT length FROM table_name_41 WHERE stage = "ss6" | CREATE TABLE table_name_41 (length VARCHAR, stage VARCHAR) | Name the length for stage of ss6 |
SELECT stage FROM table_name_51 WHERE rally_leader = "m. grönholm" AND winner = "s.loeb" AND time__eest_ = "17:57" | CREATE TABLE table_name_51 (stage VARCHAR, time__eest_ VARCHAR, rally_leader VARCHAR, winner VARCHAR) | Name the stage for m. grönholm and winner of s.loeb with time of 17:57 |
SELECT winner FROM table_name_82 WHERE name = "schimatari 1" | CREATE TABLE table_name_82 (winner VARCHAR, name VARCHAR) | Name the winner for schimatari 1 |
SELECT stage FROM table_name_85 WHERE time__eest_ = "08:46" | CREATE TABLE table_name_85 (stage VARCHAR, time__eest_ VARCHAR) | Name the stage for 08:46 |
SELECT winner FROM table_name_51 WHERE rally_leader = "c. atkinson" AND name = "agia sotira 1" | CREATE TABLE table_name_51 (winner VARCHAR, rally_leader VARCHAR, name VARCHAR) | Name the winner with rally leader of c. atkinson and name of agia sotira 1 |
SELECT winner FROM table_name_82 WHERE stage = "ss14" | CREATE TABLE table_name_82 (winner VARCHAR, stage VARCHAR) | Name the winner for ss14 |
SELECT loss FROM table_name_37 WHERE opponent = "mariners" AND date = "september 12" | CREATE TABLE table_name_37 (loss VARCHAR, opponent VARCHAR, date VARCHAR) | Who lost when the mariners played on September 12? |
SELECT record FROM table_name_63 WHERE date = "september 7" | CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR) | On September 7 what was the record? |
SELECT opponent FROM table_name_48 WHERE date = "september 29" | CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR) | Who plays on the date september 29? |
SELECT city_of_license FROM table_name_34 WHERE call_sign = "wriq" | CREATE TABLE table_name_34 (city_of_license VARCHAR, call_sign VARCHAR) | Which city of license has a wriq Call sign? |
SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = "b1" | CREATE TABLE table_name_99 (frequency_mhz INTEGER, class VARCHAR) | What is the total of Frequency MHz with a Class of b1? |
SELECT erp_w FROM table_name_50 WHERE class = "a" AND call_sign = "wffc" | CREATE TABLE table_name_50 (erp_w VARCHAR, class VARCHAR, call_sign VARCHAR) | Which ERP W has a Class of A, and a Call sign of wffc? |
SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia" | CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR) | Which class City of license of ferrum, virginia? |
SELECT call_sign FROM table_name_1 WHERE class = "a" AND frequency_mhz = 88.7 | CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR) | Which call sign has a Class of A, and a Frequency MHz of 88.7? |
SELECT COUNT(heat) FROM table_name_49 WHERE time = "58.44" | CREATE TABLE table_name_49 (heat VARCHAR, time VARCHAR) | what heat number had a time of 58.44? |
SELECT lane FROM table_name_86 WHERE nationality = "new zealand" | CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR) | what lane was new zealand in? |
SELECT stage FROM table_name_89 WHERE course = "reggio calabria to catanzaro" | CREATE TABLE table_name_89 (stage VARCHAR, course VARCHAR) | What stage of the race was held on the course Reggio Calabria to Catanzaro? |
SELECT winner FROM table_name_97 WHERE course = "rome to teramo" | CREATE TABLE table_name_97 (winner VARCHAR, course VARCHAR) | Who was the winner for the Rome to Teramo course? |
SELECT winner FROM table_name_25 WHERE stage = "11" | CREATE TABLE table_name_25 (winner VARCHAR, stage VARCHAR) | Who was the winner of stage 11? |
SELECT AVG(apps) FROM table_name_64 WHERE country = "indonesia" AND goals < 1000 | CREATE TABLE table_name_64 (apps INTEGER, country VARCHAR, goals VARCHAR) | What is the average Apps of indonesia with Goals smaller than 1000? |
SELECT division FROM table_name_83 WHERE team = "traktor tashkent" AND season = "2005" | CREATE TABLE table_name_83 (division VARCHAR, team VARCHAR, season VARCHAR) | What division is Traktor Tashkent in 2005? |
SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003" | CREATE TABLE table_name_41 (apps VARCHAR, country VARCHAR, season VARCHAR) | How many apps does Uzbekistan have in 2003? |
SELECT attendance FROM table_name_5 WHERE record = "74-77" | CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR) | What was the attendance at the game when the record was 74-77? |
SELECT score FROM table_name_23 WHERE record = "72-74" | CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR) | What was score of the game when the record was 72-74? |
SELECT airdate FROM table_name_34 WHERE episode_no < 4 AND bbc_one_weekly_ranking = 6 | CREATE TABLE table_name_34 (airdate VARCHAR, episode_no VARCHAR, bbc_one_weekly_ranking VARCHAR) | What were the air-dates of the episodes before episode 4 that had a BBC One weekly ranking of 6? |
SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 4 | CREATE TABLE table_name_30 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR) | What was the total viewership for BBC One weekly rankings larger than 7, before episode 4? |
SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0 | CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | Name the most rank with bronze of 0 and silver more than 1 and gold more than 0 |
SELECT AVG(silver) FROM table_name_5 WHERE total < 1 | CREATE TABLE table_name_5 (silver INTEGER, total INTEGER) | Name the average silver with total less than 1 |
SELECT AVG(year) FROM table_name_47 WHERE result = "nominated" | CREATE TABLE table_name_47 (year INTEGER, result VARCHAR) | Name the average year for result of nominated |
SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival" | CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR) | Name the nominated work for 1996 and festival of black maria film and video festival |
SELECT date FROM table_name_6 WHERE venue = "away" AND win_draw_lose = "lost" AND team = "accrington" | CREATE TABLE table_name_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR) | What was the date of the away game that they lost to Accrington? |
SELECT date FROM table_name_65 WHERE team = "accrington" AND venue = "home" | CREATE TABLE table_name_65 (date VARCHAR, team VARCHAR, venue VARCHAR) | What was the date of the home game against Accrington? |
SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county" | CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR) | What was the result of the home game against Derby County? |
SELECT standard_cost__usd_ FROM table_name_27 WHERE creator = "hans oischinger" | CREATE TABLE table_name_27 (standard_cost__usd_ VARCHAR, creator VARCHAR) | What is the Standard cost (USD) by hans Oischinger Creator ? |
SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team" | CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR) | What is the Standard cost (USD) of Kwin team creator? |
SELECT creator FROM table_name_45 WHERE latest_stable_version = "0.5.2 (part of compiz fusion release)" | CREATE TABLE table_name_45 (creator VARCHAR, latest_stable_version VARCHAR) | Who is the Creator that has a version of 0.5.2 (part of compiz fusion release)? |
SELECT name FROM table_name_47 WHERE creator = "hyriand" | CREATE TABLE table_name_47 (name VARCHAR, creator VARCHAR) | Who is a Creator of hyriand? |
SELECT COUNT(attendance) FROM table_name_68 WHERE game > 6 | CREATE TABLE table_name_68 (attendance VARCHAR, game INTEGER) | What is the number of people who attended the game later than game 6? |
SELECT title FROM table_name_29 WHERE year > 1986 AND format_s_ = "album" | CREATE TABLE table_name_29 (title VARCHAR, year VARCHAR, format_s_ VARCHAR) | Which title has a year later than 1986 with an album as the format? |
SELECT AVG(year) FROM table_name_70 WHERE date = "february 24" | CREATE TABLE table_name_70 (year INTEGER, date VARCHAR) | Which is the average year with the date of February 24? |
SELECT award_description_s_ FROM table_name_84 WHERE year > 1994 AND date = "december 6" | CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR) | Which award description has a year later than 1994 with a date of December 6? |
SELECT COUNT(goal) FROM table_name_91 WHERE date = "december 4, 2010" AND score = "1-0" | CREATE TABLE table_name_91 (goal VARCHAR, date VARCHAR, score VARCHAR) | How many goals have a Date of december 4, 2010, and a Score of 1-0? |
SELECT venue FROM table_name_91 WHERE competition = "2008 myanmar grand royal challenge cup" | CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR) | Which venue has a Competition of 2008 myanmar grand royal challenge cup? |
SELECT venue FROM table_name_62 WHERE goal = 4 | CREATE TABLE table_name_62 (venue VARCHAR, goal VARCHAR) | Which venue has a Goal of 4? |
SELECT MAX(goal) FROM table_name_14 WHERE score = "3-0" | CREATE TABLE table_name_14 (goal INTEGER, score VARCHAR) | What is the largest goal with a Score of 3-0? |
SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010" | CREATE TABLE table_name_37 (opponents_in_the_final VARCHAR, date VARCHAR, partnering VARCHAR, surface VARCHAR) | Who did Bruno Soares and a partner face in the finals on a clay surface on August 1, 2010? |
SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]" | CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR) | What surface was played on that resulted in a score of 4–6, 6–2, [10–7]? |
SELECT outcome FROM table_name_55 WHERE date = "may 25, 2009" | CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR) | What was the outcome on May 25, 2009? |
SELECT outcome FROM table_name_55 WHERE date = "may 18, 2008" | CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR) | What was the outcome on May 18, 2008? |
SELECT place FROM table_name_53 WHERE player = "heath slocum" | CREATE TABLE table_name_53 (place VARCHAR, player VARCHAR) | what is the place for Heath Slocum? |
SELECT attendance FROM table_name_9 WHERE date = "august 29" | CREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR) | What is the attendance for august 29? |
SELECT loss FROM table_name_47 WHERE opponent = "@ angels" AND date = "august 1" | CREATE TABLE table_name_47 (loss VARCHAR, opponent VARCHAR, date VARCHAR) | Which loss has an Opponent of @ angels, and a Date of august 1? |
SELECT score FROM table_name_99 WHERE attendance = "31,178" | CREATE TABLE table_name_99 (score VARCHAR, attendance VARCHAR) | Which score has an Attendance of 31,178? |
SELECT record FROM table_name_8 WHERE date = "august 28" | CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR) | Which record has a Date of august 28? |
SELECT loss FROM table_name_55 WHERE attendance = "23,952" | CREATE TABLE table_name_55 (loss VARCHAR, attendance VARCHAR) | Which loss has an Attendance of 23,952? |
SELECT opponent FROM table_name_28 WHERE loss = "corcoran (4-4)" | CREATE TABLE table_name_28 (opponent VARCHAR, loss VARCHAR) | Which opponent has a Loss of corcoran (4-4)? |
SELECT location FROM table_name_30 WHERE competition = "gold medal match" | CREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR) | What is the location of the gold medal match? |
SELECT lineup FROM table_name_29 WHERE result = "1-0 aet w" | CREATE TABLE table_name_29 (lineup VARCHAR, result VARCHAR) | What was the lineup that resulted in 1-0 AET W? |
SELECT result FROM table_name_97 WHERE match = "25" | CREATE TABLE table_name_97 (result VARCHAR, match VARCHAR) | What was the result of match 25? |
SELECT result FROM table_name_13 WHERE location = "london 2012 women's olympic football tournament" | CREATE TABLE table_name_13 (result VARCHAR, location VARCHAR) | What is the result of the London 2012 Women's Olympic Football Tournament? |
SELECT score FROM table_name_7 WHERE loss = "wegman (2-6)" | CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR) | What was the score of the game that had a loss of Wegman (2-6)? |
SELECT record FROM table_name_55 WHERE loss = "blyleven (4-5)" | CREATE TABLE table_name_55 (record VARCHAR, loss VARCHAR) | What was the record at the game that had a loss of Blyleven (4-5)? |
SELECT city FROM table_name_74 WHERE jul = "88 °f / 31.1 °c" | CREATE TABLE table_name_74 (city VARCHAR, jul VARCHAR) | Name the city with july of 88 °f / 31.1 °c |
SELECT city FROM table_name_63 WHERE feb = "66 °f / 18.9 °c" | CREATE TABLE table_name_63 (city VARCHAR, feb VARCHAR) | Name the city with Feb of 66 °f / 18.9 °c |
SELECT city FROM table_name_15 WHERE sep = "83 °f / 28.3 °c" | CREATE TABLE table_name_15 (city VARCHAR, sep VARCHAR) | Name the city with september of 83 °f / 28.3 °c |
SELECT jun FROM table_name_28 WHERE jul = "84 °f / 28.9 °c" | CREATE TABLE table_name_28 (jun VARCHAR, jul VARCHAR) | Name the june when it has july of 84 °f / 28.9 °c |
SELECT time FROM table_name_84 WHERE date = "may 9" | CREATE TABLE table_name_84 (time VARCHAR, date VARCHAR) | What Time has Date of May 9? |
SELECT MIN(roll) FROM table_name_37 WHERE name = "katikati college" | CREATE TABLE table_name_37 (roll INTEGER, name VARCHAR) | What is the lowest roll number of Katikati college? |
SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area = "te puna" | CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR) | What is the highest roll number of the school in Te puna with a decile larger than 2? |
SELECT roll FROM table_name_62 WHERE decile = 4 AND name = "te puke intermediate" | CREATE TABLE table_name_62 (roll VARCHAR, decile VARCHAR, name VARCHAR) | What is the roll number of Te Puke Intermediate, which has a decile of 4? |
SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 8 | CREATE TABLE table_name_79 (roll INTEGER, authority VARCHAR, decile VARCHAR) | What is the highest roll number of the school with a state authority and a decile smaller than 8? |
SELECT SUM(lost) FROM table_name_10 WHERE points > 21 AND draw = 2 | CREATE TABLE table_name_10 (lost INTEGER, points VARCHAR, draw VARCHAR) | What is the total value for Lost, when the value for Points is greater than 21, and when the value for Draw is 2? |
SELECT MAX(goals_scored) FROM table_name_33 WHERE team = "san salvador f.c." AND points < 10 | CREATE TABLE table_name_33 (goals_scored INTEGER, team VARCHAR, points VARCHAR) | What is the total number of Goals Scored, when the Team is San Salvador F.C., and when the Points are less than 10? |
SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18 | CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR) | What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18? |
SELECT AVG(lost) FROM table_name_95 WHERE goals_scored > 20 AND played < 18 | CREATE TABLE table_name_95 (lost INTEGER, goals_scored VARCHAR, played VARCHAR) | What is the average value for Lost, when the value for Goals Scored is greater than 20, and when the value for Played is less than 18? |
SELECT score FROM table_name_20 WHERE place = "t8" AND player = "byron nelson" | CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, player VARCHAR) | What is score of the game played in place t8 with Byron Nelson playing? |
SELECT SUM(money___) AS $__ FROM table_name_55 WHERE country = "united states" AND player = "sam snead" | CREATE TABLE table_name_55 (money___ INTEGER, country VARCHAR, player VARCHAR) | What is the sum of Money of the game that was played in the United States with Sam Snead as a player? |
SELECT MAX(money___) AS $__ FROM table_name_57 WHERE score = 69 - 74 - 70 - 73 = 286 | CREATE TABLE table_name_57 (money___ INTEGER, score VARCHAR) | What is the Money ($) of the game with a score of 69-74-70-73=286? |
SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = "francesco casagrande" AND intergiro_classification = "not awarded" AND stage = "2" | CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR) | Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2 |
SELECT winner FROM table_name_89 WHERE points_classification = "adriano baffi" AND intergiro_classification = "ján svorada" AND stage = "13" | CREATE TABLE table_name_89 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, intergiro_classification VARCHAR) | Name the winner for adriano baffi and integiro classification of ján svorada for stage of 13 |
SELECT trofeo_fast_team FROM table_name_55 WHERE young_rider_classification = "francesco casagrande" AND stage = "10" | CREATE TABLE table_name_55 (trofeo_fast_team VARCHAR, young_rider_classification VARCHAR, stage VARCHAR) | Name trofeo fast team with young rider classification of francesco casagrande and stage of 10 |
SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6 | CREATE TABLE table_name_69 (total INTEGER, routine_score VARCHAR) | What is the sum of the total for a routine score of 26.6? |
SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin" | CREATE TABLE table_name_53 (january VARCHAR, april VARCHAR) | Name the january when april is courtney rachel culkin |
SELECT october FROM table_name_17 WHERE november = "buffy tyler" | CREATE TABLE table_name_17 (october VARCHAR, november VARCHAR) | Name the october when november is buffy tyler |
SELECT october FROM table_name_47 WHERE september = "dalene kurtis" | CREATE TABLE table_name_47 (october VARCHAR, september VARCHAR) | Name the october when the september is dalene kurtis |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.