instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What player has a pick # greater than 207?
|
CREATE TABLE table_name_44 (player VARCHAR, pick__number INTEGER)
|
SELECT player FROM table_name_44 WHERE pick__number > 207
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (player VARCHAR, pick__number INTEGER) Question: What player has a pick # greater than 207? [/INST] SELECT player FROM table_name_44 WHERE pick__number > 207 </s>
|
Which artist had a 4x platinum?
|
CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR)
|
SELECT artist FROM table_name_42 WHERE certification = "4x platinum"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR) Question: Which artist had a 4x platinum? [/INST] SELECT artist FROM table_name_42 WHERE certification = "4x platinum" </s>
|
What was the highest peak position for the album one of the boys?
|
CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR)
|
SELECT MAX(peak_position) FROM table_name_48 WHERE album = "one of the boys"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR) Question: What was the highest peak position for the album one of the boys? [/INST] SELECT MAX(peak_position) FROM table_name_48 WHERE album = "one of the boys" </s>
|
How many sales had a peak position of 1 and a certification of 6x platinum?
|
CREATE TABLE table_name_31 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
|
SELECT COUNT(sales) FROM table_name_31 WHERE peak_position = 1 AND certification = "6x platinum"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR) Question: How many sales had a peak position of 1 and a certification of 6x platinum? [/INST] SELECT COUNT(sales) FROM table_name_31 WHERE peak_position = 1 AND certification = "6x platinum" </s>
|
What album had a peak position of 6 and a certification of 3x platinum?
|
CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR)
|
SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR) Question: What album had a peak position of 6 and a certification of 3x platinum? [/INST] SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6 </s>
|
How many sales had a peak position more than 2 and a Certification of 3x platinum?
|
CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
|
SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = "3x platinum"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR) Question: How many sales had a peak position more than 2 and a Certification of 3x platinum? [/INST] SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = "3x platinum" </s>
|
Who were the rowers who had a time of 7:39.70?
|
CREATE TABLE table_name_18 (rowers VARCHAR, time VARCHAR)
|
SELECT rowers FROM table_name_18 WHERE time = "7:39.70"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (rowers VARCHAR, time VARCHAR) Question: Who were the rowers who had a time of 7:39.70? [/INST] SELECT rowers FROM table_name_18 WHERE time = "7:39.70" </s>
|
Who were the rowers from china wh had a rank smaller than 4?
|
CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR)
|
SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = "china"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR) Question: Who were the rowers from china wh had a rank smaller than 4? [/INST] SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = "china" </s>
|
What is the notes for the rowers from denmark?
|
CREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR)
|
SELECT notes FROM table_name_26 WHERE country = "denmark"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR) Question: What is the notes for the rowers from denmark? [/INST] SELECT notes FROM table_name_26 WHERE country = "denmark" </s>
|
Which Bronze has a Nation of austria, and a Total larger than 6?
|
CREATE TABLE table_name_21 (bronze INTEGER, nation VARCHAR, total VARCHAR)
|
SELECT MAX(bronze) FROM table_name_21 WHERE nation = "austria" AND total > 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (bronze INTEGER, nation VARCHAR, total VARCHAR) Question: Which Bronze has a Nation of austria, and a Total larger than 6? [/INST] SELECT MAX(bronze) FROM table_name_21 WHERE nation = "austria" AND total > 6 </s>
|
Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
|
CREATE TABLE table_name_13 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)
|
SELECT rank FROM table_name_13 WHERE silver = 1 AND gold = 0 AND nation = "austria"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (rank VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) Question: Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria? [/INST] SELECT rank FROM table_name_13 WHERE silver = 1 AND gold = 0 AND nation = "austria" </s>
|
Which Total has a Rank of 5, and a Bronze smaller than 0?
|
CREATE TABLE table_name_67 (total INTEGER, rank VARCHAR, bronze VARCHAR)
|
SELECT AVG(total) FROM table_name_67 WHERE rank = "5" AND bronze < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: Which Total has a Rank of 5, and a Bronze smaller than 0? [/INST] SELECT AVG(total) FROM table_name_67 WHERE rank = "5" AND bronze < 0 </s>
|
Which Total has a Bronze of 5, and a Silver smaller than 1?
|
CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR)
|
SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: Which Total has a Bronze of 5, and a Silver smaller than 1? [/INST] SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1 </s>
|
What is the highest year with a formula of Grand Prix?
|
CREATE TABLE table_name_25 (year INTEGER, formula VARCHAR)
|
SELECT MAX(year) FROM table_name_25 WHERE formula = "grand prix"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year INTEGER, formula VARCHAR) Question: What is the highest year with a formula of Grand Prix? [/INST] SELECT MAX(year) FROM table_name_25 WHERE formula = "grand prix" </s>
|
Which formula had a driver of John Moore-Brabazon?
|
CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR)
|
SELECT formula FROM table_name_64 WHERE driver = "john moore-brabazon"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (formula VARCHAR, driver VARCHAR) Question: Which formula had a driver of John Moore-Brabazon? [/INST] SELECT formula FROM table_name_64 WHERE driver = "john moore-brabazon" </s>
|
Which driver had a year under 1905?
|
CREATE TABLE table_name_51 (driver VARCHAR, year INTEGER)
|
SELECT driver FROM table_name_51 WHERE year < 1905
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (driver VARCHAR, year INTEGER) Question: Which driver had a year under 1905? [/INST] SELECT driver FROM table_name_51 WHERE year < 1905 </s>
|
How many years had a formula of Grand Prix?
|
CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)
|
SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR) Question: How many years had a formula of Grand Prix? [/INST] SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix" </s>
|
Which location was won by George Heath?
|
CREATE TABLE table_name_15 (location VARCHAR, driver VARCHAR)
|
SELECT location FROM table_name_15 WHERE driver = "george heath"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (location VARCHAR, driver VARCHAR) Question: Which location was won by George Heath? [/INST] SELECT location FROM table_name_15 WHERE driver = "george heath" </s>
|
What is the 2010 total for ghana?
|
CREATE TABLE table_name_64 (country VARCHAR)
|
SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (country VARCHAR) Question: What is the 2010 total for ghana? [/INST] SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana" </s>
|
Which country is the nnamdi azikiwe international airport in?
|
CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR)
|
SELECT country FROM table_name_73 WHERE airport = "nnamdi azikiwe international airport"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR) Question: Which country is the nnamdi azikiwe international airport in? [/INST] SELECT country FROM table_name_73 WHERE airport = "nnamdi azikiwe international airport" </s>
|
What is the average lane for Kenya with react larger than 0.212?
|
CREATE TABLE table_name_79 (lane INTEGER, nationality VARCHAR, react VARCHAR)
|
SELECT AVG(lane) FROM table_name_79 WHERE nationality = "kenya" AND react > 0.212
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (lane INTEGER, nationality VARCHAR, react VARCHAR) Question: What is the average lane for Kenya with react larger than 0.212? [/INST] SELECT AVG(lane) FROM table_name_79 WHERE nationality = "kenya" AND react > 0.212 </s>
|
what is the highest rank for tim maeyens?
|
CREATE TABLE table_name_34 (rank INTEGER, athlete VARCHAR)
|
SELECT MAX(rank) FROM table_name_34 WHERE athlete = "tim maeyens"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (rank INTEGER, athlete VARCHAR) Question: what is the highest rank for tim maeyens? [/INST] SELECT MAX(rank) FROM table_name_34 WHERE athlete = "tim maeyens" </s>
|
what is the notes for andre vonarburg?
|
CREATE TABLE table_name_24 (notes VARCHAR, athlete VARCHAR)
|
SELECT notes FROM table_name_24 WHERE athlete = "andre vonarburg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (notes VARCHAR, athlete VARCHAR) Question: what is the notes for andre vonarburg? [/INST] SELECT notes FROM table_name_24 WHERE athlete = "andre vonarburg" </s>
|
Who is the athlete from greece?
|
CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR)
|
SELECT athlete FROM table_name_13 WHERE country = "greece"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (athlete VARCHAR, country VARCHAR) Question: Who is the athlete from greece? [/INST] SELECT athlete FROM table_name_13 WHERE country = "greece" </s>
|
who is the athlete with the rank smaller than 2?
|
CREATE TABLE table_name_10 (athlete VARCHAR, rank INTEGER)
|
SELECT athlete FROM table_name_10 WHERE rank < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (athlete VARCHAR, rank INTEGER) Question: who is the athlete with the rank smaller than 2? [/INST] SELECT athlete FROM table_name_10 WHERE rank < 2 </s>
|
what is the notes for the athlete with the time of 7:38.87?
|
CREATE TABLE table_name_86 (notes VARCHAR, time VARCHAR)
|
SELECT notes FROM table_name_86 WHERE time = "7:38.87"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (notes VARCHAR, time VARCHAR) Question: what is the notes for the athlete with the time of 7:38.87? [/INST] SELECT notes FROM table_name_86 WHERE time = "7:38.87" </s>
|
What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals?
|
CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, total VARCHAR)
|
SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, total VARCHAR) Question: What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals? [/INST] SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6 </s>
|
What is the highest number of bronze medals of west germany, which has more than 0 golds?
|
CREATE TABLE table_name_4 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
|
SELECT MAX(bronze) FROM table_name_4 WHERE nation = "west germany" AND gold > 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (bronze INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the highest number of bronze medals of west germany, which has more than 0 golds? [/INST] SELECT MAX(bronze) FROM table_name_4 WHERE nation = "west germany" AND gold > 0 </s>
|
What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals?
|
CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
|
SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals? [/INST] SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union" </s>
|
What year did the ship Europa, have the dates of 14 – 23 October?
|
CREATE TABLE table_name_32 (year INTEGER, ship VARCHAR, dates VARCHAR)
|
SELECT AVG(year) FROM table_name_32 WHERE ship = "europa" AND dates = "14 – 23 october"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (year INTEGER, ship VARCHAR, dates VARCHAR) Question: What year did the ship Europa, have the dates of 14 – 23 October? [/INST] SELECT AVG(year) FROM table_name_32 WHERE ship = "europa" AND dates = "14 – 23 october" </s>
|
What is the Days, hours, minutes for 21 – 26 October?
|
CREATE TABLE table_name_81 (days VARCHAR, _hours VARCHAR, _minutes VARCHAR, dates VARCHAR)
|
SELECT days, _hours, _minutes FROM table_name_81 WHERE dates = "21 – 26 october"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (days VARCHAR, _hours VARCHAR, _minutes VARCHAR, dates VARCHAR) Question: What is the Days, hours, minutes for 21 – 26 October? [/INST] SELECT days, _hours, _minutes FROM table_name_81 WHERE dates = "21 – 26 october" </s>
|
Which year did the school with the mascot of the Vikings join?
|
CREATE TABLE table_name_83 (year_joined VARCHAR, mascot VARCHAR)
|
SELECT year_joined FROM table_name_83 WHERE mascot = "vikings"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (year_joined VARCHAR, mascot VARCHAR) Question: Which year did the school with the mascot of the Vikings join? [/INST] SELECT year_joined FROM table_name_83 WHERE mascot = "vikings" </s>
|
Who wrote the album recorded at funhouse studios with a time of 3:27?
|
CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
|
SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3:27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR) Question: Who wrote the album recorded at funhouse studios with a time of 3:27? [/INST] SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3:27" </s>
|
Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16?
|
CREATE TABLE table_name_45 (performer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
|
SELECT performer_s_ FROM table_name_45 WHERE recorded_at = "the cabin in the woods studio" AND time = "3:16"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (performer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR) Question: Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16? [/INST] SELECT performer_s_ FROM table_name_45 WHERE recorded_at = "the cabin in the woods studio" AND time = "3:16" </s>
|
Which League Cup Goals have a League Cup Apps of 1 (1)?
|
CREATE TABLE table_name_45 (league_cup_goals VARCHAR, league_cup_apps VARCHAR)
|
SELECT league_cup_goals FROM table_name_45 WHERE league_cup_apps = "1 (1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (league_cup_goals VARCHAR, league_cup_apps VARCHAR) Question: Which League Cup Goals have a League Cup Apps of 1 (1)? [/INST] SELECT league_cup_goals FROM table_name_45 WHERE league_cup_apps = "1 (1)" </s>
|
Which FA Cup Apps have Total Goals larger than 6, and an FA Cup Goals smaller than 1?
|
CREATE TABLE table_name_90 (fa_cup_apps VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR)
|
SELECT fa_cup_apps FROM table_name_90 WHERE total_goals > 6 AND fa_cup_goals < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (fa_cup_apps VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR) Question: Which FA Cup Apps have Total Goals larger than 6, and an FA Cup Goals smaller than 1? [/INST] SELECT fa_cup_apps FROM table_name_90 WHERE total_goals > 6 AND fa_cup_goals < 1 </s>
|
How many League Goals have an FA Cup Apps of 0 (1)?
|
CREATE TABLE table_name_84 (league_goals VARCHAR, fa_cup_apps VARCHAR)
|
SELECT COUNT(league_goals) FROM table_name_84 WHERE fa_cup_apps = "0 (1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (league_goals VARCHAR, fa_cup_apps VARCHAR) Question: How many League Goals have an FA Cup Apps of 0 (1)? [/INST] SELECT COUNT(league_goals) FROM table_name_84 WHERE fa_cup_apps = "0 (1)" </s>
|
What is the lowest round number in which Will Wilcox was selected?
|
CREATE TABLE table_name_55 (round INTEGER, player VARCHAR)
|
SELECT MIN(round) FROM table_name_55 WHERE player = "will wilcox"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (round INTEGER, player VARCHAR) Question: What is the lowest round number in which Will Wilcox was selected? [/INST] SELECT MIN(round) FROM table_name_55 WHERE player = "will wilcox" </s>
|
Which player went to college at Tennessee-Chattanooga?
|
CREATE TABLE table_name_7 (player VARCHAR, college VARCHAR)
|
SELECT player FROM table_name_7 WHERE college = "tennessee-chattanooga"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (player VARCHAR, college VARCHAR) Question: Which player went to college at Tennessee-Chattanooga? [/INST] SELECT player FROM table_name_7 WHERE college = "tennessee-chattanooga" </s>
|
Which Col (m) has an Elevation (m) smaller than 1,624?
|
CREATE TABLE table_name_88 (col__m_ INTEGER, elevation__m_ INTEGER)
|
SELECT MIN(col__m_) FROM table_name_88 WHERE elevation__m_ < 1 OFFSET 624 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (col__m_ INTEGER, elevation__m_ INTEGER) Question: Which Col (m) has an Elevation (m) smaller than 1,624? [/INST] SELECT MIN(col__m_) FROM table_name_88 WHERE elevation__m_ < 1 OFFSET 624 ROWS </s>
|
How much Elevation (m) has a Prominence (m) larger than 1,754?
|
CREATE TABLE table_name_45 (elevation__m_ INTEGER, prominence__m_ INTEGER)
|
SELECT SUM(elevation__m_) FROM table_name_45 WHERE prominence__m_ > 1 OFFSET 754 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (elevation__m_ INTEGER, prominence__m_ INTEGER) Question: How much Elevation (m) has a Prominence (m) larger than 1,754? [/INST] SELECT SUM(elevation__m_) FROM table_name_45 WHERE prominence__m_ > 1 OFFSET 754 ROWS </s>
|
Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs?
|
CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR)
|
SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR) Question: Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs? [/INST] SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs" </s>
|
Which Team has Points of 0, a Grid larger than 13, and a Driver of alex yoong?
|
CREATE TABLE table_name_67 (team VARCHAR, driver VARCHAR, points VARCHAR, grid VARCHAR)
|
SELECT team FROM table_name_67 WHERE points = 0 AND grid > 13 AND driver = "alex yoong"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (team VARCHAR, driver VARCHAR, points VARCHAR, grid VARCHAR) Question: Which Team has Points of 0, a Grid larger than 13, and a Driver of alex yoong? [/INST] SELECT team FROM table_name_67 WHERE points = 0 AND grid > 13 AND driver = "alex yoong" </s>
|
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
|
CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR)
|
SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR) Question: What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals? [/INST] SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 2 </s>
|
What nation finished with 11 silver medals?
|
CREATE TABLE table_name_67 (nation VARCHAR, silver VARCHAR)
|
SELECT nation FROM table_name_67 WHERE silver = 11
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (nation VARCHAR, silver VARCHAR) Question: What nation finished with 11 silver medals? [/INST] SELECT nation FROM table_name_67 WHERE silver = 11 </s>
|
What is Benito Cheng's Pick number?
|
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)
|
SELECT pick FROM table_name_75 WHERE player = "benito cheng"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR) Question: What is Benito Cheng's Pick number? [/INST] SELECT pick FROM table_name_75 WHERE player = "benito cheng" </s>
|
What is Richard Bachmann's PBA team?
|
CREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR)
|
SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR) Question: What is Richard Bachmann's PBA team? [/INST] SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann" </s>
|
What is Far Eastern College Johnny Abarrientos' Pick number?
|
CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR, player VARCHAR)
|
SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR, player VARCHAR) Question: What is Far Eastern College Johnny Abarrientos' Pick number? [/INST] SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos" </s>
|
What home team has 10 as the tie no?
|
CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR)
|
SELECT home_team FROM table_name_14 WHERE tie_no = "10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR) Question: What home team has 10 as the tie no? [/INST] SELECT home_team FROM table_name_14 WHERE tie_no = "10" </s>
|
What is the game score when the tie no is 7?
|
CREATE TABLE table_name_7 (score VARCHAR, tie_no VARCHAR)
|
SELECT score FROM table_name_7 WHERE tie_no = "7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (score VARCHAR, tie_no VARCHAR) Question: What is the game score when the tie no is 7? [/INST] SELECT score FROM table_name_7 WHERE tie_no = "7" </s>
|
Who was the away team on 10 January 1979 who had a tie no of 17?
|
CREATE TABLE table_name_82 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR)
|
SELECT away_team FROM table_name_82 WHERE date = "10 january 1979" AND tie_no = "17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR) Question: Who was the away team on 10 January 1979 who had a tie no of 17? [/INST] SELECT away_team FROM table_name_82 WHERE date = "10 january 1979" AND tie_no = "17" </s>
|
When was the game that has tie no 2?
|
CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR)
|
SELECT date FROM table_name_91 WHERE tie_no = "2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR) Question: When was the game that has tie no 2? [/INST] SELECT date FROM table_name_91 WHERE tie_no = "2" </s>
|
What round did the match at the Golden Trophy 1999 event end?
|
CREATE TABLE table_name_44 (round INTEGER, event VARCHAR)
|
SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (round INTEGER, event VARCHAR) Question: What round did the match at the Golden Trophy 1999 event end? [/INST] SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999" </s>
|
What event had a record of 8–5–1?
|
CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR)
|
SELECT event FROM table_name_33 WHERE record = "8–5–1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR) Question: What event had a record of 8–5–1? [/INST] SELECT event FROM table_name_33 WHERE record = "8–5–1" </s>
|
What's the HDR Output that has a name of name?
|
CREATE TABLE table_name_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR)
|
SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR) Question: What's the HDR Output that has a name of name? [/INST] SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name" </s>
|
What's the exposure fusion of Panoramaplus x4?
|
CREATE TABLE table_name_38 (exposure_fusion VARCHAR, name VARCHAR)
|
SELECT exposure_fusion FROM table_name_38 WHERE name = "panoramaplus x4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (exposure_fusion VARCHAR, name VARCHAR) Question: What's the exposure fusion of Panoramaplus x4? [/INST] SELECT exposure_fusion FROM table_name_38 WHERE name = "panoramaplus x4" </s>
|
What's the HDR output of Photovista Panorama?
|
CREATE TABLE table_name_35 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR, name VARCHAR)
|
SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_35 WHERE name = "photovista panorama"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR, name VARCHAR) Question: What's the HDR output of Photovista Panorama? [/INST] SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_35 WHERE name = "photovista panorama" </s>
|
Which location has 101,119 as the capacity?
|
CREATE TABLE table_name_72 (location VARCHAR, capacity VARCHAR)
|
SELECT location FROM table_name_72 WHERE capacity = "101,119"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (location VARCHAR, capacity VARCHAR) Question: Which location has 101,119 as the capacity? [/INST] SELECT location FROM table_name_72 WHERE capacity = "101,119" </s>
|
What is the lowest rank that has university park, pa as the location?
|
CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR)
|
SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR) Question: What is the lowest rank that has university park, pa as the location? [/INST] SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa" </s>
|
What home team has a rank greater than 6, and 94,392 as the capacity?
|
CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR)
|
SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR) Question: What home team has a rank greater than 6, and 94,392 as the capacity? [/INST] SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392" </s>
|
Who was the builder for the USS cambridge?
|
CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR)
|
SELECT builder FROM table_name_98 WHERE name = "uss cambridge"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR) Question: Who was the builder for the USS cambridge? [/INST] SELECT builder FROM table_name_98 WHERE name = "uss cambridge" </s>
|
What year was the USS Cambridge laid down?
|
CREATE TABLE table_name_17 (laid_down VARCHAR, name VARCHAR)
|
SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (laid_down VARCHAR, name VARCHAR) Question: What year was the USS Cambridge laid down? [/INST] SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge" </s>
|
What was the number of the game when the record was 11-12?
|
CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR)
|
SELECT game FROM table_name_82 WHERE record = "11-12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR) Question: What was the number of the game when the record was 11-12? [/INST] SELECT game FROM table_name_82 WHERE record = "11-12" </s>
|
What was the score of Game 16?
|
CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_name_4 WHERE game = "16"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR) Question: What was the score of Game 16? [/INST] SELECT score FROM table_name_4 WHERE game = "16" </s>
|
What was the location and attendance at the game when the record was 9-6?
|
CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR)
|
SELECT location_attendance FROM table_name_54 WHERE record = "9-6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR) Question: What was the location and attendance at the game when the record was 9-6? [/INST] SELECT location_attendance FROM table_name_54 WHERE record = "9-6" </s>
|
What date has 3 as the round (leg)?
|
CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR)
|
SELECT date FROM table_name_88 WHERE round__leg_ = "3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR) Question: What date has 3 as the round (leg)? [/INST] SELECT date FROM table_name_88 WHERE round__leg_ = "3" </s>
|
What was the year of Bridget Jones: The Edge of Reason that was nominated?
|
CREATE TABLE table_name_87 (year INTEGER, result VARCHAR, film VARCHAR)
|
SELECT MIN(year) FROM table_name_87 WHERE result = "nominated" AND film = "bridget jones: the edge of reason"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (year INTEGER, result VARCHAR, film VARCHAR) Question: What was the year of Bridget Jones: The Edge of Reason that was nominated? [/INST] SELECT MIN(year) FROM table_name_87 WHERE result = "nominated" AND film = "bridget jones: the edge of reason" </s>
|
Who was the loss to for the film Chicago?
|
CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR)
|
SELECT lost_to FROM table_name_74 WHERE film = "chicago"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR) Question: Who was the loss to for the film Chicago? [/INST] SELECT lost_to FROM table_name_74 WHERE film = "chicago" </s>
|
Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville?
|
CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR)
|
SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR) Question: Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville? [/INST] SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville" </s>
|
Which Mascot has an Enrollment of 640?
|
CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR)
|
SELECT mascot FROM table_name_63 WHERE enrollment = 640
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR) Question: Which Mascot has an Enrollment of 640? [/INST] SELECT mascot FROM table_name_63 WHERE enrollment = 640 </s>
|
Which IHSAA Class has a Location of brazil?
|
CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR)
|
SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR) Question: Which IHSAA Class has a Location of brazil? [/INST] SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil" </s>
|
Which School has a Enrollment of 908?
|
CREATE TABLE table_name_55 (school VARCHAR, enrollment VARCHAR)
|
SELECT school FROM table_name_55 WHERE enrollment = 908
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (school VARCHAR, enrollment VARCHAR) Question: Which School has a Enrollment of 908? [/INST] SELECT school FROM table_name_55 WHERE enrollment = 908 </s>
|
What type of currency has a code of SEK?
|
CREATE TABLE table_name_34 (currency VARCHAR, code VARCHAR)
|
SELECT currency FROM table_name_34 WHERE code = "sek"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (currency VARCHAR, code VARCHAR) Question: What type of currency has a code of SEK? [/INST] SELECT currency FROM table_name_34 WHERE code = "sek" </s>
|
What code is used to represent the currency of Croatian Kuna?
|
CREATE TABLE table_name_34 (code VARCHAR, currency VARCHAR)
|
SELECT code FROM table_name_34 WHERE currency = "croatian kuna"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (code VARCHAR, currency VARCHAR) Question: What code is used to represent the currency of Croatian Kuna? [/INST] SELECT code FROM table_name_34 WHERE currency = "croatian kuna" </s>
|
What's the model that has chassis code W116.036?
|
CREATE TABLE table_name_68 (model VARCHAR, chassis_code VARCHAR)
|
SELECT model FROM table_name_68 WHERE chassis_code = "w116.036"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (model VARCHAR, chassis_code VARCHAR) Question: What's the model that has chassis code W116.036? [/INST] SELECT model FROM table_name_68 WHERE chassis_code = "w116.036" </s>
|
What the score of the 1992 game?
|
CREATE TABLE table_name_71 (score VARCHAR, year VARCHAR)
|
SELECT score FROM table_name_71 WHERE year = "1992"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (score VARCHAR, year VARCHAR) Question: What the score of the 1992 game? [/INST] SELECT score FROM table_name_71 WHERE year = "1992" </s>
|
What is the score when TSV Siegen was the runner-up?
|
CREATE TABLE table_name_59 (score VARCHAR, runners_up VARCHAR)
|
SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (score VARCHAR, runners_up VARCHAR) Question: What is the score when TSV Siegen was the runner-up? [/INST] SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen" </s>
|
What year was the game at Bad Neuenahr Eppelborn?
|
CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR)
|
SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR) Question: What year was the game at Bad Neuenahr Eppelborn? [/INST] SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn" </s>
|
What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *?
|
CREATE TABLE table_name_65 (venue VARCHAR, runners_up VARCHAR, score VARCHAR)
|
SELECT venue FROM table_name_65 WHERE runners_up = "tennis borussia berlin" AND score = "4 – 2 *"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (venue VARCHAR, runners_up VARCHAR, score VARCHAR) Question: What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *? [/INST] SELECT venue FROM table_name_65 WHERE runners_up = "tennis borussia berlin" AND score = "4 – 2 *" </s>
|
What team was runner-up at Bergisch Gladbach in 1983?
|
CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR)
|
SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR) Question: What team was runner-up at Bergisch Gladbach in 1983? [/INST] SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983" </s>
|
What was the time of the swimmer in lane 7?
|
CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR)
|
SELECT time FROM table_name_77 WHERE lane = 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR) Question: What was the time of the swimmer in lane 7? [/INST] SELECT time FROM table_name_77 WHERE lane = 7 </s>
|
What was the rank of the swimmer with a time of 1:55.40?
|
CREATE TABLE table_name_23 (rank VARCHAR, time VARCHAR)
|
SELECT rank FROM table_name_23 WHERE time = "1:55.40"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (rank VARCHAR, time VARCHAR) Question: What was the rank of the swimmer with a time of 1:55.40? [/INST] SELECT rank FROM table_name_23 WHERE time = "1:55.40" </s>
|
What was the date for game 13?
|
CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_14 WHERE game = "13"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR) Question: What was the date for game 13? [/INST] SELECT date FROM table_name_14 WHERE game = "13" </s>
|
What is the record for the opponent St. Louis Cardinals?
|
CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR)
|
SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR) Question: What is the record for the opponent St. Louis Cardinals? [/INST] SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals" </s>
|
What is the record for Game 8?
|
CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR)
|
SELECT record FROM table_name_42 WHERE game = "8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR) Question: What is the record for Game 8? [/INST] SELECT record FROM table_name_42 WHERE game = "8" </s>
|
What percentage of users were using mobile browsers during the period in which 2.62% were using Opera?
|
CREATE TABLE table_name_31 (mobile VARCHAR, opera VARCHAR)
|
SELECT mobile FROM table_name_31 WHERE opera = "2.62%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (mobile VARCHAR, opera VARCHAR) Question: What percentage of users were using mobile browsers during the period in which 2.62% were using Opera? [/INST] SELECT mobile FROM table_name_31 WHERE opera = "2.62%" </s>
|
What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?
|
CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR)
|
SELECT mobile FROM table_name_28 WHERE chrome = "9.00%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR) Question: What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome? [/INST] SELECT mobile FROM table_name_28 WHERE chrome = "9.00%" </s>
|
What percentage of users were using Safari during the period in which 30.82% were using Firefox?
|
CREATE TABLE table_name_96 (safari VARCHAR, firefox VARCHAR)
|
SELECT safari FROM table_name_96 WHERE firefox = "30.82%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (safari VARCHAR, firefox VARCHAR) Question: What percentage of users were using Safari during the period in which 30.82% were using Firefox? [/INST] SELECT safari FROM table_name_96 WHERE firefox = "30.82%" </s>
|
What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers?
|
CREATE TABLE table_name_66 (internet_explorer VARCHAR, mobile VARCHAR)
|
SELECT internet_explorer FROM table_name_66 WHERE mobile = "2.1%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (internet_explorer VARCHAR, mobile VARCHAR) Question: What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers? [/INST] SELECT internet_explorer FROM table_name_66 WHERE mobile = "2.1%" </s>
|
What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome?
|
CREATE TABLE table_name_58 (other_mozilla VARCHAR, chrome VARCHAR)
|
SELECT other_mozilla FROM table_name_58 WHERE chrome = "9.00%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (other_mozilla VARCHAR, chrome VARCHAR) Question: What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome? [/INST] SELECT other_mozilla FROM table_name_58 WHERE chrome = "9.00%" </s>
|
What date has w 14-10 as the result?
|
CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR)
|
SELECT date FROM table_name_94 WHERE result = "w 14-10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR) Question: What date has w 14-10 as the result? [/INST] SELECT date FROM table_name_94 WHERE result = "w 14-10" </s>
|
What opponent has a week less than 12, with November 25, 1965 as the date?
|
CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR) Question: What opponent has a week less than 12, with November 25, 1965 as the date? [/INST] SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965" </s>
|
What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941?
|
CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR)
|
SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR) Question: What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941? [/INST] SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941 ROWS </s>
|
What is the lowest week that has 51,499 as the attendance?
|
CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR)
|
SELECT MIN(week) FROM table_name_66 WHERE attendance = 51 OFFSET 499 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR) Question: What is the lowest week that has 51,499 as the attendance? [/INST] SELECT MIN(week) FROM table_name_66 WHERE attendance = 51 OFFSET 499 ROWS </s>
|
What is the frequency for the active rock format?
|
CREATE TABLE table_name_18 (frequency VARCHAR, format VARCHAR)
|
SELECT frequency FROM table_name_18 WHERE format = "active rock"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (frequency VARCHAR, format VARCHAR) Question: What is the frequency for the active rock format? [/INST] SELECT frequency FROM table_name_18 WHERE format = "active rock" </s>
|
What is the branding for fm 88.9?
|
CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR)
|
SELECT branding FROM table_name_66 WHERE frequency = "fm 88.9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR) Question: What is the branding for fm 88.9? [/INST] SELECT branding FROM table_name_66 WHERE frequency = "fm 88.9" </s>
|
What is the name of the owner of rock 97.7?
|
CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR)
|
SELECT owner FROM table_name_38 WHERE branding = "rock 97.7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR) Question: What is the name of the owner of rock 97.7? [/INST] SELECT owner FROM table_name_38 WHERE branding = "rock 97.7" </s>
|
What is the branding for cbxp-fm?
|
CREATE TABLE table_name_15 (branding VARCHAR, call_sign VARCHAR)
|
SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (branding VARCHAR, call_sign VARCHAR) Question: What is the branding for cbxp-fm? [/INST] SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm" </s>
|
What is the call sign for country station fm 93.1?
|
CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR)
|
SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR) Question: What is the call sign for country station fm 93.1? [/INST] SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.1" </s>
|
What is the frequency for the country station owned by Jim Pattison Group?
|
CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
|
SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR) Question: What is the frequency for the country station owned by Jim Pattison Group? [/INST] SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.