instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What was Johnnie Parsons rank when he completed over 200 laps? | CREATE TABLE table_name_67 (rank VARCHAR, laps INTEGER) | SELECT rank FROM table_name_67 WHERE laps > 200 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (rank VARCHAR, laps INTEGER) Question: What was Johnnie Parsons rank when he completed over 200 laps? [/INST] SELECT rank FROM table_name_67 WHERE laps > 200 </s> |
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008? | CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR) | SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR) Question: What is the value for Podiums when the value for Wins is 2, and when the Season is 2008? [/INST] SELECT podiums FROM table_name_62 WHERE wi... |
What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007? | CREATE TABLE table_name_98 (position VARCHAR, series VARCHAR, season VARCHAR) | SELECT position FROM table_name_98 WHERE series = "macau grand prix" AND season < 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (position VARCHAR, series VARCHAR, season VARCHAR) Question: What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007? [/INST] SELECT position FRO... |
What is the value for Wins when the Position is 7th? | CREATE TABLE table_name_67 (wins VARCHAR, position VARCHAR) | SELECT wins FROM table_name_67 WHERE position = "7th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (wins VARCHAR, position VARCHAR) Question: What is the value for Wins when the Position is 7th? [/INST] SELECT wins FROM table_name_67 WHERE position = "7th" </s> |
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th? | CREATE TABLE table_name_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT series FROM table_name_28 WHERE season > 2008 AND podiums = "3" AND position = "8th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (series VARCHAR, position VARCHAR, season VARCHAR, podiums VARCHAR) Question: What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th? [/INS... |
What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series? | CREATE TABLE table_name_65 (podiums VARCHAR, season VARCHAR, series VARCHAR) | SELECT podiums FROM table_name_65 WHERE season > 2008 AND series = "gp2 asia series" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (podiums VARCHAR, season VARCHAR, series VARCHAR) Question: What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series? [/INST] SELECT podiums FROM table_n... |
What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009? | CREATE TABLE table_name_41 (wins VARCHAR, series VARCHAR, season VARCHAR) | SELECT wins FROM table_name_41 WHERE series = "gp2 series" AND season < 2009 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (wins VARCHAR, series VARCHAR, season VARCHAR) Question: What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009? [/INST] SELECT wins FROM table_name_41 WHERE ... |
What was the loss of the game against the Indians when the record was 15-15? | CREATE TABLE table_name_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR) Question: What was the loss of the game against the Indians when the record was 15-15? [/INST] SELECT loss FROM table_name_68 WHERE opponent = "indi... |
What is the total attendance for games when the record was 23-23? | CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_61 WHERE record = "23-23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR) Question: What is the total attendance for games when the record was 23-23? [/INST] SELECT COUNT(attendance) FROM table_name_61 WHERE record = "23-23" </s> |
What is the total number of points for the conference division, a league position of 9th, and a lost result less than 13? | CREATE TABLE table_name_61 (points VARCHAR, lost VARCHAR, division VARCHAR, league_pos VARCHAR) | SELECT COUNT(points) FROM table_name_61 WHERE division = "conference" AND league_pos = "9th" AND lost < 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (points VARCHAR, lost VARCHAR, division VARCHAR, league_pos VARCHAR) Question: What is the total number of points for the conference division, a league position of 9th, and a lost result less than ... |
What is the drawn result with a league position of 15th and a lost result that is more than 17? | CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_36 WHERE league_pos = "15th" AND lost > 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR) Question: What is the drawn result with a league position of 15th and a lost result that is more than 17? [/INST] SELECT SUM(drawn) FROM table_name... |
Name the competition of 2010 of dnp | CREATE TABLE table_name_6 (competition VARCHAR) | SELECT competition FROM table_name_6 WHERE 2010 = "dnp" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (competition VARCHAR) Question: Name the competition of 2010 of dnp [/INST] SELECT competition FROM table_name_6 WHERE 2010 = "dnp" </s> |
Name the score for columbus visitor | CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_73 WHERE visitor = "columbus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR) Question: Name the score for columbus visitor [/INST] SELECT score FROM table_name_73 WHERE visitor = "columbus" </s> |
Name the least attendance with visitor of edmonton | CREATE TABLE table_name_98 (attendance INTEGER, visitor VARCHAR) | SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (attendance INTEGER, visitor VARCHAR) Question: Name the least attendance with visitor of edmonton [/INST] SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton" </s> |
What is the lowest numbered lane of Sue Rolph with a rank under 5? | CREATE TABLE table_name_17 (lane INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(lane) FROM table_name_17 WHERE name = "sue rolph" AND rank < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (lane INTEGER, name VARCHAR, rank VARCHAR) Question: What is the lowest numbered lane of Sue Rolph with a rank under 5? [/INST] SELECT MIN(lane) FROM table_name_17 WHERE name = "sue rolph" AND rank... |
What is the lane number of the swimmer with a time of 55.69? | CREATE TABLE table_name_21 (lane VARCHAR, time VARCHAR) | SELECT lane FROM table_name_21 WHERE time = 55.69 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (lane VARCHAR, time VARCHAR) Question: What is the lane number of the swimmer with a time of 55.69? [/INST] SELECT lane FROM table_name_21 WHERE time = 55.69 </s> |
What is the lowest number of league cups with 4 championships? | CREATE TABLE table_name_9 (league_cup INTEGER, championship VARCHAR) | SELECT MIN(league_cup) FROM table_name_9 WHERE championship = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (league_cup INTEGER, championship VARCHAR) Question: What is the lowest number of league cups with 4 championships? [/INST] SELECT MIN(league_cup) FROM table_name_9 WHERE championship = 4 </s> |
What is the highest value for FA cups, that has a total of 0 4, with less than 4 championships? | CREATE TABLE table_name_43 (fa_cup INTEGER, total VARCHAR, championship VARCHAR) | SELECT MAX(fa_cup) FROM table_name_43 WHERE total = "0 4" AND championship < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (fa_cup INTEGER, total VARCHAR, championship VARCHAR) Question: What is the highest value for FA cups, that has a total of 0 4, with less than 4 championships? [/INST] SELECT MAX(fa_cup) FROM table... |
How many FA cups were there without any league cups, but a total of 0 2? | CREATE TABLE table_name_3 (fa_cup INTEGER, total VARCHAR, league_cup VARCHAR) | SELECT MIN(fa_cup) FROM table_name_3 WHERE total = "0 2" AND league_cup < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (fa_cup INTEGER, total VARCHAR, league_cup VARCHAR) Question: How many FA cups were there without any league cups, but a total of 0 2? [/INST] SELECT MIN(fa_cup) FROM table_name_3 WHERE total = "0 2... |
Who is Pick #41? | CREATE TABLE table_name_99 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_99 WHERE pick__number = "41" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (player VARCHAR, pick__number VARCHAR) Question: Who is Pick #41? [/INST] SELECT player FROM table_name_99 WHERE pick__number = "41" </s> |
Which player was Pick #40? | CREATE TABLE table_name_98 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_98 WHERE pick__number = "40" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (player VARCHAR, pick__number VARCHAR) Question: Which player was Pick #40? [/INST] SELECT player FROM table_name_98 WHERE pick__number = "40" </s> |
Which team picked Dave Bonter? | CREATE TABLE table_name_23 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_name_23 WHERE player = "dave bonter" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (nhl_team VARCHAR, player VARCHAR) Question: Which team picked Dave Bonter? [/INST] SELECT nhl_team FROM table_name_23 WHERE player = "dave bonter" </s> |
Which team picked the player from the Toronto Marlboros (OHA) as Pick #32? | CREATE TABLE table_name_81 (nhl_team VARCHAR, college_junior_club_team VARCHAR, pick__number VARCHAR) | SELECT nhl_team FROM table_name_81 WHERE college_junior_club_team = "toronto marlboros (oha)" AND pick__number = "32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (nhl_team VARCHAR, college_junior_club_team VARCHAR, pick__number VARCHAR) Question: Which team picked the player from the Toronto Marlboros (OHA) as Pick #32? [/INST] SELECT nhl_team FROM table_na... |
Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10 | CREATE TABLE table_name_25 (games INTEGER, goals VARCHAR, league VARCHAR, manager VARCHAR) | SELECT MAX(games) FROM table_name_25 WHERE league = "eredivisie" AND manager = "jurrie koolhof" AND goals < 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (games INTEGER, goals VARCHAR, league VARCHAR, manager VARCHAR) Question: Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10 [/INST] SELECT MAX(games) FRO... |
Name the least rank when games are more than 34 and the season is 2009-10 | CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR) | SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR) Question: Name the least rank when games are more than 34 and the season is 2009-10 [/INST] SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND se... |
Name the least point for mv agusta and rank of 13th for wins less than 0 | CREATE TABLE table_name_52 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR) | SELECT MIN(points) FROM table_name_52 WHERE team = "mv agusta" AND rank = "13th" AND wins < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR) Question: Name the least point for mv agusta and rank of 13th for wins less than 0 [/INST] SELECT MIN(points) FROM table_name_52 WHERE tea... |
Name the rank for wins of 0 and points of 2 | CREATE TABLE table_name_10 (rank VARCHAR, wins VARCHAR, points VARCHAR) | SELECT rank FROM table_name_10 WHERE wins = 0 AND points = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (rank VARCHAR, wins VARCHAR, points VARCHAR) Question: Name the rank for wins of 0 and points of 2 [/INST] SELECT rank FROM table_name_10 WHERE wins = 0 AND points = 2 </s> |
Name the total number of points with year less than 1955 and rank of 5th with wins less than 0 | CREATE TABLE table_name_31 (points VARCHAR, wins VARCHAR, year VARCHAR, rank VARCHAR) | SELECT COUNT(points) FROM table_name_31 WHERE year < 1955 AND rank = "5th" AND wins < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (points VARCHAR, wins VARCHAR, year VARCHAR, rank VARCHAR) Question: Name the total number of points with year less than 1955 and rank of 5th with wins less than 0 [/INST] SELECT COUNT(points) FROM... |
What is the total decile in the area of Normanby with a roller smaller than 157? | CREATE TABLE table_name_99 (decile INTEGER, area VARCHAR, roll VARCHAR) | SELECT SUM(decile) FROM table_name_99 WHERE area = "normanby" AND roll < 157 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (decile INTEGER, area VARCHAR, roll VARCHAR) Question: What is the total decile in the area of Normanby with a roller smaller than 157? [/INST] SELECT SUM(decile) FROM table_name_99 WHERE area = "n... |
What Authority has a decile greater than 5, with a roll of 170? | CREATE TABLE table_name_62 (authority VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_62 WHERE decile > 5 AND roll = 170 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (authority VARCHAR, decile VARCHAR, roll VARCHAR) Question: What Authority has a decile greater than 5, with a roll of 170? [/INST] SELECT authority FROM table_name_62 WHERE decile > 5 AND roll = 1... |
What is the average goals against average for those playing more than 78 games? | CREATE TABLE table_name_33 (goals_against_average INTEGER, games_played INTEGER) | SELECT AVG(goals_against_average) FROM table_name_33 WHERE games_played > 78 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (goals_against_average INTEGER, games_played INTEGER) Question: What is the average goals against average for those playing more than 78 games? [/INST] SELECT AVG(goals_against_average) FROM table_... |
Who played over 46 games and allowed less than 195 goals? | CREATE TABLE table_name_50 (player VARCHAR, games_played VARCHAR, goals_allowed VARCHAR) | SELECT player FROM table_name_50 WHERE games_played > 46 AND goals_allowed < 195 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (player VARCHAR, games_played VARCHAR, goals_allowed VARCHAR) Question: Who played over 46 games and allowed less than 195 goals? [/INST] SELECT player FROM table_name_50 WHERE games_played > 46 AN... |
Who played 44 games who averaged over 2.07 goals against? | CREATE TABLE table_name_88 (player VARCHAR, goals_against_average VARCHAR, games_played VARCHAR) | SELECT player FROM table_name_88 WHERE goals_against_average > 2.07 AND games_played = 44 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (player VARCHAR, goals_against_average VARCHAR, games_played VARCHAR) Question: Who played 44 games who averaged over 2.07 goals against? [/INST] SELECT player FROM table_name_88 WHERE goals_agains... |
Name how ashtagrama lyers say it for engal veetil, engal agathil | CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR) | SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHERE pure_tamil = "engal veetil, engal agathil" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR) Question: Name how ashtagrama lyers say it for engal veetil, engal agathil [/INST] SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHER... |
Name the english meaning for engey poringo | CREATE TABLE table_name_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR) | SELECT english_meaning FROM table_name_8 WHERE how_other_tamils_say_it = "engey poringo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR) Question: Name the english meaning for engey poringo [/INST] SELECT english_meaning FROM table_name_8 WHERE how_other_tamils_say_it = "enge... |
Name how other lyers say enga ullale | CREATE TABLE table_name_22 (how_other_iyers_say_it VARCHAR, how_ashtagrama_iyers_say_it VARCHAR) | SELECT how_other_iyers_say_it FROM table_name_22 WHERE how_ashtagrama_iyers_say_it = "enga ullale" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (how_other_iyers_say_it VARCHAR, how_ashtagrama_iyers_say_it VARCHAR) Question: Name how other lyers say enga ullale [/INST] SELECT how_other_iyers_say_it FROM table_name_22 WHERE how_ashtagrama_iy... |
Name the pure tamil for enga athilae | CREATE TABLE table_name_97 (pure_tamil VARCHAR, how_other_iyers_say_it VARCHAR) | SELECT pure_tamil FROM table_name_97 WHERE how_other_iyers_say_it = "enga athilae" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (pure_tamil VARCHAR, how_other_iyers_say_it VARCHAR) Question: Name the pure tamil for enga athilae [/INST] SELECT pure_tamil FROM table_name_97 WHERE how_other_iyers_say_it = "enga athilae" </s> |
What company built the ship named excellent in 1998? | CREATE TABLE table_name_59 (company VARCHAR, built VARCHAR, ship VARCHAR) | SELECT company FROM table_name_59 WHERE built = 1998 AND ship = "excellent" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (company VARCHAR, built VARCHAR, ship VARCHAR) Question: What company built the ship named excellent in 1998? [/INST] SELECT company FROM table_name_59 WHERE built = 1998 AND ship = "excellent" </s... |
What's the total built by the United Kingdom and holds 1,300 passengers? | CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR) | SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR) Question: What's the total built by the United Kingdom and holds 1,300 passengers? [/INST] SELECT COUNT(built) FROM table_name_68 WHERE registr... |
Name the visiting team for stadium of ralph wilson stadium | CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_67 WHERE stadium = "ralph wilson stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) Question: Name the visiting team for stadium of ralph wilson stadium [/INST] SELECT visiting_team FROM table_name_67 WHERE stadium = "ralph wilson stadium" ... |
Name the date for visiting team of denver broncos | CREATE TABLE table_name_72 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_name_72 WHERE visiting_team = "denver broncos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (date VARCHAR, visiting_team VARCHAR) Question: Name the date for visiting team of denver broncos [/INST] SELECT date FROM table_name_72 WHERE visiting_team = "denver broncos" </s> |
Name the stadium with host team of san diego chargers and final score of 23-45 | CREATE TABLE table_name_46 (stadium VARCHAR, host_team VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_46 WHERE host_team = "san diego chargers" AND final_score = "23-45" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (stadium VARCHAR, host_team VARCHAR, final_score VARCHAR) Question: Name the stadium with host team of san diego chargers and final score of 23-45 [/INST] SELECT stadium FROM table_name_46 WHERE ho... |
Name the stadium with final score of 20-10 | CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_35 WHERE final_score = "20-10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR) Question: Name the stadium with final score of 20-10 [/INST] SELECT stadium FROM table_name_35 WHERE final_score = "20-10" </s> |
Name the date with visiting team of philadelphia eagles | CREATE TABLE table_name_47 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_name_47 WHERE visiting_team = "philadelphia eagles" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (date VARCHAR, visiting_team VARCHAR) Question: Name the date with visiting team of philadelphia eagles [/INST] SELECT date FROM table_name_47 WHERE visiting_team = "philadelphia eagles" </s> |
Name the host team for january 1 (2006) | CREATE TABLE table_name_93 (host_team VARCHAR, date VARCHAR) | SELECT host_team FROM table_name_93 WHERE date = "january 1 (2006)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (host_team VARCHAR, date VARCHAR) Question: Name the host team for january 1 (2006) [/INST] SELECT host_team FROM table_name_93 WHERE date = "january 1 (2006)" </s> |
What team belongs to Delmar? | CREATE TABLE table_name_36 (team VARCHAR, school VARCHAR) | SELECT team FROM table_name_36 WHERE school = "delmar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (team VARCHAR, school VARCHAR) Question: What team belongs to Delmar? [/INST] SELECT team FROM table_name_36 WHERE school = "delmar" </s> |
What was Laurel's division record? | CREATE TABLE table_name_63 (division_record VARCHAR, school VARCHAR) | SELECT division_record FROM table_name_63 WHERE school = "laurel" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (division_record VARCHAR, school VARCHAR) Question: What was Laurel's division record? [/INST] SELECT division_record FROM table_name_63 WHERE school = "laurel" </s> |
What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010? | CREATE TABLE table_name_90 (rank INTEGER, code__iata_icao_ VARCHAR) | SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (rank INTEGER, code__iata_icao_ VARCHAR) Question: What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010? [/INST] SELECT MIN(rank) FROM table_name_90 WHER... |
What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv? | CREATE TABLE table_name_20 (code__iata_icao_ VARCHAR) | SELECT 2010 FROM table_name_20 WHERE code__iata_icao_ = "cra/lrcv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (code__iata_icao_ VARCHAR) Question: What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv? [/INST] SELECT 2010 FROM table_name_20 WHERE code__iata_icao_ = "cra/lrcv" </s> |
Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats? | CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR) | SELECT state_ranked_in_partisan_order FROM table_name_28 WHERE percentage_republicans = "67%" AND republican__democratic = "24/12" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR) Question: Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats? ... |
What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats? | CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR) | SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR) Question: What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats? [/INST] ... |
What is the ratio of Republicans to Democrats in South Carolina? | CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR) | SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR) Question: What is the ratio of Republicans to Democrats in South Carolina? [/INST] SELECT republican__democratic FROM table_... |
What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats? | CREATE TABLE table_name_30 (republican_seat_plurality VARCHAR, republican__democratic VARCHAR) | SELECT republican_seat_plurality FROM table_name_30 WHERE republican__democratic = "12/4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (republican_seat_plurality VARCHAR, republican__democratic VARCHAR) Question: What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats? [/INST] SELECT republ... |
What is the Republican seat plurality of North Carolina? | CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR) | SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = "north carolina" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR) Question: What is the Republican seat plurality of North Carolina? [/INST] SELECT republican_seat_plurality FROM table_na... |
What is the highest score in round 4 and total of 284 in a year more recent than 1998? | CREATE TABLE table_name_56 (round_4 INTEGER, score VARCHAR, year VARCHAR) | SELECT MAX(round_4) FROM table_name_56 WHERE score = 284 AND year > 1998 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (round_4 INTEGER, score VARCHAR, year VARCHAR) Question: What is the highest score in round 4 and total of 284 in a year more recent than 1998? [/INST] SELECT MAX(round_4) FROM table_name_56 WHERE ... |
What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67? | CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR) | SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR) Question: What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67? [/INST] SELECT MAX(money__) AS ¥_ FROM table_name_... |
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72? | CREATE TABLE table_name_23 (year INTEGER, tournament VARCHAR, round_4 VARCHAR) | SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (year INTEGER, tournament VARCHAR, round_4 VARCHAR) Question: What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72? [/INST] SELECT MIN(year) F... |
What is the lowest round with a place of t15 in a year earlier than 1998? | CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR) | SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR) Question: What is the lowest round with a place of t15 in a year earlier than 1998? [/INST] SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15"... |
Where was the BRDC International Trophy with driver Emerson Fittipaldi held? | CREATE TABLE table_name_61 (venue VARCHAR, driver VARCHAR, event VARCHAR) | SELECT venue FROM table_name_61 WHERE driver = "emerson fittipaldi" AND event = "brdc international trophy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (venue VARCHAR, driver VARCHAR, event VARCHAR) Question: Where was the BRDC International Trophy with driver Emerson Fittipaldi held? [/INST] SELECT venue FROM table_name_61 WHERE driver = "emerson... |
What was the most recent race at Kyalami with Keke Rosberg competing? | CREATE TABLE table_name_41 (year INTEGER, venue VARCHAR, driver VARCHAR) | SELECT MAX(year) FROM table_name_41 WHERE venue = "kyalami" AND driver = "keke rosberg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (year INTEGER, venue VARCHAR, driver VARCHAR) Question: What was the most recent race at Kyalami with Keke Rosberg competing? [/INST] SELECT MAX(year) FROM table_name_41 WHERE venue = "kyalami" AND... |
What year was the Spanish Grand Prix where Emerson Fittipaldi drove? | CREATE TABLE table_name_30 (year VARCHAR, event VARCHAR, driver VARCHAR) | SELECT year FROM table_name_30 WHERE event = "spanish grand prix" AND driver = "emerson fittipaldi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (year VARCHAR, event VARCHAR, driver VARCHAR) Question: What year was the Spanish Grand Prix where Emerson Fittipaldi drove? [/INST] SELECT year FROM table_name_30 WHERE event = "spanish grand prix... |
What was the outcome for Emerson Fittipaldi in the race held at Jarama? | CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR, driver VARCHAR) | SELECT result FROM table_name_51 WHERE venue = "jarama" AND driver = "emerson fittipaldi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR, driver VARCHAR) Question: What was the outcome for Emerson Fittipaldi in the race held at Jarama? [/INST] SELECT result FROM table_name_51 WHERE venue = "jarama" AND... |
How many years did Wilson Fittipaldi race? | CREATE TABLE table_name_97 (year VARCHAR, driver VARCHAR) | SELECT COUNT(year) FROM table_name_97 WHERE driver = "wilson fittipaldi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year VARCHAR, driver VARCHAR) Question: How many years did Wilson Fittipaldi race? [/INST] SELECT COUNT(year) FROM table_name_97 WHERE driver = "wilson fittipaldi" </s> |
What was the score of the game that had a loss of Cox (6–2)? | CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_44 WHERE loss = "cox (6–2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR) Question: What was the score of the game that had a loss of Cox (6–2)? [/INST] SELECT score FROM table_name_44 WHERE loss = "cox (6–2)" </s> |
What was the date of the game that had a loss of Rojas (9–8)? | CREATE TABLE table_name_74 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_74 WHERE loss = "rojas (9–8)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (date VARCHAR, loss VARCHAR) Question: What was the date of the game that had a loss of Rojas (9–8)? [/INST] SELECT date FROM table_name_74 WHERE loss = "rojas (9–8)" </s> |
What was the score of the game that had a loss of Coates (0–2)? | CREATE TABLE table_name_25 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_25 WHERE loss = "coates (0–2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, loss VARCHAR) Question: What was the score of the game that had a loss of Coates (0–2)? [/INST] SELECT score FROM table_name_25 WHERE loss = "coates (0–2)" </s> |
What was the score of the game when the record was 58–47? | CREATE TABLE table_name_12 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_12 WHERE record = "58–47" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the record was 58–47? [/INST] SELECT score FROM table_name_12 WHERE record = "58–47" </s> |
How do you spell the Hebrew word יְהוֹשָפָט in English? | CREATE TABLE table_name_24 (english_spelling VARCHAR, hebrew_word VARCHAR) | SELECT english_spelling FROM table_name_24 WHERE hebrew_word = "יְהוֹשָפָט" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (english_spelling VARCHAR, hebrew_word VARCHAR) Question: How do you spell the Hebrew word יְהוֹשָפָט in English? [/INST] SELECT english_spelling FROM table_name_24 WHERE hebrew_word = "יְהוֹשָפָט"... |
Which start has 1956 as the year? | CREATE TABLE table_name_96 (start VARCHAR, year VARCHAR) | SELECT start FROM table_name_96 WHERE year = "1956" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (start VARCHAR, year VARCHAR) Question: Which start has 1956 as the year? [/INST] SELECT start FROM table_name_96 WHERE year = "1956" </s> |
Which start has 32 as the finish and laps more than 6? | CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR) | SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR) Question: Which start has 32 as the finish and laps more than 6? [/INST] SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6 </s> |
Which start has 4 as a rank? | CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR) | SELECT start FROM table_name_55 WHERE rank = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR) Question: Which start has 4 as a rank? [/INST] SELECT start FROM table_name_55 WHERE rank = "4" </s> |
How many laps have 1 as the start? | CREATE TABLE table_name_25 (laps VARCHAR, start VARCHAR) | SELECT COUNT(laps) FROM table_name_25 WHERE start = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (laps VARCHAR, start VARCHAR) Question: How many laps have 1 as the start? [/INST] SELECT COUNT(laps) FROM table_name_25 WHERE start = "1" </s> |
Which finish has 33 as a rank and 200 for laps? | CREATE TABLE table_name_24 (finish VARCHAR, rank VARCHAR, laps VARCHAR) | SELECT finish FROM table_name_24 WHERE rank = "33" AND laps = 200 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (finish VARCHAR, rank VARCHAR, laps VARCHAR) Question: Which finish has 33 as a rank and 200 for laps? [/INST] SELECT finish FROM table_name_24 WHERE rank = "33" AND laps = 200 </s> |
Which finish has 1 as the rank? | CREATE TABLE table_name_95 (finish VARCHAR, rank VARCHAR) | SELECT finish FROM table_name_95 WHERE rank = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (finish VARCHAR, rank VARCHAR) Question: Which finish has 1 as the rank? [/INST] SELECT finish FROM table_name_95 WHERE rank = "1" </s> |
What are the special notes for an issue price under 24.95 with an edmonton oilers theme? | CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR) | SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = "edmonton oilers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR) Question: What are the special notes for an issue price under 24.95 with an edmonton oilers theme? [/INST] SELECT special_notes FROM tabl... |
What theme has special notes from calgary flames gift set? | CREATE TABLE table_name_24 (theme VARCHAR, special_notes VARCHAR) | SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift set" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (theme VARCHAR, special_notes VARCHAR) Question: What theme has special notes from calgary flames gift set? [/INST] SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift s... |
What year has an issue price over 15.95, and a special notes from edmonton oilers gift set? | CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR) | SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = "from edmonton oilers gift set" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR) Question: What year has an issue price over 15.95, and a special notes from edmonton oilers gift set? [/INST] SELECT COUNT(year) FROM tabl... |
What is the site when the superintendent was John Barry? | CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR) | SELECT site FROM table_name_28 WHERE superintendent = "john barry" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR) Question: What is the site when the superintendent was John Barry? [/INST] SELECT site FROM table_name_28 WHERE superintendent = "john barry" </s> |
What is the number of guns when the superintendent was Silas Talbot? | CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR) | SELECT guns FROM table_name_36 WHERE superintendent = "silas talbot" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR) Question: What is the number of guns when the superintendent was Silas Talbot? [/INST] SELECT guns FROM table_name_36 WHERE superintendent = "silas talbot" </... |
What is the site when the superintendent was James Sever? | CREATE TABLE table_name_93 (site VARCHAR, superintendent VARCHAR) | SELECT site FROM table_name_93 WHERE superintendent = "james sever" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (site VARCHAR, superintendent VARCHAR) Question: What is the site when the superintendent was James Sever? [/INST] SELECT site FROM table_name_93 WHERE superintendent = "james sever" </s> |
Who was the loss in the game with the record of 65-53? | CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_25 WHERE record = "65-53" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR) Question: Who was the loss in the game with the record of 65-53? [/INST] SELECT loss FROM table_name_25 WHERE record = "65-53" </s> |
On August 29, What was the record playing against the Rangers? | CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT record FROM table_name_75 WHERE opponent = "rangers" AND date = "august 29" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR) Question: On August 29, What was the record playing against the Rangers? [/INST] SELECT record FROM table_name_75 WHERE opponent = "rangers" AND dat... |
On August 22, how many people came to the game? | CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_39 WHERE date = "august 22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR) Question: On August 22, how many people came to the game? [/INST] SELECT attendance FROM table_name_39 WHERE date = "august 22" </s> |
When west indes was a holder at the end of the series for the 1991 season with an england greater than 1, what is the smallest west indies? | CREATE TABLE table_name_92 (west_indies INTEGER, season VARCHAR, holder_at_the_end_of_the_series VARCHAR, england VARCHAR) | SELECT MIN(west_indies) FROM table_name_92 WHERE holder_at_the_end_of_the_series = "west indies" AND england > 1 AND season = "1991" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (west_indies INTEGER, season VARCHAR, holder_at_the_end_of_the_series VARCHAR, england VARCHAR) Question: When west indes was a holder at the end of the series for the 1991 season with an england g... |
When were the Brewers 27-31? | CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_43 WHERE record = "27-31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) Question: When were the Brewers 27-31? [/INST] SELECT date FROM table_name_43 WHERE record = "27-31" </s> |
When did the Brewers lose 2-8? | CREATE TABLE table_name_63 (loss VARCHAR, score VARCHAR) | SELECT loss FROM table_name_63 WHERE score = "2-8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (loss VARCHAR, score VARCHAR) Question: When did the Brewers lose 2-8? [/INST] SELECT loss FROM table_name_63 WHERE score = "2-8" </s> |
When the Brewers score was 5-7, what was the lowest attendance? | CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR) | SELECT MIN(attendance) FROM table_name_13 WHERE score = "5-7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR) Question: When the Brewers score was 5-7, what was the lowest attendance? [/INST] SELECT MIN(attendance) FROM table_name_13 WHERE score = "5-7" </s> |
Who hosted the visiting team Baltimore Ravens? | CREATE TABLE table_name_24 (host_team VARCHAR, visiting_team VARCHAR) | SELECT host_team FROM table_name_24 WHERE visiting_team = "baltimore ravens" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (host_team VARCHAR, visiting_team VARCHAR) Question: Who hosted the visiting team Baltimore Ravens? [/INST] SELECT host_team FROM table_name_24 WHERE visiting_team = "baltimore ravens" </s> |
What was the final score at Heinz Field? | CREATE TABLE table_name_25 (final_score VARCHAR, stadium VARCHAR) | SELECT final_score FROM table_name_25 WHERE stadium = "heinz field" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (final_score VARCHAR, stadium VARCHAR) Question: What was the final score at Heinz Field? [/INST] SELECT final_score FROM table_name_25 WHERE stadium = "heinz field" </s> |
What is the home stadium of the Atlanta Falcons? | CREATE TABLE table_name_11 (stadium VARCHAR, host_team VARCHAR) | SELECT stadium FROM table_name_11 WHERE host_team = "atlanta falcons" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (stadium VARCHAR, host_team VARCHAR) Question: What is the home stadium of the Atlanta Falcons? [/INST] SELECT stadium FROM table_name_11 WHERE host_team = "atlanta falcons" </s> |
What date did the New York Giants play as a visiting team? | CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_name_34 WHERE visiting_team = "new york giants" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR) Question: What date did the New York Giants play as a visiting team? [/INST] SELECT date FROM table_name_34 WHERE visiting_team = "new york giants" </s> |
What is the score of Tim Herron, who placed t1? | CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is the score of Tim Herron, who placed t1? [/INST] SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron" </s> |
What place does Fred Funk, who has a score of 69-69=138, have? | CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR) | SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND player = "fred funk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR) Question: What place does Fred Funk, who has a score of 69-69=138, have? [/INST] SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND playe... |
What is Tiger Woods's score? | CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_1 WHERE player = "tiger woods" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR) Question: What is Tiger Woods's score? [/INST] SELECT score FROM table_name_1 WHERE player = "tiger woods" </s> |
What is the score of Australia? | CREATE TABLE table_name_55 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_55 WHERE country = "australia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, country VARCHAR) Question: What is the score of Australia? [/INST] SELECT score FROM table_name_55 WHERE country = "australia" </s> |
Who was Constructor for rider Marco Melandri? | CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR) | SELECT constructor FROM table_name_76 WHERE rider = "marco melandri" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR) Question: Who was Constructor for rider Marco Melandri? [/INST] SELECT constructor FROM table_name_76 WHERE rider = "marco melandri" </s> |
Anthony West ride which Motorcyle? | CREATE TABLE table_name_23 (motorcycle VARCHAR, rider VARCHAR) | SELECT motorcycle FROM table_name_23 WHERE rider = "anthony west" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (motorcycle VARCHAR, rider VARCHAR) Question: Anthony West ride which Motorcyle? [/INST] SELECT motorcycle FROM table_name_23 WHERE rider = "anthony west" </s> |
What team draft a player from Canada that was picked #43 and plays right wing? | CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) | SELECT nhl_team FROM table_name_59 WHERE nationality = "canada" AND position = "right wing" AND pick__number = "43" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) Question: What team draft a player from Canada that was picked #43 and plays right wing? [/INST] SELECT nhl_team FROM... |
What nationality is Gerry Methe? | CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_34 WHERE player = "gerry methe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR) Question: What nationality is Gerry Methe? [/INST] SELECT nationality FROM table_name_34 WHERE player = "gerry methe" </s> |
What which player from Canada was picked #49 and plays left wing? | CREATE TABLE table_name_18 (player VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) | SELECT player FROM table_name_18 WHERE nationality = "canada" AND position = "left wing" AND pick__number = "49" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (player VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) Question: What which player from Canada was picked #49 and plays left wing? [/INST] SELECT player FROM table_name_18 WH... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.