output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT catalog FROM table_name_74 WHERE label = "alfa records" | CREATE TABLE table_name_74 (catalog VARCHAR, label VARCHAR), What is the catalog number of Alfa records? |
SELECT player FROM table_name_35 WHERE score = 68 AND country = "canada" | CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR, country VARCHAR), Which player has 68 as the score and canada as the country? |
SELECT place FROM table_name_53 WHERE country = "canada" | CREATE TABLE table_name_53 (place VARCHAR, country VARCHAR), What place has Canada as the country? |
SELECT player FROM table_name_52 WHERE score = 69 | CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR), Which player has 69 as the score? |
SELECT place FROM table_name_51 WHERE score > 68 AND player = "camilo villegas" | CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR, player VARCHAR), What place has a score greater than 68, and camilo villegas as the player? |
SELECT AVG(score) FROM table_name_5 WHERE player = "lee westwood" | CREATE TABLE table_name_5 (score INTEGER, player VARCHAR), What is the average score with lee westwood as the player? |
SELECT years FROM table_name_40 WHERE authority = "state" AND decile > 6 AND roll < 33 | CREATE TABLE table_name_40 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR), Name the years with authority of state and decile more than 6 with roll less than 33 |
SELECT years FROM table_name_91 WHERE area = "marton" AND decile = 3 AND name = "turakina maori girls' college" | CREATE TABLE table_name_91 (years VARCHAR, name VARCHAR, area VARCHAR, decile VARCHAR), Name the years for marton and decile of 3 for turakina maori girls' college? |
SELECT AVG(gold_medals) FROM table_name_82 WHERE bronze_medals < 1 AND silver_medals = 0 AND total_medals > 1 | CREATE TABLE table_name_82 (gold_medals INTEGER, total_medals VARCHAR, bronze_medals VARCHAR, silver_medals VARCHAR), Name the average gold medals when the bronze medals was less than 1, silver medals being 0 and total medals more than 1 |
SELECT COUNT(bronze_medals) FROM table_name_87 WHERE gold_medals = 2 AND total_medals > 4 AND silver_medals < 5 | CREATE TABLE table_name_87 (bronze_medals VARCHAR, silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR), Name the total number of bronze medals when gold medals was 2, total medals more than 4 and silver medals less than 5 |
SELECT ensemble FROM table_name_21 WHERE silver_medals > 1 | CREATE TABLE table_name_21 (ensemble VARCHAR, silver_medals INTEGER), Name the ensemble with silver medals more than 1 |
SELECT AVG(total_medals) FROM table_name_2 WHERE ensemble = "goshen hs" | CREATE TABLE table_name_2 (total_medals INTEGER, ensemble VARCHAR), Name the average total medals with ensemble of goshen hs |
SELECT category FROM table_name_9 WHERE recipient_s_ = "nick jonas" AND award = "kids' choice awards mexico" | CREATE TABLE table_name_9 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR), In which category did Nick Jonas win at the Kids' Choice Awards Mexico? |
SELECT award FROM table_name_36 WHERE category = "choice tv: breakout star female" | CREATE TABLE table_name_36 (award VARCHAR, category VARCHAR), What is the award for the Choice TV: Breakout Star Female category? |
SELECT result FROM table_name_32 WHERE recipient_s_ = "joe jonas" AND award = "kids' choice awards mexico" | CREATE TABLE table_name_32 (result VARCHAR, recipient_s_ VARCHAR, award VARCHAR), What is Joe Jonas' result at the Kids' Choice Awards Mexico? |
SELECT category FROM table_name_44 WHERE result = "nominated" AND year = 2010 AND award = "kids' choice awards mexico" AND recipient_s_ = "joe jonas" | CREATE TABLE table_name_44 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR), What category was Joe Jonas nominated for at the Kids' Choice Awards Mexico in 2010? |
SELECT chassis FROM table_name_76 WHERE team = "bms scuderia italia" AND tyres = "g" AND engine = "ferrari 037 3.5 v12" | CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR, team VARCHAR, tyres VARCHAR), What Chassis did Team BMS Scuderia Italia use with G Tyres and a Ferrari 037 3.5 v12 engine? |
SELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000 | CREATE TABLE table_name_72 (rookie_of_the_year VARCHAR, season VARCHAR), Who was the Rookie of the Year for the Season in 2000? |
SELECT date FROM table_name_86 WHERE record = "46-29" | CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR), When was the game played in which the record was 46-29? |
SELECT type FROM table_name_15 WHERE unit = "greifswald - 7 (kgr 7)" | CREATE TABLE table_name_15 (type VARCHAR, unit VARCHAR), Which type had the unit greifswald - 7 (kgr 7) ? |
SELECT unit FROM table_name_31 WHERE type = "wwer-440/213" | CREATE TABLE table_name_31 (unit VARCHAR, type VARCHAR), Which unite had the type wwer-440/213? |
SELECT finish_construction FROM table_name_28 WHERE unit = "greifswald - 4 (kgr 4)" | CREATE TABLE table_name_28 (finish_construction VARCHAR, unit VARCHAR), What was the date that construction was finished when the unit was greifswald - 4 (kgr 4)? |
SELECT net_power FROM table_name_74 WHERE type = "wwer-440/230" AND finish_construction = "24.10.1977" | CREATE TABLE table_name_74 (net_power VARCHAR, type VARCHAR, finish_construction VARCHAR), What was the net power, when the type was wwer-440/230, and when construction was finished on 24.10.1977? |
SELECT year_s_ FROM table_name_39 WHERE rank = 2 AND player = "álvaro pérez" | CREATE TABLE table_name_39 (year_s_ VARCHAR, rank VARCHAR, player VARCHAR), During what years was álvaro pérez the number 2 ranked player? |
SELECT AVG(top_5) FROM table_name_66 WHERE top_25 = 0 AND wins < 0 | CREATE TABLE table_name_66 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR), What is the average value for Top-5, when the value for Top-25 is 0, and the value for Wins is less than 0? |
SELECT COUNT(top_25) FROM table_name_92 WHERE top_5 > 1 | CREATE TABLE table_name_92 (top_25 VARCHAR, top_5 INTEGER), What is the total amount of Top-25 having a Top-5 greater than 1? |
SELECT SUM(top_10) FROM table_name_26 WHERE cuts_made = 2 AND wins < 0 | CREATE TABLE table_name_26 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR), What is the sum of the value Top-10 that has a Cuts value of 2 and a Wins value smaller than 0? |
SELECT AVG(top_5) FROM table_name_89 WHERE cuts_made = 5 AND tournament = "the open championship" AND events < 6 | CREATE TABLE table_name_89 (top_5 INTEGER, events VARCHAR, cuts_made VARCHAR, tournament VARCHAR), What is the average value for Top-5, when the value Cuts is 5, and when the tournament is the Open Championship, and when the value Events is less than 6? |
SELECT MIN(events) FROM table_name_56 WHERE top_5 > 1 | CREATE TABLE table_name_56 (events INTEGER, top_5 INTEGER), What is the lowest value for Events, when the value for Top-5 is greater than 1? |
SELECT visiting_team FROM table_name_28 WHERE date = "november 10" | CREATE TABLE table_name_28 (visiting_team VARCHAR, date VARCHAR), Who was the visiting team on November 10? |
SELECT host_team FROM table_name_67 WHERE final_score = "26-24" | CREATE TABLE table_name_67 (host_team VARCHAR, final_score VARCHAR), Who was the host team for the game with the final score of 26-24? |
SELECT host_team FROM table_name_48 WHERE date = "november 17" | CREATE TABLE table_name_48 (host_team VARCHAR, date VARCHAR), Who was the host team on November 17? |
SELECT stadium FROM table_name_55 WHERE final_score = "9-23" | CREATE TABLE table_name_55 (stadium VARCHAR, final_score VARCHAR), At what stadium was the game with the final score of 9-23 played? |
SELECT stadium FROM table_name_29 WHERE final_score = "26-24" | CREATE TABLE table_name_29 (stadium VARCHAR, final_score VARCHAR), At what stadium was the game with the final score of 26-24 played? |
SELECT host_team FROM table_name_29 WHERE visiting_team = "new england patriots" | CREATE TABLE table_name_29 (host_team VARCHAR, visiting_team VARCHAR), Which host team played against the New England Patriots? |
SELECT reason_for_termination FROM table_name_33 WHERE chief_judge = "1971–1977" | CREATE TABLE table_name_33 (reason_for_termination VARCHAR, chief_judge VARCHAR), What is the reason the Chief Judge of 1971–1977 was terminated? |
SELECT state FROM table_name_34 WHERE reason_for_termination = "retirement" AND active_service = "1926–1928" | CREATE TABLE table_name_34 (state VARCHAR, reason_for_termination VARCHAR, active_service VARCHAR), Which state has a Reason for termination of retirement, and an Active service of 1926–1928? |
SELECT pi_code FROM table_name_54 WHERE area = "hindhead" | CREATE TABLE table_name_54 (pi_code VARCHAR, area VARCHAR), What is the PI code in the hindhead area? |
SELECT frequency FROM table_name_81 WHERE power = "900w" | CREATE TABLE table_name_81 (frequency VARCHAR, power VARCHAR), What is the frequency with 900w power? |
SELECT event FROM table_name_92 WHERE round = 1 AND time = "3:02" | CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, time VARCHAR), What event ended in 3:02 of round 1? |
SELECT MAX(round) FROM table_name_77 WHERE opponent = "jr schumacher" | CREATE TABLE table_name_77 (round INTEGER, opponent VARCHAR), What is the highest round reached by an oppo ent of JR schumacher? |
SELECT location FROM table_name_24 WHERE opponent = "arturo segovia" | CREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR), Where did arturo segovia compete? |
SELECT MAX(fastest_time__s_) FROM table_name_76 WHERE location = "enugu" AND rank > 2 | CREATE TABLE table_name_76 (fastest_time__s_ INTEGER, location VARCHAR, rank VARCHAR), What is the top fastest time, larger than 2, in Enugu? |
SELECT casualties FROM table_name_48 WHERE circumstances = "ied" | CREATE TABLE table_name_48 (casualties VARCHAR, circumstances VARCHAR), How many casualties were from the IED circumstance? |
SELECT drawn FROM table_name_56 WHERE tries_against = "45" | CREATE TABLE table_name_56 (drawn VARCHAR, tries_against VARCHAR), Where there any Draws with 45 tries against? |
SELECT club FROM table_name_91 WHERE tries_against = "45" | CREATE TABLE table_name_91 (club VARCHAR, tries_against VARCHAR), Which club participated with a record of 45 tries against? |
SELECT drawn FROM table_name_19 WHERE tries_for = "51" | CREATE TABLE table_name_19 (drawn VARCHAR, tries_for VARCHAR), What was the amount of draws where a club had 51 tries for? |
SELECT lost FROM table_name_26 WHERE points_for = "208" | CREATE TABLE table_name_26 (lost VARCHAR, points_for VARCHAR), How many losses were there with 208 points? |
SELECT club FROM table_name_73 WHERE tries_for = "73" | CREATE TABLE table_name_73 (club VARCHAR, tries_for VARCHAR), Which of the participating clubs had 73 tries for? |
SELECT engine FROM table_name_44 WHERE chassis = "march 90ca" | CREATE TABLE table_name_44 (engine VARCHAR, chassis VARCHAR), What car has a March 90ca Chassis? |
SELECT MAX(year) FROM table_name_81 WHERE engine = "cosworth v8" AND chassis = "hesketh 308e" | CREATE TABLE table_name_81 (year INTEGER, engine VARCHAR, chassis VARCHAR), What is the latest year that has an engine of cosworth v8, with a chassis of hesketh 308e? |
SELECT year FROM table_name_19 WHERE engine = "brm v12" | CREATE TABLE table_name_19 (year VARCHAR, engine VARCHAR), Which year has brm v12 as the engine? |
SELECT MAX(year) FROM table_name_22 WHERE pts > 0 | CREATE TABLE table_name_22 (year INTEGER, pts INTEGER), What is the latesr year that has more points than 0? |
SELECT MAX(gold) FROM table_name_94 WHERE total < 4 AND silver = 1 AND bronze < 2 AND rank = "13" | CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR), Which is the highest Gold that has a total smaller than 4 and a silver of 1, and a bronze smaller than 2, and a rank of 13? |
SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1 | CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR), Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1? |
SELECT score FROM table_name_90 WHERE round = "rd 26, 2001" | CREATE TABLE table_name_90 (score VARCHAR, round VARCHAR), What was the score of the game that had a round of Rd 26, 2001? |
SELECT loss FROM table_name_24 WHERE attendance = "37,119" | CREATE TABLE table_name_24 (loss VARCHAR, attendance VARCHAR), What was the loss of the game attended by 37,119? |
SELECT date FROM table_name_89 WHERE loss = "lidle (10-8)" | CREATE TABLE table_name_89 (date VARCHAR, loss VARCHAR), What was the date of the game that had a loss of lidle (10-8)? |
SELECT loss FROM table_name_45 WHERE opponent = "yankees" AND attendance = "27,652" | CREATE TABLE table_name_45 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR), What was the loss of the game against the Yankees that was attended by 27,652? |
SELECT finish FROM table_name_11 WHERE qual = "159.384" | CREATE TABLE table_name_11 (finish VARCHAR, qual VARCHAR), What is the number of finish of the Qual of 159.384? |
SELECT qual FROM table_name_44 WHERE rank = "18" AND year = "1964" | CREATE TABLE table_name_44 (qual VARCHAR, rank VARCHAR, year VARCHAR), What is the qual for rank 18 in 1964? |
SELECT record FROM table_name_33 WHERE date = "may 13" | CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR), On May 13, what was the team's record? |
SELECT record FROM table_name_92 WHERE date = "may 26" | CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR), On May 26, what was the team's record? |
SELECT loss FROM table_name_68 WHERE date = "may 20" | CREATE TABLE table_name_68 (loss VARCHAR, date VARCHAR), Who did they lose to on May 20? |
SELECT area FROM table_name_67 WHERE decile = 4 AND name = "spring creek school" | CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, name VARCHAR), What was Spring Creek School's area when the decile was 4? |
SELECT AVG(founded) FROM table_name_59 WHERE location = "chicopee, massachusetts" | CREATE TABLE table_name_59 (founded INTEGER, location VARCHAR), What is the average Founded for chicopee, massachusetts? |
SELECT AVG(joined) FROM table_name_55 WHERE nickname = "wildcats" AND location = "longmeadow, massachusetts" | CREATE TABLE table_name_55 (joined INTEGER, nickname VARCHAR, location VARCHAR), What is the average Joined with a Nickname of wildcats in longmeadow, massachusetts? |
SELECT current_conference FROM table_name_53 WHERE nickname = "lynx" | CREATE TABLE table_name_53 (current_conference VARCHAR, nickname VARCHAR), Which Current Conference has a Nickname of lynx? |
SELECT league FROM table_name_65 WHERE year = 2011 | CREATE TABLE table_name_65 (league VARCHAR, year VARCHAR), What league played in 2011? |
SELECT date FROM table_name_24 WHERE record = "22-22" | CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR), Which date has a Record of 22-22? |
SELECT opponent FROM table_name_94 WHERE date = "may 30" | CREATE TABLE table_name_94 (opponent VARCHAR, date VARCHAR), Which Opponent has a Date of may 30? |
SELECT mixed_doubles FROM table_name_68 WHERE year = 2010 | CREATE TABLE table_name_68 (mixed_doubles VARCHAR, year VARCHAR), Who all played mixed doubles in 2010? |
SELECT COUNT(lane) FROM table_name_28 WHERE nationality = "united states" AND name = "aaron peirsol" | CREATE TABLE table_name_28 (lane VARCHAR, nationality VARCHAR, name VARCHAR), How many lanes have a Nationality of united states, and a Name of aaron peirsol? |
SELECT name FROM table_name_12 WHERE lane < 3 AND heat > 4 AND time = "2:00.80" | CREATE TABLE table_name_12 (name VARCHAR, time VARCHAR, lane VARCHAR, heat VARCHAR), Which name has a Lane smaller than 3, a Heat larger than 4, and a Time of 2:00.80? |
SELECT date FROM table_name_92 WHERE result = "8-1" AND score = "8-1" | CREATE TABLE table_name_92 (date VARCHAR, result VARCHAR, score VARCHAR), When was there a result of 8-1 and a score of 8-1? |
SELECT date FROM table_name_41 WHERE result = "5-1" | CREATE TABLE table_name_41 (date VARCHAR, result VARCHAR), When was there a result of 5-1? |
SELECT date FROM table_name_71 WHERE score = "7-1" | CREATE TABLE table_name_71 (date VARCHAR, score VARCHAR), When was there a score of 7-1? |
SELECT result FROM table_name_75 WHERE score = "8-1" | CREATE TABLE table_name_75 (result VARCHAR, score VARCHAR), What is the result when the score is 8-1? |
SELECT competition FROM table_name_44 WHERE score = "1-1" | CREATE TABLE table_name_44 (competition VARCHAR, score VARCHAR), What is the competition type when the score is 1-1? |
SELECT date FROM table_name_38 WHERE week > 6 AND opponent = "new york jets" | CREATE TABLE table_name_38 (date VARCHAR, week VARCHAR, opponent VARCHAR), What was the date of the game after week 6 with the New York Jets as the opponent? |
SELECT result FROM table_name_91 WHERE week = 1 | CREATE TABLE table_name_91 (result VARCHAR, week VARCHAR), What is the result of the week 1 game? |
SELECT COUNT(goals_for) FROM table_name_33 WHERE lost > 35 AND games < 80 | CREATE TABLE table_name_33 (goals_for VARCHAR, lost VARCHAR, games VARCHAR), How many goals have Lost larger than 35, and Games smaller than 80? |
SELECT SUM(goals_against) FROM table_name_10 WHERE points = 72 AND lost > 37 | CREATE TABLE table_name_10 (goals_against INTEGER, points VARCHAR, lost VARCHAR), What are the total Goals against with 72 points and more than 37 losses? |
SELECT SUM(points) FROM table_name_31 WHERE goals_for > 225 AND goals_against = 190 | CREATE TABLE table_name_31 (points INTEGER, goals_for VARCHAR, goals_against VARCHAR), What are the total number of points with more than 225 goals and a Goals against of 190? |
SELECT number_of_broadband_subscribers FROM table_name_24 WHERE population = "~3,644,070" | CREATE TABLE table_name_24 (number_of_broadband_subscribers VARCHAR, population VARCHAR), How many broadband subscribers are there where the population is ~3,644,070? |
SELECT Broadband AS penetration FROM table_name_31 WHERE number_of_broadband_subscribers = "~355,100" | CREATE TABLE table_name_31 (Broadband VARCHAR, number_of_broadband_subscribers VARCHAR), What is the broadband penetration where there are ~355,100 broadband subscribers? |
SELECT number_of_broadband_subscribers FROM table_name_56 WHERE number_of_users = "~47,372" | CREATE TABLE table_name_56 (number_of_broadband_subscribers VARCHAR, number_of_users VARCHAR), How many broadband subscribers are there where there are ~47,372 users? |
SELECT team FROM table_name_5 WHERE value__$m_ < 377 AND country = "germany" AND rank = 17 | CREATE TABLE table_name_5 (team VARCHAR, rank VARCHAR, value__$m_ VARCHAR, country VARCHAR), Which team has a value less than 377 million in Germany with a rank of 17? |
SELECT AVG(revenue__) AS $m_ FROM table_name_28 WHERE team = "bayern munich" AND rank > 4 | CREATE TABLE table_name_28 (revenue__ INTEGER, team VARCHAR, rank VARCHAR), What is the average revenue for Bayern Munich with a rank greater than 4? |
SELECT country FROM table_name_23 WHERE _percentage_change_on_year > 5 AND rank = 10 | CREATE TABLE table_name_23 (country VARCHAR, _percentage_change_on_year VARCHAR, rank VARCHAR), Which country has more than 5% change in a year with a rank of 10? |
SELECT MIN(revenue__) AS $m_ FROM table_name_95 WHERE rank = 14 | CREATE TABLE table_name_95 (revenue__ INTEGER, rank VARCHAR), What is the lowest revenue for the rank of 14? |
SELECT opponent FROM table_name_50 WHERE date = "jul 31" AND score = "w 5-1" | CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR, score VARCHAR), Name the opponent for jul 31 and score of w 5-1 |
SELECT loss FROM table_name_44 WHERE opponent = "@cle" AND record = "67-29" | CREATE TABLE table_name_44 (loss VARCHAR, opponent VARCHAR, record VARCHAR), Name the less for opponent of @cle and record of 67-29 |
SELECT loss FROM table_name_4 WHERE record = "71-33" | CREATE TABLE table_name_4 (loss VARCHAR, record VARCHAR), Name the loss with record of 71-33 |
SELECT date FROM table_name_9 WHERE record = "55-24" | CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR), Name the date with record of 55-24 |
SELECT record FROM table_name_37 WHERE opponent = "bos" AND loss = "morris" | CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR), Name the record with opponent of bos and loss of morris |
SELECT catalog FROM table_name_60 WHERE label = "village records" AND date = "february 14, 2002" | CREATE TABLE table_name_60 (catalog VARCHAR, label VARCHAR, date VARCHAR), Which catalog did Village Records have on February 14, 2002? |
SELECT region FROM table_name_6 WHERE catalog = "38xa-5" | CREATE TABLE table_name_6 (region VARCHAR, catalog VARCHAR), What was the region for the 38xa-5 catalog? |
SELECT date FROM table_name_42 WHERE catalog = "32xa-112" | CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR), What was the date for the catalog 32xa-112? |
SELECT date FROM table_name_33 WHERE format = "stereo lp" | CREATE TABLE table_name_33 (date VARCHAR, format VARCHAR), What was the date for a catalog formatted in stereo LP? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.