instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What is the number with the f position in Dallas, Texas?
|
CREATE TABLE table_name_57 (number VARCHAR, position VARCHAR, hometown VARCHAR)
|
SELECT COUNT(number) FROM table_name_57 WHERE position = "f" AND hometown = "dallas, texas"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (number VARCHAR, position VARCHAR, hometown VARCHAR) Question: What is the number with the f position in Dallas, Texas? [/INST] SELECT COUNT(number) FROM table_name_57 WHERE position = "f" AND hometown = "dallas, texas" </s>
|
Which competition took place in Bangkok?
|
CREATE TABLE table_name_94 (competition VARCHAR, venue VARCHAR)
|
SELECT competition FROM table_name_94 WHERE venue = "bangkok"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (competition VARCHAR, venue VARCHAR) Question: Which competition took place in Bangkok? [/INST] SELECT competition FROM table_name_94 WHERE venue = "bangkok" </s>
|
What was the score in Kathmandu?
|
CREATE TABLE table_name_96 (score VARCHAR, venue VARCHAR)
|
SELECT score FROM table_name_96 WHERE venue = "kathmandu"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (score VARCHAR, venue VARCHAR) Question: What was the score in Kathmandu? [/INST] SELECT score FROM table_name_96 WHERE venue = "kathmandu" </s>
|
Where was the location for the August 29, 1980 game?
|
CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_68 WHERE date = "august 29, 1980"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR) Question: Where was the location for the August 29, 1980 game? [/INST] SELECT venue FROM table_name_68 WHERE date = "august 29, 1980" </s>
|
What is the notes distance for 2nd position earlier than 1986?
|
CREATE TABLE table_name_31 (notes VARCHAR, position VARCHAR, year VARCHAR)
|
SELECT notes FROM table_name_31 WHERE position = "2nd" AND year < 1986
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (notes VARCHAR, position VARCHAR, year VARCHAR) Question: What is the notes distance for 2nd position earlier than 1986? [/INST] SELECT notes FROM table_name_31 WHERE position = "2nd" AND year < 1986 </s>
|
Which venue hosts the Olympic Games for DNQ position?
|
CREATE TABLE table_name_24 (venue VARCHAR, competition VARCHAR, position VARCHAR)
|
SELECT venue FROM table_name_24 WHERE competition = "olympic games" AND position = "dnq"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (venue VARCHAR, competition VARCHAR, position VARCHAR) Question: Which venue hosts the Olympic Games for DNQ position? [/INST] SELECT venue FROM table_name_24 WHERE competition = "olympic games" AND position = "dnq" </s>
|
In what year is the notes distance 1.83m?
|
CREATE TABLE table_name_82 (year VARCHAR, notes VARCHAR)
|
SELECT year FROM table_name_82 WHERE notes = "1.83m"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year VARCHAR, notes VARCHAR) Question: In what year is the notes distance 1.83m? [/INST] SELECT year FROM table_name_82 WHERE notes = "1.83m" </s>
|
what is the race number of bob wollek
|
CREATE TABLE table_name_95 (race_number VARCHAR, driver VARCHAR)
|
SELECT race_number FROM table_name_95 WHERE driver = "bob wollek"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (race_number VARCHAR, driver VARCHAR) Question: what is the race number of bob wollek [/INST] SELECT race_number FROM table_name_95 WHERE driver = "bob wollek" </s>
|
what country is john nielsen from
|
CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR)
|
SELECT country FROM table_name_10 WHERE driver = "john nielsen"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR) Question: what country is john nielsen from [/INST] SELECT country FROM table_name_10 WHERE driver = "john nielsen" </s>
|
Which Model has hybrid propulsion?
|
CREATE TABLE table_name_59 (model VARCHAR, propulsion VARCHAR)
|
SELECT model FROM table_name_59 WHERE propulsion = "hybrid"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (model VARCHAR, propulsion VARCHAR) Question: Which Model has hybrid propulsion? [/INST] SELECT model FROM table_name_59 WHERE propulsion = "hybrid" </s>
|
What is the Propulsion for the model offered in 2003-2004 by neoplan usa?
|
CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR)
|
SELECT propulsion FROM table_name_68 WHERE order_year = "2003-2004" AND manufacturer = "neoplan usa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR) Question: What is the Propulsion for the model offered in 2003-2004 by neoplan usa? [/INST] SELECT propulsion FROM table_name_68 WHERE order_year = "2003-2004" AND manufacturer = "neoplan usa" </s>
|
What is the Length (ft.) for a 2008 nfi d40lf?
|
CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR)
|
SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (length__ft_ VARCHAR, order_year VARCHAR, manufacturer VARCHAR, model VARCHAR) Question: What is the Length (ft.) for a 2008 nfi d40lf? [/INST] SELECT length__ft_ FROM table_name_67 WHERE manufacturer = "nfi" AND model = "d40lf" AND order_year = "2008" </s>
|
Which Founded has a Club of tri-city storm and a Titles larger than 1?
|
CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR)
|
SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR) Question: Which Founded has a Club of tri-city storm and a Titles larger than 1? [/INST] SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1 </s>
|
Which Founded that has a Club of no coast derby girls?
|
CREATE TABLE table_name_97 (founded VARCHAR, club VARCHAR)
|
SELECT founded FROM table_name_97 WHERE club = "no coast derby girls"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (founded VARCHAR, club VARCHAR) Question: Which Founded that has a Club of no coast derby girls? [/INST] SELECT founded FROM table_name_97 WHERE club = "no coast derby girls" </s>
|
Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls?
|
CREATE TABLE table_name_14 (founded INTEGER, league VARCHAR, club VARCHAR)
|
SELECT AVG(founded) FROM table_name_14 WHERE league = "women's flat track derby association" AND club = "omaha rollergirls"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (founded INTEGER, league VARCHAR, club VARCHAR) Question: Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls? [/INST] SELECT AVG(founded) FROM table_name_14 WHERE league = "women's flat track derby association" AND club = "omaha rollergirls" </s>
|
On what date was there an International Friendly competition?
|
CREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR)
|
SELECT date FROM table_name_2 WHERE competition = "international friendly"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR) Question: On what date was there an International Friendly competition? [/INST] SELECT date FROM table_name_2 WHERE competition = "international friendly" </s>
|
What was the score at Bernardo O'Higgins Cup on May 7, 1961?
|
CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_94 WHERE competition = "bernardo o'higgins cup" AND date = "may 7, 1961"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) Question: What was the score at Bernardo O'Higgins Cup on May 7, 1961? [/INST] SELECT score FROM table_name_94 WHERE competition = "bernardo o'higgins cup" AND date = "may 7, 1961" </s>
|
What grid has an average time of +22.505 and laps larger than 23?
|
CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR)
|
SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) Question: What grid has an average time of +22.505 and laps larger than 23? [/INST] SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23 </s>
|
Which suzuki gsx-r1000 k7 has the highest time of retirement?
|
CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR)
|
SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR) Question: Which suzuki gsx-r1000 k7 has the highest time of retirement? [/INST] SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7" </s>
|
What is the average lap for suzuki gsx-r1000 k7 and at grid 6?
|
CREATE TABLE table_name_39 (laps INTEGER, bike VARCHAR, grid VARCHAR)
|
SELECT AVG(laps) FROM table_name_39 WHERE bike = "suzuki gsx-r1000 k7" AND grid = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (laps INTEGER, bike VARCHAR, grid VARCHAR) Question: What is the average lap for suzuki gsx-r1000 k7 and at grid 6? [/INST] SELECT AVG(laps) FROM table_name_39 WHERE bike = "suzuki gsx-r1000 k7" AND grid = 6 </s>
|
Which rider has a lap of 23, grid smaller than 18, and time +44.333?
|
CREATE TABLE table_name_29 (rider VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
|
SELECT rider FROM table_name_29 WHERE laps = 23 AND grid < 18 AND time = "+44.333"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (rider VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR) Question: Which rider has a lap of 23, grid smaller than 18, and time +44.333? [/INST] SELECT rider FROM table_name_29 WHERE laps = 23 AND grid < 18 AND time = "+44.333" </s>
|
what is the lowest grid with laps larger than 23?
|
CREATE TABLE table_name_85 (grid INTEGER, laps INTEGER)
|
SELECT MIN(grid) FROM table_name_85 WHERE laps > 23
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (grid INTEGER, laps INTEGER) Question: what is the lowest grid with laps larger than 23? [/INST] SELECT MIN(grid) FROM table_name_85 WHERE laps > 23 </s>
|
Where did the Bruins play Iowa State?
|
CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR)
|
SELECT location FROM table_name_58 WHERE opponent = "iowa state"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR) Question: Where did the Bruins play Iowa State? [/INST] SELECT location FROM table_name_58 WHERE opponent = "iowa state" </s>
|
What Conference was during the NCAA Tournament?
|
CREATE TABLE table_name_24 (conf VARCHAR, date VARCHAR)
|
SELECT conf FROM table_name_24 WHERE date = "ncaa tournament"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (conf VARCHAR, date VARCHAR) Question: What Conference was during the NCAA Tournament? [/INST] SELECT conf FROM table_name_24 WHERE date = "ncaa tournament" </s>
|
What is the amount of Avg that has Yards more 265 and a Car more 105?
|
CREATE TABLE table_name_34 (avg VARCHAR, yards VARCHAR, car VARCHAR)
|
SELECT COUNT(avg) FROM table_name_34 WHERE yards > 265 AND car > 105
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (avg VARCHAR, yards VARCHAR, car VARCHAR) Question: What is the amount of Avg that has Yards more 265 and a Car more 105? [/INST] SELECT COUNT(avg) FROM table_name_34 WHERE yards > 265 AND car > 105 </s>
|
Which player is ranked number 3?
|
CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR)
|
SELECT player FROM table_name_83 WHERE rank = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR) Question: Which player is ranked number 3? [/INST] SELECT player FROM table_name_83 WHERE rank = 3 </s>
|
What season has the champion of Nicolas Kiesa?
|
CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR)
|
SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR) Question: What season has the champion of Nicolas Kiesa? [/INST] SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa" </s>
|
Who won the gold medal in 1998?
|
CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR)
|
SELECT gold FROM table_name_15 WHERE year = 1998
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR) Question: Who won the gold medal in 1998? [/INST] SELECT gold FROM table_name_15 WHERE year = 1998 </s>
|
What is the total number of years when Mika Miyazato won the silver?
|
CREATE TABLE table_name_11 (year VARCHAR, silver VARCHAR)
|
SELECT COUNT(year) FROM table_name_11 WHERE silver = "mika miyazato"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year VARCHAR, silver VARCHAR) Question: What is the total number of years when Mika Miyazato won the silver? [/INST] SELECT COUNT(year) FROM table_name_11 WHERE silver = "mika miyazato" </s>
|
What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold?
|
CREATE TABLE table_name_57 (location VARCHAR, year VARCHAR, gold VARCHAR)
|
SELECT location FROM table_name_57 WHERE year > 2002 AND gold = "kim hyun-soo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (location VARCHAR, year VARCHAR, gold VARCHAR) Question: What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold? [/INST] SELECT location FROM table_name_57 WHERE year > 2002 AND gold = "kim hyun-soo" </s>
|
What is the earliest year that kim hyun-soo won the gold?
|
CREATE TABLE table_name_51 (year INTEGER, gold VARCHAR)
|
SELECT MIN(year) FROM table_name_51 WHERE gold = "kim hyun-soo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year INTEGER, gold VARCHAR) Question: What is the earliest year that kim hyun-soo won the gold? [/INST] SELECT MIN(year) FROM table_name_51 WHERE gold = "kim hyun-soo" </s>
|
What was the broadcast date of the episode that visited South Africa?
|
CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR)
|
SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) Question: What was the broadcast date of the episode that visited South Africa? [/INST] SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa" </s>
|
Which country did Natalia Makarova visit?
|
CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR)
|
SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR) Question: Which country did Natalia Makarova visit? [/INST] SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova" </s>
|
How many people attended the game on May 31?
|
CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR)
|
SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 31"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR) Question: How many people attended the game on May 31? [/INST] SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 31" </s>
|
How many people attended the game on May 10?
|
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)
|
SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) Question: How many people attended the game on May 10? [/INST] SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10" </s>
|
Which Overall is the lowest one that has a Round of 3?
|
CREATE TABLE table_name_87 (overall INTEGER, round VARCHAR)
|
SELECT MIN(overall) FROM table_name_87 WHERE round = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (overall INTEGER, round VARCHAR) Question: Which Overall is the lowest one that has a Round of 3? [/INST] SELECT MIN(overall) FROM table_name_87 WHERE round = 3 </s>
|
Which college did kevin landolt attend?
|
CREATE TABLE table_name_10 (college VARCHAR, name VARCHAR)
|
SELECT college FROM table_name_10 WHERE name = "kevin landolt"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (college VARCHAR, name VARCHAR) Question: Which college did kevin landolt attend? [/INST] SELECT college FROM table_name_10 WHERE name = "kevin landolt" </s>
|
Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?
|
CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
|
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR) Question: Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back? [/INST] SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back" </s>
|
Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white?
|
CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR)
|
SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR) Question: Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white? [/INST] SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white" </s>
|
what was the average game when record was 16-63?
|
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)
|
SELECT AVG(game) FROM table_name_30 WHERE record = "16-63"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (game INTEGER, record VARCHAR) Question: what was the average game when record was 16-63? [/INST] SELECT AVG(game) FROM table_name_30 WHERE record = "16-63" </s>
|
Median household income of $40,340, and a Number of households smaller than 64,767 is what average population?
|
CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)
|
SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) Question: Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? [/INST] SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767 ROWS </s>
|
What party was re-elected as an incumbent of robert p. Kennedy?
|
CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR) Question: What party was re-elected as an incumbent of robert p. Kennedy? [/INST] SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy" </s>
|
Which democratic incumbent is from the district of ohio 7?
|
CREATE TABLE table_name_93 (incumbent VARCHAR, party VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: Which democratic incumbent is from the district of ohio 7? [/INST] SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7" </s>
|
Which republican was first elected in 1886 in the district of ohio 17?
|
CREATE TABLE table_name_16 (result VARCHAR, district VARCHAR, party VARCHAR, first_elected VARCHAR)
|
SELECT result FROM table_name_16 WHERE party = "republican" AND first_elected = "1886" AND district = "ohio 17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (result VARCHAR, district VARCHAR, party VARCHAR, first_elected VARCHAR) Question: Which republican was first elected in 1886 in the district of ohio 17? [/INST] SELECT result FROM table_name_16 WHERE party = "republican" AND first_elected = "1886" AND district = "ohio 17" </s>
|
Which result was in the district of ohio 6?
|
CREATE TABLE table_name_15 (result VARCHAR, district VARCHAR)
|
SELECT result FROM table_name_15 WHERE district = "ohio 6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (result VARCHAR, district VARCHAR) Question: Which result was in the district of ohio 6? [/INST] SELECT result FROM table_name_15 WHERE district = "ohio 6" </s>
|
Who was first elected as the result of a retired republican gain in the district of ohio 21?
|
CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR)
|
SELECT first_elected FROM table_name_45 WHERE result = "retired republican gain" AND district = "ohio 21"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR) Question: Who was first elected as the result of a retired republican gain in the district of ohio 21? [/INST] SELECT first_elected FROM table_name_45 WHERE result = "retired republican gain" AND district = "ohio 21" </s>
|
On May 9 after Game 3, what was the Opponent?
|
CREATE TABLE table_name_66 (opponent VARCHAR, game VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_66 WHERE game > 3 AND date = "may 9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (opponent VARCHAR, game VARCHAR, date VARCHAR) Question: On May 9 after Game 3, what was the Opponent? [/INST] SELECT opponent FROM table_name_66 WHERE game > 3 AND date = "may 9" </s>
|
Which Player has a Position of number 8, and a Club/province of scarlets?
|
CREATE TABLE table_name_92 (player VARCHAR, position VARCHAR, club_province VARCHAR)
|
SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (player VARCHAR, position VARCHAR, club_province VARCHAR) Question: Which Player has a Position of number 8, and a Club/province of scarlets? [/INST] SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets" </s>
|
Which Club/province has a Position of centre, and Caps of 27?
|
CREATE TABLE table_name_75 (club_province VARCHAR, position VARCHAR, caps VARCHAR)
|
SELECT club_province FROM table_name_75 WHERE position = "centre" AND caps = 27
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (club_province VARCHAR, position VARCHAR, caps VARCHAR) Question: Which Club/province has a Position of centre, and Caps of 27? [/INST] SELECT club_province FROM table_name_75 WHERE position = "centre" AND caps = 27 </s>
|
What position does alun wyn jones play?
|
CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR)
|
SELECT position FROM table_name_59 WHERE player = "alun wyn jones"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR) Question: What position does alun wyn jones play? [/INST] SELECT position FROM table_name_59 WHERE player = "alun wyn jones" </s>
|
Which Date of Birth (Age) has a Club/province of blues, and Caps larger than 0, and a Player of tom james?
|
CREATE TABLE table_name_47 (date_of_birth__age_ VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR)
|
SELECT date_of_birth__age_ FROM table_name_47 WHERE club_province = "blues" AND caps > 0 AND player = "tom james"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (date_of_birth__age_ VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR) Question: Which Date of Birth (Age) has a Club/province of blues, and Caps larger than 0, and a Player of tom james? [/INST] SELECT date_of_birth__age_ FROM table_name_47 WHERE club_province = "blues" AND caps > 0 AND player = "tom james" </s>
|
Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985?
|
CREATE TABLE table_name_70 (caps INTEGER, club_province VARCHAR, date_of_birth__age_ VARCHAR)
|
SELECT MIN(caps) FROM table_name_70 WHERE club_province = "ospreys" AND date_of_birth__age_ = "19 september 1985"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (caps INTEGER, club_province VARCHAR, date_of_birth__age_ VARCHAR) Question: Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985? [/INST] SELECT MIN(caps) FROM table_name_70 WHERE club_province = "ospreys" AND date_of_birth__age_ = "19 september 1985" </s>
|
What is the average attendance of the game where the home team was the Blues?
|
CREATE TABLE table_name_40 (attendance INTEGER, home VARCHAR)
|
SELECT AVG(attendance) FROM table_name_40 WHERE home = "blues"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (attendance INTEGER, home VARCHAR) Question: What is the average attendance of the game where the home team was the Blues? [/INST] SELECT AVG(attendance) FROM table_name_40 WHERE home = "blues" </s>
|
What is the Position of the Level 3 winner from Saint Kitts and Nevis?
|
CREATE TABLE table_name_51 (position VARCHAR, level VARCHAR, nationality VARCHAR)
|
SELECT position FROM table_name_51 WHERE level = 3 AND nationality = "saint kitts and nevis"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (position VARCHAR, level VARCHAR, nationality VARCHAR) Question: What is the Position of the Level 3 winner from Saint Kitts and Nevis? [/INST] SELECT position FROM table_name_51 WHERE level = 3 AND nationality = "saint kitts and nevis" </s>
|
What Goals with a Level of 5 or greater is the lowest?
|
CREATE TABLE table_name_95 (goals INTEGER, level INTEGER)
|
SELECT MIN(goals) FROM table_name_95 WHERE level > 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (goals INTEGER, level INTEGER) Question: What Goals with a Level of 5 or greater is the lowest? [/INST] SELECT MIN(goals) FROM table_name_95 WHERE level > 5 </s>
|
What is the Position of the winner with 18 Goals and Level of 5?
|
CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR)
|
SELECT position FROM table_name_23 WHERE goals = 18 AND level = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR) Question: What is the Position of the winner with 18 Goals and Level of 5? [/INST] SELECT position FROM table_name_23 WHERE goals = 18 AND level = 5 </s>
|
Which University students and adults have minimum diameter of Sakigawa for female gender?
|
CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR)
|
SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR) Question: Which University students and adults have minimum diameter of Sakigawa for female gender? [/INST] SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female" </s>
|
Which junior high school has male and female genders?
|
CREATE TABLE table_name_97 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR)
|
SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR) Question: Which junior high school has male and female genders? [/INST] SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female" </s>
|
Which gender is associated with University students and adults of 25mm?
|
CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR)
|
SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) Question: Which gender is associated with University students and adults of 25mm? [/INST] SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm" </s>
|
Which junior high school has university students and adults of 26mm?
|
CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR)
|
SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) Question: Which junior high school has university students and adults of 26mm? [/INST] SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm" </s>
|
What value for university students and adult goes with male gender for minimum weight?
|
CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR)
|
SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR) Question: What value for university students and adult goes with male gender for minimum weight? [/INST] SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight" </s>
|
What metro vincity has the venue that opened in 1999?
|
CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR)
|
SELECT metro_vincity FROM table_name_84 WHERE opened = "1999"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR) Question: What metro vincity has the venue that opened in 1999? [/INST] SELECT metro_vincity FROM table_name_84 WHERE opened = "1999" </s>
|
What is the total capacity of venues that opened in 1999?
|
CREATE TABLE table_name_15 (capacity VARCHAR, opened VARCHAR)
|
SELECT COUNT(capacity) FROM table_name_15 WHERE opened = "1999"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (capacity VARCHAR, opened VARCHAR) Question: What is the total capacity of venues that opened in 1999? [/INST] SELECT COUNT(capacity) FROM table_name_15 WHERE opened = "1999" </s>
|
What date has aus by 382 runs as the result?
|
CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR)
|
SELECT date FROM table_name_25 WHERE result = "aus by 382 runs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR) Question: What date has aus by 382 runs as the result? [/INST] SELECT date FROM table_name_25 WHERE result = "aus by 382 runs" </s>
|
What venue has eng by 10 runs as the result?
|
CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)
|
SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) Question: What venue has eng by 10 runs as the result? [/INST] SELECT venue FROM table_name_2 WHERE result = "eng by 10 runs" </s>
|
What date has george giffen as the home captain, and sydney cricket ground as the venue?
|
CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR)
|
SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR) Question: What date has george giffen as the home captain, and sydney cricket ground as the venue? [/INST] SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground" </s>
|
Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver?
|
CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
|
SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR) Question: Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver? [/INST] SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 0 </s>
|
Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze?
|
CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
|
SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND silver > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) Question: Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze? [/INST] SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND silver > 1 </s>
|
Gold larger than 0, and a Bronze larger than 1 includes what total number of silver?
|
CREATE TABLE table_name_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
|
SELECT COUNT(silver) FROM table_name_31 WHERE gold > 0 AND bronze > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR) Question: Gold larger than 0, and a Bronze larger than 1 includes what total number of silver? [/INST] SELECT COUNT(silver) FROM table_name_31 WHERE gold > 0 AND bronze > 1 </s>
|
Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold?
|
CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
|
SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND silver < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) Question: Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold? [/INST] SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND silver < 1 </s>
|
Which Third has a Lead of zanda bikše?
|
CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR)
|
SELECT third FROM table_name_78 WHERE lead = "zanda bikše"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR) Question: Which Third has a Lead of zanda bikše? [/INST] SELECT third FROM table_name_78 WHERE lead = "zanda bikše" </s>
|
Which Third has a Nation of hungary?
|
CREATE TABLE table_name_6 (third VARCHAR, nation VARCHAR)
|
SELECT third FROM table_name_6 WHERE nation = "hungary"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (third VARCHAR, nation VARCHAR) Question: Which Third has a Nation of hungary? [/INST] SELECT third FROM table_name_6 WHERE nation = "hungary" </s>
|
Which Second has a Nation of latvia?
|
CREATE TABLE table_name_16 (second VARCHAR, nation VARCHAR)
|
SELECT second FROM table_name_16 WHERE nation = "latvia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (second VARCHAR, nation VARCHAR) Question: Which Second has a Nation of latvia? [/INST] SELECT second FROM table_name_16 WHERE nation = "latvia" </s>
|
Which Lead has a Nation of croatia?
|
CREATE TABLE table_name_99 (lead VARCHAR, nation VARCHAR)
|
SELECT lead FROM table_name_99 WHERE nation = "croatia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (lead VARCHAR, nation VARCHAR) Question: Which Lead has a Nation of croatia? [/INST] SELECT lead FROM table_name_99 WHERE nation = "croatia" </s>
|
Which Nation has a Lead of alexandra bruckmiller?
|
CREATE TABLE table_name_73 (nation VARCHAR, lead VARCHAR)
|
SELECT nation FROM table_name_73 WHERE lead = "alexandra bruckmiller"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (nation VARCHAR, lead VARCHAR) Question: Which Nation has a Lead of alexandra bruckmiller? [/INST] SELECT nation FROM table_name_73 WHERE lead = "alexandra bruckmiller" </s>
|
Which Skip has a Third of constanze hummelt?
|
CREATE TABLE table_name_37 (skip VARCHAR, third VARCHAR)
|
SELECT skip FROM table_name_37 WHERE third = "constanze hummelt"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (skip VARCHAR, third VARCHAR) Question: Which Skip has a Third of constanze hummelt? [/INST] SELECT skip FROM table_name_37 WHERE third = "constanze hummelt" </s>
|
what is the spanish word for garden
|
CREATE TABLE table_name_83 (spanish VARCHAR, english VARCHAR)
|
SELECT spanish FROM table_name_83 WHERE english = "garden"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (spanish VARCHAR, english VARCHAR) Question: what is the spanish word for garden [/INST] SELECT spanish FROM table_name_83 WHERE english = "garden" </s>
|
what is the italian word for the french word 'mer'
|
CREATE TABLE table_name_37 (italian VARCHAR, french VARCHAR)
|
SELECT italian FROM table_name_37 WHERE french = "mer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (italian VARCHAR, french VARCHAR) Question: what is the italian word for the french word 'mer' [/INST] SELECT italian FROM table_name_37 WHERE french = "mer" </s>
|
what is the english word for cavallo
|
CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR)
|
SELECT english FROM table_name_61 WHERE italian = "cavallo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR) Question: what is the english word for cavallo [/INST] SELECT english FROM table_name_61 WHERE italian = "cavallo" </s>
|
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
|
CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
|
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points? [/INST] SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50 </s>
|
What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points?
|
CREATE TABLE table_name_77 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
|
SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points? [/INST] SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 5 </s>
|
How many Extra Points were scored by the Player who had 5 Points and less than 1 Touchdowns?
|
CREATE TABLE table_name_6 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR)
|
SELECT MIN(extra_points) FROM table_name_6 WHERE points = 5 AND touchdowns < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR) Question: How many Extra Points were scored by the Player who had 5 Points and less than 1 Touchdowns? [/INST] SELECT MIN(extra_points) FROM table_name_6 WHERE points = 5 AND touchdowns < 1 </s>
|
Name the least year for european indoor championships result of 3rd
|
CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR)
|
SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year INTEGER, tournament VARCHAR, result VARCHAR) Question: Name the least year for european indoor championships result of 3rd [/INST] SELECT MIN(year) FROM table_name_86 WHERE tournament = "european indoor championships" AND result = "3rd" </s>
|
What is the played value with 51 points?
|
CREATE TABLE table_name_8 (played VARCHAR, points VARCHAR)
|
SELECT played FROM table_name_8 WHERE points = "51"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (played VARCHAR, points VARCHAR) Question: What is the played value with 51 points? [/INST] SELECT played FROM table_name_8 WHERE points = "51" </s>
|
How many tries for Nelson RFC?
|
CREATE TABLE table_name_99 (tries_for VARCHAR, club VARCHAR)
|
SELECT tries_for FROM table_name_99 WHERE club = "nelson rfc"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (tries_for VARCHAR, club VARCHAR) Question: How many tries for Nelson RFC? [/INST] SELECT tries_for FROM table_name_99 WHERE club = "nelson rfc" </s>
|
What is the losing bonus with 1 draw and 13 losses?
|
CREATE TABLE table_name_22 (losing_bonus VARCHAR, drawn VARCHAR, lost VARCHAR)
|
SELECT losing_bonus FROM table_name_22 WHERE drawn = "1" AND lost = "13"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (losing_bonus VARCHAR, drawn VARCHAR, lost VARCHAR) Question: What is the losing bonus with 1 draw and 13 losses? [/INST] SELECT losing_bonus FROM table_name_22 WHERE drawn = "1" AND lost = "13" </s>
|
How many tries when 22 are played with 1 draw and a try bonus of 13?
|
CREATE TABLE table_name_22 (tries_against VARCHAR, try_bonus VARCHAR, played VARCHAR, drawn VARCHAR)
|
SELECT tries_against FROM table_name_22 WHERE played = "22" AND drawn = "1" AND try_bonus = "13"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tries_against VARCHAR, try_bonus VARCHAR, played VARCHAR, drawn VARCHAR) Question: How many tries when 22 are played with 1 draw and a try bonus of 13? [/INST] SELECT tries_against FROM table_name_22 WHERE played = "22" AND drawn = "1" AND try_bonus = "13" </s>
|
How many points were scored against with a losing bonus of 1 for Blaenavon RFC?
|
CREATE TABLE table_name_67 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR)
|
SELECT points_against FROM table_name_67 WHERE losing_bonus = "1" AND club = "blaenavon rfc"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR) Question: How many points were scored against with a losing bonus of 1 for Blaenavon RFC? [/INST] SELECT points_against FROM table_name_67 WHERE losing_bonus = "1" AND club = "blaenavon rfc" </s>
|
Who is the opponent of the submission (triangle choke) method of submission?
|
CREATE TABLE table_name_41 (opponent VARCHAR, method VARCHAR)
|
SELECT opponent FROM table_name_41 WHERE method = "submission (triangle choke)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (opponent VARCHAR, method VARCHAR) Question: Who is the opponent of the submission (triangle choke) method of submission? [/INST] SELECT opponent FROM table_name_41 WHERE method = "submission (triangle choke)" </s>
|
What Competition had a game on October 31, 1979?
|
CREATE TABLE table_name_53 (competition VARCHAR, date VARCHAR)
|
SELECT competition FROM table_name_53 WHERE date = "october 31, 1979"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (competition VARCHAR, date VARCHAR) Question: What Competition had a game on October 31, 1979? [/INST] SELECT competition FROM table_name_53 WHERE date = "october 31, 1979" </s>
|
On what Date was Palhinha Brazil Scorers?
|
CREATE TABLE table_name_97 (date VARCHAR, brazil_scorers VARCHAR)
|
SELECT date FROM table_name_97 WHERE brazil_scorers = "palhinha"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (date VARCHAR, brazil_scorers VARCHAR) Question: On what Date was Palhinha Brazil Scorers? [/INST] SELECT date FROM table_name_97 WHERE brazil_scorers = "palhinha" </s>
|
What Brazil scorers have a 1-1 Score?
|
CREATE TABLE table_name_93 (brazil_scorers VARCHAR, score VARCHAR)
|
SELECT brazil_scorers FROM table_name_93 WHERE score = "1-1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (brazil_scorers VARCHAR, score VARCHAR) Question: What Brazil scorers have a 1-1 Score? [/INST] SELECT brazil_scorers FROM table_name_93 WHERE score = "1-1" </s>
|
What Brazil scorers have a 2-1 Score?
|
CREATE TABLE table_name_35 (brazil_scorers VARCHAR, score VARCHAR)
|
SELECT brazil_scorers FROM table_name_35 WHERE score = "2-1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (brazil_scorers VARCHAR, score VARCHAR) Question: What Brazil scorers have a 2-1 Score? [/INST] SELECT brazil_scorers FROM table_name_35 WHERE score = "2-1" </s>
|
What Competition's Score was 1-2?
|
CREATE TABLE table_name_76 (competition VARCHAR, score VARCHAR)
|
SELECT competition FROM table_name_76 WHERE score = "1-2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (competition VARCHAR, score VARCHAR) Question: What Competition's Score was 1-2? [/INST] SELECT competition FROM table_name_76 WHERE score = "1-2" </s>
|
Which Points have an Opponent of calgary flames, and a January larger than 22?
|
CREATE TABLE table_name_90 (points INTEGER, opponent VARCHAR, january VARCHAR)
|
SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 22
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (points INTEGER, opponent VARCHAR, january VARCHAR) Question: Which Points have an Opponent of calgary flames, and a January larger than 22? [/INST] SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 22 </s>
|
Which Points have a Record of 21–20–6?
|
CREATE TABLE table_name_36 (points INTEGER, record VARCHAR)
|
SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (points INTEGER, record VARCHAR) Question: Which Points have a Record of 21–20–6? [/INST] SELECT SUM(points) FROM table_name_36 WHERE record = "21–20–6" </s>
|
Which January has a Game of 50?
|
CREATE TABLE table_name_2 (january INTEGER, game VARCHAR)
|
SELECT AVG(january) FROM table_name_2 WHERE game = 50
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (january INTEGER, game VARCHAR) Question: Which January has a Game of 50? [/INST] SELECT AVG(january) FROM table_name_2 WHERE game = 50 </s>
|
Which Record has an Opponent of pittsburgh pirates, and a Date of may 5?
|
CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_79 WHERE opponent = "pittsburgh pirates" AND date = "may 5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which Record has an Opponent of pittsburgh pirates, and a Date of may 5? [/INST] SELECT record FROM table_name_79 WHERE opponent = "pittsburgh pirates" AND date = "may 5" </s>
|
Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
|
CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
|
SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR) Question: Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5? [/INST] SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5" </s>
|
Which Attendance is the highest one that has a Record of 15-28?
|
CREATE TABLE table_name_24 (attendance INTEGER, record VARCHAR)
|
SELECT MAX(attendance) FROM table_name_24 WHERE record = "15-28"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (attendance INTEGER, record VARCHAR) Question: Which Attendance is the highest one that has a Record of 15-28? [/INST] SELECT MAX(attendance) FROM table_name_24 WHERE record = "15-28" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.