instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What is Years, when Jersey Number(s) is 5? | CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR) | SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR) Question: What is Years, when Jersey Number(s) is 5? [/INST] SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5" </s> |
What is Position when Player is Drew Barry Category:Articles With hCards? | CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_54 WHERE player = "drew barry category:articles with hcards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR) Question: What is Position when Player is Drew Barry Category:Articles With hCards? [/INST] SELECT position FROM table_name_54 WHERE player = "drew barry category... |
What is Years, when Jersey Number(s) is 21, and when Position is SG? | CREATE TABLE table_name_97 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR) | SELECT years FROM table_name_97 WHERE jersey_number_s_ = "21" AND position = "sg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR) Question: What is Years, when Jersey Number(s) is 21, and when Position is SG? [/INST] SELECT years FROM table_name_97 WHERE jersey_numbe... |
What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards? | CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR) | SELECT position FROM table_name_50 WHERE nationality = "united states" AND jersey_number_s_ = "12" AND player = "tom black category:articles with hcards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR) Question: What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom... |
Which Club has a Founded smaller than 1882, and a League of fa premier league? | CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR) | SELECT club FROM table_name_76 WHERE founded < 1882 AND league = "fa premier league" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR) Question: Which Club has a Founded smaller than 1882, and a League of fa premier league? [/INST] SELECT club FROM table_name_76 WHERE founded < 1882 ... |
Which Venue has a Club of west bromwich albion? | CREATE TABLE table_name_99 (venue VARCHAR, club VARCHAR) | SELECT venue FROM table_name_99 WHERE club = "west bromwich albion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (venue VARCHAR, club VARCHAR) Question: Which Venue has a Club of west bromwich albion? [/INST] SELECT venue FROM table_name_99 WHERE club = "west bromwich albion" </s> |
Which Sport has a Founded larger than 1874 and a Club of birmingham city? | CREATE TABLE table_name_71 (sport VARCHAR, founded VARCHAR, club VARCHAR) | SELECT sport FROM table_name_71 WHERE founded > 1874 AND club = "birmingham city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (sport VARCHAR, founded VARCHAR, club VARCHAR) Question: Which Sport has a Founded larger than 1874 and a Club of birmingham city? [/INST] SELECT sport FROM table_name_71 WHERE founded > 1874 AND c... |
What kind of League has a Venue of billesley common? | CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR) | SELECT league FROM table_name_48 WHERE venue = "billesley common" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR) Question: What kind of League has a Venue of billesley common? [/INST] SELECT league FROM table_name_48 WHERE venue = "billesley common" </s> |
COunt the Founded which has a Venue of villa park? | CREATE TABLE table_name_5 (founded INTEGER, venue VARCHAR) | SELECT SUM(founded) FROM table_name_5 WHERE venue = "villa park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (founded INTEGER, venue VARCHAR) Question: COunt the Founded which has a Venue of villa park? [/INST] SELECT SUM(founded) FROM table_name_5 WHERE venue = "villa park" </s> |
Name the Club which has a Founded larger than 1875, and a Sport of football? | CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR) | SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR) Question: Name the Club which has a Founded larger than 1875, and a Sport of football? [/INST] SELECT club FROM table_name_73 WHERE founded > 1875 AND... |
What score did Seve Ballesteros have when he was in T3 place? | CREATE TABLE table_name_54 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_54 WHERE place = "t3" AND player = "seve ballesteros" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What score did Seve Ballesteros have when he was in T3 place? [/INST] SELECT score FROM table_name_54 WHERE place = "t3" AND player = "seve ... |
What was the money value for Jerry Pate? | CREATE TABLE table_name_43 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_43 WHERE player = "jerry pate" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (money___$__ VARCHAR, player VARCHAR) Question: What was the money value for Jerry Pate? [/INST] SELECT money___$__ FROM table_name_43 WHERE player = "jerry pate" </s> |
What country is Curtis Strange from? | CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_54 WHERE player = "curtis strange" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR) Question: What country is Curtis Strange from? [/INST] SELECT country FROM table_name_54 WHERE player = "curtis strange" </s> |
Who had a score of 77-69-70-71=287? | CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) Question: Who had a score of 77-69-70-71=287? [/INST] SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 </s> |
What was Tom Kite's to par? | CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_71 WHERE player = "tom kite" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR) Question: What was Tom Kite's to par? [/INST] SELECT to_par FROM table_name_71 WHERE player = "tom kite" </s> |
What is the date for the game where Platense was the home side? | CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_99 WHERE home = "platense" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR) Question: What is the date for the game where Platense was the home side? [/INST] SELECT date FROM table_name_99 WHERE home = "platense" </s> |
On what date was the game with fewer than 6650 in attendance, that finished 0:1? | CREATE TABLE table_name_30 (date VARCHAR, attendance VARCHAR, score VARCHAR) | SELECT date FROM table_name_30 WHERE attendance < 6650 AND score = "0:1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (date VARCHAR, attendance VARCHAR, score VARCHAR) Question: On what date was the game with fewer than 6650 in attendance, that finished 0:1? [/INST] SELECT date FROM table_name_30 WHERE attendance ... |
Who was the home team in the game with more than 1675, and Olimpia was the away side? | CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR) | SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR) Question: Who was the home team in the game with more than 1675, and Olimpia was the away side? [/INST] SELECT home FROM table_name_28 WHERE attenda... |
What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks? | CREATE TABLE table_name_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_47 WHERE week < 5 AND opponent = "seattle seahawks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) Question: What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks? [/INST] SELECT COUNT(attendance) FROM table_name_4... |
Who is the head coach for the team that has finke as the shirt sponsor? | CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR) | SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR) Question: Who is the head coach for the team that has finke as the shirt sponsor? [/INST] SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "fin... |
Who was the team captain of tus koblenz? | CREATE TABLE table_name_11 (team VARCHAR) | SELECT team AS captain FROM table_name_11 WHERE team = "tus koblenz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (team VARCHAR) Question: Who was the team captain of tus koblenz? [/INST] SELECT team AS captain FROM table_name_11 WHERE team = "tus koblenz" </s> |
Who is the shirt sponsor for the team with a head coach of andre schubert and a kitmaker of puma? | CREATE TABLE table_name_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR) | SELECT shirt_sponsor FROM table_name_48 WHERE kitmaker = "puma" AND head_coach = "andre schubert" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR) Question: Who is the shirt sponsor for the team with a head coach of andre schubert and a kitmaker of puma? [/INST] SELECT shirt_sponso... |
Who is the team captain for the team with sparkasse (düsseldorf) as the shirt sponsor? | CREATE TABLE table_name_41 (team VARCHAR, shirt_sponsor VARCHAR) | SELECT team AS captain FROM table_name_41 WHERE shirt_sponsor = "sparkasse (düsseldorf)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (team VARCHAR, shirt_sponsor VARCHAR) Question: Who is the team captain for the team with sparkasse (düsseldorf) as the shirt sponsor? [/INST] SELECT team AS captain FROM table_name_41 WHERE shirt_... |
Who is the head coach for the team, arminia bielefeld? | CREATE TABLE table_name_94 (head_coach VARCHAR, team VARCHAR) | SELECT head_coach FROM table_name_94 WHERE team = "arminia bielefeld" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (head_coach VARCHAR, team VARCHAR) Question: Who is the head coach for the team, arminia bielefeld? [/INST] SELECT head_coach FROM table_name_94 WHERE team = "arminia bielefeld" </s> |
What is the result of the game with 77,698 in attendance? | CREATE TABLE table_name_61 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_61 WHERE attendance = "77,698" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (result VARCHAR, attendance VARCHAR) Question: What is the result of the game with 77,698 in attendance? [/INST] SELECT result FROM table_name_61 WHERE attendance = "77,698" </s> |
What is the Venue when the result was 2-1? | CREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_60 WHERE result = "2-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR) Question: What is the Venue when the result was 2-1? [/INST] SELECT venue FROM table_name_60 WHERE result = "2-1" </s> |
What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties? | CREATE TABLE table_name_64 (venue VARCHAR, round VARCHAR) | SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (venue VARCHAR, round VARCHAR) Question: What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties? [/INST] SELECT venue FROM table_name_64 WHERE round = "after extra... |
What was the attendance when the result was 1-1? | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_12 WHERE result = "1-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) Question: What was the attendance when the result was 1-1? [/INST] SELECT attendance FROM table_name_12 WHERE result = "1-1" </s> |
What is the Version of the CD release? | CREATE TABLE table_name_99 (version VARCHAR, format VARCHAR) | SELECT version FROM table_name_99 WHERE format = "cd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (version VARCHAR, format VARCHAR) Question: What is the Version of the CD release? [/INST] SELECT version FROM table_name_99 WHERE format = "cd" </s> |
What is the Label of the Original CD release? | CREATE TABLE table_name_40 (label VARCHAR, format VARCHAR, version VARCHAR) | SELECT label FROM table_name_40 WHERE format = "cd" AND version = "original" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (label VARCHAR, format VARCHAR, version VARCHAR) Question: What is the Label of the Original CD release? [/INST] SELECT label FROM table_name_40 WHERE format = "cd" AND version = "original" </s> |
What is the Version of the CD release on June 12, 2008 in Cyprus? | CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR) | SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR) Question: What is the Version of the CD release on June 12, 2008 in Cyprus? [/INST] SELECT version FROM table_name_82 WHERE format = ... |
What is the Region of the release on December 22, 2008? | CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_2 WHERE date = "december 22, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR) Question: What is the Region of the release on December 22, 2008? [/INST] SELECT region FROM table_name_2 WHERE date = "december 22, 2008" </s> |
What is the Label of the release on June 12, 2008 in Cyprus? | CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR) | SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR) Question: What is the Label of the release on June 12, 2008 in Cyprus? [/INST] SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region ... |
What is the Format of the release in Greece? | CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR) | SELECT format FROM table_name_16 WHERE region = "greece" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR) Question: What is the Format of the release in Greece? [/INST] SELECT format FROM table_name_16 WHERE region = "greece" </s> |
What is the total number of Tonnage, when Date is "25 June 1943"? | CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR) | SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR) Question: What is the total number of Tonnage, when Date is "25 June 1943"? [/INST] SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943" </s> |
What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and when Tonnage is "80"? | CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR) | SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR) Question: What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and when Tonnage is "80"? [/INST] SELECT shi... |
What is the record of the game that resulted in a loss with more than 56,648 people in attendance? | CREATE TABLE table_name_99 (record VARCHAR, result VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_99 WHERE result = "loss" AND attendance > 56 OFFSET 648 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (record VARCHAR, result VARCHAR, attendance VARCHAR) Question: What is the record of the game that resulted in a loss with more than 56,648 people in attendance? [/INST] SELECT record FROM table_na... |
What was the university of akron's enrollment? | CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR) | SELECT enrollment FROM table_name_35 WHERE university = "university of akron" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR) Question: What was the university of akron's enrollment? [/INST] SELECT enrollment FROM table_name_35 WHERE university = "university of akron" </s> |
Which athletics nickname was founded in 1872? | CREATE TABLE table_name_86 (athletics_nickname VARCHAR, founded VARCHAR) | SELECT athletics_nickname FROM table_name_86 WHERE founded = "1872" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (athletics_nickname VARCHAR, founded VARCHAR) Question: Which athletics nickname was founded in 1872? [/INST] SELECT athletics_nickname FROM table_name_86 WHERE founded = "1872" </s> |
What date did the executive office in Dover take office? | CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR) | SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR) Question: What date did the executive office in Dover take office? [/INST] SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type ... |
What left office date happened in Washington? | CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR) | SELECT Left AS office FROM table_name_94 WHERE location = "washington" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR) Question: What left office date happened in Washington? [/INST] SELECT Left AS office FROM table_name_94 WHERE location = "washington" </s> |
What is the 2nd Leg, when Team 2 is Marbella? | CREATE TABLE table_name_65 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = "marbella" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (team_2 VARCHAR) Question: What is the 2nd Leg, when Team 2 is Marbella? [/INST] SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = "marbella" </s> |
What was the result F-A for round 5? | CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR) | SELECT result_f___a FROM table_name_22 WHERE round = "round 5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR) Question: What was the result F-A for round 5? [/INST] SELECT result_f___a FROM table_name_22 WHERE round = "round 5" </s> |
What is the most elevated Played that has a Lost smaller than 12, and a Name of ec amberg (n), and a Position smaller than 4? | CREATE TABLE table_name_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR) | SELECT MAX(played) FROM table_name_59 WHERE lost < 12 AND name = "ec amberg (n)" AND position < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR) Question: What is the most elevated Played that has a Lost smaller than 12, and a Name of ec amberg (n), and a Position smaller than 4... |
What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? | CREATE TABLE table_name_63 (lost INTEGER, name VARCHAR, position VARCHAR) | SELECT AVG(lost) FROM table_name_63 WHERE name = "ec amberg (n)" AND position < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (lost INTEGER, name VARCHAR, position VARCHAR) Question: What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? [/INST] SELECT AVG(lost) FROM table_name_63 WHERE ... |
What is the whole of Points that has a Drawn smaller than 1? | CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER) | SELECT SUM(points) FROM table_name_14 WHERE drawn < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER) Question: What is the whole of Points that has a Drawn smaller than 1? [/INST] SELECT SUM(points) FROM table_name_14 WHERE drawn < 1 </s> |
What is the whole of Drawn that has a Lost of 4? | CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR) Question: What is the whole of Drawn that has a Lost of 4? [/INST] SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4 </s> |
What is the whole of Drawn that has a Played larger than 14? | CREATE TABLE table_name_42 (drawn INTEGER, played INTEGER) | SELECT SUM(drawn) FROM table_name_42 WHERE played > 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (drawn INTEGER, played INTEGER) Question: What is the whole of Drawn that has a Played larger than 14? [/INST] SELECT SUM(drawn) FROM table_name_42 WHERE played > 14 </s> |
What was the result of the game on April 28? | CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_75 WHERE date = "april 28" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) Question: What was the result of the game on April 28? [/INST] SELECT result FROM table_name_75 WHERE date = "april 28" </s> |
Who was the home team on April 20 against Boston? | CREATE TABLE table_name_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_36 WHERE road_team = "boston" AND date = "april 20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) Question: Who was the home team on April 20 against Boston? [/INST] SELECT home_team FROM table_name_36 WHERE road_team = "boston" AND date = "a... |
What was the result of game 3? | CREATE TABLE table_name_42 (result VARCHAR, game VARCHAR) | SELECT result FROM table_name_42 WHERE game = "game 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (result VARCHAR, game VARCHAR) Question: What was the result of game 3? [/INST] SELECT result FROM table_name_42 WHERE game = "game 3" </s> |
What is the result of the game on April 17 against Los Angeles? | CREATE TABLE table_name_42 (result VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT result FROM table_name_42 WHERE road_team = "los angeles" AND date = "april 17" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (result VARCHAR, road_team VARCHAR, date VARCHAR) Question: What is the result of the game on April 17 against Los Angeles? [/INST] SELECT result FROM table_name_42 WHERE road_team = "los angeles" ... |
What is the date of game 3 with Boston as the road team? | CREATE TABLE table_name_56 (date VARCHAR, road_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_56 WHERE road_team = "boston" AND game = "game 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (date VARCHAR, road_team VARCHAR, game VARCHAR) Question: What is the date of game 3 with Boston as the road team? [/INST] SELECT date FROM table_name_56 WHERE road_team = "boston" AND game = "game... |
What is the IATA for Esperadinha Airport? | CREATE TABLE table_name_3 (iata VARCHAR, airportname VARCHAR) | SELECT iata FROM table_name_3 WHERE airportname = "esperadinha airport" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (iata VARCHAR, airportname VARCHAR) Question: What is the IATA for Esperadinha Airport? [/INST] SELECT iata FROM table_name_3 WHERE airportname = "esperadinha airport" </s> |
What is the name of the airport in São Filipe that has an IATA of sfl? | CREATE TABLE table_name_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR) | SELECT airportname FROM table_name_3 WHERE city___town = "são filipe" AND iata = "sfl" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR) Question: What is the name of the airport in São Filipe that has an IATA of sfl? [/INST] SELECT airportname FROM table_name_3 WHERE city___to... |
In which city is the ICAO gvma? | CREATE TABLE table_name_36 (city___town VARCHAR, icao VARCHAR) | SELECT city___town FROM table_name_36 WHERE icao = "gvma" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (city___town VARCHAR, icao VARCHAR) Question: In which city is the ICAO gvma? [/INST] SELECT city___town FROM table_name_36 WHERE icao = "gvma" </s> |
What is the ICAO for the IATA bvc? | CREATE TABLE table_name_88 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_88 WHERE iata = "bvc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (icao VARCHAR, iata VARCHAR) Question: What is the ICAO for the IATA bvc? [/INST] SELECT icao FROM table_name_88 WHERE iata = "bvc" </s> |
On which island is Esperadinha airport located? | CREATE TABLE table_name_53 (island VARCHAR, airportname VARCHAR) | SELECT island FROM table_name_53 WHERE airportname = "esperadinha airport" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (island VARCHAR, airportname VARCHAR) Question: On which island is Esperadinha airport located? [/INST] SELECT island FROM table_name_53 WHERE airportname = "esperadinha airport" </s> |
Which city has an ICAO of gvsf? | CREATE TABLE table_name_53 (city___town VARCHAR, icao VARCHAR) | SELECT city___town FROM table_name_53 WHERE icao = "gvsf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (city___town VARCHAR, icao VARCHAR) Question: Which city has an ICAO of gvsf? [/INST] SELECT city___town FROM table_name_53 WHERE icao = "gvsf" </s> |
How many gold when silver is less than 32, bronze is 25, and overall is less than 67? | CREATE TABLE table_name_17 (gold INTEGER, overall VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_17 WHERE silver < 32 AND bronze = 25 AND overall < 67 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (gold INTEGER, overall VARCHAR, silver VARCHAR, bronze VARCHAR) Question: How many gold when silver is less than 32, bronze is 25, and overall is less than 67? [/INST] SELECT SUM(gold) FROM table_n... |
How many silver when bronze is 25 and overall is less than 67? | CREATE TABLE table_name_97 (silver INTEGER, bronze VARCHAR, overall VARCHAR) | SELECT SUM(silver) FROM table_name_97 WHERE bronze = 25 AND overall < 67 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (silver INTEGER, bronze VARCHAR, overall VARCHAR) Question: How many silver when bronze is 25 and overall is less than 67? [/INST] SELECT SUM(silver) FROM table_name_97 WHERE bronze = 25 AND overal... |
what is the least silver when overall is less than 67, team is saami and gold is less than 5? | CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, overall VARCHAR, team VARCHAR) | SELECT MIN(silver) FROM table_name_2 WHERE overall < 67 AND team = "saami" AND gold < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, overall VARCHAR, team VARCHAR) Question: what is the least silver when overall is less than 67, team is saami and gold is less than 5? [/INST] SELECT MIN(silver) FROM ... |
what is the average bronze when the team is northwest territories and gold is more than 34? | CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR) Question: what is the average bronze when the team is northwest territories and gold is more than 34? [/INST] SELECT AVG(bronze) FROM table_name_23 WHER... |
How many silver when the team is northwest territories and gold is less than 34? | CREATE TABLE table_name_14 (silver VARCHAR, team VARCHAR, gold VARCHAR) | SELECT COUNT(silver) FROM table_name_14 WHERE team = "northwest territories" AND gold < 34 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (silver VARCHAR, team VARCHAR, gold VARCHAR) Question: How many silver when the team is northwest territories and gold is less than 34? [/INST] SELECT COUNT(silver) FROM table_name_14 WHERE team = ... |
What is the away team with West Ham United as the home team? | CREATE TABLE table_name_73 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_73 WHERE home_team = "west ham united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team with West Ham United as the home team? [/INST] SELECT away_team FROM table_name_73 WHERE home_team = "west ham united" </s> |
What is the attendance of tie no. 23? | CREATE TABLE table_name_34 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_34 WHERE tie_no = "23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (attendance VARCHAR, tie_no VARCHAR) Question: What is the attendance of tie no. 23? [/INST] SELECT attendance FROM table_name_34 WHERE tie_no = "23" </s> |
What is the attendance of the match with Carlisle united as the home team? | CREATE TABLE table_name_64 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_64 WHERE home_team = "carlisle united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (attendance VARCHAR, home_team VARCHAR) Question: What is the attendance of the match with Carlisle united as the home team? [/INST] SELECT attendance FROM table_name_64 WHERE home_team = "carlisle... |
what is the sum of total when year(s) won is 1985? | CREATE TABLE table_name_55 (total INTEGER, year_s__won VARCHAR) | SELECT SUM(total) FROM table_name_55 WHERE year_s__won = "1985" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (total INTEGER, year_s__won VARCHAR) Question: what is the sum of total when year(s) won is 1985? [/INST] SELECT SUM(total) FROM table_name_55 WHERE year_s__won = "1985" </s> |
what is the finish when the country is united states and the player is tiger woods? | CREATE TABLE table_name_51 (finish VARCHAR, country VARCHAR, player VARCHAR) | SELECT finish FROM table_name_51 WHERE country = "united states" AND player = "tiger woods" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (finish VARCHAR, country VARCHAR, player VARCHAR) Question: what is the finish when the country is united states and the player is tiger woods? [/INST] SELECT finish FROM table_name_51 WHERE countr... |
How many times was the finish t32? | CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR) | SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR) Question: How many times was the finish t32? [/INST] SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32" </s> |
Who was the home team on 8 January 1946 with a tie no of 4? | CREATE TABLE table_name_71 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_71 WHERE date = "8 january 1946" AND tie_no = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) Question: Who was the home team on 8 January 1946 with a tie no of 4? [/INST] SELECT home_team FROM table_name_71 WHERE date = "8 january 1946" AND... |
What is the score of the game where Wrexham is the home team and the date is Blackpool? | CREATE TABLE table_name_1 (score VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT score FROM table_name_1 WHERE home_team = "wrexham" AND date = "blackpool" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score VARCHAR, home_team VARCHAR, date VARCHAR) Question: What is the score of the game where Wrexham is the home team and the date is Blackpool? [/INST] SELECT score FROM table_name_1 WHERE home_t... |
Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv? | CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) | SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) Question: Name the Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv? [/INST] SELECT programming FROM table_name... |
Name the highest Channel with an Aspect of 4:3, and a PSIP Short Name of ibc-tv? | CREATE TABLE table_name_12 (channel INTEGER, aspect VARCHAR, psip_short_name VARCHAR) | SELECT MAX(channel) FROM table_name_12 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (channel INTEGER, aspect VARCHAR, psip_short_name VARCHAR) Question: Name the highest Channel with an Aspect of 4:3, and a PSIP Short Name of ibc-tv? [/INST] SELECT MAX(channel) FROM table_name_12 ... |
WHich Video has a Channel larger than 56.4? | CREATE TABLE table_name_17 (video VARCHAR, channel INTEGER) | SELECT video FROM table_name_17 WHERE channel > 56.4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (video VARCHAR, channel INTEGER) Question: WHich Video has a Channel larger than 56.4? [/INST] SELECT video FROM table_name_17 WHERE channel > 56.4 </s> |
Which Programming has an Aspect of 4:3 and a PSIP Short Name of metvla? | CREATE TABLE table_name_98 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) | SELECT programming FROM table_name_98 WHERE aspect = "4:3" AND psip_short_name = "metvla" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR) Question: Which Programming has an Aspect of 4:3 and a PSIP Short Name of metvla? [/INST] SELECT programming FROM table_name_98 WHERE ... |
Which Channel has an Aspect of 4:3 and a Programming of me-tv? | CREATE TABLE table_name_10 (channel VARCHAR, aspect VARCHAR, programming VARCHAR) | SELECT channel FROM table_name_10 WHERE aspect = "4:3" AND programming = "me-tv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (channel VARCHAR, aspect VARCHAR, programming VARCHAR) Question: Which Channel has an Aspect of 4:3 and a Programming of me-tv? [/INST] SELECT channel FROM table_name_10 WHERE aspect = "4:3" AND pr... |
Who is the opponent in a game higher than 76 on April 6? | CREATE TABLE table_name_52 (opponent VARCHAR, game VARCHAR, april VARCHAR) | SELECT opponent FROM table_name_52 WHERE game > 76 AND april = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (opponent VARCHAR, game VARCHAR, april VARCHAR) Question: Who is the opponent in a game higher than 76 on April 6? [/INST] SELECT opponent FROM table_name_52 WHERE game > 76 AND april = 6 </s> |
What is the earliest April date with a game less than 76? | CREATE TABLE table_name_10 (april INTEGER, game INTEGER) | SELECT MIN(april) FROM table_name_10 WHERE game < 76 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (april INTEGER, game INTEGER) Question: What is the earliest April date with a game less than 76? [/INST] SELECT MIN(april) FROM table_name_10 WHERE game < 76 </s> |
Which Tracking Method has a Latest stable release of n/a, and a Price in USD of from $202/month? | CREATE TABLE table_name_25 (tracking_method VARCHAR, latest_stable_release VARCHAR, price_in_usd VARCHAR) | SELECT tracking_method FROM table_name_25 WHERE latest_stable_release = "n/a" AND price_in_usd = "from $202/month" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (tracking_method VARCHAR, latest_stable_release VARCHAR, price_in_usd VARCHAR) Question: Which Tracking Method has a Latest stable release of n/a, and a Price in USD of from $202/month? [/INST] SEL... |
Which Name has a Company of quantcast corporation? | CREATE TABLE table_name_77 (name VARCHAR, company VARCHAR) | SELECT name FROM table_name_77 WHERE company = "quantcast corporation" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (name VARCHAR, company VARCHAR) Question: Which Name has a Company of quantcast corporation? [/INST] SELECT name FROM table_name_77 WHERE company = "quantcast corporation" </s> |
Name the Latest stable release that has a Price in USD of free / negotiable? | CREATE TABLE table_name_36 (latest_stable_release VARCHAR, price_in_usd VARCHAR) | SELECT latest_stable_release FROM table_name_36 WHERE price_in_usd = "free / negotiable" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (latest_stable_release VARCHAR, price_in_usd VARCHAR) Question: Name the Latest stable release that has a Price in USD of free / negotiable? [/INST] SELECT latest_stable_release FROM table_name_36 ... |
Name the Company which has a Price in USD of free / negotiable? | CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR) | SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (company VARCHAR, price_in_usd VARCHAR) Question: Name the Company which has a Price in USD of free / negotiable? [/INST] SELECT company FROM table_name_69 WHERE price_in_usd = "free / negotiable" ... |
Name the Company which has a Tracking Method of cookies via javascript, and a Latest stable release of n/a, and a Name of clicktale? | CREATE TABLE table_name_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR) | SELECT company FROM table_name_61 WHERE tracking_method = "cookies via javascript" AND latest_stable_release = "n/a" AND name = "clicktale" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR) Question: Name the Company which has a Tracking Method of cookies via javascript, and a Latest stable release... |
Name the Tracking Method which has a Company of mapmyuser, llc? | CREATE TABLE table_name_24 (tracking_method VARCHAR, company VARCHAR) | SELECT tracking_method FROM table_name_24 WHERE company = "mapmyuser, llc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (tracking_method VARCHAR, company VARCHAR) Question: Name the Tracking Method which has a Company of mapmyuser, llc? [/INST] SELECT tracking_method FROM table_name_24 WHERE company = "mapmyuser, ll... |
What was the tie number of the game when the queens park rangers were the home team? | CREATE TABLE table_name_7 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_7 WHERE home_team = "queens park rangers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (tie_no VARCHAR, home_team VARCHAR) Question: What was the tie number of the game when the queens park rangers were the home team? [/INST] SELECT tie_no FROM table_name_7 WHERE home_team = "queens p... |
What was the tie number when the away team was Wrexham? | CREATE TABLE table_name_91 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_91 WHERE away_team = "wrexham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (tie_no VARCHAR, away_team VARCHAR) Question: What was the tie number when the away team was Wrexham? [/INST] SELECT tie_no FROM table_name_91 WHERE away_team = "wrexham" </s> |
Which brigade has a population of 190? | CREATE TABLE table_name_44 (brigade VARCHAR, population VARCHAR) | SELECT brigade FROM table_name_44 WHERE population = "190" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (brigade VARCHAR, population VARCHAR) Question: Which brigade has a population of 190? [/INST] SELECT brigade FROM table_name_44 WHERE population = "190" </s> |
What defending forces have a population of 650? | CREATE TABLE table_name_22 (defending_forces VARCHAR, population VARCHAR) | SELECT defending_forces FROM table_name_22 WHERE population = "650" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (defending_forces VARCHAR, population VARCHAR) Question: What defending forces have a population of 650? [/INST] SELECT defending_forces FROM table_name_22 WHERE population = "650" </s> |
Which defending forces have the name Danna? | CREATE TABLE table_name_77 (defending_forces VARCHAR, name VARCHAR) | SELECT defending_forces FROM table_name_77 WHERE name = "danna" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (defending_forces VARCHAR, name VARCHAR) Question: Which defending forces have the name Danna? [/INST] SELECT defending_forces FROM table_name_77 WHERE name = "danna" </s> |
What name has a population of 810? | CREATE TABLE table_name_13 (name VARCHAR, population VARCHAR) | SELECT name FROM table_name_13 WHERE population = "810" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (name VARCHAR, population VARCHAR) Question: What name has a population of 810? [/INST] SELECT name FROM table_name_13 WHERE population = "810" </s> |
Which defending forces has a population of 230? | CREATE TABLE table_name_62 (defending_forces VARCHAR, population VARCHAR) | SELECT defending_forces FROM table_name_62 WHERE population = "230" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (defending_forces VARCHAR, population VARCHAR) Question: Which defending forces has a population of 230? [/INST] SELECT defending_forces FROM table_name_62 WHERE population = "230" </s> |
In what region was Degeneration released in digital format on 19 July 2008? | CREATE TABLE table_name_41 (region VARCHAR, format VARCHAR, date VARCHAR) | SELECT region FROM table_name_41 WHERE format = "digital" AND date = "19 july 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (region VARCHAR, format VARCHAR, date VARCHAR) Question: In what region was Degeneration released in digital format on 19 July 2008? [/INST] SELECT region FROM table_name_41 WHERE format = "digital... |
What was the name of the catalog released on 19 July 2008? | CREATE TABLE table_name_55 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_55 WHERE date = "19 july 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (catalog VARCHAR, date VARCHAR) Question: What was the name of the catalog released on 19 July 2008? [/INST] SELECT catalog FROM table_name_55 WHERE date = "19 july 2008" </s> |
who is the away team when the home team is luton town? | CREATE TABLE table_name_11 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_11 WHERE home_team = "luton town" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (away_team VARCHAR, home_team VARCHAR) Question: who is the away team when the home team is luton town? [/INST] SELECT away_team FROM table_name_11 WHERE home_team = "luton town" </s> |
what is the attendance when the home team is chester city? | CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_51 WHERE home_team = "chester city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR) Question: what is the attendance when the home team is chester city? [/INST] SELECT attendance FROM table_name_51 WHERE home_team = "chester city" </s> |
who is the home team when attendance is 25 november 1997 and the away team is exeter city? | CREATE TABLE table_name_82 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_82 WHERE attendance = "25 november 1997" AND away_team = "exeter city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR) Question: who is the home team when attendance is 25 november 1997 and the away team is exeter city? [/INST] SELECT home_team FROM table_n... |
Who are the semifinalists of the tournament with magnus gustafsson as the finalist? | CREATE TABLE table_name_90 (semifinalists VARCHAR, finalist VARCHAR) | SELECT semifinalists FROM table_name_90 WHERE finalist = "magnus gustafsson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (semifinalists VARCHAR, finalist VARCHAR) Question: Who are the semifinalists of the tournament with magnus gustafsson as the finalist? [/INST] SELECT semifinalists FROM table_name_90 WHERE finalis... |
Who is the winner and score of the tournament with semifinalists goran prpić sergi bruguera? | CREATE TABLE table_name_43 (winner_and_score VARCHAR, semifinalists VARCHAR) | SELECT winner_and_score FROM table_name_43 WHERE semifinalists = "goran prpić sergi bruguera" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (winner_and_score VARCHAR, semifinalists VARCHAR) Question: Who is the winner and score of the tournament with semifinalists goran prpić sergi bruguera? [/INST] SELECT winner_and_score FROM table_n... |
Who is the winner and score during the week of April 22? | CREATE TABLE table_name_54 (winner_and_score VARCHAR, week VARCHAR) | SELECT winner_and_score FROM table_name_54 WHERE week = "april 22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (winner_and_score VARCHAR, week VARCHAR) Question: Who is the winner and score during the week of April 22? [/INST] SELECT winner_and_score FROM table_name_54 WHERE week = "april 22" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.