output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT stadium FROM table_name_41 WHERE date = "november 29" | CREATE TABLE table_name_41 (stadium VARCHAR, date VARCHAR), What is the Stadium held on november 29? |
SELECT visiting_team FROM table_name_99 WHERE date = "december 20" | CREATE TABLE table_name_99 (visiting_team VARCHAR, date VARCHAR), Who is the Visiting team on december 20? |
SELECT stadium FROM table_name_44 WHERE visiting_team = "pittsburgh steelers" | CREATE TABLE table_name_44 (stadium VARCHAR, visiting_team VARCHAR), Which Stadium has a Visiting team of pittsburgh steelers? |
SELECT host_team FROM table_name_61 WHERE visiting_team = "chicago bears" | CREATE TABLE table_name_61 (host_team VARCHAR, visiting_team VARCHAR), Who is the Host team that has a chicago bears as a visiting team? |
SELECT final_score FROM table_name_48 WHERE date = "november 22" | CREATE TABLE table_name_48 (final_score VARCHAR, date VARCHAR), What is the Final score on november 22? |
SELECT host_team FROM table_name_71 WHERE visiting_team = "indianapolis colts" | CREATE TABLE table_name_71 (host_team VARCHAR, visiting_team VARCHAR), What is the Host team that has indianapolis colts as a Visiting team? |
SELECT winners FROM table_name_34 WHERE runners_up = "np cooper av cooke" | CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR), Who won when np cooper av cooke was runner up? |
SELECT record FROM table_name_35 WHERE time = "1:44" | CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR), What was the record of the match that had a time of 1:44? |
SELECT opponent FROM table_name_54 WHERE event = "gcm – d.o.g. 4" | CREATE TABLE table_name_54 (opponent VARCHAR, event VARCHAR), Who was the opponent at GCM – D.O.G. 4? |
SELECT location FROM table_name_48 WHERE round < 2 AND opponent = "hikaru sato" | CREATE TABLE table_name_48 (location VARCHAR, round VARCHAR, opponent VARCHAR), What was the location of the match that ended before round 2, against Hikaru Sato? |
SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,000" AND entrepreneur_s_ = "geoff and colette bell" | CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR), What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000? |
SELECT investing_dragon_s_ FROM table_name_82 WHERE episode = "episode 9" AND entrepreneur_s_ = "ashley sayed" | CREATE TABLE table_name_82 (investing_dragon_s_ VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR), Which Investing Dragon(s) belong to Episode 9 with the Entrepreneur Ashley Sayed? |
SELECT episode FROM table_name_99 WHERE entrepreneur_s_ = "luke booth and christopher eves" | CREATE TABLE table_name_99 (episode VARCHAR, entrepreneur_s_ VARCHAR), What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part? |
SELECT company_or_product_name FROM table_name_17 WHERE episode = "episode 11" AND money_requested__£_ = "70,000" | CREATE TABLE table_name_17 (company_or_product_name VARCHAR, episode VARCHAR, money_requested__£_ VARCHAR), Which Company or Product name requested £70,000 on Episode 11? |
SELECT MIN(height) FROM table_name_52 WHERE player = "stephen arigbabu" | CREATE TABLE table_name_52 (height INTEGER, player VARCHAR), What is stephen arigbabu's height? |
SELECT MAX(attendance) FROM table_name_12 WHERE visitor = "los angeles" | CREATE TABLE table_name_12 (attendance INTEGER, visitor VARCHAR), For all games with los angeles as visitor, what is the highest attendance of all? |
SELECT AVG(attendance) FROM table_name_1 WHERE home = "calgary" | CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR), For all games with calgary as home, what is the average number of attendees? |
SELECT no5 FROM table_name_29 WHERE no1 = "lena claudisabel" AND no2 = "lena sylvie" | CREATE TABLE table_name_29 (no5 VARCHAR, no1 VARCHAR, no2 VARCHAR), Who is no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2? |
SELECT no3 FROM table_name_62 WHERE no1 = "claudio sylvie" | CREATE TABLE table_name_62 (no3 VARCHAR, no1 VARCHAR), Who is no.3 when Claudio Sylvie is no.1? |
SELECT score FROM table_name_77 WHERE record = "18-20" | CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR), What was the score of the game when the record was 18-20? |
SELECT partner FROM table_name_7 WHERE opponents_in_the_final = "flavio cipolla simone vagnozzi" | CREATE TABLE table_name_7 (partner VARCHAR, opponents_in_the_final VARCHAR), Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final? |
SELECT opponents_in_the_final FROM table_name_62 WHERE surface = "carpet (i)" | CREATE TABLE table_name_62 (opponents_in_the_final VARCHAR, surface VARCHAR), Who were the Opponents in the final that played on a carpet (i) Surface? |
SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund" | CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR), Played on Clay Surface, what was the Score of the Dortmund Tournament? |
SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen" | CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR), Who is Partner Frederik Nielsen's Opponents in the final? |
SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend" | CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR), What is Partner Tomas Behrend's Score in the final? |
SELECT country FROM table_name_67 WHERE player = "larry mize" | CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR), What Country does Larry Mize play for? |
SELECT MAX(total) FROM table_name_20 WHERE year_s__won = "1976" | CREATE TABLE table_name_20 (total INTEGER, year_s__won VARCHAR), What is the winning total from 1976? |
SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram" | CREATE TABLE table_name_42 (year INTEGER, owner VARCHAR), What year was owner Michael E. Pegram's last win? |
SELECT trainer FROM table_name_94 WHERE owner = "cherry valley farm" | CREATE TABLE table_name_94 (trainer VARCHAR, owner VARCHAR), Who is the trainer for Cherry Valley Farm? |
SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein" | CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR), Who owned winner Blueeyesintherein after 2009? |
SELECT opponent FROM table_name_8 WHERE record = "33-15" | CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR), Who was the Blue Jays' opponent when their record was 33-15? |
SELECT loss FROM table_name_3 WHERE record = "36-20" | CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR), Who did the Blue Jays lose to when their record was 36-20? |
SELECT rank FROM table_name_3 WHERE qual = "141.471" | CREATE TABLE table_name_3 (rank VARCHAR, qual VARCHAR), What is the rank of the qual 141.471? |
SELECT start FROM table_name_18 WHERE laps = 55 | CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR), What is the start of lap 55? |
SELECT rank FROM table_name_63 WHERE year = "1956" | CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR), What is rank of the year 1956? |
SELECT laps FROM table_name_78 WHERE rank = "13" | CREATE TABLE table_name_78 (laps VARCHAR, rank VARCHAR), What is the lap number for the rank of 13? |
SELECT rank FROM table_name_33 WHERE year = "1961" | CREATE TABLE table_name_33 (rank VARCHAR, year VARCHAR), What is the rank for 1961? |
SELECT SUM(laps) FROM table_name_60 WHERE finish = "24" | CREATE TABLE table_name_60 (laps INTEGER, finish VARCHAR), What is the sum of the lap with a finish of 24? |
SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion" | CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR), Which band plays Self Versus Self - Immersion? |
SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4" | CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR), What Event used submission (rear naked choke) with 9-4? |
SELECT event FROM table_name_41 WHERE opponent = "donald ouimet" | CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR), What event was Donald Ouimet involved? |
SELECT event FROM table_name_37 WHERE position = "3rd" AND year = 2010 | CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR), What event did she finish 3rd in 2010? |
SELECT AVG(year) FROM table_name_95 WHERE venue = "tampere, finland" | CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR), What year did she compete in tampere, finland? |
SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan" | CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR), Ben Hogan with a score larger than 66 had a place listed of what? |
SELECT player FROM table_name_27 WHERE score = 70 | CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR), With a score of 70, this player's name is listed as what? |
SELECT to_par FROM table_name_69 WHERE score < 71 AND place = "t6" | CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR), With a score smaller than 71 along with a place of t6, what is the To par score? |
SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billion_yuan_ > 688.02 AND regional_population_2010_ = "8,700,400" | CREATE TABLE table_name_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR), Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010? |
SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ = "4,591,972" | CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR), Which Hanzi has a Regional Population of 4,591,972 in 2010? |
SELECT name FROM table_name_19 WHERE rank < 5 AND time < 55.62 AND lane < 5 AND nationality = "netherlands" | CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR), What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62? |
SELECT MAX(rank) FROM table_name_59 WHERE name = "karen pickering" AND time < 55.71 | CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR), What is the highest Rank of Karen Pickering when she had a time of less than 55.71? |
SELECT MAX(lane) FROM table_name_68 WHERE time > 55.94 AND rank > 8 | CREATE TABLE table_name_68 (lane INTEGER, time VARCHAR, rank VARCHAR), What is the highest Lane number of a person with a time of 55.94 with a Rank that's bigger than 8? |
SELECT date FROM table_name_85 WHERE loss = "burns (0-1)" | CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR), What was the date of the game that had a loss of Burns (0-1)? |
SELECT loss FROM table_name_77 WHERE record = "20-16" | CREATE TABLE table_name_77 (loss VARCHAR, record VARCHAR), What was the loss of the game when the record was 20-16? |
SELECT loss FROM table_name_22 WHERE attendance = "18,769" | CREATE TABLE table_name_22 (loss VARCHAR, attendance VARCHAR), What was the loss of the game that had an attendance of 18,769? |
SELECT date FROM table_name_5 WHERE loss = "geisel (0-1)" | CREATE TABLE table_name_5 (date VARCHAR, loss VARCHAR), What was the date of the game that had a loss of Geisel (0-1)? |
SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699" | CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR), What is the date of the game against the Royals that had an attendance of 12,699? |
SELECT MAX(floors) FROM table_name_62 WHERE name = "regions center" AND rank < 11 | CREATE TABLE table_name_62 (floors INTEGER, name VARCHAR, rank VARCHAR), When Regions center has a rank less than 11, what is the greatest number o floors? |
SELECT AVG(rank) FROM table_name_84 WHERE floors = 24 | CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR), What is the average rank for a building with 24 floors? |
SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel" | CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR), What is the rank for Omni nashville hotel? |
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center" | CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR), What is the greatest rank for Fifth third center? |
SELECT AVG(year) FROM table_name_77 WHERE floors < 23 AND height_ft__m_ = "292 (89)" AND rank < 14 | CREATE TABLE table_name_77 (year INTEGER, rank VARCHAR, floors VARCHAR, height_ft__m_ VARCHAR), When a building is 292 (89) ft (m) tall, has less than 23 floors, and ranks less than 14, what is the average year? |
SELECT regular_season___preseason FROM table_name_70 WHERE date = "august 25, 2007" | CREATE TABLE table_name_70 (regular_season___preseason VARCHAR, date VARCHAR), What type of regular season/preseason game was played on August 25, 2007? |
SELECT stadium FROM table_name_36 WHERE date = "august 22, 2008" | CREATE TABLE table_name_36 (stadium VARCHAR, date VARCHAR), In what stadium was the game on August 22, 2008 played? |
SELECT stadium FROM table_name_89 WHERE home_team = "dallas cowboys 21" | CREATE TABLE table_name_89 (stadium VARCHAR, home_team VARCHAR), In what stadium was the home team Dallas Cowboys 21? |
SELECT date FROM table_name_28 WHERE home_team = "dallas cowboys 34" | CREATE TABLE table_name_28 (date VARCHAR, home_team VARCHAR), On what date was the home team the Dallas Cowboys 34? |
SELECT visiting_team FROM table_name_59 WHERE date = "october 15, 2006" | CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR), Who was the visiting team on October 15, 2006? |
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6" | CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR), What's the smallest amount of Laps that had a finish of 7 with a start of 6? |
SELECT MIN(bronze) FROM table_name_36 WHERE gold < 3 AND silver > 1 AND rank = 6 AND nation = "hungary" | CREATE TABLE table_name_36 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR), What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary? |
SELECT AVG(bronze) FROM table_name_73 WHERE rank = 4 AND silver < 1 | CREATE TABLE table_name_73 (bronze INTEGER, rank VARCHAR, silver VARCHAR), What is the average bronze with a rank of 4 and less than 1 silver? |
SELECT silver FROM table_name_74 WHERE gold > 4 AND rank = 1 | CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR), Which silver has a Gold larger than 4, and a Rank of 1? |
SELECT MIN(bronze) FROM table_name_52 WHERE total = 3 AND nation = "hungary" AND gold < 0 | CREATE TABLE table_name_52 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR), What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0? |
SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 0 | CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR), How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0? |
SELECT COUNT(total) FROM table_name_71 WHERE silver < 2 AND nation = "ukraine" AND gold < 3 | CREATE TABLE table_name_71 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR), How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3? |
SELECT player FROM table_name_17 WHERE season = "2007" | CREATE TABLE table_name_17 (player VARCHAR, season VARCHAR), Which player played in 2007? |
SELECT bowling FROM table_name_7 WHERE player = "min patel" | CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR), What was Min Patel's bowling? |
SELECT week_1 FROM table_name_35 WHERE week_2 = "piia jarkko" | CREATE TABLE table_name_35 (week_1 VARCHAR, week_2 VARCHAR), Who was the week 1 nomination when the week 2 nomination was Piia Jarkko? |
SELECT week_12 FROM table_name_10 WHERE week_9 = "walked (day 11)" | CREATE TABLE table_name_10 (week_12 VARCHAR, week_9 VARCHAR), Who was the week 12 nomination when the week 9 nomination walked (day 11)? |
SELECT week_12 FROM table_name_1 WHERE week_1 = "maria maxine" AND week_2 = "henri satu" | CREATE TABLE table_name_1 (week_12 VARCHAR, week_1 VARCHAR, week_2 VARCHAR), What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu? |
SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license = "malone, ny" | CREATE TABLE table_name_44 (height_m___ft__ VARCHAR, city_of_license VARCHAR), Name the heightfor city of license of malone, ny |
SELECT class FROM table_name_74 WHERE call_sign = "wmhn" | CREATE TABLE table_name_74 (class VARCHAR, call_sign VARCHAR), Name the class with call sign of wmhn |
SELECT frequency FROM table_name_78 WHERE class = "b" | CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR), Name the frequency with class of b |
SELECT city_of_license FROM table_name_37 WHERE frequency = "90.1 fm" | CREATE TABLE table_name_37 (city_of_license VARCHAR, frequency VARCHAR), Name the city of license with frequency of 90.1 fm |
SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430 | CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR), Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430 |
SELECT engine_s_ FROM table_name_68 WHERE tyres = "f" AND year = 1971 | CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR), What is the Engine(s) that has f Tyres in 1971? |
SELECT MIN(att) FROM table_name_6 WHERE date = "june 27" | CREATE TABLE table_name_6 (att INTEGER, date VARCHAR), What was the attendance on June 27? |
SELECT surface FROM table_name_3 WHERE date = "12 september 2006" | CREATE TABLE table_name_3 (surface VARCHAR, date VARCHAR), Name the surface for 12 september 2006 |
SELECT score FROM table_name_46 WHERE opponent_in_the_final = "paul baccanello" | CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR), Name the score for opponent in the final being paul baccanello |
SELECT surface FROM table_name_5 WHERE date = "20 march 2007" | CREATE TABLE table_name_5 (surface VARCHAR, date VARCHAR), Name the surface for 20 march 2007 |
SELECT date FROM table_name_5 WHERE opponent_in_the_final = "ignasi villacampa" | CREATE TABLE table_name_5 (date VARCHAR, opponent_in_the_final VARCHAR), Name the date for opponent in the final being ignasi villacampa |
SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello" | CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR), Name the tournament for grass surface and opponent in the final being paul baccanello |
SELECT MIN(year) FROM table_name_43 WHERE location = "milan" AND champion = "guillermo vilas" | CREATE TABLE table_name_43 (year INTEGER, location VARCHAR, champion VARCHAR), When is the earliest year in milan that guillermo vilas was champion? |
SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = "tim mayotte" | CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR, runner_up VARCHAR), Where in 1985 was tim mayotte runner up? |
SELECT score FROM table_name_68 WHERE year > 1978 AND champion = "stefan edberg" | CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR), What was the score when stefan edberg won after 1978? |
SELECT MAX(facility_id) FROM table_name_52 WHERE city_of_license = "wheeling" AND erp_kw < 4.5 | CREATE TABLE table_name_52 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR), What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5? |
SELECT city_of_license FROM table_name_45 WHERE erp_kw > 4.5 AND station = "w23dr-d" | CREATE TABLE table_name_45 (city_of_license VARCHAR, erp_kw VARCHAR, station VARCHAR), What is the City of license that has a ERP kW more than 4.5 and w23dr-d? |
SELECT location FROM table_name_46 WHERE date_of_demolition = 1940 AND church_name = "christ church greyfriars" | CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR), What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars? |
SELECT COUNT(date_of_demolition) FROM table_name_7 WHERE location = "wood street" | CREATE TABLE table_name_7 (date_of_demolition VARCHAR, location VARCHAR), How many dates of demolition are located on Wood Street? |
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008" | CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR), What was Olga Govortsova's score when she played on a clay surface on 19 May 2008? |
SELECT outcome FROM table_name_59 WHERE surface = "grass" | CREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR), What was Olga Govortsova's outcome when she played on a grass surface? |
SELECT score FROM table_name_84 WHERE surface = "clay" AND date = "26 may 2012" | CREATE TABLE table_name_84 (score VARCHAR, surface VARCHAR, date VARCHAR), What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.