answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT points_difference FROM table_20760802_1 WHERE points_for = "134" | How many points differ from 134? | CREATE TABLE table_20760802_1 (points_difference VARCHAR, points_for VARCHAR) |
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2003 EuroBasket" | How many rebounds per game did he have at the 2003 eurobasket? | CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) |
SELECT away_team FROM table_name_81 WHERE tie_no = "29" | What is the away team for the tie no. 29? | CREATE TABLE table_name_81 (away_team VARCHAR, tie_no VARCHAR) |
SELECT decile FROM table_name_10 WHERE authority = "state" AND roll = 798 | For a school with authority of state and a roll of 798, what is the decile? | CREATE TABLE table_name_10 (decile VARCHAR, authority VARCHAR, roll VARCHAR) |
SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan" | Which Year has a Finish of 22, and a Team of swan? | CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR) |
SELECT venue FROM table_name_23 WHERE away_team = "north melbourne" | Where did north melbourne play while away? | CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR) |
SELECT COUNT(jurisdiction) FROM table_120778_1 WHERE percent_for = "57.3" | What is the number of jurisdiction for 57.3 percent? | CREATE TABLE table_120778_1 (jurisdiction VARCHAR, percent_for VARCHAR) |
SELECT high_assists FROM table_27902171_4 WHERE record = "0-1" | Who had the high assist total when the team was 0-1? | CREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR) |
SELECT COUNT(*) FROM race | How many races are there? | CREATE TABLE race (Id VARCHAR) |
SELECT segment_a FROM table_15187735_6 WHERE segment_c = "s Sailboard" | What is the Segment A for when Segment C is s Sailboard? | CREATE TABLE table_15187735_6 (segment_a VARCHAR, segment_c VARCHAR) |
SELECT h_a_n FROM table_name_55 WHERE date = "february 24" | What is H/A/N when Date is February 24? | CREATE TABLE table_name_55 (h_a_n VARCHAR, date VARCHAR) |
SELECT position FROM table_10015132_11 WHERE school_club_team = "Butler CC (KS)" | What position does the player who played for butler cc (ks) play? | CREATE TABLE table_10015132_11 (position VARCHAR, school_club_team VARCHAR) |
SELECT film_title_used_in_nomination FROM table_name_18 WHERE country = "netherlands" | What was the film title nominated from the Netherlands? | CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, country VARCHAR) |
SELECT date FROM table_name_40 WHERE record = "31–19–9" | What was the date of the game when the Canadiens had a record of 31–19–9? | CREATE TABLE table_name_40 (date VARCHAR, record VARCHAR) |
SELECT member_senator FROM table_name_4 WHERE first_elected = 2002 AND district > 41 | Who was firest elected in 2002 in a district larger than 41? | CREATE TABLE table_name_4 (member_senator VARCHAR, first_elected VARCHAR, district VARCHAR) |
SELECT rank FROM table_name_12 WHERE area__sq_mi_ < 48 AND area__km²_ > 104 AND island = "sula, sogn og fjordane" | Which rank has a smaller area (sq mi) than 48, and an area (km2) greater than 104, and an island of sula, sogn og fjordane? | CREATE TABLE table_name_12 (rank VARCHAR, island VARCHAR, area__sq_mi_ VARCHAR, area__km²_ VARCHAR) |
SELECT ratio FROM table_name_57 WHERE unit = "zolotnik" | What Ratio has a Unit of zolotnik? | CREATE TABLE table_name_57 (ratio VARCHAR, unit VARCHAR) |
SELECT date FROM table_name_94 WHERE opponent = "lyoto machida" | when is the opponent lyoto machida? | CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR) |
SELECT home FROM table_name_22 WHERE visitor = "calgary" AND attendance > 15 OFFSET 655 | Who was the Home Team while Calgary was visiting while having an Attendance above 15,655? | CREATE TABLE table_name_22 (home VARCHAR, visitor VARCHAR, attendance VARCHAR) |
SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status | Show the different statuses and the numbers of roller coasters for each status. | CREATE TABLE roller_coaster (Status VARCHAR) |
SELECT college FROM table_name_33 WHERE pick = 45 | What college has pick 45 | CREATE TABLE table_name_33 (college VARCHAR, pick VARCHAR) |
SELECT high_points FROM table_name_86 WHERE date = "november 12" | Who had the most points in the game on November 12? | CREATE TABLE table_name_86 (high_points VARCHAR, date VARCHAR) |
SELECT away_team AS score FROM table_name_18 WHERE away_team = "fitzroy" | What was Fitzroy's score when they were the away team? | CREATE TABLE table_name_18 (away_team VARCHAR) |
SELECT blood_type FROM table_name_52 WHERE agency = "vision factory" | What's the blood type of the member from the vision factory agency? | CREATE TABLE table_name_52 (blood_type VARCHAR, agency VARCHAR) |
SELECT home_team AS score FROM table_name_37 WHERE home_team = "melbourne" | What was Melbourne's score when they were the home team? | CREATE TABLE table_name_37 (home_team VARCHAR) |
SELECT MAX(game) FROM table_17118657_7 WHERE location_attendance = "US Airways Center 7,311" | Which game number had a location/attendance of US Airways Center 7,311 respectively? | CREATE TABLE table_17118657_7 (game INTEGER, location_attendance VARCHAR) |
SELECT AVG(founded) FROM table_name_6 WHERE location = "claremont" | What is the average year founded for schools in claremont? | CREATE TABLE table_name_6 (founded INTEGER, location VARCHAR) |
SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states" | Which united states player had a To par of 12? | CREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT record FROM table_name_85 WHERE opponent = "carlton jones" | What is the record with the opponent as Carlton Jones? | CREATE TABLE table_name_85 (record VARCHAR, opponent VARCHAR) |
SELECT MIN(year) FROM table_1999350_1 WHERE playoffs = "Did not qualify" AND regular_season = "2nd, New England" AND open_canada_cup = "N/A" | What is the earliest year where playoffs was "did not qualify," regular season was "2nd, New England," and Open Canada Cup is "N/A"? | CREATE TABLE table_1999350_1 (year INTEGER, open_canada_cup VARCHAR, playoffs VARCHAR, regular_season VARCHAR) |
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987" | What is the gross capacity of the unit that started commercial operation on August 28, 1987? | CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR) |
SELECT title FROM table_name_90 WHERE presentation_of_credentials = "october 4, 1988" | What Title has a Presentation of Credentials of October 4, 1988? | CREATE TABLE table_name_90 (title VARCHAR, presentation_of_credentials VARCHAR) |
SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_number = "Mobile Athlon 64 3000+" | Name the number of v core for model number mobile athlon 64 3000+ | CREATE TABLE table_27277284_8 (v_core VARCHAR, model_number VARCHAR) |
SELECT year FROM table_name_25 WHERE artist = "royal canadian mint staff" | Which year did the Royal Canadian Mint Staff create a silver dollar? | CREATE TABLE table_name_25 (year VARCHAR, artist VARCHAR) |
SELECT steals FROM table_name_13 WHERE place = 6 | Can you tell me the Steals that has the Place of 6? | CREATE TABLE table_name_13 (steals VARCHAR, place VARCHAR) |
SELECT missing FROM table_name_89 WHERE killed = "0 off 0 men" AND wounded = "0 off 0 men" AND unit = "royal waggon train" | How many of the Royal Waggon Train Unit were Missing while having a Killed of 0 off 0 men and a Wounded of 0 off 0 men? | CREATE TABLE table_name_89 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR) |
SELECT coach FROM table_1165048_1 WHERE dudley_tuckey_medal = "Ben Howlett" | who is the coach where dudley tuckey medal is ben howlett | CREATE TABLE table_1165048_1 (coach VARCHAR, dudley_tuckey_medal VARCHAR) |
SELECT COUNT(attendance) FROM table_name_83 WHERE home = "buffalo" | What is the total number of attendance for games where buffalo was the home team? | CREATE TABLE table_name_83 (attendance VARCHAR, home VARCHAR) |
SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24" | Name the visitor for detroit on february 24 | CREATE TABLE table_name_55 (visitor VARCHAR, home VARCHAR, date VARCHAR) |
SELECT date FROM table_name_48 WHERE score = "2–2" AND away_team = "aylesbury united" | Which Date has a Score of 2–2, and an Away team of aylesbury united? | CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR, away_team VARCHAR) |
SELECT margin_of_victory FROM table_name_98 WHERE tournament = "wgc-accenture match play championship" | What is the margin of victory in WGC-Accenture Match Play Championship? | CREATE TABLE table_name_98 (margin_of_victory VARCHAR, tournament VARCHAR) |
SELECT incumbent FROM table_name_62 WHERE district = "massachusetts 2" | Which Incumbent has a District of massachusetts 2? | CREATE TABLE table_name_62 (incumbent VARCHAR, district VARCHAR) |
SELECT data_limit__gb FROM table_name_8 WHERE company = "vodafone" | What is the data limit for vodafone? | CREATE TABLE table_name_8 (data_limit__gb VARCHAR, company VARCHAR) |
SELECT T1.campus, SUM(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = "Orange" AND T2.year >= 2000 GROUP BY T1.campus | For each Orange county campus, report the number of degrees granted after 2000. | CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR) |
SELECT MIN(district) FROM table_1979619_3 WHERE residence = "Newtown Square" | Name the district for newtown square | CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR) |
SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar" | What film did abdelatif hwidar direct that was in the short film 2007 prix uip category? | CREATE TABLE table_name_93 (film VARCHAR, category VARCHAR, director_s_ VARCHAR) |
SELECT artist FROM table_name_81 WHERE year < 2002 AND mintage = "41,828" | What artist had a mintage of 41,828 before year 2002? | CREATE TABLE table_name_81 (artist VARCHAR, year VARCHAR, mintage VARCHAR) |
SELECT MAX(against) FROM table_name_55 WHERE peel = "waroona" AND byes > 0 | Which Against has a Peel of waroona, and a Byes larger than 0? | CREATE TABLE table_name_55 (against INTEGER, peel VARCHAR, byes VARCHAR) |
SELECT date FROM table_name_48 WHERE decision = "myre" | Which Date has a Decision of myre? | CREATE TABLE table_name_48 (date VARCHAR, decision VARCHAR) |
SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "6.09" | Who directed the episode with UK viewership of 6.09 million? | CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) |
SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes" | What was the winning score for the tournament with a margin of victory of 7 strokes? | CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR) |
SELECT engine_† FROM table_name_34 WHERE tyre = "m" AND driver = "fernando alonso" | what is the engine when the tyre is m and the driver is fernando alonso? | CREATE TABLE table_name_34 (engine_† VARCHAR, tyre VARCHAR, driver VARCHAR) |
SELECT 2006 FROM table_name_95 WHERE 2010 = "grand slam tournaments" | What 2006 has grand slam tournaments of 2010? | CREATE TABLE table_name_95 (Id VARCHAR) |
SELECT score FROM table_name_31 WHERE championship = "rome" AND opponent = "richard krajicek" | what is the score when the championship is rome and the opponent is richard krajicek? | CREATE TABLE table_name_31 (score VARCHAR, championship VARCHAR, opponent VARCHAR) |
SELECT matches FROM table_17900317_5 WHERE wickets = 17 | Name the matches for wickets 17 | CREATE TABLE table_17900317_5 (matches VARCHAR, wickets VARCHAR) |
SELECT patient_portrayer FROM table_26561509_1 WHERE production_code = "3T5004" | Who is the patient portrayer of the episode with the production code 3T5004? | CREATE TABLE table_26561509_1 (patient_portrayer VARCHAR, production_code VARCHAR) |
SELECT 2008 FROM table_name_42 WHERE 2006 = "brikajdri wilson" | Who attended the school in 2008, that Brikajdri Wilson attended in 2006? | CREATE TABLE table_name_42 (Id VARCHAR) |
SELECT MAX(total) FROM table_name_37 WHERE rank = 9 AND silver < 2 | Which Total has a Rank of 9, and a Silver smaller than 2? | CREATE TABLE table_name_37 (total INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26" | What visitor has Ottawa as a home and a date of April 26? | CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR) |
SELECT percentage_of_global_total FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "4.9" | HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007? | CREATE TABLE table_11251601_2 (percentage_of_global_total VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) |
SELECT high_points FROM table_name_12 WHERE high_rebounds = "ron artest (9)" | What is High Points, when High Rebounds is "Ron Artest (9)"? | CREATE TABLE table_name_12 (high_points VARCHAR, high_rebounds VARCHAR) |
SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard" | Who was the finals opponent on the hard surface tournament? | CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR) |
SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38 | What mission did the astronaut who 38 years old on the mission and who served in NASA serve on? | CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR) |
SELECT MAX(gdp_per_capita__us) AS $_ FROM table_21133193_1 WHERE languages = "Latvian" | Name the most gdp per capita latvian | CREATE TABLE table_21133193_1 (gdp_per_capita__us INTEGER, languages VARCHAR) |
SELECT time FROM table_name_82 WHERE attendance = "66,772" | I want to know the time which has attendance of 66,772 | CREATE TABLE table_name_82 (time VARCHAR, attendance VARCHAR) |
SELECT rank FROM table_name_95 WHERE laps = 1059 | What was the rank of Bobby Grim when he finished 1059 laps? | CREATE TABLE table_name_95 (rank VARCHAR, laps VARCHAR) |
SELECT location FROM table_name_72 WHERE opponent = "jimmy smith" | What location is Jimmy Smith fighting in? | CREATE TABLE table_name_72 (location VARCHAR, opponent VARCHAR) |
SELECT class FROM table_name_19 WHERE facility_id > 85076 AND call_sign = "k289au" | Which Class has a Facility ID greater than 85076 and a Call Sign of K289au? | CREATE TABLE table_name_19 (class VARCHAR, facility_id VARCHAR, call_sign VARCHAR) |
SELECT period FROM table_name_81 WHERE _number_found = "5" | What's the Period with # found of 5? | CREATE TABLE table_name_81 (period VARCHAR, _number_found VARCHAR) |
SELECT name FROM Person WHERE gender = 'male' AND age = (SELECT MIN(age) FROM person WHERE gender = 'male') | Who is the youngest male? | CREATE TABLE Person (name VARCHAR, gender VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, gender VARCHAR, age INTEGER) |
SELECT power FROM table_name_66 WHERE name = "1.9 diesel" | What is the power of 1.9 diesel? | CREATE TABLE table_name_66 (power VARCHAR, name VARCHAR) |
SELECT AVG(agricultural_panel) FROM table_name_62 WHERE labour_panel < 6 AND nominated_by_the_taoiseach > 0 AND total < 4 | What is the average agricultural panel of the composition with a labour panel less than 6, more than 0 nominations by Taoiseach, and a total less than 4? | CREATE TABLE table_name_62 (agricultural_panel INTEGER, total VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR) |
SELECT driver___passenger FROM table_16729457_17 WHERE position = 4 | Name the driver passenger for position 4 | CREATE TABLE table_16729457_17 (driver___passenger VARCHAR, position VARCHAR) |
SELECT position FROM table_name_20 WHERE club_team = "miami university (ccha)" | What position does the player from the Miami University (CCHA) club team play? | CREATE TABLE table_name_20 (position VARCHAR, club_team VARCHAR) |
SELECT MAX(points) FROM table_14342210_6 WHERE position = "Left end" | Which left end player made the most points? | CREATE TABLE table_14342210_6 (points INTEGER, position VARCHAR) |
SELECT surface FROM table_name_51 WHERE date = "april 10, 2006" | Date of april 10, 2006 had what surface? | CREATE TABLE table_name_51 (surface VARCHAR, date VARCHAR) |
SELECT COUNT(season) FROM table_name_61 WHERE super_g = "2" AND overall = 3 | How many seasons had a Super G of 2 and overall of 3? | CREATE TABLE table_name_61 (season VARCHAR, super_g VARCHAR, overall VARCHAR) |
SELECT AVG(laps) FROM table_name_49 WHERE grid < 17 AND constructor = "williams - bmw" AND driver = "jenson button" | What is the average Laps for a grid smaller than 17, and a Constructor of williams - bmw, driven by jenson button? | CREATE TABLE table_name_49 (laps INTEGER, driver VARCHAR, grid VARCHAR, constructor VARCHAR) |
SELECT COUNT(episodes) FROM table_name_35 WHERE duration = "3" | How many episodes have a duration of 3? | CREATE TABLE table_name_35 (episodes VARCHAR, duration VARCHAR) |
SELECT date FROM table_1140119_5 WHERE circuit = "Silverstone" | What date was the Silverstone circuit driven? | CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR) |
SELECT venue FROM table_name_91 WHERE home_team = "melbourne" | What was the venue of the Melbourne team? | CREATE TABLE table_name_91 (venue VARCHAR, home_team VARCHAR) |
SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = "bulgaria" AND bronze < 0 | Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold? | CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR) |
SELECT story FROM table_name_42 WHERE date = "october 19, 2011" | What is the title of the story published on October 19, 2011? | CREATE TABLE table_name_42 (story VARCHAR, date VARCHAR) |
SELECT COUNT(round) FROM table_name_73 WHERE location = "liverpool , england" | Name the total number of Round in liverpool , england? | CREATE TABLE table_name_73 (round VARCHAR, location VARCHAR) |
SELECT result FROM table_name_1 WHERE goal > 6 AND score = "1–0" AND competition = "friendly" AND date = "may 31, 1998" | Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998? | CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR) |
SELECT MIN(points) FROM table_name_41 WHERE chassis = "forti fg01b forti fg03" AND year < 1996 | What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996? | CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR) |
SELECT score FROM table_name_49 WHERE opponent = "expos" AND date = "september 13" | What is the score of the game on September 13 when the Expos were the opponent? | CREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT MIN(rank) FROM table_name_86 WHERE name = "el paso natural gas company building" | What is the lowest rank for El Paso Natural Gas Company Building? | CREATE TABLE table_name_86 (rank INTEGER, name VARCHAR) |
SELECT record FROM table_name_70 WHERE opponent = "jimmy smith" | What is Jimmy Smith's opponent's record? | CREATE TABLE table_name_70 (record VARCHAR, opponent VARCHAR) |
SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid" | What college did Francis Bellefroid go to? | CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR) |
SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault" | what is the highest grid when the laps is less than 44 and the constructor is renault? | CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR) |
SELECT MAX(games) FROM table_name_58 WHERE points = 2 | What game has 2 points? | CREATE TABLE table_name_58 (games INTEGER, points VARCHAR) |
SELECT category FROM table_name_75 WHERE director = "na" | Tell me the category of na director | CREATE TABLE table_name_75 (category VARCHAR, director VARCHAR) |
SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado" | What is the date of the match when Detroit is the home team and Colorado is the visiting team? | CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR) |
SELECT name FROM table_name_9 WHERE caps = 59 | Who has a 59 cap? | CREATE TABLE table_name_9 (name VARCHAR, caps VARCHAR) |
SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" | Name the score for moscow, ussr 15 february 1971 | CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR) |
SELECT tonnage FROM table_name_66 WHERE date = "25 july 1942" | Which Tonnage is on 25 july 1942? | CREATE TABLE table_name_66 (tonnage VARCHAR, date VARCHAR) |
SELECT introduced FROM table_name_31 WHERE withdrawn = "1955" | What date was introduced where it was withdrawn 1955? | CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR) |
SELECT COUNT(group_stage) FROM table_1059743_2 WHERE points = "177.2" | In what group stage were 177.2 points awarded? | CREATE TABLE table_1059743_2 (group_stage VARCHAR, points VARCHAR) |
SELECT club FROM table_name_26 WHERE wins = 13 AND goals_against < 48 AND position = 4 | What Club has 13 wins, goals against less than 48, and a position of 4? | CREATE TABLE table_name_26 (club VARCHAR, position VARCHAR, wins VARCHAR, goals_against VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.