output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT home_team FROM table_name_47 WHERE away_team = "swansea city"
CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR), Who was the home team when swansea city was the away team?
SELECT 925 FROM table_name_26 WHERE press = "282.5"
CREATE TABLE table_name_26 (press VARCHAR), Who is the 92.5 with the press of 282.5?
SELECT 925 FROM table_name_44 WHERE press = "282.5"
CREATE TABLE table_name_44 (press VARCHAR), Who is the 92.5 with the press 282.5?
SELECT world_record FROM table_name_40 WHERE press = "925"
CREATE TABLE table_name_40 (world_record VARCHAR, press VARCHAR), Which 92.5 holds the world record?
SELECT season FROM table_name_54 WHERE lead = "john shuster" AND third = "shawn rojeski"
CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR), what is the season when the lead is john shuster and third is shawn rojeski?
SELECT season FROM table_name_96 WHERE third = "shawn rojeski"
CREATE TABLE table_name_96 (season VARCHAR, third VARCHAR), what is the season when the third is shawn rojeski?
SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%"
CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR), WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%?
SELECT forward_caste FROM table_name_87 WHERE scheduled_tribe = "0.90%"
CREATE TABLE table_name_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR), WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%?
SELECT forward_caste FROM table_name_80 WHERE scheduled_caste = "89.50%"
CREATE TABLE table_name_80 (forward_caste VARCHAR, scheduled_caste VARCHAR), WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 89.50%?
SELECT forward_caste FROM table_name_49 WHERE scheduled_caste = "0.80%"
CREATE TABLE table_name_49 (forward_caste VARCHAR, scheduled_caste VARCHAR), WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 0.80%?
SELECT score FROM table_name_60 WHERE h_a_n = "a" AND record = "11-22"
CREATE TABLE table_name_60 (score VARCHAR, h_a_n VARCHAR, record VARCHAR), What was the score for the game with a record of 11-22 and a H/A/N of A?
SELECT h_a_n FROM table_name_12 WHERE score = "108-102"
CREATE TABLE table_name_12 (h_a_n VARCHAR, score VARCHAR), What was the H/A/N for the game that ended in a score of 108-102?
SELECT score FROM table_name_12 WHERE h_a_n = "h" AND record = "12-24"
CREATE TABLE table_name_12 (score VARCHAR, h_a_n VARCHAR, record VARCHAR), What was the score of the game with a H/A/N of H and a record of 12-24?
SELECT score FROM table_name_19 WHERE h_a_n = "h" AND date = "december 17"
CREATE TABLE table_name_19 (score VARCHAR, h_a_n VARCHAR, date VARCHAR), What was the score of the game played on December 17, with a H/A/N of H?
SELECT date FROM table_name_44 WHERE record = "9-14"
CREATE TABLE table_name_44 (date VARCHAR, record VARCHAR), On what date did the Cavaliers have a record of 9-14?
SELECT opponent FROM table_name_64 WHERE score = "116-106"
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR), Who were the opponents in the game that ended in a score of 116-106?
SELECT number_of_cars FROM table_name_38 WHERE car__number < 7 AND year_started = 2010
CREATE TABLE table_name_38 (number_of_cars VARCHAR, car__number VARCHAR, year_started VARCHAR), HOW MANY CARS HAD A CAR # SMALLER THAN 7 AND STARTED ON 2010?
SELECT MIN(car__number) FROM table_name_11 WHERE current_car = "son-e-wa" AND year_started < 2012
CREATE TABLE table_name_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR), WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR?
SELECT MAX(number_of_cars) FROM table_name_95 WHERE year_started < 2012 AND current_car = "tba" AND car__number > 1
CREATE TABLE table_name_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR), WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN 2012, TBA CURRENT CAR, AND MORE THAN 1 CAR?
SELECT monarch FROM table_name_6 WHERE assumed_office = "december 15, 1876"
CREATE TABLE table_name_6 (monarch VARCHAR, assumed_office VARCHAR), Which monarch assumed office on December 15, 1876?
SELECT left_office FROM table_name_25 WHERE name = "ke ʻ eaumoku pāpa ʻ iahiahi"
CREATE TABLE table_name_25 (left_office VARCHAR, name VARCHAR), On what date did ke ʻ eaumoku pāpa ʻ iahiahi leave office?
SELECT years_in_office FROM table_name_23 WHERE assumed_office = "october 4, 1886"
CREATE TABLE table_name_23 (years_in_office VARCHAR, assumed_office VARCHAR), How many years in office were served by the person who assumed the office on October 4, 1886?
SELECT left_office FROM table_name_15 WHERE death = "march 23, 1824"
CREATE TABLE table_name_15 (left_office VARCHAR, death VARCHAR), On what date did the person who died on March 23, 1824 leave office?
SELECT left_office FROM table_name_58 WHERE years_in_office = "2" AND death = "october 23, 1887"
CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR), On what date did the person leave office who died on October 23, 1887 and who served 2 years?
SELECT monarch FROM table_name_7 WHERE left_office = "circa 1886"
CREATE TABLE table_name_7 (monarch VARCHAR, left_office VARCHAR), Who is the monarch that left office circa 1886?
SELECT report FROM table_name_29 WHERE venue = "challenge stadium"
CREATE TABLE table_name_29 (report VARCHAR, venue VARCHAR), What is the report for Challenge Stadium?
SELECT score FROM table_name_73 WHERE away_team = "melbourne tigers"
CREATE TABLE table_name_73 (score VARCHAR, away_team VARCHAR), What did the Melbourne Tigers score when they were the away team?
SELECT COUNT(crowd) FROM table_name_48 WHERE score = "97-80"
CREATE TABLE table_name_48 (crowd VARCHAR, score VARCHAR), How many were in the crowd when the score was 97-80?
SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre"
CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR), How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre?
SELECT position FROM table_name_81 WHERE pick = 32
CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR), What is the position of pick 32?
SELECT player FROM table_name_55 WHERE round = 1
CREATE TABLE table_name_55 (player VARCHAR, round VARCHAR), Who was the player in round 1?
SELECT opponents FROM table_name_73 WHERE record = "3-0"
CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR), Who are the opponents with a record of 3-0?
SELECT opponent FROM table_name_5 WHERE opponents = 16
CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR), Who is the opponent with 16 points?
SELECT high_assists FROM table_name_62 WHERE score = "l 86–94 (ot)"
CREATE TABLE table_name_62 (high_assists VARCHAR, score VARCHAR), What were the high assists when the score was l 86–94 (ot)?
SELECT high_rebounds FROM table_name_19 WHERE score = "l 101–109 (ot)"
CREATE TABLE table_name_19 (high_rebounds VARCHAR, score VARCHAR), What were the high rebounds when the score was l 101–109 (ot)?
SELECT venue FROM table_name_66 WHERE rank = "2"
CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR), What is the Venue that has a Rank of 2?
SELECT rank FROM table_name_77 WHERE season = "1995/96"
CREATE TABLE table_name_77 (rank VARCHAR, season VARCHAR), What is the Rank that has a Season of 1995/96?
SELECT opponent FROM table_name_94 WHERE rank = "4"
CREATE TABLE table_name_94 (opponent VARCHAR, rank VARCHAR), What is the Opponent that has a Rank of 4?
SELECT rank FROM table_name_31 WHERE venue = "bellerive oval , hobart" AND margin = "115 runs"
CREATE TABLE table_name_31 (rank VARCHAR, venue VARCHAR, margin VARCHAR), What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs?
SELECT season FROM table_name_97 WHERE venue = "bellerive oval , hobart" AND rank = "4"
CREATE TABLE table_name_97 (season VARCHAR, venue VARCHAR, rank VARCHAR), What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4?
SELECT margin FROM table_name_4 WHERE venue = "bellerive oval , hobart" AND season = "2002/03"
CREATE TABLE table_name_4 (margin VARCHAR, venue VARCHAR, season VARCHAR), What is the Margin that has a Venue of bellerive oval , hobart, and a Season of 2002/03?
SELECT to_par FROM table_name_51 WHERE score = 75 - 70 = 145 AND country = "new zealand"
CREATE TABLE table_name_51 (to_par VARCHAR, country VARCHAR, score VARCHAR), What is the To par of the Player from New Zealand who had a Score of 75-70=145?
SELECT to_par FROM table_name_63 WHERE place = "t3"
CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR), What is the To par of the T3 Player?
SELECT SUM(rank) FROM table_name_21 WHERE assists = 82
CREATE TABLE table_name_21 (rank INTEGER, assists VARCHAR), What is the sum of Rank, when Assists is "82"?
SELECT COUNT(assists) FROM table_name_94 WHERE name = "pablo prigioni" AND games > 21
CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR), What is the total number of Assists, when Name is "Pablo Prigioni", and when Games is greater than 21?
SELECT AVG(assists) FROM table_name_64 WHERE games > 19 AND name = "pablo prigioni"
CREATE TABLE table_name_64 (assists INTEGER, games VARCHAR, name VARCHAR), What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"?
SELECT country FROM table_name_56 WHERE player = "tom kite"
CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR), What country is Tom Kite from?
SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder"
CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR), What is the most money United States player Bob Gilder won?
SELECT material FROM table_name_36 WHERE completed < 1966 AND location = "st. paul, minnesota"
CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR), What was the statue in st. paul, minnesota constructed before 1966 made out of?
SELECT MAX(completed) FROM table_name_89 WHERE material = "solid granite"
CREATE TABLE table_name_89 (completed INTEGER, material VARCHAR), When was the most recent statue that was made out of solid granite completed?
SELECT game FROM table_name_86 WHERE result = "105-95"
CREATE TABLE table_name_86 (game VARCHAR, result VARCHAR), What Game had a Result of 105-95?
SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1"
CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR), What is the Home Team of the game against Seattle on June 1?
SELECT home_team FROM table_name_80 WHERE game = "game 2"
CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR), What is the Home Team in Game 2?
SELECT road_team FROM table_name_39 WHERE result = "105-95"
CREATE TABLE table_name_39 (road_team VARCHAR, result VARCHAR), What is the Road Team in the game with a Result of 105-95?
SELECT game FROM table_name_76 WHERE road_team = "seattle" AND date = "may 24"
CREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR), What is the Game on May 24 with Road Team Seattle?
SELECT date FROM table_name_52 WHERE result = "82-92"
CREATE TABLE table_name_52 (date VARCHAR, result VARCHAR), On what Date was the Result 82-92?
SELECT population__2006_ FROM table_name_7 WHERE vehicle_registration_code = "g" AND population_density = "1,432.0"
CREATE TABLE table_name_7 (population__2006_ VARCHAR, vehicle_registration_code VARCHAR, population_density VARCHAR), What is the 2006 population of the area with vehicle registration code of G and population density of 1,432.0?
SELECT area__km²_ FROM table_name_25 WHERE principal_town_city = "waterford"
CREATE TABLE table_name_25 (area__km²_ VARCHAR, principal_town_city VARCHAR), What is the area of Waterford?
SELECT nuts_3_region FROM table_name_38 WHERE area__km²_ = "41.58"
CREATE TABLE table_name_38 (nuts_3_region VARCHAR, area__km²_ VARCHAR), What is the NUT 3 region with area of 41.58?
SELECT opponent FROM table_name_17 WHERE event = "ritc 22 - rage in the cage 22"
CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR), What is Opponent, when Event is RITC 22 - Rage In The Cage 22?
SELECT record FROM table_name_99 WHERE method = "ko" AND opponent = "rich guerin"
CREATE TABLE table_name_99 (record VARCHAR, method VARCHAR, opponent VARCHAR), What is Record, when Method is KO, and when Opponent is Rich Guerin?
SELECT round FROM table_name_59 WHERE event = "ritc 89 - triple main event 89"
CREATE TABLE table_name_59 (round VARCHAR, event VARCHAR), What is Round, when Event is RITC 89 - Triple Main Event 89?
SELECT social_sec_leeds FROM table_name_62 WHERE media_officer = "jason james" AND treasurer = "james davidson"
CREATE TABLE table_name_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR), What kind of Social Sec Leeds has a Media Officer of jason james and a Treasurer of james davidson?
SELECT social_sec_leeds FROM table_name_13 WHERE president = "tom dawson"
CREATE TABLE table_name_13 (social_sec_leeds VARCHAR, president VARCHAR), Name the Social Sec Leeds has a President of tom dawson?
SELECT president FROM table_name_25 WHERE media_officer = "pete marshall/ nazar striletski"
CREATE TABLE table_name_25 (president VARCHAR, media_officer VARCHAR), Name the President has a Media Officer of pete marshall/ nazar striletski?
SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006"
CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR), Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006?
SELECT president FROM table_name_26 WHERE treasurer = "james davidson" AND season = "2006–2007"
CREATE TABLE table_name_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR), Name the President who has a Treasurer of james davidson, and a Season of 2006–2007?
SELECT fixtures_sec FROM table_name_12 WHERE season = "2009–2010"
CREATE TABLE table_name_12 (fixtures_sec VARCHAR, season VARCHAR), Name the Fixtures Sec which has a Season of 2009–2010
SELECT format FROM table_name_33 WHERE label = "epic/sony" AND date > 1980
CREATE TABLE table_name_33 (format VARCHAR, label VARCHAR, date VARCHAR), What is the Format of the Epic/Sony Label after 1980?
SELECT format FROM table_name_23 WHERE catalog = "sbp 234999"
CREATE TABLE table_name_23 (format VARCHAR, catalog VARCHAR), What is the Format of the Label with Catalog SBP 234999?
SELECT poll_source FROM table_name_87 WHERE lead_margin = 17
CREATE TABLE table_name_87 (poll_source VARCHAR, lead_margin VARCHAR), Which poll source has a lead of 17?
SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = "elden campbell category:articles with hcards"
CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR), What years did Elden Campbell category:articles with hcards and jersesy number of 41 play?
SELECT listed FROM table_name_1 WHERE built = "1925" AND type = "warren pony truss"
CREATE TABLE table_name_1 (listed VARCHAR, built VARCHAR, type VARCHAR), What is the listed date of the Warren pony truss bridge that was built in 1925?
SELECT built FROM table_name_20 WHERE name = "moores creek bridge"
CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR), When was Moores Creek Bridge built?
SELECT built FROM table_name_55 WHERE name = "blackburn point bridge"
CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR), When was Blackburn Point Bridge built?
SELECT county FROM table_name_98 WHERE location = "st. augustine"
CREATE TABLE table_name_98 (county VARCHAR, location VARCHAR), What county is the St. Augustine bridge in?
SELECT date FROM table_name_21 WHERE "notes" = "notes"
CREATE TABLE table_name_21 (date VARCHAR), Which Date has Notes of notes?
SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.7"
CREATE TABLE table_name_86 (date VARCHAR, location VARCHAR, time VARCHAR), Which Date has a Location of davos, and a Time of 45.7?
SELECT location FROM table_name_44 WHERE date = "1931-02-02"
CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR), Which Location has a Date of 1931-02-02?
SELECT time FROM table_name_93 WHERE notes = "men's speed skating"
CREATE TABLE table_name_93 (time VARCHAR, notes VARCHAR), Which Time has Notes of men's speed skating?
SELECT location FROM table_name_5 WHERE notes = "eisstadion" AND date = "1930-01-11"
CREATE TABLE table_name_5 (location VARCHAR, notes VARCHAR, date VARCHAR), Which Location has Notes of eisstadion, and a Date of 1930-01-11?
SELECT distance FROM table_name_69 WHERE date = "1930-01-11"
CREATE TABLE table_name_69 (distance VARCHAR, date VARCHAR), Which Distance has a Date of 1930-01-11?
SELECT COUNT(weight) FROM table_name_76 WHERE race = "vrc melbourne cup"
CREATE TABLE table_name_76 (weight VARCHAR, race VARCHAR), What is the weight when the race was the VRC Melbourne Cup?
SELECT weight FROM table_name_7 WHERE distance = "8f" AND race = "rrc hill stakes (wfa)"
CREATE TABLE table_name_7 (weight VARCHAR, distance VARCHAR, race VARCHAR), What weight has a distance of 8F, and RRC Hill Stakes (wfa) as the race?
SELECT distance FROM table_name_16 WHERE weight = 9.2
CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR), What is the distance when the weight is 9.2?
SELECT MIN(pick) FROM table_name_12 WHERE name = "adam gettis"
CREATE TABLE table_name_12 (pick INTEGER, name VARCHAR), what is the pick for adam gettis?
SELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = "alfred morris" AND round < 6
CREATE TABLE table_name_49 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR), what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6?
SELECT college FROM table_name_55 WHERE overall > 102 AND name = "keenan robinson"
CREATE TABLE table_name_55 (college VARCHAR, overall VARCHAR, name VARCHAR), what is the college for keenan robinson when overall is more than 102?
SELECT pick FROM table_name_97 WHERE name = "robert griffin iii"
CREATE TABLE table_name_97 (pick VARCHAR, name VARCHAR), what is the pick for robert griffin iii?
SELECT MAX(appearances) FROM table_name_21 WHERE flamengo_career = "1989–1993 1996–1998 2004–2005"
CREATE TABLE table_name_21 (appearances INTEGER, flamengo_career VARCHAR), How many appearances did the flamengo player who was with flamengo during the years 1989–1993 1996–1998 2004–2005 have?
SELECT attendance FROM table_name_96 WHERE week = 1
CREATE TABLE table_name_96 (attendance VARCHAR, week VARCHAR), What was the attendance on week 1?
SELECT opponent FROM table_name_57 WHERE week < 3 AND result = "w 28-6"
CREATE TABLE table_name_57 (opponent VARCHAR, week VARCHAR, result VARCHAR), Who was the opponent before week 3 and a result of w 28-6?
SELECT SUM(core__number) FROM table_name_80 WHERE part_number_opn_ = "osa242cep5au" AND tdp__w_ > 82.1
CREATE TABLE table_name_80 (core__number INTEGER, part_number_opn_ VARCHAR, tdp__w_ VARCHAR), What is the sum of core# with a part number of osa242cep5au and TDP greater than 82.1?
SELECT SUM(core__number) FROM table_name_62 WHERE tdp__w_ < 85.3
CREATE TABLE table_name_62 (core__number INTEGER, tdp__w_ INTEGER), What is the sum of core# with a TDP less than 85.3?
SELECT winning_score FROM table_name_42 WHERE date = "aug 26, 1973"
CREATE TABLE table_name_42 (winning_score VARCHAR, date VARCHAR), Which Winning score has a Date of aug 26, 1973?
SELECT runner_s__up FROM table_name_21 WHERE date = "may 19, 1973"
CREATE TABLE table_name_21 (runner_s__up VARCHAR, date VARCHAR), Which Runner(s)-up has a Date of may 19, 1973?
SELECT margin_of_victory FROM table_name_4 WHERE runner_s__up = "betty burfeindt" AND tournament = "pompano beach classic"
CREATE TABLE table_name_4 (margin_of_victory VARCHAR, runner_s__up VARCHAR, tournament VARCHAR), Which Margin of victory has a Runner(s)-up of betty burfeindt, and a Tournament of pompano beach classic?
SELECT runner_s__up FROM table_name_62 WHERE tournament = "cameron park open"
CREATE TABLE table_name_62 (runner_s__up VARCHAR, tournament VARCHAR), Which Runner(s)-up has a Tournament of cameron park open?
SELECT runner_s__up FROM table_name_26 WHERE winning_score = –8(68 - 68 - 72 - 72 = 280)
CREATE TABLE table_name_26 (runner_s__up VARCHAR, winning_score VARCHAR), Which Runner(s)-up has a Winning score of –8 (68-68-72-72=280)?
SELECT date FROM table_name_95 WHERE tournament = "national jewish hospital open" AND runner_s__up = "pat bradley"
CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR), Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley?