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