instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
For the game played on November 29, who had the highest rebounds? | CREATE TABLE table_name_73 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_73 WHERE date = "november 29" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (high_rebounds VARCHAR, date VARCHAR) Question: For the game played on November 29, who had the highest rebounds? [/INST] SELECT high_rebounds FROM table_name_73 WHERE date = "november 29" </s> |
WHAT TEAM WAS AN NCAA CHAMPION? | CREATE TABLE table_name_76 (team VARCHAR, notes VARCHAR) | SELECT team FROM table_name_76 WHERE notes = "ncaa champion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (team VARCHAR, notes VARCHAR) Question: WHAT TEAM WAS AN NCAA CHAMPION? [/INST] SELECT team FROM table_name_76 WHERE notes = "ncaa champion" </s> |
When the champion was Gay Brewer Category:Articles with hCards what was the total score? | CREATE TABLE table_name_90 (total_score VARCHAR, champion VARCHAR) | SELECT total_score FROM table_name_90 WHERE champion = "gay brewer category:articles with hcards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total_score VARCHAR, champion VARCHAR) Question: When the champion was Gay Brewer Category:Articles with hCards what was the total score? [/INST] SELECT total_score FROM table_name_90 WHERE champi... |
What was the To Par [a] when Charles Coody Category:Articles with hCards was champion and the year was earlier than 1973? | CREATE TABLE table_name_6 (to_par_ VARCHAR, a_ VARCHAR, year VARCHAR, champion VARCHAR) | SELECT to_par_ AS "a_" FROM table_name_6 WHERE year < 1973 AND champion = "charles coody category:articles with hcards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (to_par_ VARCHAR, a_ VARCHAR, year VARCHAR, champion VARCHAR) Question: What was the To Par [a] when Charles Coody Category:Articles with hCards was champion and the year was earlier than 1973? [/IN... |
When the United States had a total score of 274 what was the average year? | CREATE TABLE table_name_67 (year INTEGER, total_score VARCHAR, country VARCHAR) | SELECT AVG(year) FROM table_name_67 WHERE total_score = "274" AND country = "united states" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (year INTEGER, total_score VARCHAR, country VARCHAR) Question: When the United States had a total score of 274 what was the average year? [/INST] SELECT AVG(year) FROM table_name_67 WHERE total_sco... |
What is 1st Leg, when Team 1 is "Makedonija"? | CREATE TABLE table_name_52 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (team_1 VARCHAR) Question: What is 1st Leg, when Team 1 is "Makedonija"? [/INST] SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija" </s> |
What's the record for home team ottawa senators on march 6? | CREATE TABLE table_name_45 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE home = "ottawa senators" AND date = "march 6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (record VARCHAR, home VARCHAR, date VARCHAR) Question: What's the record for home team ottawa senators on march 6? [/INST] SELECT record FROM table_name_45 WHERE home = "ottawa senators" AND date =... |
What's the score on february 18 when the visitors are the montreal canadiens? | CREATE TABLE table_name_46 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_46 WHERE visitor = "montreal canadiens" AND date = "february 18" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (score VARCHAR, visitor VARCHAR, date VARCHAR) Question: What's the score on february 18 when the visitors are the montreal canadiens? [/INST] SELECT score FROM table_name_46 WHERE visitor = "montr... |
Which fleet was named Orenburg? | CREATE TABLE table_name_87 (fleet VARCHAR, name VARCHAR) | SELECT fleet FROM table_name_87 WHERE name = "orenburg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (fleet VARCHAR, name VARCHAR) Question: Which fleet was named Orenburg? [/INST] SELECT fleet FROM table_name_87 WHERE name = "orenburg" </s> |
Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–? | CREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR) | SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR) Question: Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–? [/INST] SELECT player FROM table_name_4 ... |
Which Country has a Player of arjun atwal? | CREATE TABLE table_name_19 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_19 WHERE player = "arjun atwal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (country VARCHAR, player VARCHAR) Question: Which Country has a Player of arjun atwal? [/INST] SELECT country FROM table_name_19 WHERE player = "arjun atwal" </s> |
Which Wins have a Winning span of 2000–2010? | CREATE TABLE table_name_46 (wins INTEGER, winning_span VARCHAR) | SELECT SUM(wins) FROM table_name_46 WHERE winning_span = "2000–2010" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (wins INTEGER, winning_span VARCHAR) Question: Which Wins have a Winning span of 2000–2010? [/INST] SELECT SUM(wins) FROM table_name_46 WHERE winning_span = "2000–2010" </s> |
WHAT WAS THE PICK NUMBER FOR BRANDON RUSH? | CREATE TABLE table_name_82 (pick VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_82 WHERE player = "brandon rush" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (pick VARCHAR, player VARCHAR) Question: WHAT WAS THE PICK NUMBER FOR BRANDON RUSH? [/INST] SELECT COUNT(pick) FROM table_name_82 WHERE player = "brandon rush" </s> |
WHAT IS THE HIGHEST ROUND FOR MIKE TAYLOR, WITH PICK HIGHER THAN 55? | CREATE TABLE table_name_86 (round INTEGER, player VARCHAR, pick VARCHAR) | SELECT MAX(round) FROM table_name_86 WHERE player = "mike taylor" AND pick > 55 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (round INTEGER, player VARCHAR, pick VARCHAR) Question: WHAT IS THE HIGHEST ROUND FOR MIKE TAYLOR, WITH PICK HIGHER THAN 55? [/INST] SELECT MAX(round) FROM table_name_86 WHERE player = "mike taylor... |
WHAT POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR? | CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR) | SELECT position FROM table_name_67 WHERE pick < 33 AND player = "darrell arthur" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR) Question: WHAT POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR? [/INST] SELECT position FROM table_name_67 WHERE pick < 33 AND ... |
What was the finish of the player who had a total of 282? | CREATE TABLE table_name_80 (finish VARCHAR, total VARCHAR) | SELECT finish FROM table_name_80 WHERE total = 282 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (finish VARCHAR, total VARCHAR) Question: What was the finish of the player who had a total of 282? [/INST] SELECT finish FROM table_name_80 WHERE total = 282 </s> |
What years did Lou Graham win in? | CREATE TABLE table_name_41 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_41 WHERE player = "lou graham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (year_s__won VARCHAR, player VARCHAR) Question: What years did Lou Graham win in? [/INST] SELECT year_s__won FROM table_name_41 WHERE player = "lou graham" </s> |
How many floors did the tallest building in Aston have? | CREATE TABLE table_name_43 (floors VARCHAR, location VARCHAR) | SELECT floors FROM table_name_43 WHERE location = "aston" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (floors VARCHAR, location VARCHAR) Question: How many floors did the tallest building in Aston have? [/INST] SELECT floors FROM table_name_43 WHERE location = "aston" </s> |
What is the name of the building at the Jewellery quarter? | CREATE TABLE table_name_61 (name VARCHAR, location VARCHAR) | SELECT name FROM table_name_61 WHERE location = "jewellery quarter" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (name VARCHAR, location VARCHAR) Question: What is the name of the building at the Jewellery quarter? [/INST] SELECT name FROM table_name_61 WHERE location = "jewellery quarter" </s> |
What is the name of the building at Aston? | CREATE TABLE table_name_59 (name VARCHAR, location VARCHAR) | SELECT name FROM table_name_59 WHERE location = "aston" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (name VARCHAR, location VARCHAR) Question: What is the name of the building at Aston? [/INST] SELECT name FROM table_name_59 WHERE location = "aston" </s> |
How many floors did the building at the Jewellery quarter have? | CREATE TABLE table_name_66 (floors VARCHAR, location VARCHAR) | SELECT floors FROM table_name_66 WHERE location = "jewellery quarter" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (floors VARCHAR, location VARCHAR) Question: How many floors did the building at the Jewellery quarter have? [/INST] SELECT floors FROM table_name_66 WHERE location = "jewellery quarter" </s> |
What is Season, when Lead is "Michael Goodfellow"? | CREATE TABLE table_name_12 (season VARCHAR, lead VARCHAR) | SELECT season FROM table_name_12 WHERE lead = "michael goodfellow" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (season VARCHAR, lead VARCHAR) Question: What is Season, when Lead is "Michael Goodfellow"? [/INST] SELECT season FROM table_name_12 WHERE lead = "michael goodfellow" </s> |
What is Season, when Third is "Glen Muirhead"? | CREATE TABLE table_name_62 (season VARCHAR, third VARCHAR) | SELECT season FROM table_name_62 WHERE third = "glen muirhead" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (season VARCHAR, third VARCHAR) Question: What is Season, when Third is "Glen Muirhead"? [/INST] SELECT season FROM table_name_62 WHERE third = "glen muirhead" </s> |
What home team has an n/a attendance? | CREATE TABLE table_name_38 (home VARCHAR, attendance VARCHAR) | SELECT home FROM table_name_38 WHERE attendance = "n/a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (home VARCHAR, attendance VARCHAR) Question: What home team has an n/a attendance? [/INST] SELECT home FROM table_name_38 WHERE attendance = "n/a" </s> |
What's the sum of the points when attendance is 8,000 on february 22? | CREATE TABLE table_name_41 (points INTEGER, attendance VARCHAR, date VARCHAR) | SELECT SUM(points) FROM table_name_41 WHERE attendance = "8,000" AND date = "february 22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (points INTEGER, attendance VARCHAR, date VARCHAR) Question: What's the sum of the points when attendance is 8,000 on february 22? [/INST] SELECT SUM(points) FROM table_name_41 WHERE attendance = "... |
Can you tell me the total number of Matched that has the Strike Rate smallet than 152.3, and the Balls of 395? | CREATE TABLE table_name_88 (matches VARCHAR, strike_rate VARCHAR, balls VARCHAR) | SELECT COUNT(matches) FROM table_name_88 WHERE strike_rate < 152.3 AND balls = 395 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (matches VARCHAR, strike_rate VARCHAR, balls VARCHAR) Question: Can you tell me the total number of Matched that has the Strike Rate smallet than 152.3, and the Balls of 395? [/INST] SELECT COUNT(m... |
On what date did Jesse Levine play on a hard surface? | CREATE TABLE table_name_78 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_78 WHERE surface = "hard" AND opponent = "jesse levine" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, surface VARCHAR, opponent VARCHAR) Question: On what date did Jesse Levine play on a hard surface? [/INST] SELECT date FROM table_name_78 WHERE surface = "hard" AND opponent = "jesse... |
Name the Venue which has a Losing Team of newcastle knights? | CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR) | SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR) Question: Name the Venue which has a Losing Team of newcastle knights? [/INST] SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights" </s> |
WHich Losing Team has a Venue of sydney football stadium, and a Total larger than 80, and a Winning Team of tigers? | CREATE TABLE table_name_87 (losing_team VARCHAR, winning_team VARCHAR, venue VARCHAR, total VARCHAR) | SELECT losing_team FROM table_name_87 WHERE venue = "sydney football stadium" AND total > 80 AND winning_team = "tigers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (losing_team VARCHAR, winning_team VARCHAR, venue VARCHAR, total VARCHAR) Question: WHich Losing Team has a Venue of sydney football stadium, and a Total larger than 80, and a Winning Team of tiger... |
Which Score has a Losing Team of sydney roosters, and a Total of 88? | CREATE TABLE table_name_77 (score VARCHAR, losing_team VARCHAR, total VARCHAR) | SELECT score FROM table_name_77 WHERE losing_team = "sydney roosters" AND total = 88 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (score VARCHAR, losing_team VARCHAR, total VARCHAR) Question: Which Score has a Losing Team of sydney roosters, and a Total of 88? [/INST] SELECT score FROM table_name_77 WHERE losing_team = "sydne... |
What was the TV Time for opponent jacksonville jaguars? | CREATE TABLE table_name_51 (tv_time VARCHAR, opponent VARCHAR) | SELECT tv_time FROM table_name_51 WHERE opponent = "jacksonville jaguars" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (tv_time VARCHAR, opponent VARCHAR) Question: What was the TV Time for opponent jacksonville jaguars? [/INST] SELECT tv_time FROM table_name_51 WHERE opponent = "jacksonville jaguars" </s> |
What was the tv time on december 6, 1998? | CREATE TABLE table_name_24 (tv_time VARCHAR, date VARCHAR) | SELECT tv_time FROM table_name_24 WHERE date = "december 6, 1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (tv_time VARCHAR, date VARCHAR) Question: What was the tv time on december 6, 1998? [/INST] SELECT tv_time FROM table_name_24 WHERE date = "december 6, 1998" </s> |
How many weeks has the opponent been san francisco 49ers? | CREATE TABLE table_name_65 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_65 WHERE opponent = "san francisco 49ers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (week VARCHAR, opponent VARCHAR) Question: How many weeks has the opponent been san francisco 49ers? [/INST] SELECT COUNT(week) FROM table_name_65 WHERE opponent = "san francisco 49ers" </s> |
What college did the player drafted after round 2 before pick 160 attend? | CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR, round VARCHAR) | SELECT college FROM table_name_50 WHERE pick < 160 AND round > 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR, round VARCHAR) Question: What college did the player drafted after round 2 before pick 160 attend? [/INST] SELECT college FROM table_name_50 WHERE pick < 160 AND rou... |
What round was jerry corcoran drafted in as pick number 114? | CREATE TABLE table_name_63 (round INTEGER, pick VARCHAR, player VARCHAR) | SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (round INTEGER, pick VARCHAR, player VARCHAR) Question: What round was jerry corcoran drafted in as pick number 114? [/INST] SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerr... |
What is the nationality of the round 4 draft selection who played college ball at oklahoma? | CREATE TABLE table_name_33 (nationality VARCHAR, round VARCHAR, college VARCHAR) | SELECT nationality FROM table_name_33 WHERE round = 4 AND college = "oklahoma" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (nationality VARCHAR, round VARCHAR, college VARCHAR) Question: What is the nationality of the round 4 draft selection who played college ball at oklahoma? [/INST] SELECT nationality FROM table_nam... |
Who was the highest drafted player that attended college at Virginia? | CREATE TABLE table_name_44 (pick INTEGER, college VARCHAR) | SELECT MAX(pick) FROM table_name_44 WHERE college = "virginia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (pick INTEGER, college VARCHAR) Question: Who was the highest drafted player that attended college at Virginia? [/INST] SELECT MAX(pick) FROM table_name_44 WHERE college = "virginia" </s> |
What round was northeastern college player Reggie Lewis drafted in? | CREATE TABLE table_name_26 (round INTEGER, college VARCHAR, player VARCHAR) | SELECT MIN(round) FROM table_name_26 WHERE college = "northeastern" AND player = "reggie lewis" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (round INTEGER, college VARCHAR, player VARCHAR) Question: What round was northeastern college player Reggie Lewis drafted in? [/INST] SELECT MIN(round) FROM table_name_26 WHERE college = "northeas... |
What Away Competition had a Result of lost 2-4? | CREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR) | SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR) Question: What Away Competition had a Result of lost 2-4? [/INST] SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost ... |
What is the Venue against the Bracknell Bees? | CREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_9 WHERE opponent = "bracknell bees" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR) Question: What is the Venue against the Bracknell Bees? [/INST] SELECT venue FROM table_name_9 WHERE opponent = "bracknell bees" </s> |
What is the Away Competition on the 6th? | CREATE TABLE table_name_81 (competition VARCHAR, venue VARCHAR, date VARCHAR) | SELECT competition FROM table_name_81 WHERE venue = "away" AND date = "6th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (competition VARCHAR, venue VARCHAR, date VARCHAR) Question: What is the Away Competition on the 6th? [/INST] SELECT competition FROM table_name_81 WHERE venue = "away" AND date = "6th" </s> |
What Competition had a Result of lost 1-2? | CREATE TABLE table_name_34 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_34 WHERE result = "lost 1-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (competition VARCHAR, result VARCHAR) Question: What Competition had a Result of lost 1-2? [/INST] SELECT competition FROM table_name_34 WHERE result = "lost 1-2" </s> |
What is the Man of the Match of the Competition with a Result of lost 2-5? | CREATE TABLE table_name_73 (man_of_the_match VARCHAR, result VARCHAR) | SELECT man_of_the_match FROM table_name_73 WHERE result = "lost 2-5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (man_of_the_match VARCHAR, result VARCHAR) Question: What is the Man of the Match of the Competition with a Result of lost 2-5? [/INST] SELECT man_of_the_match FROM table_name_73 WHERE result = "lo... |
What is the Date of the Competition with Man of the Match Ollie Bronnimann? | CREATE TABLE table_name_41 (date VARCHAR, man_of_the_match VARCHAR) | SELECT date FROM table_name_41 WHERE man_of_the_match = "ollie bronnimann" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (date VARCHAR, man_of_the_match VARCHAR) Question: What is the Date of the Competition with Man of the Match Ollie Bronnimann? [/INST] SELECT date FROM table_name_41 WHERE man_of_the_match = "ollie... |
what is team 2 when team 1 is fc rouen (d1)? | CREATE TABLE table_name_85 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_85 WHERE team_1 = "fc rouen (d1)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (team_2 VARCHAR, team_1 VARCHAR) Question: what is team 2 when team 1 is fc rouen (d1)? [/INST] SELECT team_2 FROM table_name_85 WHERE team_1 = "fc rouen (d1)" </s> |
what is team 1 when team 2 is gazélec ajaccio (d3)? | CREATE TABLE table_name_6 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_6 WHERE team_2 = "gazélec ajaccio (d3)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (team_1 VARCHAR, team_2 VARCHAR) Question: what is team 1 when team 2 is gazélec ajaccio (d3)? [/INST] SELECT team_1 FROM table_name_6 WHERE team_2 = "gazélec ajaccio (d3)" </s> |
what is the 1st round when team 2 is olympique lyonnais (d2)? | CREATE TABLE table_name_67 (team_2 VARCHAR) | SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (team_2 VARCHAR) Question: what is the 1st round when team 2 is olympique lyonnais (d2)? [/INST] SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)" </s> |
what is the total when the league is less than 1? | CREATE TABLE table_name_89 (total VARCHAR, league INTEGER) | SELECT total FROM table_name_89 WHERE league < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (total VARCHAR, league INTEGER) Question: what is the total when the league is less than 1? [/INST] SELECT total FROM table_name_89 WHERE league < 1 </s> |
What is the lowest profits (billion $) for the rank 6? | CREATE TABLE table_name_25 (profits__billion_ INTEGER, rank VARCHAR) | SELECT MIN(profits__billion_) AS $_ FROM table_name_25 WHERE rank = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (profits__billion_ INTEGER, rank VARCHAR) Question: What is the lowest profits (billion $) for the rank 6? [/INST] SELECT MIN(profits__billion_) AS $_ FROM table_name_25 WHERE rank = 6 </s> |
What is the smallest rank for an industry of banking, a company of bank of america, and profits (billion $) larger than 16.47? | CREATE TABLE table_name_36 (rank INTEGER, profits__billion_$_ VARCHAR, industry VARCHAR, company VARCHAR) | SELECT MIN(rank) FROM table_name_36 WHERE industry = "banking" AND company = "bank of america" AND profits__billion_$_ > 16.47 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (rank INTEGER, profits__billion_$_ VARCHAR, industry VARCHAR, company VARCHAR) Question: What is the smallest rank for an industry of banking, a company of bank of america, and profits (billion $) ... |
What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase? | CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR) | SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR) Question: What is the lowest market value (billion $) with a headquarter of usa , an... |
What season in sanskrit means summer in English? | CREATE TABLE table_name_34 (season_in_sanskrit VARCHAR, season_in_english VARCHAR) | SELECT season_in_sanskrit FROM table_name_34 WHERE season_in_english = "summer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (season_in_sanskrit VARCHAR, season_in_english VARCHAR) Question: What season in sanskrit means summer in English? [/INST] SELECT season_in_sanskrit FROM table_name_34 WHERE season_in_english = "su... |
What is the english translation of the sanskrit word varsha? | CREATE TABLE table_name_81 (english_translation VARCHAR, season_in_sanskrit VARCHAR) | SELECT english_translation FROM table_name_81 WHERE season_in_sanskrit = "varsha" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (english_translation VARCHAR, season_in_sanskrit VARCHAR) Question: What is the english translation of the sanskrit word varsha? [/INST] SELECT english_translation FROM table_name_81 WHERE season_i... |
What are the gregorian months for the season குளிர் in Tamil? | CREATE TABLE table_name_96 (gregorian_months VARCHAR, season_in_tamil VARCHAR) | SELECT gregorian_months FROM table_name_96 WHERE season_in_tamil = "குளிர்" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (gregorian_months VARCHAR, season_in_tamil VARCHAR) Question: What are the gregorian months for the season குளிர் in Tamil? [/INST] SELECT gregorian_months FROM table_name_96 WHERE season_in_tamil ... |
What are the months in Tamil that has an english transliteration of Mun-pani? | CREATE TABLE table_name_89 (tamil_months VARCHAR, english_transliteration VARCHAR) | SELECT tamil_months FROM table_name_89 WHERE english_transliteration = "mun-pani" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (tamil_months VARCHAR, english_transliteration VARCHAR) Question: What are the months in Tamil that has an english transliteration of Mun-pani? [/INST] SELECT tamil_months FROM table_name_89 WHERE ... |
What is the english transliteration of late dew? | CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR) | SELECT english_transliteration FROM table_name_60 WHERE english_translation = "late dew" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR) Question: What is the english transliteration of late dew? [/INST] SELECT english_transliteration FROM table_name_60 WHERE english_tra... |
What is the english word Monsoon in Tamil? | CREATE TABLE table_name_23 (season_in_tamil VARCHAR, season_in_english VARCHAR) | SELECT season_in_tamil FROM table_name_23 WHERE season_in_english = "monsoon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (season_in_tamil VARCHAR, season_in_english VARCHAR) Question: What is the english word Monsoon in Tamil? [/INST] SELECT season_in_tamil FROM table_name_23 WHERE season_in_english = "monsoon" </s> |
What is the 2009 result when 2011 is 1R and 2007 is A? | CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 2009 FROM table_name_84 WHERE 2011 = "1r" AND 2007 = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (Id VARCHAR) Question: What is the 2009 result when 2011 is 1R and 2007 is A? [/INST] SELECT 2009 FROM table_name_84 WHERE 2011 = "1r" AND 2007 = "a" </s> |
What is the 2008 result when 2006 is Year-End Championship? | CREATE TABLE table_name_89 (Id VARCHAR) | SELECT 2008 FROM table_name_89 WHERE 2006 = "year-end championship" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (Id VARCHAR) Question: What is the 2008 result when 2006 is Year-End Championship? [/INST] SELECT 2008 FROM table_name_89 WHERE 2006 = "year-end championship" </s> |
What is the 2009 when 2012 is Year-End Championship? | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2009 FROM table_name_38 WHERE 2012 = "year-end championship" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: What is the 2009 when 2012 is Year-End Championship? [/INST] SELECT 2009 FROM table_name_38 WHERE 2012 = "year-end championship" </s> |
What is the 2008 result when 2012 and 2005 are both QF? | CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 2008 FROM table_name_67 WHERE 2012 = "qf" AND 2005 = "qf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (Id VARCHAR) Question: What is the 2008 result when 2012 and 2005 are both QF? [/INST] SELECT 2008 FROM table_name_67 WHERE 2012 = "qf" AND 2005 = "qf" </s> |
What is the 1999 answer when 1998 is Grand Slam Tournaments? | CREATE TABLE table_name_80 (Id VARCHAR) | SELECT 1999 FROM table_name_80 WHERE 1998 = "grand slam tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (Id VARCHAR) Question: What is the 1999 answer when 1998 is Grand Slam Tournaments? [/INST] SELECT 1999 FROM table_name_80 WHERE 1998 = "grand slam tournaments" </s> |
Which Score has High points of raymond felton (32)? | CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR) Question: Which Score has High points of raymond felton (32)? [/INST] SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)" </s> |
Which Record has a Team of philadelphia? | CREATE TABLE table_name_66 (record VARCHAR, team VARCHAR) | SELECT record FROM table_name_66 WHERE team = "philadelphia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (record VARCHAR, team VARCHAR) Question: Which Record has a Team of philadelphia? [/INST] SELECT record FROM table_name_66 WHERE team = "philadelphia" </s> |
Which High rebounds has a Game of 76? | CREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_name_97 WHERE game = 76 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR) Question: Which High rebounds has a Game of 76? [/INST] SELECT high_rebounds FROM table_name_97 WHERE game = 76 </s> |
Which Location Attendance has a High assists of raymond felton (5), and a Record of 35–44? | CREATE TABLE table_name_17 (location_attendance VARCHAR, high_assists VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_17 WHERE high_assists = "raymond felton (5)" AND record = "35–44" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (location_attendance VARCHAR, high_assists VARCHAR, record VARCHAR) Question: Which Location Attendance has a High assists of raymond felton (5), and a Record of 35–44? [/INST] SELECT location_atte... |
Which Location Attendance has a Date of april 15? | CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_52 WHERE date = "april 15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR) Question: Which Location Attendance has a Date of april 15? [/INST] SELECT location_attendance FROM table_name_52 WHERE date = "april 15" </s> |
What date was there a game larger than 17? | CREATE TABLE table_name_20 (date VARCHAR, game INTEGER) | SELECT date FROM table_name_20 WHERE game > 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date VARCHAR, game INTEGER) Question: What date was there a game larger than 17? [/INST] SELECT date FROM table_name_20 WHERE game > 17 </s> |
What is the result of the match with clyde as the opponent in the h venue? | CREATE TABLE table_name_27 (result VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT result FROM table_name_27 WHERE opponent = "clyde" AND venue = "h" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (result VARCHAR, opponent VARCHAR, venue VARCHAR) Question: What is the result of the match with clyde as the opponent in the h venue? [/INST] SELECT result FROM table_name_27 WHERE opponent = "cly... |
What is the attendance on 24 December 1898? | CREATE TABLE table_name_23 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_23 WHERE date = "24 december 1898" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (attendance VARCHAR, date VARCHAR) Question: What is the attendance on 24 December 1898? [/INST] SELECT attendance FROM table_name_23 WHERE date = "24 december 1898" </s> |
What was the date of the match at venue A with the celtic as the opponent? | CREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_41 WHERE venue = "a" AND opponent = "celtic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR) Question: What was the date of the match at venue A with the celtic as the opponent? [/INST] SELECT date FROM table_name_41 WHERE venue = "a" AND opp... |
Who is the opponent of the match on 3 December 1898 in venue h? | CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_36 WHERE venue = "h" AND date = "3 december 1898" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR) Question: Who is the opponent of the match on 3 December 1898 in venue h? [/INST] SELECT opponent FROM table_name_36 WHERE venue = "h" AND date = "3 ... |
What country does Glory Alozie play for? | CREATE TABLE table_name_15 (country VARCHAR, name VARCHAR) | SELECT country FROM table_name_15 WHERE name = "glory alozie" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (country VARCHAR, name VARCHAR) Question: What country does Glory Alozie play for? [/INST] SELECT country FROM table_name_15 WHERE name = "glory alozie" </s> |
In what country did fadwa al bouza have larger than 0.257 react score? | CREATE TABLE table_name_48 (country VARCHAR, react VARCHAR, name VARCHAR) | SELECT country FROM table_name_48 WHERE react > 0.257 AND name = "fadwa al bouza" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (country VARCHAR, react VARCHAR, name VARCHAR) Question: In what country did fadwa al bouza have larger than 0.257 react score? [/INST] SELECT country FROM table_name_48 WHERE react > 0.257 AND nam... |
What is Place, when Score is "75-71-72-70=288"? | CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_33 WHERE score = 75 - 71 - 72 - 70 = 288 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR) Question: What is Place, when Score is "75-71-72-70=288"? [/INST] SELECT place FROM table_name_33 WHERE score = 75 - 71 - 72 - 70 = 288 </s> |
What is Money ( $ ), when Score is "75-71-72-70=288"? | CREATE TABLE table_name_35 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_35 WHERE score = 75 - 71 - 72 - 70 = 288 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (money___$__ VARCHAR, score VARCHAR) Question: What is Money ( $ ), when Score is "75-71-72-70=288"? [/INST] SELECT money___$__ FROM table_name_35 WHERE score = 75 - 71 - 72 - 70 = 288 </s> |
What is Country, when Player is "Jimmy Demaret"? | CREATE TABLE table_name_10 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_10 WHERE player = "jimmy demaret" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is "Jimmy Demaret"? [/INST] SELECT country FROM table_name_10 WHERE player = "jimmy demaret" </s> |
What is Player, when Score is "71-69-72-72=284"? | CREATE TABLE table_name_42 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (player VARCHAR, score VARCHAR) Question: What is Player, when Score is "71-69-72-72=284"? [/INST] SELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284 </s> |
What is Country, when Player is "Dutch Harrison"? | CREATE TABLE table_name_8 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_8 WHERE player = "dutch harrison" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is "Dutch Harrison"? [/INST] SELECT country FROM table_name_8 WHERE player = "dutch harrison" </s> |
What is Score, when Date is May 7, 2006? | CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_65 WHERE date = "may 7, 2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) Question: What is Score, when Date is May 7, 2006? [/INST] SELECT score FROM table_name_65 WHERE date = "may 7, 2006" </s> |
What is Surface, when Opponents In The Final is "Christophe Rochus Olivier Rochus"? | CREATE TABLE table_name_66 (surface VARCHAR, opponents_in_the_final VARCHAR) | SELECT surface FROM table_name_66 WHERE opponents_in_the_final = "christophe rochus olivier rochus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (surface VARCHAR, opponents_in_the_final VARCHAR) Question: What is Surface, when Opponents In The Final is "Christophe Rochus Olivier Rochus"? [/INST] SELECT surface FROM table_name_66 WHERE oppon... |
What is Tournament, when Surface is "Hard"? | CREATE TABLE table_name_92 (tournament VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_92 WHERE surface = "hard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (tournament VARCHAR, surface VARCHAR) Question: What is Tournament, when Surface is "Hard"? [/INST] SELECT tournament FROM table_name_92 WHERE surface = "hard" </s> |
What is Score, when Partnering is "Alexander Waske", and when Opponents In The Final is "Rafael Nadal Bartolomé Salvá-Vidal"? | CREATE TABLE table_name_26 (score VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR) | SELECT score FROM table_name_26 WHERE partnering = "alexander waske" AND opponents_in_the_final = "rafael nadal bartolomé salvá-vidal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (score VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR) Question: What is Score, when Partnering is "Alexander Waske", and when Opponents In The Final is "Rafael Nadal Bartolomé Salvá-V... |
Which Royal house is named Elah? | CREATE TABLE table_name_34 (royal_house VARCHAR, name VARCHAR) | SELECT royal_house FROM table_name_34 WHERE name = "elah" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (royal_house VARCHAR, name VARCHAR) Question: Which Royal house is named Elah? [/INST] SELECT royal_house FROM table_name_34 WHERE name = "elah" </s> |
What is the type of Leader for the Royal House of Baasha, who is named Elah. | CREATE TABLE table_name_96 (type VARCHAR, royal_house VARCHAR, name VARCHAR) | SELECT type FROM table_name_96 WHERE royal_house = "baasha" AND name = "elah" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (type VARCHAR, royal_house VARCHAR, name VARCHAR) Question: What is the type of Leader for the Royal House of Baasha, who is named Elah. [/INST] SELECT type FROM table_name_96 WHERE royal_house = "... |
What is the average Silver with rank 30 and a Bronze greater than 0 | CREATE TABLE table_name_42 (silver INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT AVG(silver) FROM table_name_42 WHERE rank = "30" AND bronze > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (silver INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the average Silver with rank 30 and a Bronze greater than 0 [/INST] SELECT AVG(silver) FROM table_name_42 WHERE rank = "30" AND bron... |
What is the highest Gold that has a Silver less than 7 and Bronze less than 0 | CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_17 WHERE silver < 7 AND bronze < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the highest Gold that has a Silver less than 7 and Bronze less than 0 [/INST] SELECT MAX(gold) FROM table_name_17 WHERE silver < 7 A... |
What is the highest Bronze with a Silver greater than 0 and a Gold of 7 and a total less than 29 | CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT MAX(bronze) FROM table_name_39 WHERE silver > 0 AND gold = 7 AND total < 29 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the highest Bronze with a Silver greater than 0 and a Gold of 7 and a total less than 29 [/INST] SELECT MAX(bronze) F... |
What is the sum of Total ranking 9 and a Gold more than 6 | CREATE TABLE table_name_74 (total INTEGER, rank VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_74 WHERE rank = "9" AND gold > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (total INTEGER, rank VARCHAR, gold VARCHAR) Question: What is the sum of Total ranking 9 and a Gold more than 6 [/INST] SELECT SUM(total) FROM table_name_74 WHERE rank = "9" AND gold > 6 </s> |
What is the lowest Bronze with a 17 Rank and a Total less than 5 | CREATE TABLE table_name_30 (bronze INTEGER, rank VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_30 WHERE rank = "17" AND total < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (bronze INTEGER, rank VARCHAR, total VARCHAR) Question: What is the lowest Bronze with a 17 Rank and a Total less than 5 [/INST] SELECT MIN(bronze) FROM table_name_30 WHERE rank = "17" AND total < ... |
What is the venue that is located in zhodino? | CREATE TABLE table_name_84 (venue VARCHAR, location VARCHAR) | SELECT venue FROM table_name_84 WHERE location = "zhodino" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (venue VARCHAR, location VARCHAR) Question: What is the venue that is located in zhodino? [/INST] SELECT venue FROM table_name_84 WHERE location = "zhodino" </s> |
Which Home Team has a Tie no of 13? | CREATE TABLE table_name_61 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_61 WHERE tie_no = "13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (home_team VARCHAR, tie_no VARCHAR) Question: Which Home Team has a Tie no of 13? [/INST] SELECT home_team FROM table_name_61 WHERE tie_no = "13" </s> |
What is the Away Team when the Home Team is Fulham? | CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_26 WHERE home_team = "fulham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) Question: What is the Away Team when the Home Team is Fulham? [/INST] SELECT away_team FROM table_name_26 WHERE home_team = "fulham" </s> |
Which Date has a Tie no of 11? | CREATE TABLE table_name_86 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_86 WHERE tie_no = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, tie_no VARCHAR) Question: Which Date has a Tie no of 11? [/INST] SELECT date FROM table_name_86 WHERE tie_no = "11" </s> |
On 27 January 1968 who was the Home Team when the Away team was Carlisle United? | CREATE TABLE table_name_32 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_32 WHERE date = "27 january 1968" AND away_team = "carlisle united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) Question: On 27 January 1968 who was the Home Team when the Away team was Carlisle United? [/INST] SELECT home_team FROM table_name_32 WHERE dat... |
If the Home Team is Newport County what is the Score? | CREATE TABLE table_name_60 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_60 WHERE home_team = "newport county" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (score VARCHAR, home_team VARCHAR) Question: If the Home Team is Newport County what is the Score? [/INST] SELECT score FROM table_name_60 WHERE home_team = "newport county" </s> |
What is the sum for the Scottish cup that has player Damon Gray, and more than 1 league? | CREATE TABLE table_name_74 (scottish_cup INTEGER, player VARCHAR, league VARCHAR) | SELECT SUM(scottish_cup) FROM table_name_74 WHERE player = "damon gray" AND league > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (scottish_cup INTEGER, player VARCHAR, league VARCHAR) Question: What is the sum for the Scottish cup that has player Damon Gray, and more than 1 league? [/INST] SELECT SUM(scottish_cup) FROM table... |
What was the average league with Kris Doolan and a total less than 5? | CREATE TABLE table_name_22 (league INTEGER, player VARCHAR, total VARCHAR) | SELECT AVG(league) FROM table_name_22 WHERE player = "kris doolan" AND total < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (league INTEGER, player VARCHAR, total VARCHAR) Question: What was the average league with Kris Doolan and a total less than 5? [/INST] SELECT AVG(league) FROM table_name_22 WHERE player = "kris do... |
What aircraft has 129 made? | CREATE TABLE table_name_40 (aircraft VARCHAR, quantity VARCHAR) | SELECT aircraft FROM table_name_40 WHERE quantity = "129" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (aircraft VARCHAR, quantity VARCHAR) Question: What aircraft has 129 made? [/INST] SELECT aircraft FROM table_name_40 WHERE quantity = "129" </s> |
Which type has 140 made? | CREATE TABLE table_name_79 (type VARCHAR, quantity VARCHAR) | SELECT type FROM table_name_79 WHERE quantity = "140" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (type VARCHAR, quantity VARCHAR) Question: Which type has 140 made? [/INST] SELECT type FROM table_name_79 WHERE quantity = "140" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.