instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Loss of lyon (5-4) had what score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_17 WHERE loss = "lyon (5-4)" |
Write a SQL query that answers the following question: Loss of finley (8-7) had what record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_99 WHERE loss = "finley (8-7)" |
Write a SQL query that answers the following question: Opponent of @ blue jays, and a Date of october 6 had what score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 6" |
Write a SQL query that answers the following question: What is the score for game 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_82 WHERE game = 5 |
Write a SQL query that answers the following question: What is the score that has a game greater than 3, with buffalo sabres as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_77 WHERE game > 3 AND opponent = "buffalo sabres" |
Write a SQL query that answers the following question: What score has may 9 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_26 WHERE date = "may 9" |
Write a SQL query that answers the following question: What was the score on October 16, 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_37 WHERE date = "october 16, 1983" |
Write a SQL query that answers the following question: What was the score when she was a runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, outcome VARCHAR) | SELECT score FROM table_name_38 WHERE outcome = "runner-up" |
Write a SQL query that answers the following question: What tournament was being played on August 11, 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_86 WHERE date = "august 11, 1984" |
Write a SQL query that answers the following question: What was the Venue on June 8, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_9 WHERE date = "june 8, 2005" |
Write a SQL query that answers the following question: On what Date was the Venue Los Angeles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_90 WHERE venue = "los angeles" |
Write a SQL query that answers the following question: What was the Score on September 29, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_64 WHERE date = "september 29, 2003" |
Write a SQL query that answers the following question: On what Date was the Venue in Carson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_10 WHERE venue = "carson" |
Write a SQL query that answers the following question: What was the competition on October 21, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_83 WHERE date = "october 21, 2003" |
Write a SQL query that answers the following question: What was the Competition on September 29, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_15 WHERE date = "september 29, 2003" |
Write a SQL query that answers the following question: What country has chunkath, mohan verghese as the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR) | SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese" |
Write a SQL query that answers the following question: What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR) | SELECT position FROM table_name_96 WHERE spread > -319 AND country = "united states" AND win_loss = "11-13" AND name = "gabriel, marty" |
Write a SQL query that answers the following question: What name has a spread of 69? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR) | SELECT name FROM table_name_96 WHERE spread = 69 |
Write a SQL query that answers the following question: Which Performer 2 has an Episode of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR) | SELECT performer_2 FROM table_name_26 WHERE episode = 5 |
Write a SQL query that answers the following question: What weight has one rupee as the denomination? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (weight VARCHAR, denomination VARCHAR) | SELECT weight FROM table_name_88 WHERE denomination = "one rupee" |
Write a SQL query that answers the following question: What is the size that has nickel as the metal, and one rupee as the denomination? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR) | SELECT size FROM table_name_46 WHERE metal = "nickel" AND denomination = "one rupee" |
Write a SQL query that answers the following question: What metal has one rupee as the denomination? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (metal VARCHAR, denomination VARCHAR) | SELECT metal FROM table_name_83 WHERE denomination = "one rupee" |
Write a SQL query that answers the following question: What shape has nickel as the metal, and one rupee as the denomination? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR) | SELECT shape FROM table_name_78 WHERE metal = "nickel" AND denomination = "one rupee" |
Write a SQL query that answers the following question: Which 2007 has a 2010 of A, and a 2006 of lq? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (Id VARCHAR) | SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq" |
Write a SQL query that answers the following question: Which 2012 has a 2007 of 1r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (Id VARCHAR) | SELECT 2012 FROM table_name_51 WHERE 2007 = "1r" |
Write a SQL query that answers the following question: Which 2002 has a 2013 of 2–4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2002 FROM table_name_37 WHERE 2013 = "2–4" |
Write a SQL query that answers the following question: Which 2013 has a 2010 of 1r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (Id VARCHAR) | SELECT 2013 FROM table_name_98 WHERE 2010 = "1r" |
Write a SQL query that answers the following question: Which 2005 has a Tournament of grand slam tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (tournament VARCHAR) | SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments" |
Write a SQL query that answers the following question: Which 2007 has a 2008 of 1r, and a Tournament of wimbledon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (tournament VARCHAR) | SELECT 2007 FROM table_name_53 WHERE 2008 = "1r" AND tournament = "wimbledon" |
Write a SQL query that answers the following question: Which Date has a Home of minnesota? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_25 WHERE home = "minnesota" |
Write a SQL query that answers the following question: Which Visitor has a Decision of myre, and a Record of 44–7–15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_32 WHERE decision = "myre" AND record = "44–7–15" |
Write a SQL query that answers the following question: What Championship had a Winning score of 6 & 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR) | SELECT championship FROM table_name_31 WHERE winning_score = "6 & 5" |
Write a SQL query that answers the following question: What was the Winning Score when Betsy Rawls was the Runner(s)-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls" |
Write a SQL query that answers the following question: In 1946, what is the Runner(s)-up of the Women's Western Open Championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR) | SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = 1946 |
Write a SQL query that answers the following question: What is the Margin in 1953 when Patty Berg was Runner(s)-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR) | SELECT margin FROM table_name_29 WHERE runner_s__up = "patty berg" AND year = 1953 |
Write a SQL query that answers the following question: What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR) | SELECT name FROM table_name_74 WHERE type = "primary" AND dcsf_number > 2337 AND ofsted_number < 135339 |
Write a SQL query that answers the following question: What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR) | SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319 |
Write a SQL query that answers the following question: What faith has a DCSF number bigger than 2448 in Holtsmere End? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (faith VARCHAR, dcsf_number VARCHAR, name VARCHAR) | SELECT faith FROM table_name_44 WHERE dcsf_number > 2448 AND name = "holtsmere end" |
Write a SQL query that answers the following question: What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR) | SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335 |
Write a SQL query that answers the following question: what city is the toamasina airport in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR) | SELECT city FROM table_name_42 WHERE airport = "toamasina airport" |
Write a SQL query that answers the following question: What country has the city, Sydney? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_99 WHERE city = "sydney" |
Write a SQL query that answers the following question: What city is in the country of Mayotte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (city VARCHAR, country VARCHAR) | SELECT city FROM table_name_63 WHERE country = "mayotte" |
Write a SQL query that answers the following question: What is the IATA for the chennai international airport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_96 WHERE airport = "chennai international airport" |
Write a SQL query that answers the following question: What is the airport name that has nos listed as the IATA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_78 WHERE iata = "nos" |
Write a SQL query that answers the following question: What is the part number of athlon x2 4850e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (part_number_s_ VARCHAR, model_number VARCHAR) | SELECT part_number_s_ FROM table_name_89 WHERE model_number = "athlon x2 4850e" |
Write a SQL query that answers the following question: What's the frequency of the device that has a Multi 1 of 7.5×? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (frequency VARCHAR, multi_1 VARCHAR) | SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×" |
Write a SQL query that answers the following question: What's amount of L2 Cache on a device that has a Frequency of 1500mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (l2_cache VARCHAR, frequency VARCHAR) | SELECT l2_cache FROM table_name_78 WHERE frequency = "1500mhz" |
Write a SQL query that answers the following question: When is the release date for a chip that has a Frequency of 2300mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR) | SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz" |
Write a SQL query that answers the following question: When was the release date for technology that has a Multi 1 of 10.5×? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (release_date VARCHAR, multi_1 VARCHAR) | SELECT release_date FROM table_name_72 WHERE multi_1 = "10.5×" |
Write a SQL query that answers the following question: What's the stepping amount for adh4450iaa5do? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (stepping VARCHAR, part_number_s_ VARCHAR) | SELECT stepping FROM table_name_61 WHERE part_number_s_ = "adh4450iaa5do" |
Write a SQL query that answers the following question: Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR) | SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168 |
Write a SQL query that answers the following question: Which Year is the highest that has a Team of walker racing, and Wins larger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR) | SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1 |
Write a SQL query that answers the following question: Which Points have a Year larger than 1998, and Wins of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR) | SELECT AVG(points) FROM table_name_79 WHERE year > 1998 AND wins = 1 |
Write a SQL query that answers the following question: What is the lowest bronze number when silver shows 2, and the total is 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 8 |
Write a SQL query that answers the following question: What is the silver number when gold is more than 4, and the total is less than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_54 WHERE gold > 4 AND total < 24 |
Write a SQL query that answers the following question: What is the gold number when the total is 8 and bronze is more than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_19 WHERE total = 8 AND bronze > 4 |
Write a SQL query that answers the following question: What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6" |
Write a SQL query that answers the following question: What is the average Gold when silver is more than 2, and bronze is more than 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_59 WHERE silver > 2 AND bronze > 1 |
Write a SQL query that answers the following question: What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2 |
Write a SQL query that answers the following question: What city in Svalbard has a longitude of 15°39′e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR) | SELECT city FROM table_name_77 WHERE state = "svalbard" AND longitude = "15°39′e" |
Write a SQL query that answers the following question: If the latitude is 77°28′n, what is the longitude? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n" |
Write a SQL query that answers the following question: If the latitude is 76°25′n, what is the longitude? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_name_52 WHERE latitude = "76°25′n" |
Write a SQL query that answers the following question: If the latitude is 71°18′n, what is the longitude? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_name_98 WHERE latitude = "71°18′n" |
Write a SQL query that answers the following question: Who is the partner facing the opponents florian Mayer & alexander waske in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske" |
Write a SQL query that answers the following question: Which tournament has a hard surface and final opponents rohan bopanna & mustafa ghouse? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR) | SELECT tournament FROM table_name_19 WHERE surface = "hard" AND opponents_in_the_final = "rohan bopanna & mustafa ghouse" |
Write a SQL query that answers the following question: On which date did the tournament final with the clay surface take place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR) | SELECT date FROM table_name_94 WHERE surface = "clay" |
Write a SQL query that answers the following question: Which tournament features the partner julian knowle? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (tournament VARCHAR, partner VARCHAR) | SELECT tournament FROM table_name_93 WHERE partner = "julian knowle" |
Write a SQL query that answers the following question: On which date is the tournament final with the opponents michael berrer & kenneth carlsen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen" |
Write a SQL query that answers the following question: What was the score after february 4 in the game 61? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (score VARCHAR, february VARCHAR, game VARCHAR) | SELECT score FROM table_name_30 WHERE february > 4 AND game = 61 |
Write a SQL query that answers the following question: What is Arkansas State's total pick number with an overal lower than 242? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR) | SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242 |
Write a SQL query that answers the following question: Who is from the College of Cincinnati? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (name VARCHAR, college VARCHAR) | SELECT name FROM table_name_38 WHERE college = "cincinnati" |
Write a SQL query that answers the following question: What is the overall number for a kicker with a pick of less than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR) | SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6 |
Write a SQL query that answers the following question: Which college has a defensive end with a round less than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR) | SELECT college FROM table_name_84 WHERE round > 6 AND position = "defensive end" |
Write a SQL query that answers the following question: What record has a score of 111-96? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_56 WHERE score = "111-96" |
Write a SQL query that answers the following question: What is the score for a game after 34 with a record of 31-11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (score VARCHAR, game VARCHAR, record VARCHAR) | SELECT score FROM table_name_53 WHERE game > 34 AND record = "31-11" |
Write a SQL query that answers the following question: What was the date with a resulted score of 130-100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_16 WHERE score = "130-100" |
Write a SQL query that answers the following question: Which Water has a Metal of contracting? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (water VARCHAR, metal VARCHAR) | SELECT water FROM table_name_72 WHERE metal = "contracting" |
Write a SQL query that answers the following question: Which Metal has an Element of heavenly stems? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (metal VARCHAR, element VARCHAR) | SELECT metal FROM table_name_84 WHERE element = "heavenly stems" |
Write a SQL query that answers the following question: Which water has green wood? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR) | SELECT water FROM table_name_50 WHERE wood = "green" |
Write a SQL query that answers the following question: Which earth has west metal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (earth VARCHAR, metal VARCHAR) | SELECT earth FROM table_name_10 WHERE metal = "west" |
Write a SQL query that answers the following question: Which wood has stabilizing earth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (wood VARCHAR, earth VARCHAR) | SELECT wood FROM table_name_50 WHERE earth = "stabilizing" |
Write a SQL query that answers the following question: Which fire has dry metal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (fire VARCHAR, metal VARCHAR) | SELECT fire FROM table_name_24 WHERE metal = "dry" |
Write a SQL query that answers the following question: what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (name VARCHAR, rank VARCHAR, begin_date VARCHAR) | SELECT name FROM table_name_87 WHERE rank = "lieutenant colonel" AND begin_date = "1904-02-22 22 february 1904" |
Write a SQL query that answers the following question: Oklahoma State produced a player in which position in the draft? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_26 WHERE school_club_team = "oklahoma state" |
Write a SQL query that answers the following question: What is the highest round where a back named Ed Cody can be found? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR) | SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody" |
Write a SQL query that answers the following question: Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (losses INTEGER, season VARCHAR, draws VARCHAR) | SELECT MIN(losses) FROM table_name_75 WHERE season < 1920 AND draws > 0 |
Write a SQL query that answers the following question: Which Draws have Losses larger than 16, and a Season larger than 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (draws INTEGER, losses VARCHAR, season VARCHAR) | SELECT SUM(draws) FROM table_name_53 WHERE losses > 16 AND season > 1966 |
Write a SQL query that answers the following question: Which Draws have a Team of annandale, and Losses smaller than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (draws INTEGER, team VARCHAR, losses VARCHAR) | SELECT SUM(draws) FROM table_name_58 WHERE team = "annandale" AND losses < 13 |
Write a SQL query that answers the following question: Which Draws have Losses smaller than 16, and a Team of university, and Wins larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (draws INTEGER, wins VARCHAR, losses VARCHAR, team VARCHAR) | SELECT AVG(draws) FROM table_name_38 WHERE losses < 16 AND team = "university" AND wins > 0 |
Write a SQL query that answers the following question: Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (wins INTEGER, season VARCHAR, losses VARCHAR) | SELECT MIN(wins) FROM table_name_99 WHERE season < 1920 AND losses < 14 |
Write a SQL query that answers the following question: Which date had a sport of Academics? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date VARCHAR, sport VARCHAR) | SELECT date FROM table_name_70 WHERE sport = "academics" |
Write a SQL query that answers the following question: Which date had a site of N/A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, site VARCHAR) | SELECT date FROM table_name_9 WHERE site = "n/a" |
Write a SQL query that answers the following question: what was the builder in 1929 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (builder VARCHAR, year_built VARCHAR) | SELECT builder FROM table_name_22 WHERE year_built = "1929" |
Write a SQL query that answers the following question: What was the attendance for the March 6 game, where one of the teams had 53 points. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (attendance VARCHAR, points VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_55 WHERE points = 53 AND date = "march 6" |
Write a SQL query that answers the following question: For the game with 6,126 in attendance, how many points did both teams have in the standings? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (points VARCHAR, attendance VARCHAR) | SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126 |
Write a SQL query that answers the following question: What is the record of the team with a St. Louis home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_18 WHERE home = "st. louis" |
Write a SQL query that answers the following question: What country has a territory of French Guiana? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (country VARCHAR, territory VARCHAR) | SELECT country FROM table_name_28 WHERE territory = "french guiana" |
Write a SQL query that answers the following question: Which 2008-12 has a 2013 of A, and a Tournament of wimbledon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tournament VARCHAR) | SELECT 2008 AS _12 FROM table_name_77 WHERE 2013 = "a" AND tournament = "wimbledon" |
Write a SQL query that answers the following question: Which 2013 has a 2007 of A, and a Tournament of french open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (tournament VARCHAR) | SELECT 2013 FROM table_name_49 WHERE 2007 = "a" AND tournament = "french open" |
Write a SQL query that answers the following question: Which 2013 has a 2006 of grand slam tournaments? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 2013 FROM table_name_64 WHERE 2006 = "grand slam tournaments" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.