instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What date was the game against Toronto which had a game number higher than 53? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, game VARCHAR, team VARCHAR) | SELECT date FROM table_name_68 WHERE game > 53 AND team = "toronto" |
Write a SQL query that answers the following question: What is the date of the that was played with the Baltimore Colts at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_94 WHERE home_team = "baltimore colts" |
Write a SQL query that answers the following question: How long did the game go that was played with the Houston Oilers at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (length_of_game VARCHAR, home_team VARCHAR) | SELECT length_of_game FROM table_name_31 WHERE home_team = "houston oilers" |
Write a SQL query that answers the following question: What was the date of the game that lasted 75:43? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, length_of_game VARCHAR) | SELECT date FROM table_name_93 WHERE length_of_game = "75:43" |
Write a SQL query that answers the following question: Who is the away team for the game played on December 24, 1977? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (away_team VARCHAR, date VARCHAR) | SELECT away_team FROM table_name_78 WHERE date = "december 24, 1977" |
Write a SQL query that answers the following question: What was the length of the game where the Baltimore Colts were at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (length_of_game VARCHAR, home_team VARCHAR) | SELECT length_of_game FROM table_name_95 WHERE home_team = "baltimore colts" |
Write a SQL query that answers the following question: What's the number of laps for 16 grids? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (laps INTEGER, grid VARCHAR) | SELECT SUM(laps) FROM table_name_36 WHERE grid = 16 |
Write a SQL query that answers the following question: Who was the rider for laps less than 23 with grid greater than 21 that had a time of +1 lap? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_71 WHERE laps < 23 AND grid > 21 AND time_retired = "+1 lap" |
Write a SQL query that answers the following question: What's the total grid for someone with a time/retire of +44.831 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_26 WHERE time_retired = "+44.831" |
Write a SQL query that answers the following question: What's the smallest grid for Time/Retired of +22.687? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR) | SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687" |
Write a SQL query that answers the following question: What is the recoupa sudaamericana 1996 result of team flamengo, which did not qualify for the copa conmebol 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (recopa_sudamericana_1996 VARCHAR, copa_conmebol_1996 VARCHAR, team VARCHAR) | SELECT recopa_sudamericana_1996 FROM table_name_10 WHERE copa_conmebol_1996 = "did not qualify" AND team = "flamengo" |
Write a SQL query that answers the following question: What is the copa libertadores 1996 result of the team with a copa conmebol 1996 result of quarterfinals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (copa_libertadores_1996 VARCHAR, copa_conmebol_1996 VARCHAR) | SELECT copa_libertadores_1996 FROM table_name_84 WHERE copa_conmebol_1996 = "quarterfinals" |
Write a SQL query that answers the following question: What is the copa libertadores 1996 of team corinthians? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (copa_libertadores_1996 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1996 FROM table_name_32 WHERE team = "corinthians" |
Write a SQL query that answers the following question: What is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (copa_conmebol_1996 VARCHAR, recopa_sudamericana_1996 VARCHAR) | SELECT copa_conmebol_1996 FROM table_name_49 WHERE recopa_sudamericana_1996 = "champions" |
Write a SQL query that answers the following question: What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (recopa_sudamericana_1996 VARCHAR, copa_libertadores_1996 VARCHAR) | SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 16" |
Write a SQL query that answers the following question: What is the recoupa sudamericana 1996 result of team corinthians? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (recopa_sudamericana_1996 VARCHAR, team VARCHAR) | SELECT recopa_sudamericana_1996 FROM table_name_7 WHERE team = "corinthians" |
Write a SQL query that answers the following question: What season has 195 runs as a margin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (season VARCHAR, margin VARCHAR) | SELECT season FROM table_name_90 WHERE margin = "195 runs" |
Write a SQL query that answers the following question: What season has 2 as a rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (season VARCHAR, rank VARCHAR) | SELECT season FROM table_name_18 WHERE rank = "2" |
Write a SQL query that answers the following question: What venue has 2 as the rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (venue VARCHAR, rank VARCHAR) | SELECT venue FROM table_name_75 WHERE rank = "2" |
Write a SQL query that answers the following question: What opponent has 2011/12 as the season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (opponent VARCHAR, season VARCHAR) | SELECT opponent FROM table_name_79 WHERE season = "2011/12" |
Write a SQL query that answers the following question: What is the length of the version from 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (length VARCHAR, year VARCHAR) | SELECT length FROM table_name_3 WHERE year = 2003 |
Write a SQL query that answers the following question: Who remixed the version with a length of 4:22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (remixed_by VARCHAR, length VARCHAR) | SELECT remixed_by FROM table_name_67 WHERE length = "4:22" |
Write a SQL query that answers the following question: What is the length of the UK remix version? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (length VARCHAR, version VARCHAR) | SELECT length FROM table_name_68 WHERE version = "uk remix" |
Write a SQL query that answers the following question: What year was the version with a remixes album? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (year VARCHAR, album VARCHAR) | SELECT year FROM table_name_76 WHERE album = "remixes" |
Write a SQL query that answers the following question: How many losses did the team, Sturt, have when they had more than 0 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_85 WHERE team = "sturt" AND wins > 0 |
Write a SQL query that answers the following question: What is the average number of draws for the team that had more than 0 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (draws INTEGER, wins INTEGER) | SELECT AVG(draws) FROM table_name_13 WHERE wins > 0 |
Write a SQL query that answers the following question: What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (losses INTEGER, draws VARCHAR, season VARCHAR) | SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926 |
Write a SQL query that answers the following question: What is the highest number of wins for the team, Central District, who had less than 0 draws and took place during a season before 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (wins INTEGER, draws VARCHAR, season VARCHAR, team VARCHAR) | SELECT MAX(wins) FROM table_name_63 WHERE season < 1995 AND team = "central district" AND draws < 0 |
Write a SQL query that answers the following question: What is the average number of wins before the season in 1906 where there were 0 draws? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (wins INTEGER, season VARCHAR, draws VARCHAR) | SELECT AVG(wins) FROM table_name_72 WHERE season < 1906 AND draws < 0 |
Write a SQL query that answers the following question: Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (opposing_pitcher VARCHAR, inning VARCHAR, team VARCHAR, location VARCHAR) | SELECT opposing_pitcher FROM table_name_37 WHERE team = "phillies" AND location = "pittsburgh" AND inning = "8th" |
Write a SQL query that answers the following question: What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR) | SELECT MIN(game) FROM table_name_14 WHERE inning = "6th" AND opposing_pitcher = "cliff curtis" |
Write a SQL query that answers the following question: What is was Date that where Triple was smaller than 26, and Game was 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, triple VARCHAR, game VARCHAR) | SELECT date FROM table_name_84 WHERE triple < 26 AND game = 25 |
Write a SQL query that answers the following question: Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(gold) FROM table_name_47 WHERE bronze = 14 AND total > 42 |
Write a SQL query that answers the following question: Which Bronze is the lowest one that has a Nation of total, and a Gold smaller than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_38 WHERE nation = "total" AND gold < 14 |
Write a SQL query that answers the following question: How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (total VARCHAR, nation VARCHAR, gold VARCHAR) | SELECT COUNT(total) FROM table_name_16 WHERE nation = "kazakhstan (kaz)" AND gold > 0 |
Write a SQL query that answers the following question: Which Total is the highest one that has a Rank of 1, and a Gold larger than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_24 WHERE rank = "1" AND gold > 11 |
Write a SQL query that answers the following question: Who finished 3rd in Oslo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR) | SELECT third FROM table_name_74 WHERE venue = "oslo" |
Write a SQL query that answers the following question: On November 22, what were the results of the friendly type game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR) | SELECT results¹ FROM table_name_99 WHERE type_of_game = "friendly" AND date = "november 22" |
Write a SQL query that answers the following question: On October 8, what city was the game played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_82 WHERE date = "october 8" |
Write a SQL query that answers the following question: On June 29, who was the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_96 WHERE date = "june 29" |
Write a SQL query that answers the following question: What date had an opponent of Sweden and a friendly type game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, type_of_game VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_44 WHERE type_of_game = "friendly" AND opponent = "sweden" |
Write a SQL query that answers the following question: What were the results on September 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (results¹ VARCHAR, date VARCHAR) | SELECT results¹ FROM table_name_31 WHERE date = "september 7" |
Write a SQL query that answers the following question: What is the Winning team on january 28, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (winning_team VARCHAR, date VARCHAR) | SELECT winning_team FROM table_name_35 WHERE date = "january 28, 2006" |
Write a SQL query that answers the following question: Which Series has a Winning team of iowa state and a Sport of w basketball? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (series VARCHAR, winning_team VARCHAR, sport VARCHAR) | SELECT series FROM table_name_54 WHERE winning_team = "iowa state" AND sport = "w basketball" |
Write a SQL query that answers the following question: Which Series has a Site of ames on september 10, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (series VARCHAR, site VARCHAR, date VARCHAR) | SELECT series FROM table_name_90 WHERE site = "ames" AND date = "september 10, 2005" |
Write a SQL query that answers the following question: Which Series has a Site of ames and a Sport of w gymnastics? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR) | SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics" |
Write a SQL query that answers the following question: WHich port is on march 17, 2006 and has a Winning team of iowa state? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (sport VARCHAR, date VARCHAR, winning_team VARCHAR) | SELECT sport FROM table_name_70 WHERE date = "march 17, 2006" AND winning_team = "iowa state" |
Write a SQL query that answers the following question: Which Site has a Date of march 17, 2006 and an iowa state Winning team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (site VARCHAR, date VARCHAR, winning_team VARCHAR) | SELECT site FROM table_name_40 WHERE date = "march 17, 2006" AND winning_team = "iowa state" |
Write a SQL query that answers the following question: Who was the opponent of the game before week 11 on October 31, 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976" |
Write a SQL query that answers the following question: What is the highest attendance of the game on week 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR) | SELECT MAX(attendance) FROM table_name_68 WHERE week = 9 |
Write a SQL query that answers the following question: When is the last episode air date for season 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (last_air_date VARCHAR, season VARCHAR) | SELECT last_air_date FROM table_name_2 WHERE season = 3 |
Write a SQL query that answers the following question: Which season had its last episode air on March 11, 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (season VARCHAR, last_air_date VARCHAR) | SELECT season FROM table_name_43 WHERE last_air_date = "march 11, 2001" |
Write a SQL query that answers the following question: What games have more than 1 draw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (games INTEGER, drawn INTEGER) | SELECT AVG(games) FROM table_name_22 WHERE drawn > 1 |
Write a SQL query that answers the following question: What game is the lowest with 1 draw and less than 7 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (games INTEGER, drawn VARCHAR, points VARCHAR) | SELECT MIN(games) FROM table_name_43 WHERE drawn = 1 AND points < 7 |
Write a SQL query that answers the following question: Manager of art griggs had what lowest year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (year INTEGER, manager VARCHAR) | SELECT MIN(year) FROM table_name_86 WHERE manager = "art griggs" |
Write a SQL query that answers the following question: Manager of spencer abbott, and a Year of 1919 involves what playoffs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (playoffs VARCHAR, manager VARCHAR, year VARCHAR) | SELECT playoffs FROM table_name_78 WHERE manager = "spencer abbott" AND year = 1919 |
Write a SQL query that answers the following question: Manager of marty berghammer / nick allen is what year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (year VARCHAR, manager VARCHAR) | SELECT year FROM table_name_91 WHERE manager = "marty berghammer / nick allen" |
Write a SQL query that answers the following question: Manager of lyman lamb / marty berghammer is in what league? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (league VARCHAR, manager VARCHAR) | SELECT league FROM table_name_59 WHERE manager = "lyman lamb / marty berghammer" |
Write a SQL query that answers the following question: Manager of marty berghammer, and a Finish of 1st involved what lowest year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR) | SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st" |
Write a SQL query that answers the following question: Playoffs of league champs, and a Record of 77-63 is in what league? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (league VARCHAR, playoffs VARCHAR, record VARCHAR) | SELECT league FROM table_name_63 WHERE playoffs = "league champs" AND record = "77-63" |
Write a SQL query that answers the following question: Name the 2005 with 2007 of sf | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (Id VARCHAR) | SELECT 2005 FROM table_name_16 WHERE 2007 = "sf" |
Write a SQL query that answers the following question: Name the 2006 with 2008 of 1r and 2004 of 1r | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 2006 FROM table_name_22 WHERE 2008 = "1r" AND 2004 = "1r" |
Write a SQL query that answers the following question: Name the 2011 with 2002 of 1r and 2009 of a | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (Id VARCHAR) | SELECT 2011 FROM table_name_9 WHERE 2002 = "1r" AND 2009 = "a" |
Write a SQL query that answers the following question: Name the 1999 with 2011 of 2r | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (Id VARCHAR) | SELECT 1999 FROM table_name_3 WHERE 2011 = "2r" |
Write a SQL query that answers the following question: Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (Id VARCHAR) | SELECT 2008 FROM table_name_88 WHERE 1998 = "a" AND 2002 = "1r" AND 2004 = "2r" |
Write a SQL query that answers the following question: Name the 2001 with 2007 of sf | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (Id VARCHAR) | SELECT 2001 FROM table_name_2 WHERE 2007 = "sf" |
Write a SQL query that answers the following question: Which school year was the Class AAA dalhart and the class AAAAA edinburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (school_year VARCHAR, class_aAA VARCHAR, dalhart VARCHAR, class_aAAAA VARCHAR, edinburg VARCHAR) | SELECT school_year FROM table_name_73 WHERE class_aAA = dalhart AND class_aAAAA = edinburg |
Write a SQL query that answers the following question: For what Class A is the school year 1987-88? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (class_a VARCHAR, school_year VARCHAR) | SELECT class_a FROM table_name_24 WHERE school_year = "1987-88" |
Write a SQL query that answers the following question: What is the Class AAAAA when the Class AAA is Gonzales? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (class_aAAA VARCHAR, class_aAA VARCHAR, gonzales VARCHAR) | SELECT class_aAAA FROM table_name_28 WHERE class_aAA = gonzales |
Write a SQL query that answers the following question: Which team scored less than 35 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (team VARCHAR, points INTEGER) | SELECT team FROM table_name_78 WHERE points < 35 |
Write a SQL query that answers the following question: Which Position has a Team of criciúma, and a Drawn larger than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (position INTEGER, team VARCHAR, drawn VARCHAR) | SELECT AVG(position) FROM table_name_80 WHERE team = "criciúma" AND drawn > 8 |
Write a SQL query that answers the following question: Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR) | SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56 |
Write a SQL query that answers the following question: Which Played has a Lost larger than 14, and a Drawn of 10, and Points larger than 46? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR) | SELECT AVG(played) FROM table_name_97 WHERE lost > 14 AND drawn = 10 AND points > 46 |
Write a SQL query that answers the following question: What score has devin brown (24) as the leading scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (score VARCHAR, leading_scorer VARCHAR) | SELECT score FROM table_name_36 WHERE leading_scorer = "devin brown (24)" |
Write a SQL query that answers the following question: Which height, in meters, has 36 floors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (height_ft___m__ VARCHAR, floors VARCHAR) | SELECT height_ft___m__ FROM table_name_93 WHERE floors = 36 |
Write a SQL query that answers the following question: Which Floors is the highest one that has a Name of one indiana square? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR) | SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square" |
Write a SQL query that answers the following question: How tall is the Street address of 07.0 200 east washington street? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (height_ft___m__ VARCHAR, street_address VARCHAR) | SELECT height_ft___m__ FROM table_name_10 WHERE street_address = "07.0 200 east washington street" |
Write a SQL query that answers the following question: What was the date of the game where the indians record was 37-44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_95 WHERE record = "37-44" |
Write a SQL query that answers the following question: What city is Garfield County Museum located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (town_city VARCHAR, name VARCHAR) | SELECT town_city FROM table_name_39 WHERE name = "garfield county museum" |
Write a SQL query that answers the following question: What is the museum name located in Rudyard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (name VARCHAR, town_city VARCHAR) | SELECT name FROM table_name_52 WHERE town_city = "rudyard" |
Write a SQL query that answers the following question: What is the region that the Blaine County Museum is located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (region VARCHAR, name VARCHAR) | SELECT region FROM table_name_43 WHERE name = "blaine county museum" |
Write a SQL query that answers the following question: What Tournament had a Score of 6–3, 2–6, 6–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_13 WHERE score = "6–3, 2–6, 6–3" |
Write a SQL query that answers the following question: What Partner had a Score of 6–3, 2–6, 6–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (partner VARCHAR, score VARCHAR) | SELECT partner FROM table_name_31 WHERE score = "6–3, 2–6, 6–3" |
Write a SQL query that answers the following question: Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire" |
Write a SQL query that answers the following question: Who was the visiting team when the record was 6–12–5–1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_4 WHERE record = "6–12–5–1" |
Write a SQL query that answers the following question: Who was the home team when the record was 21–45–8–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR) | SELECT home FROM table_name_56 WHERE record = "21–45–8–5" |
Write a SQL query that answers the following question: Which of the attributes has is cancelable and an answer of yes for bubbles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR) | SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes" |
Write a SQL query that answers the following question: Which bubbles has an atribute of onlostpointercapture? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (bubbles VARCHAR, attribute VARCHAR) | SELECT bubbles FROM table_name_87 WHERE attribute = "onlostpointercapture" |
Write a SQL query that answers the following question: For the attribute of onpointerout, what is the cancelable? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR) | SELECT cancelable FROM table_name_75 WHERE attribute = "onpointerout" |
Write a SQL query that answers the following question: Which bubble have a cancelable of yes and an attribute of onpointerdown? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (bubbles VARCHAR, cancelable VARCHAR, attribute VARCHAR) | SELECT bubbles FROM table_name_58 WHERE cancelable = "yes" AND attribute = "onpointerdown" |
Write a SQL query that answers the following question: What's the highest grid of Ronnie Bremer, who had more than 18 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (grid INTEGER, driver VARCHAR, points VARCHAR) | SELECT MAX(grid) FROM table_name_91 WHERE driver = "ronnie bremer" AND points > 18 |
Write a SQL query that answers the following question: What are the most points Lap 70 had with a grid larger than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (points INTEGER, laps VARCHAR, grid VARCHAR) | SELECT MAX(points) FROM table_name_71 WHERE laps = 70 AND grid > 16 |
Write a SQL query that answers the following question: What is the name of the track in Holland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR) | SELECT track FROM table_name_2 WHERE city = "holland" |
Write a SQL query that answers the following question: What is the track in Washington state? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (track VARCHAR, state VARCHAR) | SELECT track FROM table_name_83 WHERE state = "washington" |
Write a SQL query that answers the following question: What is the city the track of manzanita speedway is in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR) | SELECT city FROM table_name_89 WHERE track = "manzanita speedway" |
Write a SQL query that answers the following question: What is the surface of the track at the indianapolis speedrome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (surface VARCHAR, track VARCHAR) | SELECT surface FROM table_name_2 WHERE track = "indianapolis speedrome" |
Write a SQL query that answers the following question: What is the surface for the riverhead raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR) | SELECT surface FROM table_name_84 WHERE track = "riverhead raceway" |
Write a SQL query that answers the following question: What city is the indianapolis speedrome in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR) | SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome" |
Write a SQL query that answers the following question: What is the IUPAC name for chloroform? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR) | SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform" |
Write a SQL query that answers the following question: What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (szdsz VARCHAR, mszp VARCHAR, date VARCHAR) | SELECT szdsz FROM table_name_8 WHERE mszp = "25%" AND date = "25/2/2009" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.