instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
How many counties have people before profit as the party, and a borough greater than 0? | CREATE TABLE table_name_16 (county INTEGER, party VARCHAR, borough VARCHAR) | SELECT SUM(county) FROM table_name_16 WHERE party = "people before profit" AND borough > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (county INTEGER, party VARCHAR, borough VARCHAR) Question: How many counties have people before profit as the party, and a borough greater than 0? [/INST] SELECT SUM(county) FROM table_name_16 WHER... |
How many counties have 2 as the total, 0 as the city with a town less than 1? | CREATE TABLE table_name_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR) | SELECT SUM(county) FROM table_name_54 WHERE total = 2 AND city = 0 AND town < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR) Question: How many counties have 2 as the total, 0 as the city with a town less than 1? [/INST] SELECT SUM(county) FROM table_name_54 WHE... |
What average city has a total less than 2, with a borough greater than 0? | CREATE TABLE table_name_70 (city INTEGER, total VARCHAR, borough VARCHAR) | SELECT AVG(city) FROM table_name_70 WHERE total < 2 AND borough > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (city INTEGER, total VARCHAR, borough VARCHAR) Question: What average city has a total less than 2, with a borough greater than 0? [/INST] SELECT AVG(city) FROM table_name_70 WHERE total < 2 AND bo... |
What is the rank # of the swimmer in Lane 5? | CREATE TABLE table_name_21 (rank VARCHAR, lane VARCHAR) | SELECT COUNT(rank) FROM table_name_21 WHERE lane = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (rank VARCHAR, lane VARCHAR) Question: What is the rank # of the swimmer in Lane 5? [/INST] SELECT COUNT(rank) FROM table_name_21 WHERE lane = 5 </s> |
What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? | CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR) | SELECT total_fat FROM table_name_33 WHERE smoke_point = "°c ()" AND polyunsaturated_fat = "37g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR) Question: What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? [/INST] SELECT total_fat FROM table... |
What is the saturated fat with 28g of polyunsaturated fat? | CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR) | SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "28g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR) Question: What is the saturated fat with 28g of polyunsaturated fat? [/INST] SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "... |
What is the monounsaturated fat with 15g of saturated fat? | CREATE TABLE table_name_22 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR) | SELECT monounsaturated_fat FROM table_name_22 WHERE saturated_fat = "15g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR) Question: What is the monounsaturated fat with 15g of saturated fat? [/INST] SELECT monounsaturated_fat FROM table_name_22 WHERE saturated_fat =... |
What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat? | CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR) | SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR) Question: What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat? [/INST] SELECT saturated_fat FRO... |
What is the monounsaturated fat with a smoke point of °c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat? | CREATE TABLE table_name_85 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR, polyunsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR) | SELECT monounsaturated_fat FROM table_name_85 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND polyunsaturated_fat = "11g" AND saturated_fat = "14g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (monounsaturated_fat VARCHAR, saturated_fat VARCHAR, polyunsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR) Question: What is the monounsaturated fat with a smoke point of °c (), a to... |
What is the polyunsaturated fat with a smoke point of °c (), a total fat of 100g and 63g of monounsaturated fat? | CREATE TABLE table_name_28 (polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR) | SELECT polyunsaturated_fat FROM table_name_28 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND monounsaturated_fat = "63g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR) Question: What is the polyunsaturated fat with a smoke point of °c (), a total fat of 100g and 63g... |
What is the win % of the 2003 atp world tour finals? | CREATE TABLE table_name_14 (win__percentage VARCHAR) | SELECT win__percentage FROM table_name_14 WHERE 2003 = "atp world tour finals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (win__percentage VARCHAR) Question: What is the win % of the 2003 atp world tour finals? [/INST] SELECT win__percentage FROM table_name_14 WHERE 2003 = "atp world tour finals" </s> |
What is the 2006 value of the 2011 grand slam tournaments? | CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 2006 FROM table_name_64 WHERE 2011 = "grand slam tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (Id VARCHAR) Question: What is the 2006 value of the 2011 grand slam tournaments? [/INST] SELECT 2006 FROM table_name_64 WHERE 2011 = "grand slam tournaments" </s> |
What is the 2007 value with a 1r in 2009? | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2007 FROM table_name_38 WHERE 2009 = "1r" | <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 2007 value with a 1r in 2009? [/INST] SELECT 2007 FROM table_name_38 WHERE 2009 = "1r" </s> |
What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009? | CREATE TABLE table_name_48 (Id VARCHAR) | SELECT 2007 FROM table_name_48 WHERE 2006 = "4r" AND 2004 = "1r" AND 2009 = "4r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (Id VARCHAR) Question: What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009? [/INST] SELECT 2007 FROM table_name_48 WHERE 2006 = "4r" AND 2004 = "1r" AND 2009 = "4r" </s> |
who is the home team when the away team is rivercity rage? | CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_91 WHERE away_team = "rivercity rage" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR) Question: who is the home team when the away team is rivercity rage? [/INST] SELECT home_team FROM table_name_91 WHERE away_team = "rivercity rage" </s> |
who is the winner when the score is 71-62? | CREATE TABLE table_name_64 (winner VARCHAR, score VARCHAR) | SELECT winner FROM table_name_64 WHERE score = "71-62" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (winner VARCHAR, score VARCHAR) Question: who is the winner when the score is 71-62? [/INST] SELECT winner FROM table_name_64 WHERE score = "71-62" </s> |
who is the winner when the home team is sioux falls storm and the year is earlier than 2012? | CREATE TABLE table_name_48 (winner VARCHAR, home_team VARCHAR, year VARCHAR) | SELECT winner FROM table_name_48 WHERE home_team = "sioux falls storm" AND year < 2012 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (winner VARCHAR, home_team VARCHAR, year VARCHAR) Question: who is the winner when the home team is sioux falls storm and the year is earlier than 2012? [/INST] SELECT winner FROM table_name_48 WHE... |
what is the score when the away team is rivercity rage? | CREATE TABLE table_name_99 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_99 WHERE away_team = "rivercity rage" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (score VARCHAR, away_team VARCHAR) Question: what is the score when the away team is rivercity rage? [/INST] SELECT score FROM table_name_99 WHERE away_team = "rivercity rage" </s> |
what is the year when the score is 59-32? | CREATE TABLE table_name_37 (year INTEGER, score VARCHAR) | SELECT SUM(year) FROM table_name_37 WHERE score = "59-32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, score VARCHAR) Question: what is the year when the score is 59-32? [/INST] SELECT SUM(year) FROM table_name_37 WHERE score = "59-32" </s> |
What is the venue established after 1948? | CREATE TABLE table_name_77 (venue VARCHAR, established INTEGER) | SELECT venue FROM table_name_77 WHERE established > 1948 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (venue VARCHAR, established INTEGER) Question: What is the venue established after 1948? [/INST] SELECT venue FROM table_name_77 WHERE established > 1948 </s> |
What is the league established before 1930 with the rayo vallecano club? | CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR) | SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR) Question: What is the league established before 1930 with the rayo vallecano club? [/INST] SELECT league FROM table_name_26 WHERE established < 1... |
What sport is the rayo vallecano club in? | CREATE TABLE table_name_64 (sport VARCHAR, club VARCHAR) | SELECT sport FROM table_name_64 WHERE club = "rayo vallecano" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (sport VARCHAR, club VARCHAR) Question: What sport is the rayo vallecano club in? [/INST] SELECT sport FROM table_name_64 WHERE club = "rayo vallecano" </s> |
What sport is the cb estudiantes club in? | CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR) | SELECT sport FROM table_name_46 WHERE club = "cb estudiantes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR) Question: What sport is the cb estudiantes club in? [/INST] SELECT sport FROM table_name_46 WHERE club = "cb estudiantes" </s> |
What is the label for CAD 2014 CD? | CREATE TABLE table_name_57 (label VARCHAR, catalogue__number VARCHAR) | SELECT label FROM table_name_57 WHERE catalogue__number = "cad 2014 cd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (label VARCHAR, catalogue__number VARCHAR) Question: What is the label for CAD 2014 CD? [/INST] SELECT label FROM table_name_57 WHERE catalogue__number = "cad 2014 cd" </s> |
What is the format for the catalogue number GAD 2014 CD on July 6, 1998? | CREATE TABLE table_name_40 (format VARCHAR, catalogue__number VARCHAR, date VARCHAR) | SELECT format FROM table_name_40 WHERE catalogue__number = "gad 2014 cd" AND date = "july 6, 1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (format VARCHAR, catalogue__number VARCHAR, date VARCHAR) Question: What is the format for the catalogue number GAD 2014 CD on July 6, 1998? [/INST] SELECT format FROM table_name_40 WHERE catalogue... |
How many wins are there when the draws are less than 0? | CREATE TABLE table_name_52 (wins INTEGER, draws INTEGER) | SELECT SUM(wins) FROM table_name_52 WHERE draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (wins INTEGER, draws INTEGER) Question: How many wins are there when the draws are less than 0? [/INST] SELECT SUM(wins) FROM table_name_52 WHERE draws < 0 </s> |
What are the most losses when there are 5 wins and draws less than 0? | CREATE TABLE table_name_7 (losses INTEGER, wins VARCHAR, draws VARCHAR) | SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (losses INTEGER, wins VARCHAR, draws VARCHAR) Question: What are the most losses when there are 5 wins and draws less than 0? [/INST] SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < ... |
What are the most wins of Terang with the draws less than 0? | CREATE TABLE table_name_84 (wins INTEGER, club VARCHAR, draws VARCHAR) | SELECT MAX(wins) FROM table_name_84 WHERE club = "terang" AND draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (wins INTEGER, club VARCHAR, draws VARCHAR) Question: What are the most wins of Terang with the draws less than 0? [/INST] SELECT MAX(wins) FROM table_name_84 WHERE club = "terang" AND draws < 0 </... |
What is the lowest against when the draws are more than 0 and the losses are less than 3? | CREATE TABLE table_name_74 (against INTEGER, losses VARCHAR, draws VARCHAR) | SELECT MIN(against) FROM table_name_74 WHERE losses < 3 AND draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (against INTEGER, losses VARCHAR, draws VARCHAR) Question: What is the lowest against when the draws are more than 0 and the losses are less than 3? [/INST] SELECT MIN(against) FROM table_name_74 W... |
What are the least losses of Warrnambool with more than 6 wins and less than 630 against? | CREATE TABLE table_name_18 (losses INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR) | SELECT MIN(losses) FROM table_name_18 WHERE against < 630 AND club = "warrnambool" AND wins > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (losses INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR) Question: What are the least losses of Warrnambool with more than 6 wins and less than 630 against? [/INST] SELECT MIN(losses) FROM tab... |
What are the draws of Cobden when there are more than 3 losses? | CREATE TABLE table_name_23 (draws INTEGER, losses VARCHAR, club VARCHAR) | SELECT AVG(draws) FROM table_name_23 WHERE losses > 3 AND club = "cobden" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (draws INTEGER, losses VARCHAR, club VARCHAR) Question: What are the draws of Cobden when there are more than 3 losses? [/INST] SELECT AVG(draws) FROM table_name_23 WHERE losses > 3 AND club = "cob... |
What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1? | CREATE TABLE table_name_80 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT AVG(bronze) FROM table_name_80 WHERE silver = 0 AND rank = "17" AND gold < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) Question: What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1? [/INST] SELECT AVG(bronze) FROM table_name_80... |
What is the lowest silver that has 2 as the bronze, with a total greater than 4? | CREATE TABLE table_name_33 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_33 WHERE bronze = 2 AND total > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (silver INTEGER, bronze VARCHAR, total VARCHAR) Question: What is the lowest silver that has 2 as the bronze, with a total greater than 4? [/INST] SELECT MIN(silver) FROM table_name_33 WHERE bronze... |
How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1? | CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, total VARCHAR, rank VARCHAR) | SELECT COUNT(bronze) FROM table_name_81 WHERE total < "11" AND rank = "11" AND gold < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, total VARCHAR, rank VARCHAR) Question: How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1? [/INST] SELECT COUNT(bronze) FROM tabl... |
What is the memory with a socket g1 and a 1/1/6/9 turbo? | CREATE TABLE table_name_93 (memory VARCHAR, socket VARCHAR, turbo VARCHAR) | SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1/1/6/9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (memory VARCHAR, socket VARCHAR, turbo VARCHAR) Question: What is the memory with a socket g1 and a 1/1/6/9 turbo? [/INST] SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1... |
What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm? | CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR) | SELECT release_date FROM table_name_92 WHERE l3_cache = "6 mb" AND part_number_s_ = "by80607005259aabx80607i7740qm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR) Question: What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm? [/INST] SELECT release_d... |
What was the lowest draw for Beathoven when the place was smaller than 16? | CREATE TABLE table_name_55 (draw INTEGER, artist VARCHAR, place VARCHAR) | SELECT MIN(draw) FROM table_name_55 WHERE artist = "beathoven" AND place < 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (draw INTEGER, artist VARCHAR, place VARCHAR) Question: What was the lowest draw for Beathoven when the place was smaller than 16? [/INST] SELECT MIN(draw) FROM table_name_55 WHERE artist = "beatho... |
What Luca Barbarossa song had a draw smaller than 20? | CREATE TABLE table_name_17 (song VARCHAR, draw VARCHAR, artist VARCHAR) | SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (song VARCHAR, draw VARCHAR, artist VARCHAR) Question: What Luca Barbarossa song had a draw smaller than 20? [/INST] SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa" </... |
Who did they play at sec tournament? | CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR) | SELECT opponent FROM table_name_17 WHERE location = "sec tournament" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR) Question: Who did they play at sec tournament? [/INST] SELECT opponent FROM table_name_17 WHERE location = "sec tournament" </s> |
Where was the game played when their record was 9-1-0? | CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_10 WHERE record = "9-1-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR) Question: Where was the game played when their record was 9-1-0? [/INST] SELECT location FROM table_name_10 WHERE record = "9-1-0" </s> |
Who was the director of the episode written by Russell T Davies and James Moran? | CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR) | SELECT director FROM table_name_67 WHERE writer = "russell t davies and james moran" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR) Question: Who was the director of the episode written by Russell T Davies and James Moran? [/INST] SELECT director FROM table_name_67 WHERE writer = "russell t da... |
Which Points have Drawn of 1, and a Played larger than 14? | CREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR) | SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR) Question: Which Points have Drawn of 1, and a Played larger than 14? [/INST] SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14 </... |
Which Position has Drawn larger than 1, and a Played smaller than 14? | CREATE TABLE table_name_34 (position INTEGER, drawn VARCHAR, played VARCHAR) | SELECT MAX(position) FROM table_name_34 WHERE drawn > 1 AND played < 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (position INTEGER, drawn VARCHAR, played VARCHAR) Question: Which Position has Drawn larger than 1, and a Played smaller than 14? [/INST] SELECT MAX(position) FROM table_name_34 WHERE drawn > 1 AND... |
Which Lost has Drawn larger than 1, and a Played larger than 14? | CREATE TABLE table_name_30 (lost INTEGER, drawn VARCHAR, played VARCHAR) | SELECT MIN(lost) FROM table_name_30 WHERE drawn > 1 AND played > 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (lost INTEGER, drawn VARCHAR, played VARCHAR) Question: Which Lost has Drawn larger than 1, and a Played larger than 14? [/INST] SELECT MIN(lost) FROM table_name_30 WHERE drawn > 1 AND played > 14 ... |
How much Lost has Points larger than 15, and a Name of ev pegnitz? | CREATE TABLE table_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR) | SELECT COUNT(lost) FROM table_name_23 WHERE points > 15 AND name = "ev pegnitz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR) Question: How much Lost has Points larger than 15, and a Name of ev pegnitz? [/INST] SELECT COUNT(lost) FROM table_name_23 WHERE points > 15 AND name = ... |
what is the english translation when the artist is ann christine? | CREATE TABLE table_name_10 (english_translation VARCHAR, artist VARCHAR) | SELECT english_translation FROM table_name_10 WHERE artist = "ann christine" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (english_translation VARCHAR, artist VARCHAR) Question: what is the english translation when the artist is ann christine? [/INST] SELECT english_translation FROM table_name_10 WHERE artist = "ann c... |
What player was picked earlier than 126 by the Houston Oilers? | CREATE TABLE table_name_3 (player VARCHAR, pick VARCHAR, team VARCHAR) | SELECT player FROM table_name_3 WHERE pick < 126 AND team = "houston oilers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (player VARCHAR, pick VARCHAR, team VARCHAR) Question: What player was picked earlier than 126 by the Houston Oilers? [/INST] SELECT player FROM table_name_3 WHERE pick < 126 AND team = "houston oil... |
What college was picked later than 122 by the Boston Patriots? | CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR) | SELECT college FROM table_name_88 WHERE pick > 122 AND team = "boston patriots" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR) Question: What college was picked later than 122 by the Boston Patriots? [/INST] SELECT college FROM table_name_88 WHERE pick > 122 AND team = "boston ... |
what is the to par for geoff ogilvy? | CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_65 WHERE player = "geoff ogilvy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR) Question: what is the to par for geoff ogilvy? [/INST] SELECT to_par FROM table_name_65 WHERE player = "geoff ogilvy" </s> |
what is the country for geoff ogilvy? | CREATE TABLE table_name_88 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_88 WHERE player = "geoff ogilvy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (country VARCHAR, player VARCHAR) Question: what is the country for geoff ogilvy? [/INST] SELECT country FROM table_name_88 WHERE player = "geoff ogilvy" </s> |
what is the to par for retief goosen? | CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_93 WHERE player = "retief goosen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR) Question: what is the to par for retief goosen? [/INST] SELECT to_par FROM table_name_93 WHERE player = "retief goosen" </s> |
how many times is the player jim furyk? | CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_55 WHERE player = "jim furyk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR) Question: how many times is the player jim furyk? [/INST] SELECT COUNT(total) FROM table_name_55 WHERE player = "jim furyk" </s> |
What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166? | CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR) | SELECT MIN(lane) FROM table_name_50 WHERE time > 20.75 AND react < 0.166 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR) Question: What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166? [/INST] SELECT MIN(lane) FROM table_na... |
What is Christian Malcolm´s highest react when his time was below 20.58? | CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, athlete VARCHAR) | SELECT MAX(react) FROM table_name_72 WHERE time < 20.58 AND athlete = "christian malcolm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, athlete VARCHAR) Question: What is Christian Malcolm´s highest react when his time was below 20.58? [/INST] SELECT MAX(react) FROM table_name_72 WHERE time < 20.58 AND... |
Which country was the player from who scored 66-72-70=207? | CREATE TABLE table_name_45 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (country VARCHAR, score VARCHAR) Question: Which country was the player from who scored 66-72-70=207? [/INST] SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207 </s> |
What place was the player who scored 70-69-68=207? | CREATE TABLE table_name_6 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_6 WHERE score = 70 - 69 - 68 = 207 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (place VARCHAR, score VARCHAR) Question: What place was the player who scored 70-69-68=207? [/INST] SELECT place FROM table_name_6 WHERE score = 70 - 69 - 68 = 207 </s> |
What country was the player in t10 place with a score of 66-72-70=207? | CREATE TABLE table_name_12 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_12 WHERE place = "t10" AND score = 66 - 72 - 70 = 207 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (country VARCHAR, place VARCHAR, score VARCHAR) Question: What country was the player in t10 place with a score of 66-72-70=207? [/INST] SELECT country FROM table_name_12 WHERE place = "t10" AND sc... |
What is the to par of United States' Cristie Kerr? | CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_66 WHERE country = "united states" AND player = "cristie kerr" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, player VARCHAR) Question: What is the to par of United States' Cristie Kerr? [/INST] SELECT to_par FROM table_name_66 WHERE country = "united states" AND player = ... |
Who is the original artist of the 3:00 song? | CREATE TABLE table_name_87 (original_artist VARCHAR, length VARCHAR) | SELECT original_artist FROM table_name_87 WHERE length = "3:00" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (original_artist VARCHAR, length VARCHAR) Question: Who is the original artist of the 3:00 song? [/INST] SELECT original_artist FROM table_name_87 WHERE length = "3:00" </s> |
Which song lasts 3:34? | CREATE TABLE table_name_59 (song VARCHAR, length VARCHAR) | SELECT song FROM table_name_59 WHERE length = "3:34" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (song VARCHAR, length VARCHAR) Question: Which song lasts 3:34? [/INST] SELECT song FROM table_name_59 WHERE length = "3:34" </s> |
Which song lasts 4:08? | CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR) | SELECT song FROM table_name_86 WHERE length = "4:08" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR) Question: Which song lasts 4:08? [/INST] SELECT song FROM table_name_86 WHERE length = "4:08" </s> |
How many bronze medals for Romania when the silver count is more than 1? | CREATE TABLE table_name_96 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (bronze INTEGER, nation VARCHAR, silver VARCHAR) Question: How many bronze medals for Romania when the silver count is more than 1? [/INST] SELECT AVG(bronze) FROM table_name_96 WHERE nation = "rom... |
Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904? | CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT manager FROM table_name_96 WHERE losses < 287 AND wins < 80 AND years = "1904" AND wpct = 0.296 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR) Question: Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904... |
Which U.S. Hot has 13 as the U.S. R&B? | CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR) | SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR) Question: Which U.S. Hot has 13 as the U.S. R&B? [/INST] SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13" </s> |
What U.S. Rap has life in the concrete jungle as the album? | CREATE TABLE table_name_15 (us_rap VARCHAR, album VARCHAR) | SELECT us_rap FROM table_name_15 WHERE album = "life in the concrete jungle" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (us_rap VARCHAR, album VARCHAR) Question: What U.S. Rap has life in the concrete jungle as the album? [/INST] SELECT us_rap FROM table_name_15 WHERE album = "life in the concrete jungle" </s> |
What are the Notes of the Mill Built in the 19th Century? | CREATE TABLE table_name_27 (notes VARCHAR, built VARCHAR) | SELECT notes FROM table_name_27 WHERE built = "19th century" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (notes VARCHAR, built VARCHAR) Question: What are the Notes of the Mill Built in the 19th Century? [/INST] SELECT notes FROM table_name_27 WHERE built = "19th century" </s> |
What is the Type of Mill at Molen de Stud? | CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR) | SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR) Question: What is the Type of Mill at Molen de Stud? [/INST] SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud" </s> |
What is the Name of the Mill Built in 1802? | CREATE TABLE table_name_73 (name_of_mill VARCHAR, built VARCHAR) | SELECT name_of_mill FROM table_name_73 WHERE built = "1802" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (name_of_mill VARCHAR, built VARCHAR) Question: What is the Name of the Mill Built in 1802? [/INST] SELECT name_of_mill FROM table_name_73 WHERE built = "1802" </s> |
What is the Location of the Mill Built in the Early 19th Century? | CREATE TABLE table_name_50 (location VARCHAR, built VARCHAR) | SELECT location FROM table_name_50 WHERE built = "early 19th century" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (location VARCHAR, built VARCHAR) Question: What is the Location of the Mill Built in the Early 19th Century? [/INST] SELECT location FROM table_name_50 WHERE built = "early 19th century" </s> |
What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles? | CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_58 WHERE home = "san francisco 49ers" AND visitor = "philadelphia eagles" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR) Question: What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles? [/INST] SELECT record FROM ta... |
What is the record for the game played on September 27? | CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_26 WHERE date = "september 27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) Question: What is the record for the game played on September 27? [/INST] SELECT record FROM table_name_26 WHERE date = "september 27" </s> |
What is the highest place of a song by Henri Dès that has fewer than 8 points? | CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR) | SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR) Question: What is the highest place of a song by Henri Dès that has fewer than 8 points? [/INST] SELECT MAX(place) FROM table_name_6 WHERE artist = "h... |
What team was 2 on November 22, 2008 when the result was 1-0? | CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND result = "1-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR) Question: What team was 2 on November 22, 2008 when the result was 1-0? [/INST] SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND ... |
What team was 2 when Tatung was team 1 at National Pei Men Senior High School? | CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR) | SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR) Question: What team was 2 when Tatung was team 1 at National Pei Men Senior High School? [/INST] SELECT team_2 FROM table_name_32 WHERE team_1 = "ta... |
Where was the game played that has a result of 0-4? | CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR) | SELECT ground FROM table_name_36 WHERE result = "0-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR) Question: Where was the game played that has a result of 0-4? [/INST] SELECT ground FROM table_name_36 WHERE result = "0-4" </s> |
What team is 2 when 1 is Taipower and the result is 0-1? | CREATE TABLE table_name_90 (team_2 VARCHAR, team_1 VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_90 WHERE team_1 = "taipower" AND result = "0-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (team_2 VARCHAR, team_1 VARCHAR, result VARCHAR) Question: What team is 2 when 1 is Taipower and the result is 0-1? [/INST] SELECT team_2 FROM table_name_90 WHERE team_1 = "taipower" AND result = "... |
What team is 2 when the game result is 0-4 at Pailing Sport Park? | CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_32 WHERE ground = "pailing sport park" AND result = "0-4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR) Question: What team is 2 when the game result is 0-4 at Pailing Sport Park? [/INST] SELECT team_2 FROM table_name_32 WHERE ground = "pailing sport p... |
What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist? | CREATE TABLE table_name_24 (points VARCHAR, place VARCHAR, draw VARCHAR, artist VARCHAR) | SELECT COUNT(points) FROM table_name_24 WHERE draw < 12 AND artist = "philipp kirkorov" AND place < 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (points VARCHAR, place VARCHAR, draw VARCHAR, artist VARCHAR) Question: What is the total point value when there are less than 12 draws, the rank is less than 17, and Philipp Kirkorov is the artist... |
What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you? | CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR) | SELECT SUM(place) FROM table_name_22 WHERE draw < 16 AND english_translation = "in love with you" AND points < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR) Question: What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is i... |
What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me? | CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR) | SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND place > 6 AND english_translation = "listen to me" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR) Question: What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English trans... |
What was the population of Green County? | CREATE TABLE table_name_15 (population INTEGER, county VARCHAR) | SELECT MIN(population) FROM table_name_15 WHERE county = "green" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (population INTEGER, county VARCHAR) Question: What was the population of Green County? [/INST] SELECT MIN(population) FROM table_name_15 WHERE county = "green" </s> |
What was the score of the game against Minnesota? | CREATE TABLE table_name_69 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_69 WHERE opponent = "minnesota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (score VARCHAR, opponent VARCHAR) Question: What was the score of the game against Minnesota? [/INST] SELECT score FROM table_name_69 WHERE opponent = "minnesota" </s> |
What player had the high point on July 7? | CREATE TABLE table_name_21 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_21 WHERE date = "july 7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (high_points VARCHAR, date VARCHAR) Question: What player had the high point on July 7? [/INST] SELECT high_points FROM table_name_21 WHERE date = "july 7" </s> |
What's the format of the single, I Can't Stay? | CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR) | SELECT format FROM table_name_6 WHERE single = "i can't stay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR) Question: What's the format of the single, I Can't Stay? [/INST] SELECT format FROM table_name_6 WHERE single = "i can't stay" </s> |
What's the Backed after 2008 with a label of Wild World? | CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR) | SELECT backed_with FROM table_name_24 WHERE record_label = "wild world" AND date > 2008 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR) Question: What's the Backed after 2008 with a label of Wild World? [/INST] SELECT backed_with FROM table_name_24 WHERE record_label = "wild... |
What's the date for Details of 1000 copies? | CREATE TABLE table_name_74 (date INTEGER, other_details VARCHAR) | SELECT MIN(date) FROM table_name_74 WHERE other_details = "1000 copies" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (date INTEGER, other_details VARCHAR) Question: What's the date for Details of 1000 copies? [/INST] SELECT MIN(date) FROM table_name_74 WHERE other_details = "1000 copies" </s> |
What nation has paavo nurmi as the athlete, with a medal count less than 12? | CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, medal_count VARCHAR) | SELECT nation FROM table_name_62 WHERE athlete = "paavo nurmi" AND medal_count < 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, medal_count VARCHAR) Question: What nation has paavo nurmi as the athlete, with a medal count less than 12? [/INST] SELECT nation FROM table_name_62 WHERE athlete ... |
Which sport has 17 as the medal count? | CREATE TABLE table_name_4 (sport VARCHAR, medal_count VARCHAR) | SELECT sport FROM table_name_4 WHERE medal_count = 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (sport VARCHAR, medal_count VARCHAR) Question: Which sport has 17 as the medal count? [/INST] SELECT sport FROM table_name_4 WHERE medal_count = 17 </s> |
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3? | CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) | SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) Question: What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count... |
What is the Opponent of the game in Week 3? | CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_21 WHERE week = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR) Question: What is the Opponent of the game in Week 3? [/INST] SELECT opponent FROM table_name_21 WHERE week = 3 </s> |
What is the Attendance of the game on December 12, 2004? | CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) Question: What is the Attendance of the game on December 12, 2004? [/INST] SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004" </s> |
What is the Attendance of the game against Jacksonville Jaguars? | CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) Question: What is the Attendance of the game against Jacksonville Jaguars? [/INST] SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars... |
Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1 | CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, money___£__ VARCHAR, country VARCHAR) | SELECT score FROM table_name_38 WHERE money___£__ = "90,400" AND country = "south africa" AND player = "thomas aiken" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, money___£__ VARCHAR, country VARCHAR) Question: Which Score has a Money ( £ ) of 90,400, and a Country of south africa, and a Player of thomas aiken? Question 1 [/IN... |
How much Money( £ )australia has ? | CREATE TABLE table_name_11 (money___£__ VARCHAR, country VARCHAR) | SELECT money___£__ FROM table_name_11 WHERE country = "australia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (money___£__ VARCHAR, country VARCHAR) Question: How much Money( £ )australia has ? [/INST] SELECT money___£__ FROM table_name_11 WHERE country = "australia" </s> |
Count the Money ( £ ) of south africa with a To par of +1, and a Player of ernie els? | CREATE TABLE table_name_50 (money___£__ VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT money___£__ FROM table_name_50 WHERE country = "south africa" AND to_par = "+1" AND player = "ernie els" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (money___£__ VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) Question: Count the Money ( £ ) of south africa with a To par of +1, and a Player of ernie els? [/INST] SELECT money___£__ FRO... |
Where has a Player of tom watson? | CREATE TABLE table_name_22 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_22 WHERE player = "tom watson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (place VARCHAR, player VARCHAR) Question: Where has a Player of tom watson? [/INST] SELECT place FROM table_name_22 WHERE player = "tom watson" </s> |
Which Score has a To par of +1 in sweden? | CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR) Question: Which Score has a To par of +1 in sweden? [/INST] SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden" </s> |
Which To par is of thomas aiken? | CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_77 WHERE player = "thomas aiken" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR) Question: Which To par is of thomas aiken? [/INST] SELECT to_par FROM table_name_77 WHERE player = "thomas aiken" </s> |
What is the average expenditures on R&D for Croatia after 2007? | CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) | SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) Question: What is the average expenditures on R&D for Croatia after 2007? [/INST] SELE... |
What is the lowest expenditures on R&D for Poland after 2011? | CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) | SELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_region = "poland" AND year > 2011 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) Question: What is the lowest expenditures on R&D for Poland after 2011? [/INST] SELECT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.