instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
how many total with county being rooks county, kansas | CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR) | SELECT COUNT(total) FROM table_13606924_1 WHERE county = "Rooks county, Kansas" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR) Question: how many total with county being rooks county, kansas [/INST] SELECT COUNT(total) FROM table_13606924_1 WHERE county = "Rooks county, Kansas" </s> |
In which district was the incumbent Dick Saslaw? | CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_13618584_1 WHERE incumbent = "Dick Saslaw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR) Question: In which district was the incumbent Dick Saslaw? [/INST] SELECT district FROM table_13618584_1 WHERE incumbent = "Dick Saslaw" </s> |
What was the 2007 result in the district where the incumbent was elected in 1996? | CREATE TABLE table_13618584_1 (elected VARCHAR) | SELECT 2007 AS _result FROM table_13618584_1 WHERE elected = 1996 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13618584_1 (elected VARCHAR) Question: What was the 2007 result in the district where the incumbent was elected in 1996? [/INST] SELECT 2007 AS _result FROM table_13618584_1 WHERE elected = 1996 </s> |
What was the 2007 result in the 28th district? | CREATE TABLE table_13618584_1 (district VARCHAR) | SELECT 2007 AS _result FROM table_13618584_1 WHERE district = "28th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13618584_1 (district VARCHAR) Question: What was the 2007 result in the 28th district? [/INST] SELECT 2007 AS _result FROM table_13618584_1 WHERE district = "28th" </s> |
In what district was the incumbent Charles Hawkins? | CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_13618584_1 WHERE incumbent = "Charles Hawkins" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR) Question: In what district was the incumbent Charles Hawkins? [/INST] SELECT district FROM table_13618584_1 WHERE incumbent = "Charles Hawkins" </s> |
What's the number of the game played on March 26? | CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR) | SELECT MAX(game) FROM table_13619027_9 WHERE date = "March 26" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR) Question: What's the number of the game played on March 26? [/INST] SELECT MAX(game) FROM table_13619027_9 WHERE date = "March 26" </s> |
How many different values if the number is high rebounds can be found for the game on March 13? | CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR) Question: How many different values if the number is high rebounds can be found for the game on March 13? [/INST] SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13" </s> |
Who ihad the highest points and what was the number when the record was 11-40? | CREATE TABLE table_13619053_7 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_13619053_7 WHERE record = "11-40" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619053_7 (high_points VARCHAR, record VARCHAR) Question: Who ihad the highest points and what was the number when the record was 11-40? [/INST] SELECT high_points FROM table_13619053_7 WHERE record = "11-40" </s> |
Who did the Raptors play when their record was 45-36? | CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR) | SELECT team FROM table_13619135_8 WHERE record = "45-36" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR) Question: Who did the Raptors play when their record was 45-36? [/INST] SELECT team FROM table_13619135_8 WHERE record = "45-36" </s> |
What number game of the season was played on April 12? | CREATE TABLE table_13619135_8 (game INTEGER, date VARCHAR) | SELECT MAX(game) FROM table_13619135_8 WHERE date = "April 12" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619135_8 (game INTEGER, date VARCHAR) Question: What number game of the season was played on April 12? [/INST] SELECT MAX(game) FROM table_13619135_8 WHERE date = "April 12" </s> |
How many votes were cast in Wayne county? | CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR) | SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR) Question: How many votes were cast in Wayne county? [/INST] SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne" </s> |
In the county where Bush won 77.76%, how many total votes were cast? | CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR) | SELECT total__number FROM table_13625792_1 WHERE bush__percentage = "77.76%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR) Question: In the county where Bush won 77.76%, how many total votes were cast? [/INST] SELECT total__number FROM table_13625792_1 WHERE bush__percentage = "77.76%" </s> |
In the country where Bush won 4333 votes, what percentage did other receive? | CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR) | SELECT other__percentage FROM table_13625792_1 WHERE bush__number = 4333 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR) Question: In the country where Bush won 4333 votes, what percentage did other receive? [/INST] SELECT other__percentage FROM table_13625792_1 WHERE bush__number = 4333 </s> |
Who was the TO winning team when the TU winning team was Joe Richardson? | CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR) | SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR) Question: Who was the TO winning team when the TU winning team was Joe Richardson? [/INST] SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson" </s> |
On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? | CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR) | SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR) Question: On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? [/INST] SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi" </s> |
Who was the GTU winning team when the TO winning team was #3 Camaro? | CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR) | SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "#3 Camaro" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR) Question: Who was the GTU winning team when the TO winning team was #3 Camaro? [/INST] SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "#3 Camaro" </s> |
Who was the GTU winning team when the TO winning team was Steve Ross? | CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR) | SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "Steve Ross" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR) Question: Who was the GTU winning team when the TO winning team was Steve Ross? [/INST] SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "Steve Ross" </s> |
Who was the GTO winning team in round 5 when the GTU winning team was #59 Brumos Porsche - Audi? | CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR) | SELECT gto_winning_team FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR) Question: Who was the GTO winning team in round 5 when the GTU winning team was #59 Brumos Porsche - Audi? [/INST] SELECT gto_winning_team FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi" </s> |
Who was the GTO winning team when the TO winning team was #84 Camaro? | CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR) | SELECT gto_winning_team FROM table_13642023_2 WHERE to_winning_team = "#84 Camaro" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR) Question: Who was the GTO winning team when the TO winning team was #84 Camaro? [/INST] SELECT gto_winning_team FROM table_13642023_2 WHERE to_winning_team = "#84 Camaro" </s> |
Name the results for steve millen | CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR) | SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR) Question: Name the results for steve millen [/INST] SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen" </s> |
What is the most rnd for watkins glen? | CREATE TABLE table_13643154_2 (rnd INTEGER, circuit VARCHAR) | SELECT MIN(rnd) FROM table_13643154_2 WHERE circuit = "Watkins Glen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13643154_2 (rnd INTEGER, circuit VARCHAR) Question: What is the most rnd for watkins glen? [/INST] SELECT MIN(rnd) FROM table_13643154_2 WHERE circuit = "Watkins Glen" </s> |
What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team? | CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR) | SELECT gtp_winning_team FROM table_13643320_2 WHERE circuit = "Portland" AND gtu_winning_team = "Jack Baldwin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR) Question: What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team? [/INST] SELECT gtp_winning_team FROM table_13643320_2 WHERE circuit = "Portland" AND gtu_winning_team = "Jack Baldwin" </s> |
What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? | CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR) | SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR) Question: What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? [/INST] SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech" </s> |
How many different results came out of the round in which #98 All American Racers became the GTU winning team? | CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR) | SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = "#98 All American Racers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR) Question: How many different results came out of the round in which #98 All American Racers became the GTU winning team? [/INST] SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = "#98 All American Racers" </s> |
Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner? | CREATE TABLE table_13643320_2 (gto_winning_team VARCHAR, gtu_winning_team VARCHAR) | SELECT gto_winning_team FROM table_13643320_2 WHERE gtu_winning_team = "Chris Cord" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13643320_2 (gto_winning_team VARCHAR, gtu_winning_team VARCHAR) Question: Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner? [/INST] SELECT gto_winning_team FROM table_13643320_2 WHERE gtu_winning_team = "Chris Cord" </s> |
what are all the uu-usu score with winner is #5 brigham young (2–0) | CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR) | SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–0)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR) Question: what are all the uu-usu score with winner is #5 brigham young (2–0) [/INST] SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–0)" </s> |
what is the maximum season with byu-usu score being 29–7 | CREATE TABLE table_13665809_2 (season INTEGER, byu_usu_score VARCHAR) | SELECT MAX(season) FROM table_13665809_2 WHERE byu_usu_score = "29–7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_usu_score VARCHAR) Question: what is the maximum season with byu-usu score being 29–7 [/INST] SELECT MAX(season) FROM table_13665809_2 WHERE byu_usu_score = "29–7" </s> |
what is the maximum season with byu-uu score being 20–17 byu #19 | CREATE TABLE table_13665809_2 (season INTEGER, byu_uu_score VARCHAR) | SELECT MAX(season) FROM table_13665809_2 WHERE byu_uu_score = "20–17 BYU #19" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_uu_score VARCHAR) Question: what is the maximum season with byu-uu score being 20–17 byu #19 [/INST] SELECT MAX(season) FROM table_13665809_2 WHERE byu_uu_score = "20–17 BYU #19" </s> |
how many byu-uu score with winner being utah state (2–1) won over byu by media vote | CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, winner VARCHAR) | SELECT COUNT(byu_uu_score) FROM table_13665809_2 WHERE winner = "Utah State (2–1) Won over BYU by media vote" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, winner VARCHAR) Question: how many byu-uu score with winner being utah state (2–1) won over byu by media vote [/INST] SELECT COUNT(byu_uu_score) FROM table_13665809_2 WHERE winner = "Utah State (2–1) Won over BYU by media vote" </s> |
what's the byu-uu score with uu-usu score being 44–16 | CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR) | SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR) Question: what's the byu-uu score with uu-usu score being 44–16 [/INST] SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–16" </s> |
What are all the languages for tsotsi? | CREATE TABLE table_13700749_1 (language_s_ VARCHAR, film_title VARCHAR) | SELECT language_s_ FROM table_13700749_1 WHERE film_title = "Tsotsi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13700749_1 (language_s_ VARCHAR, film_title VARCHAR) Question: What are all the languages for tsotsi? [/INST] SELECT language_s_ FROM table_13700749_1 WHERE film_title = "Tsotsi" </s> |
What year featured the film tsotsi? | CREATE TABLE table_13700749_1 (year__ceremony_ VARCHAR, film_title VARCHAR) | SELECT year__ceremony_ FROM table_13700749_1 WHERE film_title = "Tsotsi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13700749_1 (year__ceremony_ VARCHAR, film_title VARCHAR) Question: What year featured the film tsotsi? [/INST] SELECT year__ceremony_ FROM table_13700749_1 WHERE film_title = "Tsotsi" </s> |
What was the result for the film life, above all? | CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR) | SELECT result FROM table_13700749_1 WHERE film_title = "Life, Above All" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR) Question: What was the result for the film life, above all? [/INST] SELECT result FROM table_13700749_1 WHERE film_title = "Life, Above All" </s> |
What numer pick in the draft for jerry hill? | CREATE TABLE table_13758243_1 (overall VARCHAR, player VARCHAR) | SELECT COUNT(overall) FROM table_13758243_1 WHERE player = "Jerry Hill" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758243_1 (overall VARCHAR, player VARCHAR) Question: What numer pick in the draft for jerry hill? [/INST] SELECT COUNT(overall) FROM table_13758243_1 WHERE player = "Jerry Hill" </s> |
What kicker was drafted? | CREATE TABLE table_13758243_1 (player VARCHAR, position VARCHAR) | SELECT player FROM table_13758243_1 WHERE position = "Kicker" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758243_1 (player VARCHAR, position VARCHAR) Question: What kicker was drafted? [/INST] SELECT player FROM table_13758243_1 WHERE position = "Kicker" </s> |
What team drafted steve scifres? | CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR) | SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR) Question: What team drafted steve scifres? [/INST] SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres" </s> |
What year was jerry marion drafted? | CREATE TABLE table_13758243_1 (draft_year INTEGER, player VARCHAR) | SELECT MAX(draft_year) FROM table_13758243_1 WHERE player = "Jerry Marion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758243_1 (draft_year INTEGER, player VARCHAR) Question: What year was jerry marion drafted? [/INST] SELECT MAX(draft_year) FROM table_13758243_1 WHERE player = "Jerry Marion" </s> |
What numer pick in the draft for jerry marion | CREATE TABLE table_13758243_1 (overall INTEGER, player VARCHAR) | SELECT MAX(overall) FROM table_13758243_1 WHERE player = "Jerry Marion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758243_1 (overall INTEGER, player VARCHAR) Question: What numer pick in the draft for jerry marion [/INST] SELECT MAX(overall) FROM table_13758243_1 WHERE player = "Jerry Marion" </s> |
what's the record with high points being dwyane wade (27) and location attendance being arco arena | CREATE TABLE table_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_13762472_4 WHERE high_points = "Dwyane Wade (27)" AND location_attendance = "ARCO Arena" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR) Question: what's the record with high points being dwyane wade (27) and location attendance being arco arena [/INST] SELECT record FROM table_13762472_4 WHERE high_points = "Dwyane Wade (27)" AND location_attendance = "ARCO Arena" </s> |
how many high assists with record being 15-11 | CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR) | SELECT COUNT(high_assists) FROM table_13762472_4 WHERE record = "15-11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR) Question: how many high assists with record being 15-11 [/INST] SELECT COUNT(high_assists) FROM table_13762472_4 WHERE record = "15-11" </s> |
who had high points on december 3 | CREATE TABLE table_13762472_4 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_13762472_4 WHERE date = "December 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (high_points VARCHAR, date VARCHAR) Question: who had high points on december 3 [/INST] SELECT high_points FROM table_13762472_4 WHERE date = "December 3" </s> |
who had high rebounds when score is w 111–92 (ot) | CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_13762472_4 WHERE score = "W 111–92 (OT)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, score VARCHAR) Question: who had high rebounds when score is w 111–92 (ot) [/INST] SELECT high_rebounds FROM table_13762472_4 WHERE score = "W 111–92 (OT)" </s> |
who had all the high rebounds when high assists is by dwyane wade (9) | CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_13762472_4 WHERE high_assists = "Dwyane Wade (9)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR) Question: who had all the high rebounds when high assists is by dwyane wade (9) [/INST] SELECT high_rebounds FROM table_13762472_4 WHERE high_assists = "Dwyane Wade (9)" </s> |
what's the record with date being december 29 | CREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR) | SELECT record FROM table_13762472_4 WHERE date = "December 29" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR) Question: what's the record with date being december 29 [/INST] SELECT record FROM table_13762472_4 WHERE date = "December 29" </s> |
what's the position with artbeingt being jim reeves | CREATE TABLE table_13805432_2 (position VARCHAR, artist VARCHAR) | SELECT position FROM table_13805432_2 WHERE artist = "Jim Reeves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13805432_2 (position VARCHAR, artist VARCHAR) Question: what's the position with artbeingt being jim reeves [/INST] SELECT position FROM table_13805432_2 WHERE artist = "Jim Reeves" </s> |
what's the highest position with artbeingt being frankie avalon | CREATE TABLE table_13805432_2 (highest_position VARCHAR, artist VARCHAR) | SELECT highest_position FROM table_13805432_2 WHERE artist = "Frankie Avalon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13805432_2 (highest_position VARCHAR, artist VARCHAR) Question: what's the highest position with artbeingt being frankie avalon [/INST] SELECT highest_position FROM table_13805432_2 WHERE artist = "Frankie Avalon" </s> |
what's the song title with artbeingt being pat boone | CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR) | SELECT song_title FROM table_13805432_2 WHERE artist = "Pat Boone" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR) Question: what's the song title with artbeingt being pat boone [/INST] SELECT song_title FROM table_13805432_2 WHERE artist = "Pat Boone" </s> |
what is the minimum highest position with artbeingt being paul evans | CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR) | SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR) Question: what is the minimum highest position with artbeingt being paul evans [/INST] SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans" </s> |
Who was responsible and what was the number for the high rebounds on December 22? | CREATE TABLE table_13812785_5 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_13812785_5 WHERE date = "December 22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13812785_5 (high_rebounds VARCHAR, date VARCHAR) Question: Who was responsible and what was the number for the high rebounds on December 22? [/INST] SELECT high_rebounds FROM table_13812785_5 WHERE date = "December 22" </s> |
What is the record where the score is w 102–81 (ot)? | CREATE TABLE table_13812785_8 (record VARCHAR, score VARCHAR) | SELECT record FROM table_13812785_8 WHERE score = "W 102–81 (OT)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13812785_8 (record VARCHAR, score VARCHAR) Question: What is the record where the score is w 102–81 (ot)? [/INST] SELECT record FROM table_13812785_8 WHERE score = "W 102–81 (OT)" </s> |
Who had the high points dated march 13? | CREATE TABLE table_13812785_8 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_13812785_8 WHERE date = "March 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13812785_8 (high_points VARCHAR, date VARCHAR) Question: Who had the high points dated march 13? [/INST] SELECT high_points FROM table_13812785_8 WHERE date = "March 13" </s> |
Who had the most high points and rebounds than charles oakley (9)? | CREATE TABLE table_13812785_8 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_13812785_8 WHERE high_rebounds = "Charles Oakley (9)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13812785_8 (high_points VARCHAR, high_rebounds VARCHAR) Question: Who had the most high points and rebounds than charles oakley (9)? [/INST] SELECT high_points FROM table_13812785_8 WHERE high_rebounds = "Charles Oakley (9)" </s> |
who is the the incumbent with opponent being anthony weiner (d) unopposed | CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) | SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) Question: who is the the incumbent with opponent being anthony weiner (d) unopposed [/INST] SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed" </s> |
who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0% | CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) | SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) Question: who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0% [/INST] SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%" </s> |
what's the district with party being republican and elected being 1998 | CREATE TABLE table_13833770_3 (district VARCHAR, party VARCHAR, elected VARCHAR) | SELECT district FROM table_13833770_3 WHERE party = "Republican" AND elected = 1998 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13833770_3 (district VARCHAR, party VARCHAR, elected VARCHAR) Question: what's the district with party being republican and elected being 1998 [/INST] SELECT district FROM table_13833770_3 WHERE party = "Republican" AND elected = 1998 </s> |
what is the minimum district with incumbent being tom reynolds | CREATE TABLE table_13833770_3 (district INTEGER, incumbent VARCHAR) | SELECT MIN(district) FROM table_13833770_3 WHERE incumbent = "Tom Reynolds" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13833770_3 (district INTEGER, incumbent VARCHAR) Question: what is the minimum district with incumbent being tom reynolds [/INST] SELECT MIN(district) FROM table_13833770_3 WHERE incumbent = "Tom Reynolds" </s> |
what's the status with incumbent being eliot engel | CREATE TABLE table_13833770_3 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_13833770_3 WHERE incumbent = "Eliot Engel" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13833770_3 (status VARCHAR, incumbent VARCHAR) Question: what's the status with incumbent being eliot engel [/INST] SELECT status FROM table_13833770_3 WHERE incumbent = "Eliot Engel" </s> |
Name the number of women's doubles for 1986 | CREATE TABLE table_13845918_3 (womens_doubles VARCHAR, year VARCHAR) | SELECT COUNT(womens_doubles) FROM table_13845918_3 WHERE year = "1986" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13845918_3 (womens_doubles VARCHAR, year VARCHAR) Question: Name the number of women's doubles for 1986 [/INST] SELECT COUNT(womens_doubles) FROM table_13845918_3 WHERE year = "1986" </s> |
what was the lowest numbers for the winner gregory w. meeks | CREATE TABLE table_13870048_3 (elected INTEGER, incumbent VARCHAR) | SELECT MIN(elected) FROM table_13870048_3 WHERE incumbent = "Gregory W. Meeks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13870048_3 (elected INTEGER, incumbent VARCHAR) Question: what was the lowest numbers for the winner gregory w. meeks [/INST] SELECT MIN(elected) FROM table_13870048_3 WHERE incumbent = "Gregory W. Meeks" </s> |
What is the frequency of the model whose part number is ado520biaa5do? | CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR) | SELECT frequency FROM table_13869651_3 WHERE part_number_s_ = "ADO520BIAA5DO" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR) Question: What is the frequency of the model whose part number is ado520biaa5do? [/INST] SELECT frequency FROM table_13869651_3 WHERE part_number_s_ = "ADO520BIAA5DO" </s> |
When's the release date of the model with part number adh485biaa5do? | CREATE TABLE table_13869651_3 (release_date VARCHAR, part_number_s_ VARCHAR) | SELECT release_date FROM table_13869651_3 WHERE part_number_s_ = "ADH485BIAA5DO" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13869651_3 (release_date VARCHAR, part_number_s_ VARCHAR) Question: When's the release date of the model with part number adh485biaa5do? [/INST] SELECT release_date FROM table_13869651_3 WHERE part_number_s_ = "ADH485BIAA5DO" </s> |
What is the HT value of threw Athlon x2 5200b model? | CREATE TABLE table_13869651_3 (ht VARCHAR, model_number VARCHAR) | SELECT ht FROM table_13869651_3 WHERE model_number = "Athlon X2 5200B" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13869651_3 (ht VARCHAR, model_number VARCHAR) Question: What is the HT value of threw Athlon x2 5200b model? [/INST] SELECT ht FROM table_13869651_3 WHERE model_number = "Athlon X2 5200B" </s> |
How many different frequencies does the model with part number ado540biaa5do? | CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR) | SELECT COUNT(frequency) FROM table_13869651_3 WHERE part_number_s_ = "ADO540BIAA5DO" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR) Question: How many different frequencies does the model with part number ado540biaa5do? [/INST] SELECT COUNT(frequency) FROM table_13869651_3 WHERE part_number_s_ = "ADO540BIAA5DO" </s> |
What is the entire inhabitants in Southeast Asia? | CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR) | SELECT MIN(total_population) FROM table_1389609_3 WHERE region = "Southeast Asia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR) Question: What is the entire inhabitants in Southeast Asia? [/INST] SELECT MIN(total_population) FROM table_1389609_3 WHERE region = "Southeast Asia" </s> |
what is the minimum average with highest being 2363 | CREATE TABLE table_14003020_5 (average INTEGER, highest VARCHAR) | SELECT MIN(average) FROM table_14003020_5 WHERE highest = 2363 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14003020_5 (average INTEGER, highest VARCHAR) Question: what is the minimum average with highest being 2363 [/INST] SELECT MIN(average) FROM table_14003020_5 WHERE highest = 2363 </s> |
what is the minimum lowest with highest being 2363 | CREATE TABLE table_14003020_5 (lowest INTEGER, highest VARCHAR) | SELECT MIN(lowest) FROM table_14003020_5 WHERE highest = 2363 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14003020_5 (lowest INTEGER, highest VARCHAR) Question: what is the minimum lowest with highest being 2363 [/INST] SELECT MIN(lowest) FROM table_14003020_5 WHERE highest = 2363 </s> |
what's the team with stadium being glebe park | CREATE TABLE table_14003020_5 (team VARCHAR, stadium VARCHAR) | SELECT team FROM table_14003020_5 WHERE stadium = "Glebe Park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14003020_5 (team VARCHAR, stadium VARCHAR) Question: what's the team with stadium being glebe park [/INST] SELECT team FROM table_14003020_5 WHERE stadium = "Glebe Park" </s> |
What's the production code of the episode with a series number 37b? | CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR) Question: What's the production code of the episode with a series number 37b? [/INST] SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b" </s> |
On what date did the episode with a series number 31, with a story written by William Reiss, air for the first time? | CREATE TABLE table_14035132_3 (original_air_date VARCHAR, storyboarded_by VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_14035132_3 WHERE storyboarded_by = "William Reiss" AND no_in_series = "31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, storyboarded_by VARCHAR, no_in_series VARCHAR) Question: On what date did the episode with a series number 31, with a story written by William Reiss, air for the first time? [/INST] SELECT original_air_date FROM table_14035132_3 WHERE storyboarded_by = "William Reiss" AND no_in_series = "31" </s> |
When did the episode with season number 10b air for the first time? | CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT original_air_date FROM table_14035132_3 WHERE no_in_season = "10b" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR) Question: When did the episode with season number 10b air for the first time? [/INST] SELECT original_air_date FROM table_14035132_3 WHERE no_in_season = "10b" </s> |
When did the episode with series number 29a originally air? | CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_14035132_3 WHERE no_in_series = "29a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR) Question: When did the episode with series number 29a originally air? [/INST] SELECT original_air_date FROM table_14035132_3 WHERE no_in_series = "29a" </s> |
How many episodes have been directed and written by Darrick Bachman and Brett Varon? | CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR) | SELECT COUNT(directed_by) FROM table_14035132_3 WHERE written_by = "Darrick Bachman and Brett Varon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR) Question: How many episodes have been directed and written by Darrick Bachman and Brett Varon? [/INST] SELECT COUNT(directed_by) FROM table_14035132_3 WHERE written_by = "Darrick Bachman and Brett Varon" </s> |
What is the population density in the Brighton area? | CREATE TABLE table_140297_1 (density VARCHAR, principal_town VARCHAR) | SELECT density FROM table_140297_1 WHERE principal_town = "Brighton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_140297_1 (density VARCHAR, principal_town VARCHAR) Question: What is the population density in the Brighton area? [/INST] SELECT density FROM table_140297_1 WHERE principal_town = "Brighton" </s> |
How many people live in the area of Sorell according to the Census of 2011? | CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR) | SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR) Question: How many people live in the area of Sorell according to the Census of 2011? [/INST] SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell" </s> |
what is the number of area where the county is marsabit? | CREATE TABLE table_1404486_1 (area__km_2__ VARCHAR, county VARCHAR) | SELECT COUNT(area__km_2__) FROM table_1404486_1 WHERE county = "Marsabit" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1404486_1 (area__km_2__ VARCHAR, county VARCHAR) Question: what is the number of area where the county is marsabit? [/INST] SELECT COUNT(area__km_2__) FROM table_1404486_1 WHERE county = "Marsabit" </s> |
what is the code of population census 2009 is 1356301? | CREATE TABLE table_1404486_1 (code VARCHAR, population_census_2009 VARCHAR) | SELECT code FROM table_1404486_1 WHERE population_census_2009 = 1356301 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1404486_1 (code VARCHAR, population_census_2009 VARCHAR) Question: what is the code of population census 2009 is 1356301? [/INST] SELECT code FROM table_1404486_1 WHERE population_census_2009 = 1356301 </s> |
What's the tries against count of the team with 396 points against? | CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR) | SELECT COUNT(tries_against) FROM table_14070062_3 WHERE points_against = "396" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR) Question: What's the tries against count of the team with 396 points against? [/INST] SELECT COUNT(tries_against) FROM table_14070062_3 WHERE points_against = "396" </s> |
How many points does the club with a try bonus of 10 have? | CREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR) | SELECT points FROM table_14070062_3 WHERE try_bonus = "10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR) Question: How many points does the club with a try bonus of 10 have? [/INST] SELECT points FROM table_14070062_3 WHERE try_bonus = "10" </s> |
What's the tries for count for the team with 70 points? | CREATE TABLE table_14070062_3 (tries_for VARCHAR, points VARCHAR) | SELECT tries_for FROM table_14070062_3 WHERE points = "70" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14070062_3 (tries_for VARCHAR, points VARCHAR) Question: What's the tries for count for the team with 70 points? [/INST] SELECT tries_for FROM table_14070062_3 WHERE points = "70" </s> |
How many clubs have a try bonus value of 5? | CREATE TABLE table_14070062_3 (club VARCHAR, try_bonus VARCHAR) | SELECT COUNT(club) FROM table_14070062_3 WHERE try_bonus = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14070062_3 (club VARCHAR, try_bonus VARCHAR) Question: How many clubs have a try bonus value of 5? [/INST] SELECT COUNT(club) FROM table_14070062_3 WHERE try_bonus = "5" </s> |
What's the losing bonus count for the club with 9 won games? | CREATE TABLE table_14070062_3 (losing_bonus VARCHAR, won VARCHAR) | SELECT losing_bonus FROM table_14070062_3 WHERE won = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14070062_3 (losing_bonus VARCHAR, won VARCHAR) Question: What's the losing bonus count for the club with 9 won games? [/INST] SELECT losing_bonus FROM table_14070062_3 WHERE won = "9" </s> |
How many tries for does Pontardawe RFC have? | CREATE TABLE table_14070062_3 (tries_for VARCHAR, club VARCHAR) | SELECT tries_for FROM table_14070062_3 WHERE club = "Pontardawe RFC" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14070062_3 (tries_for VARCHAR, club VARCHAR) Question: How many tries for does Pontardawe RFC have? [/INST] SELECT tries_for FROM table_14070062_3 WHERE club = "Pontardawe RFC" </s> |
How many home losses occured when PF 13? | CREATE TABLE table_1409106_2 (home_losses VARCHAR, pf VARCHAR) | SELECT COUNT(home_losses) FROM table_1409106_2 WHERE pf = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1409106_2 (home_losses VARCHAR, pf VARCHAR) Question: How many home losses occured when PF 13? [/INST] SELECT COUNT(home_losses) FROM table_1409106_2 WHERE pf = 13 </s> |
How many copoes per particle are created in the segment that forms inner shell of the core? | CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR) | SELECT copies_per_particle FROM table_140968_1 WHERE location = "Forms inner shell of the core" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR) Question: How many copoes per particle are created in the segment that forms inner shell of the core? [/INST] SELECT copies_per_particle FROM table_140968_1 WHERE location = "Forms inner shell of the core" </s> |
How many copies per particle are created by the enterotoxin? | CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR) | SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR) Question: How many copies per particle are created by the enterotoxin? [/INST] SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin" </s> |
How many base pairs are there if the molecular weight is 102? | CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR) | SELECT COUNT(size___s_base_pair__) FROM table_140968_1 WHERE molecular_weight_kda = "102" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR) Question: How many base pairs are there if the molecular weight is 102? [/INST] SELECT COUNT(size___s_base_pair__) FROM table_140968_1 WHERE molecular_weight_kda = "102" </s> |
How many copies per particle are there for the base pair that is size 1059? | CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR) | SELECT COUNT(copies_per_particle) FROM table_140968_1 WHERE size___s_base_pair__ = 1059 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR) Question: How many copies per particle are there for the base pair that is size 1059? [/INST] SELECT COUNT(copies_per_particle) FROM table_140968_1 WHERE size___s_base_pair__ = 1059 </s> |
what is the minimum attendance with stadium being cotton bowl | CREATE TABLE table_14102379_4 (attendance INTEGER, stadium VARCHAR) | SELECT MIN(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (attendance INTEGER, stadium VARCHAR) Question: what is the minimum attendance with stadium being cotton bowl [/INST] SELECT MIN(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl" </s> |
what's the opponent with stadium being jeppesen stadium | CREATE TABLE table_14102379_4 (opponent VARCHAR, stadium VARCHAR) | SELECT opponent FROM table_14102379_4 WHERE stadium = "Jeppesen stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (opponent VARCHAR, stadium VARCHAR) Question: what's the opponent with stadium being jeppesen stadium [/INST] SELECT opponent FROM table_14102379_4 WHERE stadium = "Jeppesen stadium" </s> |
what's the stadium with record being 1–1 | CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR) | SELECT stadium FROM table_14102379_4 WHERE record = "1–1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR) Question: what's the stadium with record being 1–1 [/INST] SELECT stadium FROM table_14102379_4 WHERE record = "1–1" </s> |
how many attendance with stadium being cotton bowl | CREATE TABLE table_14102379_4 (attendance VARCHAR, stadium VARCHAR) | SELECT COUNT(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (attendance VARCHAR, stadium VARCHAR) Question: how many attendance with stadium being cotton bowl [/INST] SELECT COUNT(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl" </s> |
what's the result with opponent being at oakland raiders | CREATE TABLE table_14102379_4 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_14102379_4 WHERE opponent = "at Oakland Raiders" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (result VARCHAR, opponent VARCHAR) Question: what's the result with opponent being at oakland raiders [/INST] SELECT result FROM table_14102379_4 WHERE opponent = "at Oakland Raiders" </s> |
what is the minimum attendance with record being 4–6 | CREATE TABLE table_14102379_4 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_14102379_4 WHERE record = "4–6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (attendance INTEGER, record VARCHAR) Question: what is the minimum attendance with record being 4–6 [/INST] SELECT MIN(attendance) FROM table_14102379_4 WHERE record = "4–6" </s> |
What's Yurchikhin Fyodor Yurchikhin's number? | CREATE TABLE table_14125006_1 (number VARCHAR, astronaut VARCHAR) | SELECT number FROM table_14125006_1 WHERE astronaut = "Yurchikhin Fyodor Yurchikhin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14125006_1 (number VARCHAR, astronaut VARCHAR) Question: What's Yurchikhin Fyodor Yurchikhin's number? [/INST] SELECT number FROM table_14125006_1 WHERE astronaut = "Yurchikhin Fyodor Yurchikhin" </s> |
How long was the walk numbered at 17? | CREATE TABLE table_14125006_1 (total_time_hours VARCHAR, number VARCHAR) | SELECT total_time_hours AS :minutes FROM table_14125006_1 WHERE number = 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14125006_1 (total_time_hours VARCHAR, number VARCHAR) Question: How long was the walk numbered at 17? [/INST] SELECT total_time_hours AS :minutes FROM table_14125006_1 WHERE number = 17 </s> |
How many agencies did Budarin Nikolai Budarin working for? | CREATE TABLE table_14125006_1 (agency VARCHAR, astronaut VARCHAR) | SELECT COUNT(agency) FROM table_14125006_1 WHERE astronaut = "Budarin Nikolai Budarin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14125006_1 (agency VARCHAR, astronaut VARCHAR) Question: How many agencies did Budarin Nikolai Budarin working for? [/INST] SELECT COUNT(agency) FROM table_14125006_1 WHERE astronaut = "Budarin Nikolai Budarin" </s> |
What agency does Anderson Clayton Anderson work for? | CREATE TABLE table_14125006_1 (agency VARCHAR, astronaut VARCHAR) | SELECT agency FROM table_14125006_1 WHERE astronaut = "Anderson Clayton Anderson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14125006_1 (agency VARCHAR, astronaut VARCHAR) Question: What agency does Anderson Clayton Anderson work for? [/INST] SELECT agency FROM table_14125006_1 WHERE astronaut = "Anderson Clayton Anderson" </s> |
what's the year with change being +8.0% | CREATE TABLE table_141541_5 (year VARCHAR, change VARCHAR) | SELECT year FROM table_141541_5 WHERE change = "+8.0%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_141541_5 (year VARCHAR, change VARCHAR) Question: what's the year with change being +8.0% [/INST] SELECT year FROM table_141541_5 WHERE change = "+8.0%" </s> |
what's the domestic freight with change being +8.0% | CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR) | SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR) Question: what's the domestic freight with change being +8.0% [/INST] SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%" </s> |
what is the maximum international mail with total freight and mail being 145044 | CREATE TABLE table_141541_5 (international_mail INTEGER, total_freight_and_mail VARCHAR) | SELECT MAX(international_mail) FROM table_141541_5 WHERE total_freight_and_mail = 145044 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_141541_5 (international_mail INTEGER, total_freight_and_mail VARCHAR) Question: what is the maximum international mail with total freight and mail being 145044 [/INST] SELECT MAX(international_mail) FROM table_141541_5 WHERE total_freight_and_mail = 145044 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.