instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
Which aircraft has heavy transport? | CREATE TABLE table_name_39 (aircraft VARCHAR, type VARCHAR) | SELECT aircraft FROM table_name_39 WHERE type = "heavy transport" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (aircraft VARCHAR, type VARCHAR) Question: Which aircraft has heavy transport? [/INST] SELECT aircraft FROM table_name_39 WHERE type = "heavy transport" </s> |
Where was the Kai Kuh-1 Surion Produced? | CREATE TABLE table_name_28 (produced VARCHAR, aircraft VARCHAR) | SELECT produced FROM table_name_28 WHERE aircraft = "kai kuh-1 surion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (produced VARCHAR, aircraft VARCHAR) Question: Where was the Kai Kuh-1 Surion Produced? [/INST] SELECT produced FROM table_name_28 WHERE aircraft = "kai kuh-1 surion" </s> |
Which First Pref votes have a % of seats of 0.8? | CREATE TABLE table_name_49 (first_pref_votes VARCHAR, _percentage_of_seats VARCHAR) | SELECT first_pref_votes FROM table_name_49 WHERE _percentage_of_seats = "0.8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (first_pref_votes VARCHAR, _percentage_of_seats VARCHAR) Question: Which First Pref votes have a % of seats of 0.8? [/INST] SELECT first_pref_votes FROM table_name_49 WHERE _percentage_of_seats = "... |
How many First Pref votes have Seats of 1? | CREATE TABLE table_name_45 (first_pref_votes VARCHAR, seats VARCHAR) | SELECT COUNT(first_pref_votes) FROM table_name_45 WHERE seats = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (first_pref_votes VARCHAR, seats VARCHAR) Question: How many First Pref votes have Seats of 1? [/INST] SELECT COUNT(first_pref_votes) FROM table_name_45 WHERE seats = "1" </s> |
What game number is the Kansas City Kings team? | CREATE TABLE table_name_62 (game VARCHAR, team VARCHAR) | SELECT game FROM table_name_62 WHERE team = "kansas city kings" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (game VARCHAR, team VARCHAR) Question: What game number is the Kansas City Kings team? [/INST] SELECT game FROM table_name_62 WHERE team = "kansas city kings" </s> |
Who was the opponent when he went more than 1 round with a record of 12-7? | CREATE TABLE table_name_46 (opponent VARCHAR, round VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_46 WHERE round > 1 AND record = "12-7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (opponent VARCHAR, round VARCHAR, record VARCHAR) Question: Who was the opponent when he went more than 1 round with a record of 12-7? [/INST] SELECT opponent FROM table_name_46 WHERE round > 1 AND... |
Which event did he win with a method of submission (triangle choke) and a time of n/a? | CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR) | SELECT event FROM table_name_25 WHERE res = "win" AND time = "n/a" AND method = "submission (triangle choke)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR) Question: Which event did he win with a method of submission (triangle choke) and a time of n/a? [/INST] SELECT event FROM table_name_25 W... |
What was the result when the method was submission (kimura)? | CREATE TABLE table_name_72 (res VARCHAR, method VARCHAR) | SELECT res FROM table_name_72 WHERE method = "submission (kimura)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (res VARCHAR, method VARCHAR) Question: What was the result when the method was submission (kimura)? [/INST] SELECT res FROM table_name_72 WHERE method = "submission (kimura)" </s> |
In which location was the method decision (split)? | CREATE TABLE table_name_26 (location VARCHAR, method VARCHAR) | SELECT location FROM table_name_26 WHERE method = "decision (split)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (location VARCHAR, method VARCHAR) Question: In which location was the method decision (split)? [/INST] SELECT location FROM table_name_26 WHERE method = "decision (split)" </s> |
In which location did the fight last just 0:31? | CREATE TABLE table_name_96 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_96 WHERE time = "0:31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (location VARCHAR, time VARCHAR) Question: In which location did the fight last just 0:31? [/INST] SELECT location FROM table_name_96 WHERE time = "0:31" </s> |
Who owns the kool-fm branding? | CREATE TABLE table_name_4 (owner VARCHAR, branding VARCHAR) | SELECT owner FROM table_name_4 WHERE branding = "kool-fm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (owner VARCHAR, branding VARCHAR) Question: Who owns the kool-fm branding? [/INST] SELECT owner FROM table_name_4 WHERE branding = "kool-fm" </s> |
Which frequency belongs to the beat branding? | CREATE TABLE table_name_58 (frequency VARCHAR, branding VARCHAR) | SELECT frequency FROM table_name_58 WHERE branding = "the beat" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (frequency VARCHAR, branding VARCHAR) Question: Which frequency belongs to the beat branding? [/INST] SELECT frequency FROM table_name_58 WHERE branding = "the beat" </s> |
Which frequency belongs to the cihr-fm call sign? | CREATE TABLE table_name_72 (frequency VARCHAR, call_sign VARCHAR) | SELECT frequency FROM table_name_72 WHERE call_sign = "cihr-fm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (frequency VARCHAR, call_sign VARCHAR) Question: Which frequency belongs to the cihr-fm call sign? [/INST] SELECT frequency FROM table_name_72 WHERE call_sign = "cihr-fm" </s> |
Who owns the fm 101.3 frequency? | CREATE TABLE table_name_96 (owner VARCHAR, frequency VARCHAR) | SELECT owner FROM table_name_96 WHERE frequency = "fm 101.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (owner VARCHAR, frequency VARCHAR) Question: Who owns the fm 101.3 frequency? [/INST] SELECT owner FROM table_name_96 WHERE frequency = "fm 101.3" </s> |
Which call sign has a frequency of FM 105.3? | CREATE TABLE table_name_81 (call_sign VARCHAR, frequency VARCHAR) | SELECT call_sign FROM table_name_81 WHERE frequency = "fm 105.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (call_sign VARCHAR, frequency VARCHAR) Question: Which call sign has a frequency of FM 105.3? [/INST] SELECT call_sign FROM table_name_81 WHERE frequency = "fm 105.3" </s> |
Who owns the kool-fm branding in the adult hits format? | CREATE TABLE table_name_31 (owner VARCHAR, format VARCHAR, branding VARCHAR) | SELECT owner FROM table_name_31 WHERE format = "adult hits" AND branding = "kool-fm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (owner VARCHAR, format VARCHAR, branding VARCHAR) Question: Who owns the kool-fm branding in the adult hits format? [/INST] SELECT owner FROM table_name_31 WHERE format = "adult hits" AND branding ... |
What was the score against Portland in game numbers under 20? | CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR) | SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR) Question: What was the score against Portland in game numbers under 20? [/INST] SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland" </s... |
WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13? | CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR) | SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR) Question: WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13? [/INST] SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = ... |
WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7? | CREATE TABLE table_name_97 (year VARCHAR, champion VARCHAR, date VARCHAR) | SELECT COUNT(year) FROM table_name_97 WHERE champion = "robert coombes" AND date = "may 7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year VARCHAR, champion VARCHAR, date VARCHAR) Question: WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7? [/INST] SELECT COUNT(year) FROM table_name_97 WHERE champion = "robert coombes" AND date = "... |
What's the record of the game on Nov 13? | CREATE TABLE table_name_80 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_80 WHERE date = "nov 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (record VARCHAR, date VARCHAR) Question: What's the record of the game on Nov 13? [/INST] SELECT record FROM table_name_80 WHERE date = "nov 13" </s> |
What's the score of Game 5? | CREATE TABLE table_name_79 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_79 WHERE game = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (score VARCHAR, game VARCHAR) Question: What's the score of Game 5? [/INST] SELECT score FROM table_name_79 WHERE game = "5" </s> |
What was the score of Game 13? | CREATE TABLE table_name_32 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_32 WHERE game = "13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (score VARCHAR, game VARCHAR) Question: What was the score of Game 13? [/INST] SELECT score FROM table_name_32 WHERE game = "13" </s> |
What is the final score when the opponent was Real España, in the 2008–09 season? | CREATE TABLE table_name_52 (final_score VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT final_score FROM table_name_52 WHERE opponent = "real españa" AND season = "2008–09" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (final_score VARCHAR, opponent VARCHAR, season VARCHAR) Question: What is the final score when the opponent was Real España, in the 2008–09 season? [/INST] SELECT final_score FROM table_name_52 WHE... |
What was the final score when the opponent was Atlético Choloma? | CREATE TABLE table_name_40 (final_score VARCHAR, opponent VARCHAR) | SELECT final_score FROM table_name_40 WHERE opponent = "atlético choloma" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (final_score VARCHAR, opponent VARCHAR) Question: What was the final score when the opponent was Atlético Choloma? [/INST] SELECT final_score FROM table_name_40 WHERE opponent = "atlético choloma" ... |
What team was the opponent in the 2008–09 season, with a final score of 2–3 l? | CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) | SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) Question: What team was the opponent in the 2008–09 season, with a final score of 2–3 l? [/INST] SELECT opponent FROM table_name_43 WHERE sea... |
What was the opponent in the 2008–09 season, with a final score of 2–3 l? | CREATE TABLE table_name_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) | SELECT opponent FROM table_name_58 WHERE season = "2008–09" AND final_score = "2–3 l" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) Question: What was the opponent in the 2008–09 season, with a final score of 2–3 l? [/INST] SELECT opponent FROM table_name_58 WHERE season =... |
What shows for playing when the opponent was Real España, in the 2012–13 season? | CREATE TABLE table_name_76 (playing_for VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT playing_for FROM table_name_76 WHERE opponent = "real españa" AND season = "2012–13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (playing_for VARCHAR, opponent VARCHAR, season VARCHAR) Question: What shows for playing when the opponent was Real España, in the 2012–13 season? [/INST] SELECT playing_for FROM table_name_76 WHER... |
What did Steve Elkington par? | CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_47 WHERE player = "steve elkington" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR) Question: What did Steve Elkington par? [/INST] SELECT to_par FROM table_name_47 WHERE player = "steve elkington" </s> |
What did Ernie Els par? | CREATE TABLE table_name_15 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_15 WHERE player = "ernie els" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (to_par VARCHAR, player VARCHAR) Question: What did Ernie Els par? [/INST] SELECT to_par FROM table_name_15 WHERE player = "ernie els" </s> |
What place is Spain in? | CREATE TABLE table_name_73 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_73 WHERE country = "spain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (place VARCHAR, country VARCHAR) Question: What place is Spain in? [/INST] SELECT place FROM table_name_73 WHERE country = "spain" </s> |
Which High rebounds have a Game larger than 4, and a Date of may 27? | CREATE TABLE table_name_13 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_13 WHERE game > 4 AND date = "may 27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR) Question: Which High rebounds have a Game larger than 4, and a Date of may 27? [/INST] SELECT high_rebounds FROM table_name_13 WHERE game > 4 AND... |
What was the score on may 21? | CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_43 WHERE date = "may 21" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR) Question: What was the score on may 21? [/INST] SELECT score FROM table_name_43 WHERE date = "may 21" </s> |
Which Game is the highest one that has High rebounds of pau gasol (11)? | CREATE TABLE table_name_12 (game INTEGER, high_rebounds VARCHAR) | SELECT MAX(game) FROM table_name_12 WHERE high_rebounds = "pau gasol (11)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (game INTEGER, high_rebounds VARCHAR) Question: Which Game is the highest one that has High rebounds of pau gasol (11)? [/INST] SELECT MAX(game) FROM table_name_12 WHERE high_rebounds = "pau gasol ... |
What was the series on may 27? | CREATE TABLE table_name_16 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_16 WHERE date = "may 27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (series VARCHAR, date VARCHAR) Question: What was the series on may 27? [/INST] SELECT series FROM table_name_16 WHERE date = "may 27" </s> |
Which High rebounds have a Game larger than 2, and a Team of @ denver, and High assists of kobe bryant (5)? | CREATE TABLE table_name_27 (high_rebounds VARCHAR, high_assists VARCHAR, game VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_27 WHERE game > 2 AND team = "@ denver" AND high_assists = "kobe bryant (5)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (high_rebounds VARCHAR, high_assists VARCHAR, game VARCHAR, team VARCHAR) Question: Which High rebounds have a Game larger than 2, and a Team of @ denver, and High assists of kobe bryant (5)? [/INS... |
What was the location and attendance for the game after game 36 against Atlanta? | CREATE TABLE table_name_1 (location_attendance VARCHAR, game VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_1 WHERE game > 36 AND team = "atlanta" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (location_attendance VARCHAR, game VARCHAR, team VARCHAR) Question: What was the location and attendance for the game after game 36 against Atlanta? [/INST] SELECT location_attendance FROM table_nam... |
What was the record of the game for game 31? | CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_78 WHERE game = 31 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) Question: What was the record of the game for game 31? [/INST] SELECT record FROM table_name_78 WHERE game = 31 </s> |
What is the game number when the game was against phoenix? | CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR) | SELECT game FROM table_name_83 WHERE team = "phoenix" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR) Question: What is the game number when the game was against phoenix? [/INST] SELECT game FROM table_name_83 WHERE team = "phoenix" </s> |
What is the tie number when Wigan Athletic is the home team? | CREATE TABLE table_name_21 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_21 WHERE home_team = "wigan athletic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (tie_no VARCHAR, home_team VARCHAR) Question: What is the tie number when Wigan Athletic is the home team? [/INST] SELECT tie_no FROM table_name_21 WHERE home_team = "wigan athletic" </s> |
What is the date when Grimsby Town is the home team? | CREATE TABLE table_name_67 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_67 WHERE home_team = "grimsby town" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (date VARCHAR, home_team VARCHAR) Question: What is the date when Grimsby Town is the home team? [/INST] SELECT date FROM table_name_67 WHERE home_team = "grimsby town" </s> |
What is the date of game with tie number of 10? | CREATE TABLE table_name_35 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_35 WHERE tie_no = "10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (date VARCHAR, tie_no VARCHAR) Question: What is the date of game with tie number of 10? [/INST] SELECT date FROM table_name_35 WHERE tie_no = "10" </s> |
What is the score when away team is Crystal Palace? | CREATE TABLE table_name_8 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_8 WHERE away_team = "crystal palace" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (score VARCHAR, away_team VARCHAR) Question: What is the score when away team is Crystal Palace? [/INST] SELECT score FROM table_name_8 WHERE away_team = "crystal palace" </s> |
WHAT IS THE YEAR WITH DARI, AND TITLE osama (أسامة)? | CREATE TABLE table_name_38 (year__ceremony_ VARCHAR, language_s_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_38 WHERE language_s_ = "dari" AND original_title = "osama (أسامة)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (year__ceremony_ VARCHAR, language_s_ VARCHAR, original_title VARCHAR) Question: WHAT IS THE YEAR WITH DARI, AND TITLE osama (أسامة)? [/INST] SELECT year__ceremony_ FROM table_name_38 WHERE languag... |
WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER? | CREATE TABLE table_name_3 (result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT result FROM table_name_3 WHERE film_title_used_in_nomination = "firedancer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (result VARCHAR, film_title_used_in_nomination VARCHAR) Question: WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER? [/INST] SELECT result FROM table_name_3 WHERE film_title_used_in_nomination = "fire... |
Who had the highest points when the series was 4-2? | CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR) | SELECT high_points FROM table_name_22 WHERE series = "4-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR) Question: Who had the highest points when the series was 4-2? [/INST] SELECT high_points FROM table_name_22 WHERE series = "4-2" </s> |
What was the score when the series was 3-2? | CREATE TABLE table_name_7 (score VARCHAR, series VARCHAR) | SELECT score FROM table_name_7 WHERE series = "3-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (score VARCHAR, series VARCHAR) Question: What was the score when the series was 3-2? [/INST] SELECT score FROM table_name_7 WHERE series = "3-2" </s> |
What is the average sales for the company with market value of 204.9bil and profits under 20.6bil? | CREATE TABLE table_name_18 (sales__billion_ INTEGER, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR) | SELECT AVG(sales__billion_) AS $_ FROM table_name_18 WHERE market_value__billion_$_ = 204.9 AND profits__billion_$_ < 20.6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (sales__billion_ INTEGER, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR) Question: What is the average sales for the company with market value of 204.9bil and profits under 20.6bil?... |
Which Doctor is featured in City of Death? | CREATE TABLE table_name_69 (doctor VARCHAR, title VARCHAR) | SELECT doctor FROM table_name_69 WHERE title = "city of death" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (doctor VARCHAR, title VARCHAR) Question: Which Doctor is featured in City of Death? [/INST] SELECT doctor FROM table_name_69 WHERE title = "city of death" </s> |
Available in 2-CD format, what is the title of story number 026? | CREATE TABLE table_name_83 (title VARCHAR, format VARCHAR, story__number VARCHAR) | SELECT title FROM table_name_83 WHERE format = "2-cd" AND story__number = "026" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (title VARCHAR, format VARCHAR, story__number VARCHAR) Question: Available in 2-CD format, what is the title of story number 026? [/INST] SELECT title FROM table_name_83 WHERE format = "2-cd" AND s... |
Who was the away team when bournemouth was the home team? | CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_31 WHERE home_team = "bournemouth" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when bournemouth was the home team? [/INST] SELECT away_team FROM table_name_31 WHERE home_team = "bournemouth" </s> |
What is the tie no when scunthorpe united was the away team? | CREATE TABLE table_name_6 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (tie_no VARCHAR, away_team VARCHAR) Question: What is the tie no when scunthorpe united was the away team? [/INST] SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united" </s> |
Who was the home team when swansea city was the away team? | CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_47 WHERE away_team = "swansea city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when swansea city was the away team? [/INST] SELECT home_team FROM table_name_47 WHERE away_team = "swansea city" </s> |
Who is the 92.5 with the press of 282.5? | CREATE TABLE table_name_26 (press VARCHAR) | SELECT 925 FROM table_name_26 WHERE press = "282.5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (press VARCHAR) Question: Who is the 92.5 with the press of 282.5? [/INST] SELECT 925 FROM table_name_26 WHERE press = "282.5" </s> |
Who is the 92.5 with the press 282.5? | CREATE TABLE table_name_44 (press VARCHAR) | SELECT 925 FROM table_name_44 WHERE press = "282.5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (press VARCHAR) Question: Who is the 92.5 with the press 282.5? [/INST] SELECT 925 FROM table_name_44 WHERE press = "282.5" </s> |
Which 92.5 holds the world record? | CREATE TABLE table_name_40 (world_record VARCHAR, press VARCHAR) | SELECT world_record FROM table_name_40 WHERE press = "925" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (world_record VARCHAR, press VARCHAR) Question: Which 92.5 holds the world record? [/INST] SELECT world_record FROM table_name_40 WHERE press = "925" </s> |
what is the season when the lead is john shuster and third is shawn rojeski? | CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR) | SELECT season FROM table_name_54 WHERE lead = "john shuster" AND third = "shawn rojeski" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR) Question: what is the season when the lead is john shuster and third is shawn rojeski? [/INST] SELECT season FROM table_name_54 WHERE lead = "john shus... |
what is the season when the third is shawn rojeski? | CREATE TABLE table_name_96 (season VARCHAR, third VARCHAR) | SELECT season FROM table_name_96 WHERE third = "shawn rojeski" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (season VARCHAR, third VARCHAR) Question: what is the season when the third is shawn rojeski? [/INST] SELECT season FROM table_name_96 WHERE third = "shawn rojeski" </s> |
WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%? | CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR) | SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR) Question: WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%? [/INST] SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%" </s> |
WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%? | CREATE TABLE table_name_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR) | SELECT forward_caste FROM table_name_87 WHERE scheduled_tribe = "0.90%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR) Question: WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%? [/INST] SELECT forward_caste FROM table_name_87 WHERE scheduled_tribe = "0.90%"... |
WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 89.50%? | CREATE TABLE table_name_80 (forward_caste VARCHAR, scheduled_caste VARCHAR) | SELECT forward_caste FROM table_name_80 WHERE scheduled_caste = "89.50%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (forward_caste VARCHAR, scheduled_caste VARCHAR) Question: WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 89.50%? [/INST] SELECT forward_caste FROM table_name_80 WHERE scheduled_caste = "89.50... |
WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 0.80%? | CREATE TABLE table_name_49 (forward_caste VARCHAR, scheduled_caste VARCHAR) | SELECT forward_caste FROM table_name_49 WHERE scheduled_caste = "0.80%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (forward_caste VARCHAR, scheduled_caste VARCHAR) Question: WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 0.80%? [/INST] SELECT forward_caste FROM table_name_49 WHERE scheduled_caste = "0.80%"... |
What was the score for the game with a record of 11-22 and a H/A/N of A? | CREATE TABLE table_name_60 (score VARCHAR, h_a_n VARCHAR, record VARCHAR) | SELECT score FROM table_name_60 WHERE h_a_n = "a" AND record = "11-22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (score VARCHAR, h_a_n VARCHAR, record VARCHAR) Question: What was the score for the game with a record of 11-22 and a H/A/N of A? [/INST] SELECT score FROM table_name_60 WHERE h_a_n = "a" AND recor... |
What was the H/A/N for the game that ended in a score of 108-102? | CREATE TABLE table_name_12 (h_a_n VARCHAR, score VARCHAR) | SELECT h_a_n FROM table_name_12 WHERE score = "108-102" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (h_a_n VARCHAR, score VARCHAR) Question: What was the H/A/N for the game that ended in a score of 108-102? [/INST] SELECT h_a_n FROM table_name_12 WHERE score = "108-102" </s> |
What was the score of the game with a H/A/N of H and a record of 12-24? | CREATE TABLE table_name_12 (score VARCHAR, h_a_n VARCHAR, record VARCHAR) | SELECT score FROM table_name_12 WHERE h_a_n = "h" AND record = "12-24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (score VARCHAR, h_a_n VARCHAR, record VARCHAR) Question: What was the score of the game with a H/A/N of H and a record of 12-24? [/INST] SELECT score FROM table_name_12 WHERE h_a_n = "h" AND record... |
What was the score of the game played on December 17, with a H/A/N of H? | CREATE TABLE table_name_19 (score VARCHAR, h_a_n VARCHAR, date VARCHAR) | SELECT score FROM table_name_19 WHERE h_a_n = "h" AND date = "december 17" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (score VARCHAR, h_a_n VARCHAR, date VARCHAR) Question: What was the score of the game played on December 17, with a H/A/N of H? [/INST] SELECT score FROM table_name_19 WHERE h_a_n = "h" AND date = ... |
On what date did the Cavaliers have a record of 9-14? | CREATE TABLE table_name_44 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_44 WHERE record = "9-14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (date VARCHAR, record VARCHAR) Question: On what date did the Cavaliers have a record of 9-14? [/INST] SELECT date FROM table_name_44 WHERE record = "9-14" </s> |
Who were the opponents in the game that ended in a score of 116-106? | CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_64 WHERE score = "116-106" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) Question: Who were the opponents in the game that ended in a score of 116-106? [/INST] SELECT opponent FROM table_name_64 WHERE score = "116-106" </s> |
HOW MANY CARS HAD A CAR # SMALLER THAN 7 AND STARTED ON 2010? | CREATE TABLE table_name_38 (number_of_cars VARCHAR, car__number VARCHAR, year_started VARCHAR) | SELECT number_of_cars FROM table_name_38 WHERE car__number < 7 AND year_started = 2010 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (number_of_cars VARCHAR, car__number VARCHAR, year_started VARCHAR) Question: HOW MANY CARS HAD A CAR # SMALLER THAN 7 AND STARTED ON 2010? [/INST] SELECT number_of_cars FROM table_name_38 WHERE ca... |
WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR? | CREATE TABLE table_name_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR) | SELECT MIN(car__number) FROM table_name_11 WHERE current_car = "son-e-wa" AND year_started < 2012 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR) Question: WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR? [/INST] SELECT MIN(car__number) FROM table_name_11 WHERE cur... |
WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN 2012, TBA CURRENT CAR, AND MORE THAN 1 CAR? | CREATE TABLE table_name_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR) | SELECT MAX(number_of_cars) FROM table_name_95 WHERE year_started < 2012 AND current_car = "tba" AND car__number > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR) Question: WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN 2012, TBA CURRENT CAR, AND MORE THAN 1 C... |
Which monarch assumed office on December 15, 1876? | CREATE TABLE table_name_6 (monarch VARCHAR, assumed_office VARCHAR) | SELECT monarch FROM table_name_6 WHERE assumed_office = "december 15, 1876" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (monarch VARCHAR, assumed_office VARCHAR) Question: Which monarch assumed office on December 15, 1876? [/INST] SELECT monarch FROM table_name_6 WHERE assumed_office = "december 15, 1876" </s> |
On what date did ke ʻ eaumoku pāpa ʻ iahiahi leave office? | CREATE TABLE table_name_25 (left_office VARCHAR, name VARCHAR) | SELECT left_office FROM table_name_25 WHERE name = "ke ʻ eaumoku pāpa ʻ iahiahi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (left_office VARCHAR, name VARCHAR) Question: On what date did ke ʻ eaumoku pāpa ʻ iahiahi leave office? [/INST] SELECT left_office FROM table_name_25 WHERE name = "ke ʻ eaumoku pāpa ʻ iahiahi" </s... |
How many years in office were served by the person who assumed the office on October 4, 1886? | CREATE TABLE table_name_23 (years_in_office VARCHAR, assumed_office VARCHAR) | SELECT years_in_office FROM table_name_23 WHERE assumed_office = "october 4, 1886" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (years_in_office VARCHAR, assumed_office VARCHAR) Question: How many years in office were served by the person who assumed the office on October 4, 1886? [/INST] SELECT years_in_office FROM table_n... |
On what date did the person who died on March 23, 1824 leave office? | CREATE TABLE table_name_15 (left_office VARCHAR, death VARCHAR) | SELECT left_office FROM table_name_15 WHERE death = "march 23, 1824" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (left_office VARCHAR, death VARCHAR) Question: On what date did the person who died on March 23, 1824 leave office? [/INST] SELECT left_office FROM table_name_15 WHERE death = "march 23, 1824" </s> |
On what date did the person leave office who died on October 23, 1887 and who served 2 years? | CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR) | SELECT left_office FROM table_name_58 WHERE years_in_office = "2" AND death = "october 23, 1887" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR) Question: On what date did the person leave office who died on October 23, 1887 and who served 2 years? [/INST] SELECT left_office FROM... |
Who is the monarch that left office circa 1886? | CREATE TABLE table_name_7 (monarch VARCHAR, left_office VARCHAR) | SELECT monarch FROM table_name_7 WHERE left_office = "circa 1886" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (monarch VARCHAR, left_office VARCHAR) Question: Who is the monarch that left office circa 1886? [/INST] SELECT monarch FROM table_name_7 WHERE left_office = "circa 1886" </s> |
What is the report for Challenge Stadium? | CREATE TABLE table_name_29 (report VARCHAR, venue VARCHAR) | SELECT report FROM table_name_29 WHERE venue = "challenge stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (report VARCHAR, venue VARCHAR) Question: What is the report for Challenge Stadium? [/INST] SELECT report FROM table_name_29 WHERE venue = "challenge stadium" </s> |
What did the Melbourne Tigers score when they were the away team? | CREATE TABLE table_name_73 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_73 WHERE away_team = "melbourne tigers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (score VARCHAR, away_team VARCHAR) Question: What did the Melbourne Tigers score when they were the away team? [/INST] SELECT score FROM table_name_73 WHERE away_team = "melbourne tigers" </s> |
How many were in the crowd when the score was 97-80? | CREATE TABLE table_name_48 (crowd VARCHAR, score VARCHAR) | SELECT COUNT(crowd) FROM table_name_48 WHERE score = "97-80" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (crowd VARCHAR, score VARCHAR) Question: How many were in the crowd when the score was 97-80? [/INST] SELECT COUNT(crowd) FROM table_name_48 WHERE score = "97-80" </s> |
How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre? | CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR) Question: How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre? [/INST] SELECT crowd FROM table_name... |
What is the position of pick 32? | CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_81 WHERE pick = 32 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR) Question: What is the position of pick 32? [/INST] SELECT position FROM table_name_81 WHERE pick = 32 </s> |
Who was the player in round 1? | CREATE TABLE table_name_55 (player VARCHAR, round VARCHAR) | SELECT player FROM table_name_55 WHERE round = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (player VARCHAR, round VARCHAR) Question: Who was the player in round 1? [/INST] SELECT player FROM table_name_55 WHERE round = 1 </s> |
Who are the opponents with a record of 3-0? | CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR) | SELECT opponents FROM table_name_73 WHERE record = "3-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR) Question: Who are the opponents with a record of 3-0? [/INST] SELECT opponents FROM table_name_73 WHERE record = "3-0" </s> |
Who is the opponent with 16 points? | CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR) | SELECT opponent FROM table_name_5 WHERE opponents = 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR) Question: Who is the opponent with 16 points? [/INST] SELECT opponent FROM table_name_5 WHERE opponents = 16 </s> |
What were the high assists when the score was l 86–94 (ot)? | CREATE TABLE table_name_62 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_name_62 WHERE score = "l 86–94 (ot)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (high_assists VARCHAR, score VARCHAR) Question: What were the high assists when the score was l 86–94 (ot)? [/INST] SELECT high_assists FROM table_name_62 WHERE score = "l 86–94 (ot)" </s> |
What were the high rebounds when the score was l 101–109 (ot)? | CREATE TABLE table_name_19 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_19 WHERE score = "l 101–109 (ot)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (high_rebounds VARCHAR, score VARCHAR) Question: What were the high rebounds when the score was l 101–109 (ot)? [/INST] SELECT high_rebounds FROM table_name_19 WHERE score = "l 101–109 (ot)" </s> |
What is the Venue that has a Rank of 2? | CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR) | SELECT venue FROM table_name_66 WHERE rank = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (venue VARCHAR, rank VARCHAR) Question: What is the Venue that has a Rank of 2? [/INST] SELECT venue FROM table_name_66 WHERE rank = "2" </s> |
What is the Rank that has a Season of 1995/96? | CREATE TABLE table_name_77 (rank VARCHAR, season VARCHAR) | SELECT rank FROM table_name_77 WHERE season = "1995/96" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (rank VARCHAR, season VARCHAR) Question: What is the Rank that has a Season of 1995/96? [/INST] SELECT rank FROM table_name_77 WHERE season = "1995/96" </s> |
What is the Opponent that has a Rank of 4? | CREATE TABLE table_name_94 (opponent VARCHAR, rank VARCHAR) | SELECT opponent FROM table_name_94 WHERE rank = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (opponent VARCHAR, rank VARCHAR) Question: What is the Opponent that has a Rank of 4? [/INST] SELECT opponent FROM table_name_94 WHERE rank = "4" </s> |
What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs? | CREATE TABLE table_name_31 (rank VARCHAR, venue VARCHAR, margin VARCHAR) | SELECT rank FROM table_name_31 WHERE venue = "bellerive oval , hobart" AND margin = "115 runs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (rank VARCHAR, venue VARCHAR, margin VARCHAR) Question: What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs? [/INST] SELECT rank FROM table_name_31 WHERE venue = ... |
What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4? | CREATE TABLE table_name_97 (season VARCHAR, venue VARCHAR, rank VARCHAR) | SELECT season FROM table_name_97 WHERE venue = "bellerive oval , hobart" AND rank = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (season VARCHAR, venue VARCHAR, rank VARCHAR) Question: What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4? [/INST] SELECT season FROM table_name_97 WHERE venue = "bell... |
What is the Margin that has a Venue of bellerive oval , hobart, and a Season of 2002/03? | CREATE TABLE table_name_4 (margin VARCHAR, venue VARCHAR, season VARCHAR) | SELECT margin FROM table_name_4 WHERE venue = "bellerive oval , hobart" AND season = "2002/03" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (margin VARCHAR, venue VARCHAR, season VARCHAR) Question: What is the Margin that has a Venue of bellerive oval , hobart, and a Season of 2002/03? [/INST] SELECT margin FROM table_name_4 WHERE venue... |
What is the To par of the Player from New Zealand who had a Score of 75-70=145? | CREATE TABLE table_name_51 (to_par VARCHAR, country VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_51 WHERE score = 75 - 70 = 145 AND country = "new zealand" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: What is the To par of the Player from New Zealand who had a Score of 75-70=145? [/INST] SELECT to_par FROM table_name_51 WHERE score = 75 ... |
What is the To par of the T3 Player? | CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_63 WHERE place = "t3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR) Question: What is the To par of the T3 Player? [/INST] SELECT to_par FROM table_name_63 WHERE place = "t3" </s> |
What is the sum of Rank, when Assists is "82"? | CREATE TABLE table_name_21 (rank INTEGER, assists VARCHAR) | SELECT SUM(rank) FROM table_name_21 WHERE assists = 82 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (rank INTEGER, assists VARCHAR) Question: What is the sum of Rank, when Assists is "82"? [/INST] SELECT SUM(rank) FROM table_name_21 WHERE assists = 82 </s> |
What is the total number of Assists, when Name is "Pablo Prigioni", and when Games is greater than 21? | CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR) | SELECT COUNT(assists) FROM table_name_94 WHERE name = "pablo prigioni" AND games > 21 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR) Question: What is the total number of Assists, when Name is "Pablo Prigioni", and when Games is greater than 21? [/INST] SELECT COUNT(assists) FROM ta... |
What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"? | CREATE TABLE table_name_64 (assists INTEGER, games VARCHAR, name VARCHAR) | SELECT AVG(assists) FROM table_name_64 WHERE games > 19 AND name = "pablo prigioni" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (assists INTEGER, games VARCHAR, name VARCHAR) Question: What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"? [/INST] SELECT AVG(assists) FROM table_name_6... |
What country is Tom Kite from? | CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_56 WHERE player = "tom kite" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR) Question: What country is Tom Kite from? [/INST] SELECT country FROM table_name_56 WHERE player = "tom kite" </s> |
What is the most money United States player Bob Gilder won? | CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR) | SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR) Question: What is the most money United States player Bob Gilder won? [/INST] SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "uni... |
What was the statue in st. paul, minnesota constructed before 1966 made out of? | CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR) | SELECT material FROM table_name_36 WHERE completed < 1966 AND location = "st. paul, minnesota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR) Question: What was the statue in st. paul, minnesota constructed before 1966 made out of? [/INST] SELECT material FROM table_name_36 WHERE co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.