instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609? | CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR) | SELECT MIN(total_passengers__millions__2011_12) FROM table_name_32 WHERE annual_entry_exit__millions__2011_12 = 36.609 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR) Question: What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609? [/I... |
What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers? | CREATE TABLE table_name_83 (rank VARCHAR, total_passengers__millions__2011_12 VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR) | SELECT rank FROM table_name_83 WHERE annual_interchanges__millions__2011_12 < 1.99 AND annual_entry_exit__millions__2011_12 < 13.835 AND total_passengers__millions__2011_12 > 13.772 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (rank VARCHAR, total_passengers__millions__2011_12 VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR) Question: What rank has an annual interchan... |
How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million? | CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR) | SELECT COUNT(rank) FROM table_name_91 WHERE location = "liverpool" AND number_of_platforms > 3 AND annual_interchanges__millions__2011_12 < 0.778 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR) Question: How many ranks are in liverpool with more than 3 platforms and an annual inte... |
Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783? | CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR) | SELECT AVG(number_of_households) FROM table_name_61 WHERE per_capita_income = "$21,571" AND population < 9 OFFSET 783 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR) Question: Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783? [/INST] SEL... |
Which Number of households has a County of cook, and Population smaller than 5,176? | CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR) | SELECT AVG(number_of_households) FROM table_name_98 WHERE county = "cook" AND population < 5 OFFSET 176 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR) Question: Which Number of households has a County of cook, and Population smaller than 5,176? [/INST] SELECT AVG(number_of_househo... |
What Per capita income has a Median family income of $50,755? | CREATE TABLE table_name_38 (per_capita_income VARCHAR, median_family_income VARCHAR) | SELECT per_capita_income FROM table_name_38 WHERE median_family_income = "$50,755" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (per_capita_income VARCHAR, median_family_income VARCHAR) Question: What Per capita income has a Median family income of $50,755? [/INST] SELECT per_capita_income FROM table_name_38 WHERE median_fa... |
What Number of households have a Median family income of $58,491? | CREATE TABLE table_name_73 (number_of_households VARCHAR, median_family_income VARCHAR) | SELECT number_of_households FROM table_name_73 WHERE median_family_income = "$58,491" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (number_of_households VARCHAR, median_family_income VARCHAR) Question: What Number of households have a Median family income of $58,491? [/INST] SELECT number_of_households FROM table_name_73 WHERE... |
What was the to par score of the golfer that had a score of 68-70=138? | CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR) Question: What was the to par score of the golfer that had a score of 68-70=138? [/INST] SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138 </s> |
Which golfer had a score of 69-71=140? | CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (player VARCHAR, score VARCHAR) Question: Which golfer had a score of 69-71=140? [/INST] SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140 </s> |
Which country is t3 finisher billy mayfair from? | CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (country VARCHAR, place VARCHAR, player VARCHAR) Question: Which country is t3 finisher billy mayfair from? [/INST] SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair"... |
Which Country has a Player of jodie mudd? | CREATE TABLE table_name_62 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_62 WHERE player = "jodie mudd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (country VARCHAR, player VARCHAR) Question: Which Country has a Player of jodie mudd? [/INST] SELECT country FROM table_name_62 WHERE player = "jodie mudd" </s> |
Which Money (£) has a Player of jodie mudd? | CREATE TABLE table_name_72 (money___ VARCHAR, player VARCHAR) | SELECT COUNT(money___) AS £__ FROM table_name_72 WHERE player = "jodie mudd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (money___ VARCHAR, player VARCHAR) Question: Which Money (£) has a Player of jodie mudd? [/INST] SELECT COUNT(money___) AS £__ FROM table_name_72 WHERE player = "jodie mudd" </s> |
What is the total Money (£) of Player of nick faldo? | CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR) | SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR) Question: What is the total Money (£) of Player of nick faldo? [/INST] SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo" </s> |
What is the total Money (£) with a Place of t6, and a Player of ian baker-finch? | CREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR) | SELECT COUNT(money___) AS £__ FROM table_name_61 WHERE place = "t6" AND player = "ian baker-finch" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR) Question: What is the total Money (£) with a Place of t6, and a Player of ian baker-finch? [/INST] SELECT COUNT(money___) AS £__ FROM table_name_61... |
What position was the team who had less then 63 goals against and less than 6 losses? | CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR) | SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR) Question: What position was the team who had less then 63 goals against and less than 6 losses? [/INST] SELECT AVG(position) FROM table_name_... |
How many times did the team lose who had 1 of 37 points and less than 60 goals against? | CREATE TABLE table_name_30 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR) | SELECT MIN(lost) FROM table_name_30 WHERE points_1 = "37" AND goals_against < 60 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR) Question: How many times did the team lose who had 1 of 37 points and less than 60 goals against? [/INST] SELECT MIN(lost) FROM table_name_30... |
How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws? | CREATE TABLE table_name_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR) | SELECT MIN(lost) FROM table_name_97 WHERE goal_difference = "+2" AND goals_for = 52 AND drawn < 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR) Question: How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws? [/INST] SE... |
How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times? | CREATE TABLE table_name_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR) | SELECT SUM(drawn) FROM table_name_76 WHERE position < 12 AND team = "clitheroe" AND lost > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR) Question: How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times? [/INST] SELECT SUM(dr... |
What is the reserved for (ST/ST/None) when it was Uklana? | CREATE TABLE table_name_40 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name = "uklana" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) Question: What is the reserved for (ST/ST/None) when it was Uklana? [/INST] SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name ... |
Bhiwani district have what constituency number? | CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR) | SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR) Question: Bhiwani district have what constituency number? [/INST] SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani" </s> |
What is the constituency number with electorates (2009) number larger than 152,958? | CREATE TABLE table_name_40 (constituency_number VARCHAR, number_of_electorates__2009_ INTEGER) | SELECT constituency_number FROM table_name_40 WHERE number_of_electorates__2009_ > 152 OFFSET 958 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (constituency_number VARCHAR, number_of_electorates__2009_ INTEGER) Question: What is the constituency number with electorates (2009) number larger than 152,958? [/INST] SELECT constituency_number ... |
What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran? | CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT date_performed FROM table_name_89 WHERE main_contestant = "jatin shah" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) Question: What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran? [/INST] S... |
What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran? | CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT scores_by_each_individual_judge FROM table_name_10 WHERE total_score_week = "41/60" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) Question: What are the scores when total score/week is 41/60 and co-contestant is Shalini ... |
What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13? | CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) | SELECT position FROM table_name_21 WHERE main_contestant = "vishal singh" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) Question: What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13? [/I... |
Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran? | CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT main_contestant FROM table_name_33 WHERE co_contestant__yaar_vs_pyaar_ = "shalini chandran" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) Question: Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran? [/INST] SELECT main_contestant FRO... |
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13? | CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR) | SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR) Question: Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13? [/INST] SELECT main_contestant FRO... |
What shows for series 4 when the seat shows 1? | CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR) | SELECT series_4 FROM table_name_27 WHERE seat = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR) Question: What shows for series 4 when the seat shows 1? [/INST] SELECT series_4 FROM table_name_27 WHERE seat = 1 </s> |
What is the seat number when Series 3 shows Dana Bérová? | CREATE TABLE table_name_81 (seat INTEGER, series_3 VARCHAR) | SELECT AVG(seat) FROM table_name_81 WHERE series_3 = "dana bérová" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (seat INTEGER, series_3 VARCHAR) Question: What is the seat number when Series 3 shows Dana Bérová? [/INST] SELECT AVG(seat) FROM table_name_81 WHERE series_3 = "dana bérová" </s> |
Who was the Partner in the Algiers 2, Algeria Tournament? | CREATE TABLE table_name_2 (partner VARCHAR, tournament VARCHAR) | SELECT partner FROM table_name_2 WHERE tournament = "algiers 2, algeria" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (partner VARCHAR, tournament VARCHAR) Question: Who was the Partner in the Algiers 2, Algeria Tournament? [/INST] SELECT partner FROM table_name_2 WHERE tournament = "algiers 2, algeria" </s> |
Who were the Opponents in the Match with Partner Rushmi Chakravarthi? | CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_80 WHERE partner = "rushmi chakravarthi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR) Question: Who were the Opponents in the Match with Partner Rushmi Chakravarthi? [/INST] SELECT opponents FROM table_name_80 WHERE partner = "rushmi chakravarthi... |
What is the Date of the Match with a Score of 6–4, 7–5? | CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_27 WHERE score = "6–4, 7–5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR) Question: What is the Date of the Match with a Score of 6–4, 7–5? [/INST] SELECT date FROM table_name_27 WHERE score = "6–4, 7–5" </s> |
What is the fewest loses for the club that is below 8 in position, and had played less than 30 games? | CREATE TABLE table_name_83 (loses INTEGER, position VARCHAR, games_played VARCHAR) | SELECT MIN(loses) FROM table_name_83 WHERE position < 8 AND games_played < 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (loses INTEGER, position VARCHAR, games_played VARCHAR) Question: What is the fewest loses for the club that is below 8 in position, and had played less than 30 games? [/INST] SELECT MIN(loses) FRO... |
What is the loses total when there is less than 4 draws, less than 105 conceded goals, less than 38 goals scored, and the club is positioned greater than 2? | CREATE TABLE table_name_54 (loses INTEGER, goals_scored VARCHAR, position VARCHAR, draws VARCHAR, goals_conceded VARCHAR) | SELECT SUM(loses) FROM table_name_54 WHERE draws < 4 AND goals_conceded < 105 AND position > 2 AND goals_scored < 38 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (loses INTEGER, goals_scored VARCHAR, position VARCHAR, draws VARCHAR, goals_conceded VARCHAR) Question: What is the loses total when there is less than 4 draws, less than 105 conceded goals, less ... |
How many total goals conceded are there when the points are greater than 58, less than 27 wins, and less than 1 draws? | CREATE TABLE table_name_16 (goals_conceded INTEGER, draws VARCHAR, points VARCHAR, wins VARCHAR) | SELECT SUM(goals_conceded) FROM table_name_16 WHERE points > 58 AND wins < 27 AND draws < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (goals_conceded INTEGER, draws VARCHAR, points VARCHAR, wins VARCHAR) Question: How many total goals conceded are there when the points are greater than 58, less than 27 wins, and less than 1 draws... |
How many total goals scored when less than 30 games have been played? | CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER) | SELECT COUNT(goals_scored) FROM table_name_71 WHERE games_played < 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER) Question: How many total goals scored when less than 30 games have been played? [/INST] SELECT COUNT(goals_scored) FROM table_name_71 WHERE games_played... |
When less than 30 games have been played what is the average goals scored? | CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER) | SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER) Question: When less than 30 games have been played what is the average goals scored? [/INST] SELECT AVG(goals_scored) FROM table_name_18 WHERE games_pla... |
What is the league cup app with league cup goals more than 0? | CREATE TABLE table_name_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER) | SELECT league_cup_apps FROM table_name_76 WHERE league_cup_goals > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER) Question: What is the league cup app with league cup goals more than 0? [/INST] SELECT league_cup_apps FROM table_name_76 WHERE league_cup_goals ... |
What is the fa cup apps with 0 league cup goals, and a total of 43 apps? | CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR) | SELECT fa_cup_apps FROM table_name_60 WHERE league_cup_goals = 0 AND total_apps = "43" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR) Question: What is the fa cup apps with 0 league cup goals, and a total of 43 apps? [/INST] SELECT fa_cup_apps FROM table_name_60 ... |
What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps? | CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR) | SELECT MAX(flt_goals) FROM table_name_3 WHERE league_cup_goals = 0 AND position = "gk" AND league_cup_apps = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR) Question: What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps? [/INST... |
On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia? | CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR) Question: On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia? [/INST] SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia"... |
Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs? | CREATE TABLE table_name_48 (third_place VARCHAR, fourth_placed VARCHAR, number_of_clubs VARCHAR, winners VARCHAR) | SELECT third_place FROM table_name_48 WHERE number_of_clubs = 14 AND winners = "dalian shide" AND fourth_placed = "chongqing longxin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (third_place VARCHAR, fourth_placed VARCHAR, number_of_clubs VARCHAR, winners VARCHAR) Question: Who was in third place when the Winner was Dalian Shide, Chongqing Longxin was 4th and 14 clubs? [/I... |
What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th? | CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR) | SELECT SUM(season) FROM table_name_1 WHERE winners = "dalian wanda" AND fourth_placed = "yanbian aodong" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR) Question: What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th? [/INST] SELECT SUM(season) FROM table_name_1 WHERE winn... |
What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao? | CREATE TABLE table_name_66 (number_of_clubs INTEGER, fourth_placed VARCHAR, season VARCHAR) | SELECT AVG(number_of_clubs) FROM table_name_66 WHERE fourth_placed = "shenzhen jianlibao" AND season < 2003 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (number_of_clubs INTEGER, fourth_placed VARCHAR, season VARCHAR) Question: What is the number of clubs before 2003 with a 4th place winner of Shenzhen Jianlibao? [/INST] SELECT AVG(number_of_clubs)... |
What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th? | CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR) | SELECT AVG(number_of_clubs) FROM table_name_35 WHERE winners = "dalian shide" AND fourth_placed = "sichuan quanxing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR) Question: What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th? [/INST] SELECT AVG(number_of_clubs) FROM ... |
Who was the winner when the runner-up was Guangzhou Apollo? | CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR) | SELECT winners FROM table_name_34 WHERE runners_up = "guangzhou apollo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR) Question: Who was the winner when the runner-up was Guangzhou Apollo? [/INST] SELECT winners FROM table_name_34 WHERE runners_up = "guangzhou apollo" </s> |
How many Byes have an Against of 972, and more than 11 wins? | CREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR) | SELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR) Question: How many Byes have an Against of 972, and more than 11 wins? [/INST] SELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11 </... |
Which Byes have a Lexton Plains of skipton? | CREATE TABLE table_name_87 (byes INTEGER, lexton_plains VARCHAR) | SELECT MAX(byes) FROM table_name_87 WHERE lexton_plains = "skipton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (byes INTEGER, lexton_plains VARCHAR) Question: Which Byes have a Lexton Plains of skipton? [/INST] SELECT MAX(byes) FROM table_name_87 WHERE lexton_plains = "skipton" </s> |
What is the value for Lost when Drawn is 0, and Tries against is 41? | CREATE TABLE table_name_33 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR) | SELECT lost FROM table_name_33 WHERE drawn = "0" AND tries_against = "41" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR) Question: What is the value for Lost when Drawn is 0, and Tries against is 41? [/INST] SELECT lost FROM table_name_33 WHERE drawn = "0" AND trie... |
What is the drawn value for furnace united rfc? | CREATE TABLE table_name_47 (drawn VARCHAR, club VARCHAR) | SELECT drawn FROM table_name_47 WHERE club = "furnace united rfc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (drawn VARCHAR, club VARCHAR) Question: What is the drawn value for furnace united rfc? [/INST] SELECT drawn FROM table_name_47 WHERE club = "furnace united rfc" </s> |
What tries against value does burry port rfc have? | CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR) | SELECT tries_against FROM table_name_87 WHERE club = "burry port rfc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR) Question: What tries against value does burry port rfc have? [/INST] SELECT tries_against FROM table_name_87 WHERE club = "burry port rfc" </s> |
Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number of staterooms? | CREATE TABLE table_name_44 (staterooms INTEGER, guests VARCHAR, comments VARCHAR, length VARCHAR) | SELECT MIN(staterooms) FROM table_name_44 WHERE comments = "diesel-electric hybrid engines" AND length = "443 feet" AND guests > 190 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (staterooms INTEGER, guests VARCHAR, comments VARCHAR, length VARCHAR) Question: Of the ships with diesel-electric hybrid engines, length of 443 feet, and over 190 guests, what is the lowest number... |
How many wins for the year that is later than 1987 and has points less than 188? | CREATE TABLE table_name_47 (wins VARCHAR, year VARCHAR, points VARCHAR) | SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (wins VARCHAR, year VARCHAR, points VARCHAR) Question: How many wins for the year that is later than 1987 and has points less than 188? [/INST] SELECT wins FROM table_name_47 WHERE year > 1987 AND ... |
What is the name of the machine that ranked 4th and has 2 wins? | CREATE TABLE table_name_59 (machine VARCHAR, rank VARCHAR, wins VARCHAR) | SELECT machine FROM table_name_59 WHERE rank = "4th" AND wins = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (machine VARCHAR, rank VARCHAR, wins VARCHAR) Question: What is the name of the machine that ranked 4th and has 2 wins? [/INST] SELECT machine FROM table_name_59 WHERE rank = "4th" AND wins = 2 </... |
How many wins were there in 1994? | CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR) | SELECT SUM(wins) FROM table_name_20 WHERE year = 1994 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (wins INTEGER, year VARCHAR) Question: How many wins were there in 1994? [/INST] SELECT SUM(wins) FROM table_name_20 WHERE year = 1994 </s> |
What is the rank associated with the team that has more than 2 wins and has greater than 204 points? | CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR) | SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR) Question: What is the rank associated with the team that has more than 2 wins and has greater than 204 points? [/INST] SELECT rank FROM table_name_34 WH... |
How many picks have a Player of pong escobal? | CREATE TABLE table_name_80 (pick INTEGER, player VARCHAR) | SELECT SUM(pick) FROM table_name_80 WHERE player = "pong escobal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (pick INTEGER, player VARCHAR) Question: How many picks have a Player of pong escobal? [/INST] SELECT SUM(pick) FROM table_name_80 WHERE player = "pong escobal" </s> |
Which PBA team has a College of nu? | CREATE TABLE table_name_61 (pba_team VARCHAR, college VARCHAR) | SELECT pba_team FROM table_name_61 WHERE college = "nu" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (pba_team VARCHAR, college VARCHAR) Question: Which PBA team has a College of nu? [/INST] SELECT pba_team FROM table_name_61 WHERE college = "nu" </s> |
What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio in Velabro? | CREATE TABLE table_name_65 (place_of_birth VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR) | SELECT place_of_birth FROM table_name_65 WHERE elevator = "lucius iii" AND cardinalatial_title = "deacon of s. giorgio in velabro" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (place_of_birth VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR) Question: What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio... |
What is the place of birth for the elector Laborante de Panormo? | CREATE TABLE table_name_94 (place_of_birth VARCHAR, elector VARCHAR) | SELECT place_of_birth FROM table_name_94 WHERE elector = "laborante de panormo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (place_of_birth VARCHAR, elector VARCHAR) Question: What is the place of birth for the elector Laborante de Panormo? [/INST] SELECT place_of_birth FROM table_name_94 WHERE elector = "laborante de p... |
Who is the elector that has the cardinalatial title of Deacon of SS. Cosma e Damiano? | CREATE TABLE table_name_86 (elector VARCHAR, cardinalatial_title VARCHAR) | SELECT elector FROM table_name_86 WHERE cardinalatial_title = "deacon of ss. cosma e damiano" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (elector VARCHAR, cardinalatial_title VARCHAR) Question: Who is the elector that has the cardinalatial title of Deacon of SS. Cosma e Damiano? [/INST] SELECT elector FROM table_name_86 WHERE cardin... |
Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco? | CREATE TABLE table_name_14 (elevator VARCHAR, cardinalatial_title VARCHAR) | SELECT elevator FROM table_name_14 WHERE cardinalatial_title = "deacon of ss. sergio e bacco" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (elevator VARCHAR, cardinalatial_title VARCHAR) Question: Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco? [/INST] SELECT elevator FROM table_name_14 WHERE cardinal... |
How much Premier League has an FA Cup of 0, and a Total of 1, and a UEFA Cup larger than 1? | CREATE TABLE table_name_20 (premier_league INTEGER, UEfa_cup VARCHAR, fa_cup VARCHAR, total VARCHAR) | SELECT SUM(premier_league) FROM table_name_20 WHERE fa_cup = 0 AND total = 1 AND UEfa_cup > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (premier_league INTEGER, UEfa_cup VARCHAR, fa_cup VARCHAR, total VARCHAR) Question: How much Premier League has an FA Cup of 0, and a Total of 1, and a UEFA Cup larger than 1? [/INST] SELECT SUM(pr... |
How many totals have a Premier League smaller than 6, and a League Cup larger than 0? | CREATE TABLE table_name_9 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR) | SELECT SUM(total) FROM table_name_9 WHERE premier_league < 6 AND league_cup > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR) Question: How many totals have a Premier League smaller than 6, and a League Cup larger than 0? [/INST] SELECT SUM(total) FROM table_name_... |
Which FA Cup has a Total smaller than 1? | CREATE TABLE table_name_24 (fa_cup INTEGER, total INTEGER) | SELECT AVG(fa_cup) FROM table_name_24 WHERE total < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (fa_cup INTEGER, total INTEGER) Question: Which FA Cup has a Total smaller than 1? [/INST] SELECT AVG(fa_cup) FROM table_name_24 WHERE total < 1 </s> |
What week is the opponent the Indianapolis Colts with an attendance of 68,932? | CREATE TABLE table_name_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_26 WHERE attendance = "68,932" AND opponent = "indianapolis colts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR) Question: What week is the opponent the Indianapolis Colts with an attendance of 68,932? [/INST] SELECT COUNT(week) FROM table_name_26 WHERE att... |
What was the attendance for the week before 10 with a result of L 12-15 | CREATE TABLE table_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR) Question: What was the attendance for the week before 10 with a result of L 12-15 [/INST] SELECT attendance FROM table_name_86 WHERE week < 10 AND... |
What week has a result of L 17-31 first? | CREATE TABLE table_name_17 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (week INTEGER, result VARCHAR) Question: What week has a result of L 17-31 first? [/INST] SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31" </s> |
What was the score for the game that attendance was 70,721? | CREATE TABLE table_name_24 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_24 WHERE attendance = "70,721" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (result VARCHAR, attendance VARCHAR) Question: What was the score for the game that attendance was 70,721? [/INST] SELECT result FROM table_name_24 WHERE attendance = "70,721" </s> |
What week was she safe for a salsa dance? | CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, dance VARCHAR) | SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (week INTEGER, result VARCHAR, dance VARCHAR) Question: What week was she safe for a salsa dance? [/INST] SELECT SUM(week) FROM table_name_8 WHERE result = "safe" AND dance = "salsa" </s> |
Who was the opponent with the loss in Westbury, NY? | CREATE TABLE table_name_37 (opponent VARCHAR, result VARCHAR, location VARCHAR) | SELECT opponent FROM table_name_37 WHERE result = "loss" AND location = "westbury, ny" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponent VARCHAR, result VARCHAR, location VARCHAR) Question: Who was the opponent with the loss in Westbury, NY? [/INST] SELECT opponent FROM table_name_37 WHERE result = "loss" AND location = "w... |
What is the date where the type is type? | CREATE TABLE table_name_4 (date VARCHAR) | SELECT date FROM table_name_4 WHERE "type" = "type" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (date VARCHAR) Question: What is the date where the type is type? [/INST] SELECT date FROM table_name_4 WHERE "type" = "type" </s> |
What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze? | CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT COUNT(rank) FROM table_name_2 WHERE silver < 2 AND gold = 4 AND bronze > 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze? [/INST] SELECT COUNT(rank) FRO... |
What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6? | CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT SUM(rank) FROM table_name_78 WHERE silver > 1 AND gold = 1 AND total < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6? [/INST] SELECT SUM(rank) FROM table_name_... |
What's the date of the circuit Winton Motor Raceway? | CREATE TABLE table_name_21 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_21 WHERE circuit = "winton motor raceway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (date VARCHAR, circuit VARCHAR) Question: What's the date of the circuit Winton Motor Raceway? [/INST] SELECT date FROM table_name_21 WHERE circuit = "winton motor raceway" </s> |
What's the city/state of Hidden Valley Raceway? | CREATE TABLE table_name_16 (city___state VARCHAR, circuit VARCHAR) | SELECT city___state FROM table_name_16 WHERE circuit = "hidden valley raceway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (city___state VARCHAR, circuit VARCHAR) Question: What's the city/state of Hidden Valley Raceway? [/INST] SELECT city___state FROM table_name_16 WHERE circuit = "hidden valley raceway" </s> |
What's the date of Bahrain International Circuit? | CREATE TABLE table_name_95 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_95 WHERE circuit = "bahrain international circuit" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, circuit VARCHAR) Question: What's the date of Bahrain International Circuit? [/INST] SELECT date FROM table_name_95 WHERE circuit = "bahrain international circuit" </s> |
What's the circuit that had an event cancelled? | CREATE TABLE table_name_11 (circuit VARCHAR, winner VARCHAR) | SELECT circuit FROM table_name_11 WHERE winner = "event cancelled" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (circuit VARCHAR, winner VARCHAR) Question: What's the circuit that had an event cancelled? [/INST] SELECT circuit FROM table_name_11 WHERE winner = "event cancelled" </s> |
what is the distance for ridge? | CREATE TABLE table_name_57 (distance VARCHAR, feature VARCHAR) | SELECT distance FROM table_name_57 WHERE feature = "ridge" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (distance VARCHAR, feature VARCHAR) Question: what is the distance for ridge? [/INST] SELECT distance FROM table_name_57 WHERE feature = "ridge" </s> |
what is the latitude when the distance is 42.5km? | CREATE TABLE table_name_70 (latitude VARCHAR, distance VARCHAR) | SELECT latitude FROM table_name_70 WHERE distance = "42.5km" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (latitude VARCHAR, distance VARCHAR) Question: what is the latitude when the distance is 42.5km? [/INST] SELECT latitude FROM table_name_70 WHERE distance = "42.5km" </s> |
what is the feature named bird ridge? | CREATE TABLE table_name_60 (feature VARCHAR, name VARCHAR) | SELECT feature FROM table_name_60 WHERE name = "bird ridge" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (feature VARCHAR, name VARCHAR) Question: what is the feature named bird ridge? [/INST] SELECT feature FROM table_name_60 WHERE name = "bird ridge" </s> |
what is the distance for mjåkollen? | CREATE TABLE table_name_89 (distance VARCHAR, name VARCHAR) | SELECT distance FROM table_name_89 WHERE name = "mjåkollen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (distance VARCHAR, name VARCHAR) Question: what is the distance for mjåkollen? [/INST] SELECT distance FROM table_name_89 WHERE name = "mjåkollen" </s> |
what is the distance for bearing 297°? | CREATE TABLE table_name_27 (distance VARCHAR, bearing VARCHAR) | SELECT distance FROM table_name_27 WHERE bearing = "297°" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (distance VARCHAR, bearing VARCHAR) Question: what is the distance for bearing 297°? [/INST] SELECT distance FROM table_name_27 WHERE bearing = "297°" </s> |
What platform has a year of 2007? | CREATE TABLE table_name_8 (platform_s_ VARCHAR, year VARCHAR) | SELECT platform_s_ FROM table_name_8 WHERE year = 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (platform_s_ VARCHAR, year VARCHAR) Question: What platform has a year of 2007? [/INST] SELECT platform_s_ FROM table_name_8 WHERE year = 2007 </s> |
Which game was released in 2011? | CREATE TABLE table_name_13 (game VARCHAR, year VARCHAR) | SELECT game FROM table_name_13 WHERE year = 2011 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (game VARCHAR, year VARCHAR) Question: Which game was released in 2011? [/INST] SELECT game FROM table_name_13 WHERE year = 2011 </s> |
What platform came out before 2009 with the game wii sports? | CREATE TABLE table_name_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR) | SELECT platform_s_ FROM table_name_38 WHERE year < 2009 AND game = "wii sports" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR) Question: What platform came out before 2009 with the game wii sports? [/INST] SELECT platform_s_ FROM table_name_38 WHERE year < 2009 AND game = "... |
What nationality has a lane less than 6, with 1 as the rank? | CREATE TABLE table_name_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_32 WHERE lane < 6 AND rank = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) Question: What nationality has a lane less than 6, with 1 as the rank? [/INST] SELECT nationality FROM table_name_32 WHERE lane < 6 AND rank = 1 </... |
What time has a lane less than 5, with Poland as the nationality? | CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_63 WHERE lane < 5 AND nationality = "poland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR) Question: What time has a lane less than 5, with Poland as the nationality? [/INST] SELECT time FROM table_name_63 WHERE lane < 5 AND nationality =... |
How many lanes have 1:53.70 as the time? | CREATE TABLE table_name_62 (lane VARCHAR, time VARCHAR) | SELECT COUNT(lane) FROM table_name_62 WHERE time = "1:53.70" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (lane VARCHAR, time VARCHAR) Question: How many lanes have 1:53.70 as the time? [/INST] SELECT COUNT(lane) FROM table_name_62 WHERE time = "1:53.70" </s> |
How many ranks have chen yin as the name, with a lane greater than 8? | CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_22 WHERE name = "chen yin" AND lane > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR) Question: How many ranks have chen yin as the name, with a lane greater than 8? [/INST] SELECT SUM(rank) FROM table_name_22 WHERE name = "chen yin" AND la... |
What nationality has 1:55.35 as the time? | CREATE TABLE table_name_96 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_96 WHERE time = "1:55.35" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (nationality VARCHAR, time VARCHAR) Question: What nationality has 1:55.35 as the time? [/INST] SELECT nationality FROM table_name_96 WHERE time = "1:55.35" </s> |
How many lanes have a rank greater than 8? | CREATE TABLE table_name_25 (lane INTEGER, rank INTEGER) | SELECT SUM(lane) FROM table_name_25 WHERE rank > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (lane INTEGER, rank INTEGER) Question: How many lanes have a rank greater than 8? [/INST] SELECT SUM(lane) FROM table_name_25 WHERE rank > 8 </s> |
Where in Sweden is the home of the Swedish team? | CREATE TABLE table_name_14 (home VARCHAR, country VARCHAR) | SELECT home FROM table_name_14 WHERE country = "sweden" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (home VARCHAR, country VARCHAR) Question: Where in Sweden is the home of the Swedish team? [/INST] SELECT home FROM table_name_14 WHERE country = "sweden" </s> |
Who is third to Xu Xiaoming at second? | CREATE TABLE table_name_23 (third VARCHAR, second VARCHAR) | SELECT third FROM table_name_23 WHERE second = "xu xiaoming" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (third VARCHAR, second VARCHAR) Question: Who is third to Xu Xiaoming at second? [/INST] SELECT third FROM table_name_23 WHERE second = "xu xiaoming" </s> |
Who is the lead for the team from Saskatoon, Saskatchewan? | CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR) | SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR) Question: Who is the lead for the team from Saskatoon, Saskatchewan? [/INST] SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan" </s> |
Who is second on the team with Euan Byers at lead? | CREATE TABLE table_name_38 (second VARCHAR, lead VARCHAR) | SELECT second FROM table_name_38 WHERE lead = "euan byers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (second VARCHAR, lead VARCHAR) Question: Who is second on the team with Euan Byers at lead? [/INST] SELECT second FROM table_name_38 WHERE lead = "euan byers" </s> |
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip? | CREATE TABLE table_name_23 (third VARCHAR, home VARCHAR, skip VARCHAR) | SELECT third FROM table_name_23 WHERE home = "madison, wisconsin" AND skip = "craig brown" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (third VARCHAR, home VARCHAR, skip VARCHAR) Question: Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip? [/INST] SELECT third FROM table_name_23 WHERE home = "madiso... |
On which date was the opponent the Chicago Bears? | CREATE TABLE table_name_54 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_54 WHERE opponent = "chicago bears" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (date VARCHAR, opponent VARCHAR) Question: On which date was the opponent the Chicago Bears? [/INST] SELECT date FROM table_name_54 WHERE opponent = "chicago bears" </s> |
Which week was on october 30, 1983? | CREATE TABLE table_name_40 (week INTEGER, date VARCHAR) | SELECT SUM(week) FROM table_name_40 WHERE date = "october 30, 1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (week INTEGER, date VARCHAR) Question: Which week was on october 30, 1983? [/INST] SELECT SUM(week) FROM table_name_40 WHERE date = "october 30, 1983" </s> |
What is the Mascot for the team from leo that had a Previous Conference value of independent? | CREATE TABLE table_name_13 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR) | SELECT mascot FROM table_name_13 WHERE previous_conference = "independent" AND location = "leo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR) Question: What is the Mascot for the team from leo that had a Previous Conference value of independent? [/INST] SELECT mascot FROM ta... |
What School had 3a/2a as the value for IHSAA Class/ Football Class? | CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR) | SELECT school FROM table_name_81 WHERE ihsaa_class__football_class = "3a/2a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR) Question: What School had 3a/2a as the value for IHSAA Class/ Football Class? [/INST] SELECT school FROM table_name_81 WHERE ihsaa_class__footb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.