text
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR) Question: What is Weekly Rank of TV series with Episode ""A Love of a Lifetime""? [/INST] SELECT Weekly_Rank FROM TV_series WHERE Episode = ""A Love of a Lifetime"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (nationality VARCHAR, position VARCHAR, college VARCHAR) Question: What is the nationality for the position of (d), and college was SC Bern ( Swiss )? [/INST] SELECT nationality FROM table_name_24 WHERE position = ""(d)"" AND college = ""sc bern ( swiss )"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year INTEGER, points VARCHAR, class VARCHAR) Question: What was the last year that they had less than 16 points in class 500cc? [/INST] SELECT MAX(year) FROM table_name_11 WHERE points < 16 AND class = ""500cc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (draws INTEGER, season INTEGER) Question: What is the sum of Draws for a season later than 1964? [/INST] SELECT SUM(draws) FROM table_name_67 WHERE season > 1964 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (Id VARCHAR) Question: What is the 2008 result when 2012 and 2005 are both QF? [/INST] SELECT 2008 FROM table_name_67 WHERE 2012 = ""qf"" AND 2005 = ""qf"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Person (gender VARCHAR) Question: How many females does this network has? [/INST] SELECT COUNT(*) FROM Person WHERE gender = 'female'
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (railway VARCHAR, objectnumber VARCHAR) Question: What is the UK Railway with an ObjectNumber of 1975-7023? [/INST] SELECT railway FROM table_name_16 WHERE objectnumber = ""1975-7023"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR) Question: What Year has a Tyre of D, and Chassis of Mazda 787? [/INST] SELECT year FROM table_name_55 WHERE tyre = ""d"" AND chassis = ""mazda 787"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (winning_score VARCHAR, date VARCHAR) Question: What was the winning score for the tournament played on Jul 14, 1973? [/INST] SELECT winning_score FROM table_name_96 WHERE date = ""jul 14, 1973"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, decision VARCHAR, record VARCHAR) Question: What was the score of the game with a decision of Peeters and a record of 29–3–11? [/INST] SELECT score FROM table_name_25 WHERE decision = ""peeters"" AND record = ""29–3–11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR) Question: What are the results of those matches where the championship is French Open? [/INST] SELECT score FROM table_29163303_2 WHERE championship = ""French Open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, Number_Deaths VARCHAR) Question: Find the names of the regions which were affected by the storm that killed the greatest number of people. [/INST] SELECT TOP 1 T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id ORDER BY T3.Number_Deaths DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (series VARCHAR, launch_date VARCHAR) Question: What is Series, when Launch Date is 23 February 2013? [/INST] SELECT series FROM table_name_16 WHERE launch_date = ""23 february 2013"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (rank INTEGER, total VARCHAR, gold VARCHAR) Question: What was the average rank for the team that had more than 5 medals and more than 6 gold medals? [/INST] SELECT AVG(rank) FROM table_name_9 WHERE total > 5 AND gold > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (swimmer VARCHAR, time VARCHAR) Question: Who got the time of 7:52.04? [/INST] SELECT swimmer FROM table_name_41 WHERE time = ""7:52.04"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR) Question: Which Position has an Overall larger than 147, and a Pick # of 21? [/INST] SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR) Question: How many military deaths were there when there were 1,200+ military and/or civilian wounded? [/INST] SELECT military_deaths FROM table_name_15 WHERE military_and_or_civilian_wounded = ""1,200+"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (drawn INTEGER, points VARCHAR, games VARCHAR) Question: Name the sum of drawn for points less than 6 and games more than 8 [/INST] SELECT SUM(drawn) FROM table_name_85 WHERE points < 6 AND games > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_final VARCHAR) Question: What was the outcome from the 2009 match in the final against Chong Wei Feng? [/INST] SELECT outcome FROM table_name_44 WHERE year = 2009 AND opponent_in_final = ""chong wei feng"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (total INTEGER, year_s__won VARCHAR) Question: What is the lowest total that has 1977 as the year (s) won? [/INST] SELECT MIN(total) FROM table_name_32 WHERE year_s__won = ""1977"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (february INTEGER, record VARCHAR) Question: How many games in February have a record of 40-15-5? [/INST] SELECT SUM(february) FROM table_name_8 WHERE record = ""40-15-5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, tries VARCHAR, points VARCHAR) Question: What position did Lee Gilmour play while having more than 4 Tries and 20 points? [/INST] SELECT position FROM table_name_58 WHERE tries > 4 AND points = 20 AND player = ""lee gilmour"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (money_spent VARCHAR, _3q VARCHAR, candidate VARCHAR) Question: How much money has Candidate Dennis Kucinich spent? [/INST] SELECT money_spent, _3q FROM table_name_43 WHERE candidate = ""dennis kucinich"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (catalog__number VARCHAR, label VARCHAR, region VARCHAR) Question: What is the catalog number of the album whose label is Atlantic Records and region is the United States? [/INST] SELECT catalog__number FROM table_name_8 WHERE label = ""atlantic records"" AND region = ""united states"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR) Question: Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? [/INST] SELECT directed_by FROM table_2370579_1 WHERE written_by = ""Tony O'Grady (pseudonym of Brian Clemens)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085947_32 (trans_2 VARCHAR, total_time VARCHAR) Question: What is the trans 2 duration if the total time is 1:51:19.45? [/INST] SELECT trans_2 FROM table_17085947_32 WHERE total_time = ""1:51:19.45"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR) Question: How many blocks have a weight greater than 82, and a height less than 199? [/INST] SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15530244_5 (driver VARCHAR, race_2 VARCHAR) Question: Name the driver for race 2 7 [/INST] SELECT driver FROM table_15530244_5 WHERE race_2 = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (english_translation VARCHAR, simplified_chinese VARCHAR) Question: What is the English translation of 山鬼? [/INST] SELECT english_translation FROM table_name_93 WHERE simplified_chinese = ""山鬼"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (starting_point VARCHAR, terminus VARCHAR) Question: What is the starting point of the route that has its terminus at Ecat/Rosa Park Transit Center? [/INST] SELECT starting_point FROM table_name_27 WHERE terminus = ""ecat/rosa park transit center"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR) Question: What was the score of the game played in the 2012 Africa Cup of Nations? [/INST] SELECT score FROM table_name_90 WHERE competition = ""2012 africa cup of nations"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR) Question: What is the frequency of the train to Bangalore? [/INST] SELECT frequency FROM table_name_82 WHERE destination = ""bangalore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR) Question: Who is the captain of Dave Jones' team? [/INST] SELECT team AS captain FROM table_26593762_2 WHERE manager = ""Dave Jones"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customer_orders (order_details VARCHAR) Question: How many orders have detail ""Second time""? [/INST] SELECT COUNT(*) FROM customer_orders WHERE order_details = ""Second time"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (bats_throws VARCHAR, players VARCHAR) Question: What side does Clayton Allison Bat/Throw from? [/INST] SELECT bats_throws FROM table_name_87 WHERE players = ""clayton allison"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28081876_6 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) Question: When was originally aired the episode with an audience of 1.57 million us viewers? [/INST] SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ = ""1.57"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (ifop_5_11_09 VARCHAR, ifop_1_9_09 VARCHAR) Question: Name the lfop for 5/11/09 with lfop 1/9/09 of 5% [/INST] SELECT ifop_5_11_09 FROM table_name_18 WHERE ifop_1_9_09 = ""5%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19260_1 (_percentage VARCHAR, total VARCHAR) Question: Name the % for total being 57613 [/INST] SELECT _percentage FROM table_19260_1 WHERE total = 57613 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR) Question: what is the year where the qualifying score was 15.150? [/INST] SELECT year FROM table_13114949_3 WHERE qualifying_score = ""15.150"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR) Question: How many rounds had an overall of 211? [/INST] SELECT COUNT(round) FROM table_name_24 WHERE overall = 211 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR) Question: What is the Place of the Player with a Score of 72-70-72=214? [/INST] SELECT place FROM table_name_86 WHERE score = 72 - 70 - 72 = 214 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (qual_1 VARCHAR, best VARCHAR) Question: What is the qual 1 with a 1:09.567 best? [/INST] SELECT qual_1 FROM table_name_70 WHERE best = ""1:09.567"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (played VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, draw VARCHAR) Question: When goals scored is more than 18, draw is less than 4, and goals conceded is more than 24, what is the sum of played? [/INST] SELECT COUNT(played) FROM table_name_33 WHERE goals_scored > 18 AND draw < 4 AND goals_conceded > 24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR) Question: How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent? [/INST] SELECT attendance FROM table_name_78 WHERE game_site = ""griffith stadium"" AND opponent = ""philadelphia eagles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR) Question: Which Semifinalists have a Tournament of rome? [/INST] SELECT semifinalists FROM table_name_28 WHERE tournament = ""rome"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (event VARCHAR, score VARCHAR) Question: Name the Event which has a Score of 209-197? [/INST] SELECT event FROM table_name_24 WHERE score = ""209-197"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_41 (party VARCHAR, candidates VARCHAR) Question: When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party? [/INST] SELECT party FROM table_19753079_41 WHERE candidates = ""Mark Critz (D) 50.8% Tim Burns (R) 49.2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (bronze VARCHAR, location VARCHAR) Question: Who was the bronze medal when the Asian Games were held in Busan? [/INST] SELECT bronze FROM table_name_81 WHERE location = ""busan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE player (Gender VARCHAR, Occupation VARCHAR) Question: What are the gender and occupation of players? [/INST] SELECT Gender, Occupation FROM player "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR) Question: What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? [/INST] SELECT AVG(year) FROM table_name_47 WHERE saar = ""fk pirmasens"" AND hessen = ""wormatia worms"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20396710_1 (drawn VARCHAR, points_for VARCHAR) Question: when points for is 39 what is the total number of drawn [/INST] SELECT drawn FROM table_20396710_1 WHERE points_for = ""39"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (airport VARCHAR, country VARCHAR, city VARCHAR) Question: What is the Airport when France was the country, and Montpellier was the city? [/INST] SELECT airport FROM table_name_82 WHERE country = ""france"" AND city = ""montpellier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) Question: What Driver had 50+3 Points? [/INST] SELECT driver FROM table_name_99 WHERE points = ""50+3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14655985_1 (college VARCHAR, position VARCHAR) Question: what's the college with position being placekicker [/INST] SELECT college FROM table_14655985_1 WHERE position = ""Placekicker"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR) Question: Who is the away team when the venue is cairns convention centre? [/INST] SELECT away_team FROM table_name_45 WHERE venue = ""cairns convention centre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (event VARCHAR, name VARCHAR) Question: What event did Rastislav Turecek participate in? [/INST] SELECT event FROM table_name_88 WHERE name = ""rastislav turecek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE singer (Citizenship VARCHAR, Net_Worth_Millions INTEGER) Question: Show different citizenships and the maximum net worth of singers of each citizenship. [/INST] SELECT Citizenship, MAX(Net_Worth_Millions) FROM singer GROUP BY Citizenship "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR) Question: What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415? [/INST] SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE machine (machine_id VARCHAR, value_points INTEGER); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) Question: Show names of technicians who are assigned to repair machines with value point more than 70. [/INST] SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID WHERE T2.value_points > 70 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR) Question: Who is the color commentator for ESPN from 1990 to 1992? [/INST] SELECT color_commentator_s_ FROM table_name_70 WHERE network = ""espn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (club VARCHAR, round VARCHAR, score VARCHAR) Question: Which club has a 2nd round score of 1:0, 3:0? [/INST] SELECT club FROM table_name_39 WHERE round = ""2nd round"" AND score = ""1:0, 3:0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (host_team VARCHAR, stadium VARCHAR, final_score VARCHAR) Question: Who was the host team at Louisiana Superdome when the final score was 10-20? [/INST] SELECT host_team FROM table_name_21 WHERE stadium = ""louisiana superdome"" AND final_score = ""10-20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_2 (overall_record VARCHAR, road_record VARCHAR) Question: What's the overall record of the team with 4-3 road record? [/INST] SELECT overall_record FROM table_22993636_2 WHERE road_record = ""4-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) Question: What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102? [/INST] SELECT AVG(grid) FROM table_name_16 WHERE constructor = ""brm"" AND driver = ""tony maggs"" AND laps > 102 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR, octal VARCHAR) Question: What is the sum of the glyph with a binary less than 111001, an octal less than 65, and a hexadecimal less than 30? [/INST] SELECT SUM(glyph) FROM table_name_96 WHERE binary < 111001 AND octal < 65 AND hexadecimal < 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (result VARCHAR, venue VARCHAR) Question: what number of people went to the tiger stadium [/INST] SELECT result FROM table_name_89 WHERE venue = ""tiger stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (meet VARCHAR, event VARCHAR) Question: Which championship was the 100m backstroke performed? [/INST] SELECT meet FROM table_name_22 WHERE event = ""100m backstroke"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (college VARCHAR, player VARCHAR) Question: What college did hunter henry go to? [/INST] SELECT college FROM table_name_30 WHERE player = ""hunter henry"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR) Question: Which English has a Sanskrit of samādhi? [/INST] SELECT english FROM table_name_42 WHERE sanskrit = ""samādhi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR) Question: Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11? [/INST] SELECT MIN(played) FROM table_name_54 WHERE team = ""vasco da gama"" AND against < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (losses INTEGER, mlb_season VARCHAR) Question: How many losses did the 1943 MLB have? [/INST] SELECT AVG(losses) FROM table_name_61 WHERE mlb_season = ""1943"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (position VARCHAR, school VARCHAR) Question: What position is for Plant high school? [/INST] SELECT position FROM table_name_47 WHERE school = ""plant high school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER) Question: What is the average losses for 22 goals? [/INST] SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1241987_1 (regular_season VARCHAR, playoffs VARCHAR) Question: Which regular season contains playoffs in division finals? [/INST] SELECT regular_season FROM table_1241987_1 WHERE playoffs = ""division Finals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) Question: How many poles does status grand prix have? [/INST] SELECT poles FROM table_name_57 WHERE racing_team = ""status grand prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (position VARCHAR, league VARCHAR, season VARCHAR) Question: Which Position has a League of southern league premier division, and a Season of 2004–05? [/INST] SELECT position FROM table_name_90 WHERE league = ""southern league premier division"" AND season = ""2004–05"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR) Question: Name the location attendance for utah [/INST] SELECT location_attendance FROM table_23211041_10 WHERE team = ""Utah"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2784232_1 (hebrew_form VARCHAR, arabic_form VARCHAR) Question: How many hebrew forms are there for the arabic form yuktibu يكتب? [/INST] SELECT COUNT(hebrew_form) FROM table_2784232_1 WHERE arabic_form = ""yuktibu يكتب"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (peak_date VARCHAR, main_artist VARCHAR) Question: What was the peak date of Kelis's song? [/INST] SELECT peak_date FROM table_name_1 WHERE main_artist = ""kelis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR) Question: What is the Away with a Time that is 14:00? [/INST] SELECT away FROM table_name_28 WHERE time = ""14:00"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR) Question: What's the district that Otto Passman is the incumbent of? [/INST] SELECT district FROM table_1341843_19 WHERE incumbent = ""Otto Passman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (country VARCHAR, finish VARCHAR) Question: Which country has a finish of t22? [/INST] SELECT country FROM table_name_87 WHERE finish = ""t22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15038373_1 (operating_systems VARCHAR, software VARCHAR) Question: What are all the operating systems for sbagen? [/INST] SELECT operating_systems FROM table_15038373_1 WHERE software = ""SBaGen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (constructor VARCHAR, location VARCHAR) Question: Tell me the constructor for zolder [/INST] SELECT constructor FROM table_name_64 WHERE location = ""zolder"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (rich_savage VARCHAR, undecided VARCHAR) Question: What is the Rich Savage percentage in the poll that had undecideds at 68%? [/INST] SELECT rich_savage FROM table_name_82 WHERE undecided = ""68%"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Dogs (age INTEGER) Question: What is the age of the oldest dog? [/INST] SELECT MAX(age) FROM Dogs
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR) Question: Which Attendance has a Score of 0:2? [/INST] SELECT MAX(attendance) FROM table_name_29 WHERE score = ""0:2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR, province VARCHAR) Question: What's the percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%? [/INST] SELECT _percentage_2001 FROM table_1939405_2 WHERE _percentage_2011 = ""0.8%"" AND province = ""Manitoba"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR) Question: what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1 [/INST] SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (t_100 VARCHAR, is_3_m1945 VARCHAR) Question: What's the T-100 when the IS-3 is 150 (225)? [/INST] SELECT t_100 FROM table_name_51 WHERE is_3_m1945 = ""150 (225)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (total VARCHAR, set_2 VARCHAR) Question: What is the total when the score for set 2 is 20–25? [/INST] SELECT total FROM table_name_21 WHERE set_2 = ""20–25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_25 (type VARCHAR, cyrillic_name_other_names VARCHAR) Question: When оџаци is the cyrillic name other names what is the type? [/INST] SELECT type FROM table_2562572_25 WHERE cyrillic_name_other_names = ""Оџаци"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (category VARCHAR, result VARCHAR, year VARCHAR) Question: In 2007 what category won? [/INST] SELECT category FROM table_name_62 WHERE result = ""won"" AND year < 2007 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (club VARCHAR, season VARCHAR, away_result VARCHAR, round VARCHAR) Question: Away result of 1–1, and a Round of 1r, and a Season of 1967-68 involves what club? [/INST] SELECT club FROM table_name_92 WHERE away_result = ""1–1"" AND round = ""1r"" AND season = ""1967-68"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13836704_4 (aircraft_movements_2009 INTEGER, change_2008_09 VARCHAR) Question: what is the maximum aircraft movements 2009 with change 2008/09 being 18.2% [/INST] SELECT MAX(aircraft_movements_2009) FROM table_13836704_4 WHERE change_2008_09 = ""18.2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2572788_1 (county VARCHAR, milepost VARCHAR) Question: How many counties are at milepost 69.5? [/INST] SELECT COUNT(county) FROM table_2572788_1 WHERE milepost = ""69.5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (last_year VARCHAR, first_year VARCHAR) Question: When did the comic which came out in 1982 end? [/INST] SELECT last_year FROM table_name_75 WHERE first_year = ""1982"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (save VARCHAR, opponent VARCHAR) Question: What is the save of the game with rice as the opponent? [/INST] SELECT save FROM table_name_49 WHERE opponent = ""rice"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (round VARCHAR, opponent VARCHAR) Question: What round has hereford united as the opponent? [/INST] SELECT round FROM table_name_50 WHERE opponent = ""hereford united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, score_f_a VARCHAR, opponents VARCHAR) Question: Score F–A of 2–0, and a Opponents of walsall has what date? [/INST] SELECT date FROM table_name_49 WHERE score_f_a = ""2–0"" AND opponents = ""walsall"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (transfers_out VARCHAR, country VARCHAR) Question: What are the Transfers out for Peru? [/INST] SELECT transfers_out FROM table_name_76 WHERE country = ""peru"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE albums (title VARCHAR) Question: List every album ordered by album title in ascending order. [/INST] SELECT title FROM albums ORDER BY title
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (name VARCHAR, floors VARCHAR, city VARCHAR, completion VARCHAR) Question: What building is in Shenzhen, have less than 115 floors, and was completed before 2017? [/INST] SELECT name FROM table_name_79 WHERE city = ""shenzhen"" AND completion < 2017 AND floors < 115 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (worldwide_gross VARCHAR, director VARCHAR) Question: What was the worldwide gross for the film directed by joe pytka? [/INST] SELECT worldwide_gross FROM table_name_65 WHERE director = ""joe pytka"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (drawn INTEGER, points VARCHAR, played VARCHAR) Question: What was the drawn amount for teams with points of 12 and played smaller than 10? [/INST] SELECT AVG(drawn) FROM table_name_13 WHERE points = 12 AND played < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (year VARCHAR, balance_sheet_total VARCHAR) Question: What year did the company have a balance sheet total of €125,359,000? [/INST] SELECT COUNT(year) FROM table_name_69 WHERE balance_sheet_total = ""€125,359,000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date_of_birth__age_ VARCHAR, position VARCHAR, club_province VARCHAR) Question: When was the queensland reds lock player born? [/INST] SELECT date_of_birth__age_ FROM table_name_7 WHERE position = ""lock"" AND club_province = ""queensland reds"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (country VARCHAR, score VARCHAR) Question: What is Country, when Score is 71-74-70=215? [/INST] SELECT country FROM table_name_13 WHERE score = 71 - 74 - 70 = 215 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (original_airdate VARCHAR, identity_ies_ VARCHAR) Question: Name the original airdate for mr. buckston [/INST] SELECT original_airdate FROM table_name_23 WHERE identity_ies_ = ""mr. buckston"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342367_5 (starter VARCHAR, player VARCHAR) Question: was herb graver a starter? [/INST] SELECT starter FROM table_14342367_5 WHERE player = ""Herb Graver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (team VARCHAR, assists VARCHAR, rank VARCHAR) Question: I want the team with assists greater than 118 and rank less than 2 [/INST] SELECT team FROM table_name_10 WHERE assists > 118 AND rank < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (visitor VARCHAR, date VARCHAR) Question: who visited on november 17? [/INST] SELECT visitor FROM table_name_29 WHERE date = ""november 17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student (major VARCHAR) Question: Show all majors and corresponding number of students. [/INST] SELECT major, COUNT(*) FROM Student GROUP BY major "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (attendance INTEGER, week VARCHAR) Question: Tell me the average attendance for week of 11 [/INST] SELECT AVG(attendance) FROM table_name_58 WHERE week = 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (name VARCHAR, qual_1 VARCHAR) Question: What is the name of the racer with a first-qualifying time of 58.991? [/INST] SELECT name FROM table_name_76 WHERE qual_1 = ""58.991"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (monarchs_served VARCHAR, name VARCHAR) Question: What monarch(s) did Stanley Baldwin (1st ministry) serve? [/INST] SELECT monarchs_served FROM table_name_18 WHERE name = ""stanley baldwin (1st ministry)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR) Question: Tell me the lowest tries for goals more than 0 with centre position and points less than 54 [/INST] SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = ""centre"" AND points < 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR) Question: What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8? [/INST] SELECT MIN(laps) FROM table_name_20 WHERE time_retired = ""engine"" AND grid > 8 AND driver = ""george eaton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR) Question: Name the episode summary for travis brown [/INST] SELECT episode AS Summary FROM table_2140071_12 WHERE coach = ""Travis Brown"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (player VARCHAR, to_par VARCHAR, country VARCHAR) Question: Which Player has a To par of –2, and a Country of wales? [/INST] SELECT player FROM table_name_7 WHERE to_par = ""–2"" AND country = ""wales"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (visa_3 VARCHAR, visa_1 VARCHAR) Question: Which Visa 3 has a Visa 1 of michael mcglinchey? [/INST] SELECT visa_3 FROM table_name_7 WHERE visa_1 = ""michael mcglinchey"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR) Question: For which location was the round smaller than 11 and the circuit streets of denver? [/INST] SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = ""streets of denver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (hindu VARCHAR, us__1912_ VARCHAR) Question: In 1912 when the U.S used sapphire, what was the Hindu birthstone? [/INST] SELECT hindu FROM table_name_77 WHERE us__1912_ = ""sapphire"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (lfn_support VARCHAR, architecture VARCHAR, name VARCHAR) Question: What is the LFN support with 32-bit architecture on Windows Home Server? [/INST] SELECT lfn_support FROM table_name_74 WHERE architecture = ""32-bit"" AND name = ""windows home server"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) Question: Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s? [/INST] SELECT nationality FROM table_name_10 WHERE distance = ""200m"" AND year > 1994 AND record = ""33.778s"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR) Question: Name the vote for thiago [/INST] SELECT vote FROM table_24233848_2 WHERE eliminated = ""Thiago"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR) Question: What is the game number on April 7? [/INST] SELECT COUNT(game) FROM table_name_43 WHERE date = ""april 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (defensive VARCHAR, rookie VARCHAR, week VARCHAR) Question: Who played defensive when the rookie Craig Point was playing during week 6? [/INST] SELECT defensive FROM table_name_97 WHERE rookie = ""craig point"" AND week = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (established VARCHAR, league VARCHAR) Question: Which Established has a League of ontario australian football league? [/INST] SELECT established FROM table_name_62 WHERE league = ""ontario australian football league"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR) Question: Where was the game played on 30 May 2004? [/INST] SELECT venue FROM table_name_6 WHERE date = ""30 may 2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) Question: Who manufactured the motorcycle that did 24 laps and 9 grids? [/INST] SELECT manufacturer FROM table_name_84 WHERE laps = 24 AND grid = 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (Id VARCHAR) Question: With a 2008 result of 153 what is the result for 2007? [/INST] SELECT 2007 FROM table_name_23 WHERE 2008 = ""153"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date_of_designation VARCHAR, name VARCHAR) Question: Which Date of designation has a Name of kurume? [/INST] SELECT date_of_designation FROM table_name_36 WHERE name = ""kurume"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (engine VARCHAR, points VARCHAR, chassis VARCHAR) Question: Which engine scored 6 points and used the march 88c chassis? [/INST] SELECT engine FROM table_name_51 WHERE points = 6 AND chassis = ""march 88c"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE enzyme (OMIM INTEGER) Question: What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes? [/INST] SELECT MAX(OMIM) FROM enzyme
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (engine VARCHAR, series VARCHAR) Question: Which engine is responsible for the USAC Championship Car? [/INST] SELECT engine FROM table_name_72 WHERE series = ""usac championship car"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR) Question: On what date did the person leave office who died on October 23, 1887 and who served 2 years? [/INST] SELECT left_office FROM table_name_58 WHERE years_in_office = ""2"" AND death = ""october 23, 1887"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR) Question: What the average amount of field goals Clark has if he has less than 3 touch downs and less than 5 points? [/INST] SELECT AVG(field_goals) FROM table_name_25 WHERE touchdowns < 3 AND player = ""clark"" AND points < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (opponents VARCHAR, round VARCHAR) Question: Which opponent made it to the final round? [/INST] SELECT opponents FROM table_name_33 WHERE round = ""final"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27654988_1 (season VARCHAR, opponent VARCHAR) Question: How many seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach? [/INST] SELECT COUNT(season) FROM table_27654988_1 WHERE opponent = ""Vamos Idaliou Krka Novo Mesto SV Neulengbach"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (outcome VARCHAR, partner VARCHAR, date VARCHAR) Question: What was the outcome on 11 October 2009, when his partner was Jordan Kerr? [/INST] SELECT outcome FROM table_name_72 WHERE partner = ""jordan kerr"" AND date = ""11 october 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17933600_2 (date_of_vacancy VARCHAR, outgoing_manage VARCHAR) Question: What day did the job open up when bogićević was outgoing? [/INST] SELECT date_of_vacancy FROM table_17933600_2 WHERE outgoing_manage = ""Bogićević"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR) Question: What conference is the 1973-74 team in the Atlantic Division (Div.)? [/INST] SELECT conference__conf_ FROM table_name_95 WHERE division__div_ = ""atlantic"" AND team = ""1973-74"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR) Question: When was the school in Salem, Massachusetts located? [/INST] SELECT founded FROM table_1974545_2 WHERE location = ""Salem, Massachusetts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR, round VARCHAR) Question: What Player was picked after Round 2 with a Pick number larger than 33? [/INST] SELECT player FROM table_name_58 WHERE pick > 33 AND round > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR) Question: What is the power of the engine with an engine code m44b19? [/INST] SELECT power FROM table_name_84 WHERE engine_code = ""m44b19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR) Question: Which competition did he win on August 15, 2012? [/INST] SELECT competition FROM table_name_54 WHERE result = ""win"" AND date = ""august 15, 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Fault_Log (fault_log_entry_id VARCHAR, fault_description VARCHAR, fault_log_entry_datetime VARCHAR); CREATE TABLE Fault_Log_Parts (fault_log_entry_id VARCHAR) Question: Which fault log included the most number of faulty parts? List the fault log id, description and record time. [/INST] SELECT TOP 1 T1.fault_log_entry_id, T1.fault_description, T1.fault_log_entry_datetime FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE film (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Type VARCHAR, Film_ID VARCHAR) Question: Please show the titles of films and the types of market estimations. [/INST] SELECT T1.Title, T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score VARCHAR, game VARCHAR) Question: what is the score for game 4? [/INST] SELECT score FROM table_name_49 WHERE game = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) Question: How many tickets were sold/available when the gross revenue (2011) was $366,916? [/INST] SELECT tickets_sold___available FROM table_name_44 WHERE gross_revenue__2011_ = ""$366,916"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR) Question: What team has a season of 2009-10? [/INST] SELECT teams FROM table_name_66 WHERE season = ""2009-10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR) Question: Name the US Hot 100 for album of I like you [/INST] SELECT us_hot_100 FROM table_name_81 WHERE album = ""i like you"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, lost VARCHAR, team VARCHAR) Question: Which Played has a Lost larger than 4, and a Team of américa, and Points smaller than 5? [/INST] SELECT SUM(played) FROM table_name_4 WHERE lost > 4 AND team = ""américa"" AND points < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR) Question: What is the average capacity that has foligno as the city? [/INST] SELECT AVG(capacity) FROM table_name_85 WHERE city = ""foligno"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (sacks INTEGER, year VARCHAR, solo VARCHAR) Question: How many sacks have 2006 as the year, and a solo less than 62? [/INST] SELECT SUM(sacks) FROM table_name_59 WHERE year = ""2006"" AND solo < 62 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1958768_3 (vacator VARCHAR, district VARCHAR) Question: Name the vacator for wisconsin 1st [/INST] SELECT vacator FROM table_1958768_3 WHERE district = ""Wisconsin 1st"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_12 (party VARCHAR, candidates VARCHAR) Question: When dennis ross (r) unopposed is the candidate what is the party? [/INST] SELECT party FROM table_25030512_12 WHERE candidates = ""Dennis Ross (R) unopposed"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (location VARCHAR, year VARCHAR) Question: Where was the match played in 1998? [/INST] SELECT location FROM table_name_40 WHERE year = 1998 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2482547_5 (team_s_ VARCHAR, average VARCHAR) Question: What are all the teams with an average of 15.89? [/INST] SELECT team_s_ FROM table_2482547_5 WHERE average = ""15.89"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (apparatus VARCHAR, score_final INTEGER) Question: Which apparatus had a final score that was more than 17.75? [/INST] SELECT apparatus FROM table_name_38 WHERE score_final > 17.75 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR) Question: What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00? [/INST] SELECT record FROM table_name_64 WHERE time = ""4:00"" AND opponent = ""krzysztof soszynski"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (location VARCHAR, game VARCHAR, date VARCHAR) Question: Which Location has a Game greater than 20 and a Date of Wed. Dec. 26? [/INST] SELECT location FROM table_name_79 WHERE game > 20 AND date = ""wed. dec. 26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2560677_1 (artist_s_ VARCHAR, start_date VARCHAR) Question: Who was the artist with a start date of 1966-10-23? [/INST] SELECT artist_s_ FROM table_2560677_1 WHERE start_date = ""1966-10-23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE captain (name VARCHAR, age VARCHAR) Question: Sort all captain names by their ages from old to young. [/INST] SELECT name FROM captain ORDER BY age DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR) Question: what is the date when the venue is gold coast convention centre? [/INST] SELECT date FROM table_name_70 WHERE venue = ""gold coast convention centre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (position VARCHAR, player VARCHAR) Question: Which position does Jesse Boulerice play? [/INST] SELECT position FROM table_name_83 WHERE player = ""jesse boulerice"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR) Question: What is re-elected Incumbent Jerry Costello's First elected date? [/INST] SELECT MIN(first_elected) FROM table_name_36 WHERE results = ""re-elected"" AND incumbent = ""jerry costello"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12125069_2 (attendance VARCHAR, date VARCHAR) Question: How many games were on May 20? [/INST] SELECT COUNT(attendance) FROM table_12125069_2 WHERE date = ""May 20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1691800_2 (area__km²_ VARCHAR, municipality VARCHAR) Question: what is th area where the municipaity is labrador? [/INST] SELECT area__km²_ FROM table_1691800_2 WHERE municipality = ""Labrador"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (nationality VARCHAR, goals VARCHAR) Question: Which nation had 14 goals? [/INST] SELECT nationality FROM table_name_89 WHERE goals = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17103566_1 (result VARCHAR, team_1 VARCHAR) Question: What is the result when team 1 is ICL Pakistan? [/INST] SELECT result FROM table_17103566_1 WHERE team_1 = ""ICL Pakistan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (state VARCHAR, major_city_served VARCHAR) Question: What is the greatest 2010 for Miami, Fl? [/INST] SELECT MAX(2010) FROM table_name_94 WHERE state = ""fl"" AND major_city_served = ""miami"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23186738_10 (high_rebounds VARCHAR, record VARCHAR) Question: Who had the highest rebounds in the game where the record was 27-54? [/INST] SELECT high_rebounds FROM table_23186738_10 WHERE record = ""27-54"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (rank INTEGER, team VARCHAR, games VARCHAR) Question: What was the ranking of Beirasar Rosalía, the year they played 32 games? [/INST] SELECT MAX(rank) FROM table_name_6 WHERE team = ""beirasar rosalía"" AND games < 32 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR) Question: Show the names of people, and dates and venues of debates they are on the affirmative side. [/INST] SELECT T3.Name, T2.Date, T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (record VARCHAR, event VARCHAR) Question: What was strikeforce: barnett vs. cormier's record? [/INST] SELECT record FROM table_name_26 WHERE event = ""strikeforce: barnett vs. cormier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_214920_1 (regional_county_municipality__rcm_ VARCHAR, density__pop_per_km2_ VARCHAR) Question: What is the RCM that has a density of 9.7? [/INST] SELECT regional_county_municipality__rcm_ FROM table_214920_1 WHERE density__pop_per_km2_ = ""9.7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (country VARCHAR, population__2011_est_ VARCHAR) Question: Which country has a population of 3,221,216? [/INST] SELECT country FROM table_name_79 WHERE population__2011_est_ = ""3,221,216"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16645_1 (__percentage VARCHAR, rural INTEGER, year__january_ VARCHAR) Question: What is the rural population percentage in 1979? [/INST] SELECT MIN(rural), __percentage FROM table_16645_1 WHERE year__january_ = 1979 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (long INTEGER, name VARCHAR) Question: What is the sum of Long for derrick locke? [/INST] SELECT SUM(long) FROM table_name_30 WHERE name = ""derrick locke"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE member (member_id VARCHAR, Hometown VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR) Question: Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia. [/INST] SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Louisville , Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Hiram , Georgia' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (total VARCHAR, year_built VARCHAR) Question: How many entries feature a year built of 2010? [/INST] SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR) Question: I want the sum of year for edition more than 4 and winners of new york red bulls [/INST] SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = ""new york red bulls"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26176081_29 (name VARCHAR, tfl_yds VARCHAR) Question: What is the name when tfl-yds is 2-2? [/INST] SELECT name FROM table_26176081_29 WHERE tfl_yds = ""2-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR) Question: Which Performer 2 has an Episode of 5? [/INST] SELECT performer_2 FROM table_name_26 WHERE episode = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (division_record VARCHAR, school VARCHAR) Question: The Milford School has what Division Record? [/INST] SELECT division_record FROM table_name_79 WHERE school = ""milford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (district VARCHAR, place_of_birth VARCHAR, delegate VARCHAR) Question: How many districts in Baltimore City does Cheryl Glenn dictate? [/INST] SELECT COUNT(district) FROM table_name_40 WHERE place_of_birth = ""baltimore city"" AND delegate = ""cheryl glenn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (english VARCHAR, bulgarian VARCHAR) Question: What's the English Pluperfect when the Bulgarian is бяха чули? [/INST] SELECT english FROM table_name_48 WHERE bulgarian = ""бяха чули"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, constructor VARCHAR) Question: What is the high grid total for maserati with under 35 laps? [/INST] SELECT MAX(grid) FROM table_name_64 WHERE laps < 35 AND constructor = ""maserati"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR) Question: What was the new membership total at the nchc (men only) conference? [/INST] SELECT new_membership_total FROM table_27671835_3 WHERE conference = ""NCHC (men only)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1449176_1 (altitude__mslm_ VARCHAR, area__km_2__ VARCHAR) Question: How many altitudes does the common with an area of 130.7 km^2 have? [/INST] SELECT COUNT(altitude__mslm_) FROM table_1449176_1 WHERE area__km_2__ = ""130.7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (laps INTEGER, drivers VARCHAR) Question: What were the highest laps for glenn seton gregg hansford? [/INST] SELECT MAX(laps) FROM table_name_1 WHERE drivers = ""glenn seton gregg hansford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR) Question: What is the population density of the administrative division with a population in 2010 of 264170 according to the census? [/INST] SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (season VARCHAR, score VARCHAR) Question: Which Season has a Score of 3 – 3 aet , 4–3 pen [/INST] SELECT season FROM table_name_31 WHERE score = ""3 – 3 aet , 4–3 pen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR) Question: What was the date of the game with the record of 2-1? [/INST] SELECT date FROM table_20849830_1 WHERE record = ""2-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (u15_3rd_quad VARCHAR, u15_2nd_quad VARCHAR) Question: What U15 3rd Quad has a U15 2nd Quad of ACGS? [/INST] SELECT u15_3rd_quad FROM table_name_89 WHERE u15_2nd_quad = ""acgs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (semi_finalists VARCHAR, week_of VARCHAR, runner_up VARCHAR) Question: Who are the semi finalists on the week of 12 june, when the runner-up is listed as Lori McNeil? [/INST] SELECT semi_finalists FROM table_name_43 WHERE week_of = ""12 june"" AND runner_up = ""lori mcneil"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (name VARCHAR, state VARCHAR) Question: Which name has a state of Yan? [/INST] SELECT name FROM table_name_44 WHERE state = ""yan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (YEAR INTEGER) Question: What is the average rating stars and title for the oldest movie? [/INST] SELECT AVG(T1.stars), T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.year = (SELECT MIN(YEAR) FROM Movie) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, clock VARCHAR) Question: Which date has a Clock of 0.8-1.6ghz? [/INST] SELECT date FROM table_name_61 WHERE clock = ""0.8-1.6ghz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24291077_8 (total VARCHAR, week VARCHAR) Question: What was the total rating on week 3? [/INST] SELECT total FROM table_24291077_8 WHERE week = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR) Question: What is Date, when Tie No is ""Replay"", and when Away Team is ""Crystal Palace""? [/INST] SELECT date FROM table_name_85 WHERE tie_no = ""replay"" AND away_team = ""crystal palace"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21696800_1 (_number VARCHAR, us_viewers__million_ VARCHAR) Question: What's the number of the episode seen by 2.24 million people in the US? [/INST] SELECT _number FROM table_21696800_1 WHERE us_viewers__million_ = ""2.24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (position VARCHAR, college VARCHAR) Question: What position did the Saskatchewan player get drafted as? [/INST] SELECT position FROM table_name_51 WHERE college = ""saskatchewan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (team_a VARCHAR, team_c VARCHAR) Question: Who is Team A when wilma hofschneider-david is team C? [/INST] SELECT team_a FROM table_name_35 WHERE team_c = ""wilma hofschneider-david"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290? [/INST] SELECT player FROM table_name_11 WHERE money___$__ = 137 AND score = 73 - 70 - 73 - 74 = 290 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR) Question: What is the Pick # of the Player from Southern MIssissippi? [/INST] SELECT COUNT(pick) FROM table_name_98 WHERE school = ""southern mississippi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (winner VARCHAR, win__number INTEGER) Question: Who had more than 3 wins? [/INST] SELECT winner FROM table_name_47 WHERE win__number > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28697228_4 (rushing_yards VARCHAR, passing_yards VARCHAR) Question: How many rushing yards are listed when the passing yards are 244? [/INST] SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (head_of_household VARCHAR, married_filing_jointly_or_qualified_widow_er_ VARCHAR) Question: Name the head of household for married filing jointly or qualified widow(er) being $137,051–$208,850 [/INST] SELECT head_of_household FROM table_name_32 WHERE married_filing_jointly_or_qualified_widow_er_ = ""$137,051–$208,850"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12148147_2 (third_year VARCHAR, first_year VARCHAR) Question: How many classes are taken in the third year when pag-unawa was taken in the first year? [/INST] SELECT COUNT(third_year) FROM table_12148147_2 WHERE first_year = ""Pag-unawa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR) Question: What is the date of the game when the venue is Kardinia Park? [/INST] SELECT date FROM table_name_13 WHERE venue = ""kardinia park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR) Question: What is the most common interaction type between enzymes and medicine? And how many are there? [/INST] SELECT TOP 1 interaction_type, COUNT(*) FROM medicine_enzyme_interaction GROUP BY interaction_type ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR) Question: Name the points for thierry tassin category:articles with hcards [/INST] SELECT points FROM table_19001175_1 WHERE name = ""Thierry Tassin Category:Articles with hCards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (d_45_√ VARCHAR, d_41_√ VARCHAR) Question: Name the D 45 √ when it has D 41√ of r 20 [/INST] SELECT d_45_√ FROM table_name_62 WHERE d_41_√ = ""r 20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21469545_2 (no VARCHAR, margin_of_victory VARCHAR) Question: Name the number for margin of victory being 3 strokes [/INST] SELECT COUNT(no) FROM table_21469545_2 WHERE margin_of_victory = ""3 strokes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR) Question: Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8? [/INST] SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = ""kawasaki zx-10r"" AND grid = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (away_team VARCHAR) Question: What is melbourne's away score? [/INST] SELECT away_team AS score FROM table_name_29 WHERE away_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR) Question: Which number and name has the description Gresley RB and a date before 1937? [/INST] SELECT number_ & _name FROM table_name_16 WHERE description = ""gresley rb"" AND date < 1937 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR) Question: Which track 7 title was recorded in 1959-09-15? [/INST] SELECT title FROM table_name_23 WHERE recorded = ""1959-09-15"" AND track = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (producer VARCHAR, location VARCHAR) Question: What company is the producer at the poolavadi location [/INST] SELECT producer FROM table_name_99 WHERE location = ""poolavadi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (year INTEGER, winner VARCHAR) Question: What is the latest year when Phil Anderson won? [/INST] SELECT MAX(year) FROM table_name_28 WHERE winner = ""phil anderson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR) Question: How many laps had a grid number of 7? [/INST] SELECT SUM(laps) FROM table_name_99 WHERE grid = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (Id VARCHAR) Question: Name the 2003 for atp masters series 1998 [/INST] SELECT 2003 FROM table_name_83 WHERE 1998 = ""atp masters series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (average INTEGER, team VARCHAR, goals VARCHAR, matches VARCHAR) Question: What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural leonesa? [/INST] SELECT MAX(average) FROM table_name_80 WHERE goals < 34 AND matches > 30 AND team = ""cultural leonesa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21260421_1 (winner VARCHAR, score VARCHAR) Question: How many winners scored exactly 202 (-11)? [/INST] SELECT COUNT(winner) FROM table_21260421_1 WHERE score = ""202 (-11)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR) Question: What is To Par, when Place is 3? [/INST] SELECT to_par FROM table_name_43 WHERE place = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (team_1 VARCHAR) Question: WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING? [/INST] SELECT 2 AS nd_leg FROM table_name_22 WHERE team_1 = ""sporting"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29087004_2 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote the episode with a production code of 116? [/INST] SELECT written_by FROM table_29087004_2 WHERE production_code = 116 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (crowd INTEGER, away_team VARCHAR) Question: Which match where Hawthorn was the away team had the largest crowd? [/INST] SELECT MAX(crowd) FROM table_name_58 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (time VARCHAR, method VARCHAR) Question: What is Time, when Method is ""submission (knees)""? [/INST] SELECT time FROM table_name_14 WHERE method = ""submission (knees)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR) Question: What is the seed for lyon (32) was DNQ? [/INST] SELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = ""DNQ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (pick INTEGER, hometown_school VARCHAR) Question: What is the Pick of the Player from Stamford, CT? [/INST] SELECT MAX(pick) FROM table_name_25 WHERE hometown_school = ""stamford, ct"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (college_junior_club_team VARCHAR, player VARCHAR) Question: What college, junior, or club team did Victor Ignatjev play for? [/INST] SELECT college_junior_club_team FROM table_name_90 WHERE player = ""victor ignatjev"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, score VARCHAR) Question: In what Tournament was Barbara Jordan a Partner with a Score of 6-2, 3-6, 3-6? [/INST] SELECT tournament FROM table_name_85 WHERE partner = ""barbara jordan"" AND score = ""6-2, 3-6, 3-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (rowers VARCHAR, rank VARCHAR) Question: When rank is 5, what is the rowers? [/INST] SELECT rowers FROM table_name_32 WHERE rank = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR) Question: When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up? [/INST] SELECT runner_up FROM table_name_85 WHERE tier = ""tier ii"" AND winner = ""gigi fernández natalia zvereva 6–2, 6–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14637853_3 (title VARCHAR, original_air_date VARCHAR) Question: what's the title with original air date being september23,1995 [/INST] SELECT title FROM table_14637853_3 WHERE original_air_date = ""September23,1995"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR) Question: What is the Pashto word for the Malayalam word വ്യാഴം vyazham? [/INST] SELECT pashto FROM table_name_76 WHERE malayalam = ""വ്യാഴം vyazham"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (heat_points VARCHAR, game VARCHAR, date VARCHAR) Question: What is Heat Points, when Game is less than 80, and when Date is ""April 26 (First Round)""? [/INST] SELECT heat_points FROM table_name_11 WHERE game < 80 AND date = ""april 26 (first round)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12842068_1 (submitting_country VARCHAR, original_title VARCHAR) Question: What country submitted miehen työ? [/INST] SELECT submitting_country FROM table_12842068_1 WHERE original_title = ""Miehen työ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR) Question: What position does Michael Ruffin play? [/INST] SELECT position FROM table_name_98 WHERE player = ""michael ruffin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR) Question: What is the highest Draws with less than 18 losses for north melbourne later than 1926? [/INST] SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = ""north melbourne"" AND season > 1926 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11677100_15 (position VARCHAR, player VARCHAR) Question: What position does Matt Hobgood play? [/INST] SELECT position FROM table_11677100_15 WHERE player = ""Matt Hobgood"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, mixed_doubles VARCHAR) Question: What is the womens singles of marcus ellis gabrielle white? [/INST] SELECT womens_singles FROM table_12104319_1 WHERE mixed_doubles = ""Marcus Ellis Gabrielle White"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR) Question: What was the score on October 24, 2005? [/INST] SELECT score FROM table_name_55 WHERE date = ""october 24, 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR) Question: Which base has a company of Theatro Technis Karolos Koun? [/INST] SELECT base FROM table_name_59 WHERE company = ""theatro technis karolos koun"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR) Question: What was the name of the player for pick 402? [/INST] SELECT player FROM table_name_57 WHERE pick = 402 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR) Question: What is the Date that has MARTIN of 7–9% and no Undecided? [/INST] SELECT date FROM table_name_93 WHERE undecided = ""–"" AND martin = ""7–9%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (wins INTEGER, class VARCHAR, year VARCHAR) Question: Class of 125cc, and a Year smaller than 1966 had what lowest wins? [/INST] SELECT MIN(wins) FROM table_name_95 WHERE class = ""125cc"" AND year < 1966 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (college VARCHAR, school VARCHAR) Question: What college did the player from Liberty County High School attend? [/INST] SELECT college FROM table_name_58 WHERE school = ""liberty county high school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1463383_1 (social_democratic VARCHAR, socialist VARCHAR) Question: If Socialist is at 46.1%, what are all percentages for social democratic? [/INST] SELECT social_democratic FROM table_1463383_1 WHERE socialist = ""46.1%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29644931_1 (result VARCHAR, category VARCHAR) Question: What was the result when competing in the Opening NIght Film category? [/INST] SELECT result FROM table_29644931_1 WHERE category = ""Opening Night Film"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (network VARCHAR, language VARCHAR) Question: What Network has Punjabi as the Language? [/INST] SELECT network FROM table_name_71 WHERE language = ""punjabi"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10432351_1 (radius__r___ INTEGER) Question: What is the smallest possible radius? [/INST] SELECT MIN(radius__r___) FROM table_10432351_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (place VARCHAR, country VARCHAR, player VARCHAR) Question: Name the place for south africa and retief goosen [/INST] SELECT place FROM table_name_98 WHERE country = ""south africa"" AND player = ""retief goosen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (website VARCHAR, locality VARCHAR, report VARCHAR, ages VARCHAR) Question: What is the Website of the Cheadle Hulme School with a Report of Ofsted for Ages 4-19? [/INST] SELECT website FROM table_name_69 WHERE report = ""ofsted"" AND ages = ""4-19"" AND locality = ""cheadle hulme"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (named VARCHAR, name VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR) Question: What is the namesake of Ayashe at a longitude less than 270.7, latitude more than -47.1, and a diameter less than 7.2? [/INST] SELECT named AS after FROM table_name_87 WHERE longitude < 270.7 AND latitude > -47.1 AND diameter__km_ < 7.2 AND name = ""ayashe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE actor (Name VARCHAR, Age VARCHAR) Question: List the name of actors whose age is not 20. [/INST] SELECT Name FROM actor WHERE Age <> 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (score VARCHAR, record VARCHAR) Question: Which Score has a Record of 18–11–5? [/INST] SELECT score FROM table_name_85 WHERE record = ""18–11–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17693171_1 (time_retired VARCHAR, driver VARCHAR) Question: What is the time/retired if the driver is Marco Andretti? [/INST] SELECT time_retired FROM table_17693171_1 WHERE driver = ""Marco Andretti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR) Question: Name the standard yarn weight system for 7 wpi [/INST] SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = ""7 wpi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) Question: What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1? [/INST] SELECT SUM(bronze) FROM table_name_8 WHERE silver = 1 AND rank < 4 AND gold > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10705060_1 (points VARCHAR, position VARCHAR) Question: What is the total for 10th position? [/INST] SELECT COUNT(points) FROM table_10705060_1 WHERE position = ""10th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) Question: Name the engine when points are 0 and chassis is kuzma indy roadster for 1954 [/INST] SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = ""kuzma indy roadster"" AND year = 1954 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR) Question: How many points against did the club with a losing bonus of 3 and 84 tries have? [/INST] SELECT points_against FROM table_name_68 WHERE losing_bonus = ""3"" AND tries_for = ""84"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26419467_1 (age VARCHAR, hometown VARCHAR) Question: How many people were from portland, or? [/INST] SELECT COUNT(age) FROM table_26419467_1 WHERE hometown = ""Portland, OR"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (directed___undirected VARCHAR, induced___non_induced VARCHAR, name VARCHAR) Question: What is the directed/undirected of fpf (mavisto), which has an induced/non-induced of induced? [/INST] SELECT directed___undirected FROM table_name_25 WHERE induced___non_induced = ""induced"" AND name = ""fpf (mavisto)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 46-84? [/INST] SELECT loss FROM table_name_65 WHERE record = ""46-84"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (visitor VARCHAR, date VARCHAR) Question: Who was the visiting team on December 17? [/INST] SELECT visitor FROM table_name_90 WHERE date = ""december 17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (function__figure_ VARCHAR, real_name VARCHAR) Question: What role did Jean-Luc Bouvier serve? [/INST] SELECT function__figure_ FROM table_name_30 WHERE real_name = ""jean-luc bouvier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (play VARCHAR, author VARCHAR, base VARCHAR) Question: What play has a base of Athens and was written by Aeschylus? [/INST] SELECT play FROM table_name_67 WHERE author = ""aeschylus"" AND base = ""athens"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (grand_rapids__grr_ VARCHAR, detroit__dtw_ VARCHAR) Question: What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55? [/INST] SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = ""$378.55"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR) Question: Name the reward eliminated hilca [/INST] SELECT reward FROM table_24233848_2 WHERE eliminated = ""Hilca"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, color_code VARCHAR) Question: What is the name of the product with the color description 'yellow'? [/INST] SELECT T1.product_name FROM products AS T1 JOIN ref_colors AS T2 ON T1.color_code = T2.color_code WHERE T2.color_description = 'yellow' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) Question: Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold? [/INST] SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND silver < 1 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE available_policies (policy_type_code VARCHAR) Question: Which policy type has the most records in the database? [/INST] SELECT TOP 1 policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (artist_id VARCHAR) Question: Show all artist names and the number of exhibitions for each artist. [/INST] SELECT T2.name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (score VARCHAR, record VARCHAR) Question: What was the score in the game where the record was 10-9-7? [/INST] SELECT score FROM table_name_94 WHERE record = ""10-9-7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (film VARCHAR, date VARCHAR) Question: What film was awarded on 22/3/06? [/INST] SELECT film FROM table_name_2 WHERE date = ""22/3/06"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (location VARCHAR, type VARCHAR, years VARCHAR) Question: What is the location for the club trophy from the year 1867 only? [/INST] SELECT location FROM table_name_52 WHERE type = ""club trophy"" AND years = ""1867 only"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (score VARCHAR, attendance VARCHAR, home_team VARCHAR) Question: What is Score, when Attendance is ""76"", and when Home Team is ""Meir Ka""? [/INST] SELECT score FROM table_name_84 WHERE attendance = ""76"" AND home_team = ""meir ka"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (date VARCHAR, course VARCHAR) Question: What is the race date for the course Jaén to Córdoba? [/INST] SELECT date FROM table_name_64 WHERE course = ""jaén to córdoba"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR) Question: What is Country, when Score is ""73-68=141""? [/INST] SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR, grid VARCHAR) Question: How many laps did mike spence complete grids above 12? [/INST] SELECT COUNT(laps) FROM table_name_85 WHERE driver = ""mike spence"" AND grid > 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR) Question: What was the competition on October 21, 2003? [/INST] SELECT competition FROM table_name_83 WHERE date = ""october 21, 2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (yards INTEGER, tckl VARCHAR, sack VARCHAR) Question: What is the highest YARDS with a TCKL more than 51 and less than 2 SACK? [/INST] SELECT MAX(yards) FROM table_name_61 WHERE tckl > 51 AND sack < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1359212_2 (winner VARCHAR, second_place VARCHAR) Question: where is hte second place winner from united kingdom? [/INST] SELECT winner FROM table_1359212_2 WHERE second_place = ""United Kingdom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (round VARCHAR, player VARCHAR) Question: What is the total number of rounds that had Jason Missiaen? [/INST] SELECT COUNT(round) FROM table_name_75 WHERE player = ""jason missiaen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (tonnage VARCHAR, date VARCHAR) Question: What is the listed Tonnage for the Date of 1914? [/INST] SELECT tonnage FROM table_name_69 WHERE date = 1914 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (week_13_nov_23 VARCHAR, week_6_oct_5 VARCHAR) Question: Which Week 13 Nov 23 has a Week 6 Oct 5 of oklahoma state (5-0)? [/INST] SELECT week_13_nov_23 FROM table_name_73 WHERE week_6_oct_5 = ""oklahoma state (5-0)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341577_50 (result VARCHAR, incumbent VARCHAR) Question: What was the final result for Les Aspin? [/INST] SELECT result FROM table_1341577_50 WHERE incumbent = ""Les Aspin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (competition VARCHAR, venue VARCHAR) Question: What's the competition that happened in Singapore? [/INST] SELECT competition FROM table_name_59 WHERE venue = ""singapore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (country VARCHAR, package_option VARCHAR) Question: Which country has a qualsiasi tranne sky hd package/option? [/INST] SELECT country FROM table_name_21 WHERE package_option = ""qualsiasi tranne sky hd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR) Question: Name the wins for 1963 bultaco [/INST] SELECT wins FROM table_name_15 WHERE year = 1963 AND team = ""bultaco"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (rally_hq VARCHAR, round VARCHAR) Question: Where was the Rally HQ for Round 1? [/INST] SELECT rally_hq FROM table_name_9 WHERE round = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24059973_3 (denis_nizhegorodov___rus__ VARCHAR, world_record VARCHAR) Question: When north american record is the world record who is the denis nizhegorodov ( rus )? [/INST] SELECT denis_nizhegorodov___rus__ FROM table_24059973_3 WHERE world_record = ""North American record"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21481509_4 (COUnT VARCHAR, r1b1a2__r_m269_ VARCHAR) Question: How many n are listed for 0.6% r1b1a2 (r-m269)? [/INST] SELECT COUnT AS n FROM table_21481509_4 WHERE r1b1a2__r_m269_ = ""0.6%"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE department (creation VARCHAR) Question: In which year were most departments established? [/INST] SELECT TOP 1 creation FROM department GROUP BY creation ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1566852_5 (date VARCHAR, interview_subject VARCHAR) Question: Name the date for oliver stone [/INST] SELECT date FROM table_1566852_5 WHERE interview_subject = ""Oliver Stone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758945_1 (won VARCHAR, losing_bonus VARCHAR) Question: What are the won games with losing bonus of 0? [/INST] SELECT won FROM table_13758945_1 WHERE losing_bonus = ""0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What was the original title for the film used in nomination of keep smiling? [/INST] SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = ""keep smiling"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) Question: On which date did Geelong play at home? [/INST] SELECT date FROM table_name_74 WHERE home_team = ""geelong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (score VARCHAR, date VARCHAR) Question: What is the score on the date of May 2? [/INST] SELECT score FROM table_name_54 WHERE date = ""may 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (best_5_year_period VARCHAR, best_15_year_period VARCHAR) Question: Which best 5-year period has a best 15-year period of alekhine; lasker? [/INST] SELECT best_5_year_period FROM table_name_37 WHERE best_15_year_period = ""alekhine; lasker"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27744844_5 (high_points VARCHAR, date VARCHAR) Question: Which player scored the most points and how many were scored on November 6? [/INST] SELECT high_points FROM table_27744844_5 WHERE date = ""November 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24625467_1 (no VARCHAR, production_code VARCHAR) Question: What episode number has 2j5352 as a production code? [/INST] SELECT no FROM table_24625467_1 WHERE production_code = ""2J5352"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23963781_2 (name VARCHAR, goals VARCHAR, position VARCHAR) Question: who has the 1 goal and the position is fw? [/INST] SELECT name FROM table_23963781_2 WHERE goals = 1 AND position = ""FW"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR) Question: How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards? [/INST] SELECT COUNT(sack) FROM table_name_46 WHERE tackles > 1 AND assisted < 3 AND yards > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (name_of_horse VARCHAR, year_inducted VARCHAR, broodmare_sire VARCHAR) Question: What horse was induced in 2011 with a sire of cowboy p-12? [/INST] SELECT name_of_horse FROM table_name_77 WHERE year_inducted = 2011 AND broodmare_sire = ""cowboy p-12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE manufacturer (open_year VARCHAR, name VARCHAR, num_of_shops VARCHAR) Question: Which manufacturer has the most number of shops? List its name and year of opening. [/INST] SELECT TOP 1 open_year, name FROM manufacturer ORDER BY num_of_shops DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR) Question: Which Loss has a Record of 20–16–9? [/INST] SELECT loss FROM table_name_75 WHERE record = ""20–16–9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23285805_4 (score VARCHAR, record VARCHAR) Question: If the record is 6-8, what was the score? [/INST] SELECT score FROM table_23285805_4 WHERE record = ""6-8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (incumbent VARCHAR, democratic VARCHAR) Question: What is the name of the incumbent for Glenn Nye? [/INST] SELECT incumbent FROM table_name_62 WHERE democratic = ""glenn nye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1405704_1 (team VARCHAR, winning_driver VARCHAR) Question: What team does Al Unser drive for? [/INST] SELECT team FROM table_1405704_1 WHERE winning_driver = ""Al Unser"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR) Question: What date has the Surfers Paradise International Raceway circuit? [/INST] SELECT date FROM table_name_52 WHERE circuit = ""surfers paradise international raceway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (area_km_2 VARCHAR, population VARCHAR) Question: How much Area km 2 have a Population of 1,215? [/INST] SELECT COUNT(area_km_2) FROM table_name_61 WHERE population = 1 OFFSET 215 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (downstream VARCHAR, upstream VARCHAR) Question: What is Downstream, when Upstream is ""384 kbit""? [/INST] SELECT downstream FROM table_name_88 WHERE upstream = ""384 kbit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (home VARCHAR, date VARCHAR) Question: Who was at home on april 14? [/INST] SELECT home FROM table_name_8 WHERE date = ""april 14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (game INTEGER, date VARCHAR) Question: What was the first game played on February 28? [/INST] SELECT MIN(game) FROM table_name_95 WHERE date = ""february 28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (aircraft VARCHAR, versions VARCHAR, in_service VARCHAR, origin VARCHAR) Question: Which version B-58 aircraft model originated in the United States has 2 in service? [/INST] SELECT aircraft FROM table_name_57 WHERE in_service = ""2"" AND origin = ""united states"" AND versions = ""b-58"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (partnerships VARCHAR, runs VARCHAR) Question: Which partnership has a run number of 27? [/INST] SELECT partnerships FROM table_name_70 WHERE runs = ""27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21636599_2 (civilians VARCHAR, security_forces VARCHAR) Question: What are the civilian total when the security force total is 36? [/INST] SELECT civilians FROM table_21636599_2 WHERE security_forces = ""36"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR) Question: What is the Player in the Int'l Debut of 1974? [/INST] SELECT player FROM table_name_41 WHERE year = ""1974"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (losses VARCHAR, ntfa_div_2 VARCHAR, wins VARCHAR) Question: How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10? [/INST] SELECT COUNT(losses) FROM table_name_45 WHERE ntfa_div_2 = ""perth"" AND wins < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (pole_position VARCHAR, round VARCHAR) Question: What is the pole position of the grand prix with 1 round? [/INST] SELECT pole_position FROM table_name_93 WHERE round = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2134521_1 (pop__2001_ VARCHAR, pop__1996_ VARCHAR) Question: How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859? [/INST] SELECT COUNT(pop__2001_) FROM table_2134521_1 WHERE pop__1996_ = 880859 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR) Question: Who had the pole position in the Canadian Grand Prix? [/INST] SELECT pole_position FROM table_26258348_4 WHERE grand_prix = ""Canadian grand_prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR) Question: What was the record on september 2? [/INST] SELECT record FROM table_name_6 WHERE date = ""september 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (location VARCHAR, home_team VARCHAR) Question: What was the location of the home game for Japan? [/INST] SELECT location FROM table_name_49 WHERE home_team = ""japan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341663_19 (first_elected VARCHAR, incumbent VARCHAR) Question: What year was Jerry Huckaby first elected? [/INST] SELECT first_elected FROM table_1341663_19 WHERE incumbent = ""Jerry Huckaby"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR) Question: Who did the Jays play on August 30? [/INST] SELECT opponent FROM table_name_53 WHERE date = ""august 30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (left_office VARCHAR, took_office VARCHAR, minister VARCHAR) Question: What is Left Office, when Took Office is ""11 June 2001"", and when Minister is ""Mirko Tremaglia""? [/INST] SELECT left_office FROM table_name_47 WHERE took_office = ""11 june 2001"" AND minister = ""mirko tremaglia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (d_45_o VARCHAR, d_44_o VARCHAR) Question: Name the D 45 O with D 44 O majority → [/INST] SELECT d_45_o FROM table_name_5 WHERE d_44_o = ""majority →"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (position VARCHAR, cfl_team VARCHAR, pick__number VARCHAR) Question: Which position's cfl team was the Montreal Alouettes when the pick number was less than 15? [/INST] SELECT position FROM table_name_52 WHERE cfl_team = ""montreal alouettes"" AND pick__number < 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (opponent VARCHAR, event VARCHAR) Question: Which Opponent has the Event of Sengoku 1? [/INST] SELECT opponent FROM table_name_94 WHERE event = ""sengoku 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27708484_3 (overall_attendance INTEGER, overall_goals_scored VARCHAR) Question: what is the minimum overall attendance where the goals scored were 19? [/INST] SELECT MIN(overall_attendance) FROM table_27708484_3 WHERE overall_goals_scored = 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (rank INTEGER, name VARCHAR) Question: What is the lowest rank that has paul biedermann as the name? [/INST] SELECT MIN(rank) FROM table_name_31 WHERE name = ""paul biedermann"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_7 (touchdowns INTEGER, player VARCHAR) Question: How many touchdowns were there when Heston was in play? [/INST] SELECT MAX(touchdowns) FROM table_14342592_7 WHERE player = ""Heston"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (bleeding_time VARCHAR, platelet_count VARCHAR, condition VARCHAR) Question: Name the bleeding time with platelet count of unaffected and condition of factor xii deficiency [/INST] SELECT bleeding_time FROM table_name_83 WHERE platelet_count = ""unaffected"" AND condition = ""factor xii deficiency"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, entrant VARCHAR) Question: What is the chassis for all rounds on the entrant Benson and Hedges Jordan driven by Damon Hill? [/INST] SELECT chassis FROM table_name_69 WHERE rounds = ""all"" AND entrant = ""benson and hedges jordan"" AND driver = ""damon hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) Question: What was the score for United States when the player was Mike Reid and the To par was e? [/INST] SELECT score FROM table_name_30 WHERE country = ""united states"" AND to_par = ""e"" AND player = ""mike reid"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER) Question: Which average Drawn has Games larger than 7? [/INST] SELECT AVG(drawn) FROM table_name_29 WHERE games > 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR) Question: In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points. [/INST] SELECT place FROM table_name_7 WHERE draw > 2 AND points < 139 AND artist = ""midnight band"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (outcome VARCHAR, score_in_the_final VARCHAR) Question: Which Outcome has a Score in the final of 1–6, 6–4, 7–5? [/INST] SELECT outcome FROM table_name_61 WHERE score_in_the_final = ""1–6, 6–4, 7–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (years_at_club VARCHAR, games VARCHAR, goals VARCHAR, debut_year VARCHAR) Question: What are the years for the player with fewer than 62 goals, debut year of 1981 and 28 games? [/INST] SELECT years_at_club FROM table_name_61 WHERE goals < 62 AND debut_year = 1981 AND games = 28 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR) Question: How many weeks was France at #1? [/INST] SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = ""France"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (chinese__traditional_ VARCHAR, label VARCHAR, english_title VARCHAR) Question: What traditional Chinese name would the Rock Records release Grown up Overnight be given? [/INST] SELECT chinese__traditional_ FROM table_name_54 WHERE label = ""rock records"" AND english_title = ""grown up overnight"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (peak VARCHAR, hk_viewers VARCHAR, rank VARCHAR) Question: How many entries have a HK viewers of 2.23 million, and a Rank below 2? [/INST] SELECT COUNT(peak) FROM table_name_34 WHERE hk_viewers = ""2.23 million"" AND rank > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28884858_2 (average_attendance VARCHAR, total_attendance VARCHAR) Question: What was average attendance when total attendance was 541380? [/INST] SELECT average_attendance FROM table_28884858_2 WHERE total_attendance = 541380 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, result VARCHAR) Question: What is the Date with an Opponent with wimbledon, and a Result of drew 0-0? [/INST] SELECT date FROM table_name_75 WHERE opponent = ""wimbledon"" AND result = ""drew 0-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (all_time INTEGER, amateur_era INTEGER) Question: What is the sum of All-Time, when Amateur Era is less than 0? [/INST] SELECT SUM(all_time) FROM table_name_39 WHERE amateur_era < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE mill (id VARCHAR, architect_id VARCHAR, built_year INTEGER); CREATE TABLE architect (id VARCHAR, architect_id VARCHAR, built_year INTEGER) Question: How many architects haven't built a mill before year 1850? [/INST] SELECT COUNT(*) FROM architect WHERE NOT id IN (SELECT architect_id FROM mill WHERE built_year < 1850) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26967904_1 (chambering VARCHAR, f_bolt VARCHAR, p_max___bar__ VARCHAR) Question: With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900? [/INST] SELECT chambering FROM table_26967904_1 WHERE f_bolt = ""N (lbf)"" AND p_max___bar__ = 3900 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (winning_score VARCHAR, tournament VARCHAR) Question: What was the winning score at Burdine's Invitational? [/INST] SELECT winning_score FROM table_name_66 WHERE tournament = ""burdine's invitational"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14015965_1 (foreign_players__max_2_ VARCHAR, town VARCHAR) Question: Who are the foreign players representing Ekaterinburg? [/INST] SELECT foreign_players__max_2_ FROM table_14015965_1 WHERE town = ""Ekaterinburg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (award VARCHAR, result VARCHAR, year VARCHAR) Question: What award was nominated in 2007? [/INST] SELECT award FROM table_name_76 WHERE result = ""nominated"" AND year = 2007 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (category VARCHAR, awards VARCHAR, result VARCHAR) Question: What category of the British Soap Awards resulted in nominated? [/INST] SELECT category FROM table_name_18 WHERE awards = ""british soap awards"" AND result = ""nominated"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR) Question: What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20? [/INST] SELECT name FROM table_name_22 WHERE tour_apps > 7 AND tests > 4 AND career_caps = 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (name VARCHAR, qual_2 VARCHAR) Question: Who got 59.486 for Qual 2? [/INST] SELECT name FROM table_name_15 WHERE qual_2 = ""59.486"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (year INTEGER, points VARCHAR) Question: Which is the highest year that has 3 points? [/INST] SELECT MAX(year) FROM table_name_28 WHERE points = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17366952_1 (position INTEGER, team VARCHAR) Question: What is the highest position of the Bangor City team? [/INST] SELECT MAX(position) FROM table_17366952_1 WHERE team = ""Bangor City"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (team_1 VARCHAR, team_2 VARCHAR) Question: Which team 1 played against team 2 of Tours FC (D2)? [/INST] SELECT team_1 FROM table_name_21 WHERE team_2 = ""tours fc (d2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (opponent VARCHAR, loss VARCHAR) Question: What opponent has a loss of McCaskill (9-11)? [/INST] SELECT opponent FROM table_name_10 WHERE loss = ""mccaskill (9-11)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14603212_5 (class_aAAA VARCHAR, school_year VARCHAR) Question: What are all the AAAA classes in the schools years 2004-05? [/INST] SELECT class_aAAA FROM table_14603212_5 WHERE school_year = ""2004-05"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, company_name VARCHAR) Question: What is the rank for Murphy Oil? [/INST] SELECT state_rank_by_revenue FROM table_21926985_2 WHERE company_name = ""Murphy Oil"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR) Question: what is the most number where cattle is 13000 [/INST] SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (player VARCHAR, position VARCHAR) Question: What player had the position guard/forward? [/INST] SELECT player FROM table_name_83 WHERE position = ""guard/forward"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE degrees (campus VARCHAR, degrees INTEGER) Question: Which campus has the most degrees conferred in all times? [/INST] SELECT TOP 1 campus FROM degrees GROUP BY campus ORDER BY SUM(degrees) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER) Question: What is the league cup app with league cup goals more than 0? [/INST] SELECT league_cup_apps FROM table_name_76 WHERE league_cup_goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR) Question: What's the opening when white is Anand with fewer than 61 moves for a result of ½–½? [/INST] SELECT opening FROM table_name_83 WHERE white = ""anand"" AND moves < 61 AND result = ""½–½"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (opponent VARCHAR, score VARCHAR) Question: Which opponent has a score of 84-88 (ot)? [/INST] SELECT opponent FROM table_name_79 WHERE score = ""84-88 (ot)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR) Question: Who wrote the episode with a production code greater than 1.4 direcyed by rick wallace? [/INST] SELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = ""rick wallace"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (champion VARCHAR, score VARCHAR) Question: Which champion got a score of 12-1? [/INST] SELECT champion FROM table_name_78 WHERE score = ""12-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (time INTEGER, name VARCHAR, rank VARCHAR) Question: Name the most time for katrin meißner and rank less than 5 [/INST] SELECT MAX(time) FROM table_name_71 WHERE name = ""katrin meißner"" AND rank < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (report VARCHAR, date VARCHAR) Question: Name the report on 20 may [/INST] SELECT report FROM table_name_98 WHERE date = ""20 may"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR) Question: Which AFL team has a pick 4 for the offensive tackle position? [/INST] SELECT afl_team FROM table_name_14 WHERE position = ""offensive tackle"" AND pick = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (record VARCHAR, week VARCHAR, attenmdance VARCHAR) Question: What was the team's record after week 7 with 28,161 attending? [/INST] SELECT record FROM table_name_58 WHERE week > 7 AND attenmdance = ""28,161"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (location VARCHAR, team VARCHAR) Question: Where is Dynamo-2 located? [/INST] SELECT location FROM table_name_38 WHERE team = ""dynamo-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR) Question: When has a Week of 1? [/INST] SELECT date FROM table_name_89 WHERE week = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR) Question: When 5 is the game who has the highest amount of points? [/INST] SELECT high_points FROM table_22883210_11 WHERE game = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR) Question: How many years of nasl years did the accolades read ""captained england to victory at the 1966 world cup""? [/INST] SELECT COUNT(nasl_years) FROM table_237757_9 WHERE accolades__pre_nasl_ = ""Captained England to victory at the 1966 World Cup"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_43 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) Question: What is the cyrillic name other names for the settlement of debeljača? [/INST] SELECT cyrillic_name_other_names FROM table_2562572_43 WHERE settlement = ""Debeljača"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_160510_1 (hanja VARCHAR, province VARCHAR) Question: What is the hanja for the province of ""sangju""? [/INST] SELECT hanja FROM table_160510_1 WHERE province = ""Sangju"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (goals INTEGER, player VARCHAR, rank VARCHAR) Question: What was Thierry Henry's average goal when his rank was higher than 7? [/INST] SELECT AVG(goals) FROM table_name_17 WHERE player = ""thierry henry"" AND rank > 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (tournament VARCHAR, year INTEGER) Question: What tournament took place after 1973? [/INST] SELECT tournament FROM table_name_37 WHERE year > 1973 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27700530_13 (location_attendance VARCHAR, date VARCHAR) Question: What was the location and attendance on March 9? [/INST] SELECT location_attendance FROM table_27700530_13 WHERE date = ""March 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) Question: What is the GDP per capita (US$) of the country that has a Population of 2,011,473? [/INST] SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = ""2,011,473"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (winner VARCHAR, circuit VARCHAR) Question: Who was the winner on the Amaroo Park circuit? [/INST] SELECT winner FROM table_name_38 WHERE circuit = ""amaroo park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE department (dept_address VARCHAR, school_code VARCHAR) Question: How many different locations does the school with code BUS has? [/INST] SELECT COUNT(DISTINCT dept_address) FROM department WHERE school_code = 'BUS' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1597866_3 (regular_judge VARCHAR, host VARCHAR) Question: Name the number of regular judge when host is bernie chan [/INST] SELECT COUNT(regular_judge) FROM table_1597866_3 WHERE host = ""Bernie Chan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) Question: Name the total number of awardees for best screenplay [/INST] SELECT COUNT(awardee_s_) FROM table_24446718_3 WHERE name_of_award = ""Best Screenplay"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, tuesday_mars__mars_ VARCHAR) Question: what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marterì [/INST] SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE tuesday_mars__mars_ = ""Marterì"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE entrepreneur (Name VARCHAR, People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) Question: List the names of people that are not entrepreneurs. [/INST] SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM entrepreneur) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) Question: What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170? [/INST] SELECT call_sign FROM table_name_35 WHERE frequency_mhz < 94.9 AND erp_w = 170 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (leading_scorer VARCHAR, visitor VARCHAR) Question: What is the leading scorer of the game with the Celtics as the visiting team? [/INST] SELECT leading_scorer FROM table_name_59 WHERE visitor = ""celtics"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (country VARCHAR, play VARCHAR) Question: Which Country is the Play Electra and Orestes, The Trial from? [/INST] SELECT country FROM table_name_82 WHERE play = ""electra and orestes, the trial"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (londonborough VARCHAR, dialcode VARCHAR) Question: What Londongborough has a Dialcode of 01992? [/INST] SELECT londonborough FROM table_name_15 WHERE dialcode = ""01992"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (lead VARCHAR, second VARCHAR, season VARCHAR) Question: What is the Lead when the Second was marc kennedy, in the 2012–13 season? [/INST] SELECT lead FROM table_name_66 WHERE second = ""marc kennedy"" AND season = ""2012–13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27922491_8 (average VARCHAR, bbm VARCHAR) Question: What is the average for the player with BBM 5/85? [/INST] SELECT average FROM table_27922491_8 WHERE bbm = ""5/85"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (att_cmp VARCHAR, gp_gs VARCHAR) Question: Which Att-Cmp has a GP-GS of 7-1? [/INST] SELECT att_cmp FROM table_name_21 WHERE gp_gs = ""7-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) Question: In what round was a left wing drafted? [/INST] SELECT round FROM table_name_58 WHERE position = ""left wing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (engine VARCHAR, finish VARCHAR) Question: What Engine has a Finish of 21? [/INST] SELECT engine FROM table_name_68 WHERE finish = ""21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR) Question: In the Ohio 4 district, that is the first elected date that has a result of re-elected? [/INST] SELECT SUM(first_elected) FROM table_name_66 WHERE result = ""re-elected"" AND district = ""ohio 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (model VARCHAR, number_built VARCHAR, chassis_code VARCHAR) Question: What model has a number built smaller than 6.526, and the Chassis code w109.015? [/INST] SELECT model FROM table_name_82 WHERE number_built < 6.526 AND chassis_code = ""w109.015"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (away_team VARCHAR, stadium VARCHAR) Question: Which team was hosted at Adelaide Oval? [/INST] SELECT away_team FROM table_name_14 WHERE stadium = ""adelaide oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (silver INTEGER, rank VARCHAR, total VARCHAR) Question: Which Silver has a Rank of 1, and a Total smaller than 11? [/INST] SELECT SUM(silver) FROM table_name_80 WHERE rank = ""1"" AND total < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR) Question: Who was the shooter with a score of 686.4? [/INST] SELECT shooter FROM table_name_59 WHERE score = ""686.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22464685_1 (date VARCHAR, georgian_name VARCHAR) Question: what is the date for when the georgian name is ცხოვრება და უწყება ბაგრატონიანთა? [/INST] SELECT date FROM table_22464685_1 WHERE georgian_name = ""ცხოვრება და უწყება ბაგრატონიანთა"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (chassis VARCHAR, team VARCHAR, driver VARCHAR) Question: What is the chassis for Augusto Scalbi on Team RP Motorsport? [/INST] SELECT chassis FROM table_name_34 WHERE team = ""rp motorsport"" AND driver = ""augusto scalbi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR) Question: How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total? [/INST] SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = ""gabon"" AND rank < 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) Question: On which date was St Kilda the home team? [/INST] SELECT date FROM table_name_2 WHERE home_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year INTEGER, best_finish VARCHAR, scoring_average VARCHAR) Question: What is the latest year when the best finish is 2 and the scoring average is less than 71.24? [/INST] SELECT MAX(year) FROM table_name_51 WHERE best_finish = ""2"" AND scoring_average < 71.24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (tournament VARCHAR, date VARCHAR) Question: Which Tournament has a Date of january 10, 1994? [/INST] SELECT tournament FROM table_name_10 WHERE date = ""january 10, 1994"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (award VARCHAR, category VARCHAR) Question: Which Award is the winner for Outstanding Revival of a Musical given? [/INST] SELECT award FROM table_name_57 WHERE category = ""outstanding revival of a musical"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (gpu_model VARCHAR, l3_cache VARCHAR) Question: What is the GPU model when the L3 cache is standard power? [/INST] SELECT gpu_model FROM table_name_74 WHERE l3_cache = ""standard power"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (episode VARCHAR, rating VARCHAR, viewers__m_ VARCHAR) Question: What Episode has a Rating of 1.8, and Viewers (m) smaller than 2.73? [/INST] SELECT episode FROM table_name_35 WHERE rating = ""1.8"" AND viewers__m_ < 2.73 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (local_authority VARCHAR, services VARCHAR) Question: Which Local authority has Services of greater anglia? [/INST] SELECT local_authority FROM table_name_33 WHERE services = ""greater anglia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (cyrillic_code VARCHAR, latin_2_letter_code VARCHAR) Question: What is the Cyrillic code with a cu Latin 2-letter code? [/INST] SELECT cyrillic_code FROM table_name_68 WHERE latin_2_letter_code = ""cu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (tonnage VARCHAR, built VARCHAR, ship VARCHAR) Question: The ship SSBergensfjord built before 1973 has what tonnage? [/INST] SELECT tonnage FROM table_name_90 WHERE built < 1973 AND ship = ""ssbergensfjord"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR) Question: What date was the 6d introduced? [/INST] SELECT introduction FROM table_1682865_1 WHERE numeral = ""6d"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR) Question: What is the total number of people that attended the glenferrie oval venue? [/INST] SELECT SUM(crowd) FROM table_name_39 WHERE venue = ""glenferrie oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (date VARCHAR, score VARCHAR, record VARCHAR) Question: Which Date has a Score of 2–7, and a Record of 5–8–2? [/INST] SELECT date FROM table_name_50 WHERE score = ""2–7"" AND record = ""5–8–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26401898_2 (game_site VARCHAR, final_score VARCHAR) Question: Name the game site for l 26–42 [/INST] SELECT game_site FROM table_26401898_2 WHERE final_score = ""L 26–42"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (name VARCHAR, shop_id VARCHAR) Question: Find the name of the shops that do not hire any employee. [/INST] SELECT name FROM shop WHERE NOT shop_id IN (SELECT shop_id FROM hiring) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (opponent VARCHAR, record VARCHAR) Question: If the record was 22-21-5, who was the opponent? [/INST] SELECT opponent FROM table_27537870_6 WHERE record = ""22-21-5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24937583_1 (seasons VARCHAR, wins VARCHAR) Question: When did they win 7 races? [/INST] SELECT seasons FROM table_24937583_1 WHERE wins = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (name VARCHAR, track_id VARCHAR) Question: Show all track names that have had no races. [/INST] SELECT name FROM track WHERE NOT track_id IN (SELECT track_id FROM race) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (score VARCHAR, total VARCHAR) Question: What was the score when the total was 75–53? [/INST] SELECT score FROM table_name_89 WHERE total = ""75–53"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (fictional_narrator VARCHAR, published_as_serial VARCHAR) Question: Which Fictional narrator has a Published as serial of february–july 1912, all-story? [/INST] SELECT fictional_narrator FROM table_name_63 WHERE published_as_serial = ""february–july 1912, all-story"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR) Question: Which sign has a fall of Venus? [/INST] SELECT sign FROM table_name_5 WHERE fall = ""venus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19523708_1 (artist VARCHAR, original VARCHAR) Question: Who was the artist for the origin Shake it, Europe? [/INST] SELECT artist FROM table_19523708_1 WHERE original = ""Shake It, Europe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) Question: What position does adam rachel play? [/INST] SELECT position FROM table_name_35 WHERE player = ""adam rachel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (number_ VARCHAR, _name VARCHAR, date VARCHAR) Question: What is the number & name with an Undergoing overhaul, restoration or repairs date? [/INST] SELECT number_ & _name FROM table_name_65 WHERE date = ""undergoing overhaul, restoration or repairs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (tries INTEGER, goals INTEGER) Question: What is the average Tries with less than 0 goals? [/INST] SELECT AVG(tries) FROM table_name_7 WHERE goals < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (conductor VARCHAR, orchestra VARCHAR) Question: Who is the conductor when the chicago symphony orchestra is featured? [/INST] SELECT conductor FROM table_name_3 WHERE orchestra = ""chicago symphony orchestra"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR) Question: What is the Visitor on January 1? [/INST] SELECT visitor FROM table_name_58 WHERE date = ""january 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR) Question: if they played last on 12/5/1987 what is their record [/INST] SELECT current_streak FROM table_15740666_6 WHERE last_meeting = ""12/5/1987"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR) Question: Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap? [/INST] SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = ""Esteban Guerrieri"" AND fastest_lap = ""Josef Newgarden"" AND rd = ""8A"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (year_began VARCHAR, userpics_paid VARCHAR, userpics_free VARCHAR) Question: What is the year began for the site with free userpics cost of $1 and a userpics paid value of N/A? [/INST] SELECT year_began FROM table_name_92 WHERE userpics_paid = ""n/a"" AND userpics_free = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (team__number1 VARCHAR) Question: Which 1st leg that has hemofarm? [/INST] SELECT 1 AS st_leg FROM table_name_12 WHERE team__number1 = ""hemofarm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR) Question: What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18? [/INST] SELECT MIN(laps) FROM table_name_39 WHERE time = ""+24.440"" AND grid > 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE documents (document_name VARCHAR, access_count VARCHAR) Question: Find the name and access counts of all documents, in alphabetic order of the document name. [/INST] SELECT document_name, access_count FROM documents ORDER BY document_name "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (_number_of_prefectural_votes VARCHAR, _number_of_seats_won VARCHAR, leader VARCHAR) Question: What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone? [/INST] SELECT COUNT(_number_of_prefectural_votes) FROM table_name_54 WHERE _number_of_seats_won > 69 AND leader = ""yasuhiro nakasone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, round VARCHAR) Question: Which leagues entered an extra preliminary round? [/INST] SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE round = ""Extra Preliminary round"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (bronze VARCHAR, silver INTEGER) Question: What is the total when bronze has a silver larger than 2? [/INST] SELECT COUNT(bronze) FROM table_name_12 WHERE silver > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (shutdown VARCHAR, electricity_grid VARCHAR) Question: When did the Electricity Grid 28.12.1972 officially shutdown? [/INST] SELECT shutdown FROM table_name_26 WHERE electricity_grid = ""28.12.1972"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE race (CLASS VARCHAR) Question: List the race class with at least two races. [/INST] SELECT CLASS FROM race GROUP BY CLASS HAVING COUNT(*) >= 2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR) Question: What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct? [/INST] SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = ""modern drama"" AND number_of_episodes = 20 AND airing_date = ""26 sep- 21 oct"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR) Question: Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4? [/INST] SELECT MIN(position) FROM table_name_50 WHERE against > 17 AND team = ""juventus"" AND drawn < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total_region INTEGER, mt_morgan INTEGER) Question: What is the sum of people in the total region when more than 5,060 were in Mt. Morgan? [/INST] SELECT SUM(total_region) FROM table_name_90 WHERE mt_morgan > 5 OFFSET 060 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (race_leader VARCHAR, stage VARCHAR) Question: Who was the race leader for stage 5? [/INST] SELECT race_leader FROM table_name_66 WHERE stage = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (Id VARCHAR) Question: What is 2001, when 2007 is ""1R"", and when 2008 is ""Q1""? [/INST] SELECT 2001 FROM table_name_99 WHERE 2007 = ""1r"" AND 2008 = ""q1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (player VARCHAR, years_with_spurs VARCHAR) Question: What is Player, when Years With Spurs is 1988-95? [/INST] SELECT player FROM table_name_7 WHERE years_with_spurs = ""1988-95"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR) Question: Which Surface has a Partner of oliver marach? [/INST] SELECT surface FROM table_name_82 WHERE partner = ""oliver marach"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR) Question: Who was the stage winner of the letua cycling team on stage 2? [/INST] SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = ""LeTua Cycling Team"" AND stage = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR) Question: What years did the player in Orlando play that is from the United States, and is part of the school/club team Clemson? [/INST] SELECT years_in_orlando FROM table_name_7 WHERE nationality = ""united states"" AND school_club_team = ""clemson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (location_attendance VARCHAR, score VARCHAR) Question: What location attendance had a score of l 92–116? [/INST] SELECT location_attendance FROM table_name_30 WHERE score = ""l 92–116"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR) Question: How many games played for the army team with over 51 points and under 5 games drawn? [/INST] SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = ""army"" AND points > 51 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (lost VARCHAR, played INTEGER) Question: How many games lost associated with under 14 played? [/INST] SELECT COUNT(lost) FROM table_name_66 WHERE played < 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE people (Hometown VARCHAR, Age INTEGER) Question: Show the hometowns shared by people older than 23 and younger than 20. [/INST] SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225199_4 (date_successor_seated VARCHAR, district VARCHAR) Question: What is every date successor seated for the Virginia 11th District? [/INST] SELECT date_successor_seated FROM table_225199_4 WHERE district = ""Virginia 11th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) Question: what is the nation when the world rank is 6 and the birth date is 1971-07-31? [/INST] SELECT nation FROM table_name_88 WHERE world_rank = ""6"" AND birth_date = ""1971-07-31"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (rank INTEGER, nation VARCHAR, silver VARCHAR) Question: what is the average rank when the nation is east germany and silver is more than 1? [/INST] SELECT AVG(rank) FROM table_name_27 WHERE nation = ""east germany"" AND silver > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (incumbent VARCHAR, first_elected VARCHAR, district VARCHAR) Question: Who is the incumbent who was first elected before 2002 from the maryland 3 district? [/INST] SELECT incumbent FROM table_name_41 WHERE first_elected < 2002 AND district = ""maryland 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR) Question: Who was the opponent at the game with a result of w 20-17? [/INST] SELECT opponent FROM table_name_69 WHERE result = ""w 20-17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (attendance INTEGER, opponent VARCHAR, opponents VARCHAR) Question: What is the average attendance for games against the Pittsburgh Steelers when the opponents scored more than 0 points? [/INST] SELECT AVG(attendance) FROM table_name_2 WHERE opponent = ""pittsburgh steelers"" AND opponents > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) Question: Name the points for Engine of chevrolet 265c [/INST] SELECT points FROM table_name_99 WHERE engine = ""chevrolet 265c"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR) Question: What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer? [/INST] SELECT championship FROM table_name_71 WHERE partnering = ""maikel scheffers"" AND year > 2007 AND opponents_in_final = ""stephane houdet nicolas peiffer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR) Question: Who won the points classification when the teams classification winner was Lampre-Farnese? [/INST] SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = ""Lampre-Farnese"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13940275_5 (losing_bonus VARCHAR, played VARCHAR, tries_against VARCHAR) Question: what's the losing bonus with played being 22 and tries against being 38 [/INST] SELECT losing_bonus FROM table_13940275_5 WHERE played = ""22"" AND tries_against = ""38"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (height VARCHAR, weight VARCHAR) Question: What is the height of the player that weighs 240? [/INST] SELECT height FROM table_name_56 WHERE weight = 240 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (player VARCHAR, pos VARCHAR) Question: Which player has a position of FW? [/INST] SELECT player FROM table_name_25 WHERE pos = ""fw"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (year INTEGER, entrant VARCHAR) Question: What year did Bryant Heating enter? [/INST] SELECT SUM(year) FROM table_name_48 WHERE entrant = ""bryant heating"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12340907_1 (total_costs__2005_ VARCHAR, municipality VARCHAR) Question: What is the value of total costs (2005) in the Coldstream municipality? [/INST] SELECT total_costs__2005_ FROM table_12340907_1 WHERE municipality = ""Coldstream"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (method VARCHAR, venue VARCHAR) Question: What method did the match at Club Med Sandpiper have? [/INST] SELECT method FROM table_name_88 WHERE venue = ""club med sandpiper"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR) Question: What is the highest overall rank of any Tennessee State player drafted before round 10? [/INST] SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = ""tennessee state"" AND round < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (gold INTEGER, silver INTEGER) Question: What is the gold medal count that has a silver medal count less than 0? [/INST] SELECT MAX(gold) FROM table_name_64 WHERE silver < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR) Question: What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:? [/INST] SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = ""N·m ( lbf·ft ) @ 4,800"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR) Question: What is Collingwood's home venue? [/INST] SELECT venue FROM table_name_45 WHERE home_team = ""collingwood"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (rank INTEGER, time VARCHAR) Question: What is the Rank of the Rowers with a Time of 7:30.92? [/INST] SELECT SUM(rank) FROM table_name_56 WHERE time = ""7:30.92"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (name VARCHAR, round VARCHAR, position VARCHAR) Question: Which name had more than 5 rounds and was a defensive end? [/INST] SELECT name FROM table_name_51 WHERE round > 5 AND position = ""defensive end"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR) Question: What is the category when Hy Conrad nominated in 2003? [/INST] SELECT category FROM table_name_84 WHERE nominee_s_ = ""hy conrad"" AND year = 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (score VARCHAR, player VARCHAR) Question: What is the score of player dick metz? [/INST] SELECT score FROM table_name_74 WHERE player = ""dick metz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (home_team VARCHAR, tie_no VARCHAR) Question: WHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7? [/INST] SELECT home_team FROM table_name_52 WHERE tie_no = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR) Question: Which Draws have a Position of 16, and less than 58 Goals against? [/INST] SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (theme_song_s_ VARCHAR, romaji_title VARCHAR) Question: What is the Theme Song of Iryu -Team Medical Dragon-2? [/INST] SELECT theme_song_s_ FROM table_name_23 WHERE romaji_title = ""iryu -team medical dragon-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (torque VARCHAR, model VARCHAR, years VARCHAR) Question: What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010–? [/INST] SELECT torque FROM table_name_37 WHERE model = ""2.0 bitdi (cr) dpf"" AND years = ""2010–"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, chassis VARCHAR) Question: What Team had less than 1 point with a Zakspeed 871 chassis? [/INST] SELECT team FROM table_name_44 WHERE points < 1 AND chassis = ""zakspeed 871"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (pick__number VARCHAR, nhl_team VARCHAR) Question: Which Pick # has an NHL team of detroit red wings? [/INST] SELECT pick__number FROM table_name_69 WHERE nhl_team = ""detroit red wings"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (leader_at_the_summit VARCHAR, year VARCHAR) Question: Who was the leader at the summit for the race in 2005? [/INST] SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (agg VARCHAR) Question: What 1st leg has Alense Vivaldi (Trentino) as Agg.? [/INST] SELECT 1 AS st_leg FROM table_name_58 WHERE agg = ""alense vivaldi (trentino)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, average_population__x_1000_ VARCHAR) Question: What is the highest crude death rate when deaths are 3 433 and average population is greater than 298? [/INST] SELECT MAX(crude_death_rate__per_1000_) FROM table_name_16 WHERE deaths = ""3 433"" AND average_population__x_1000_ > 298 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (total VARCHAR, ward INTEGER) Question: WHAT IS THE TOTAL NUMBER WITH A WARD SMALLER THAN 0? [/INST] SELECT COUNT(total) FROM table_name_80 WHERE ward < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, year VARCHAR, runner_up VARCHAR) Question: Name the Score of the Year larger than 2004 and a Runner-up of northeastern? [/INST] SELECT score FROM table_name_43 WHERE year > 2004 AND runner_up = ""northeastern"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, description VARCHAR) Question: What is the date of the British Rail class 111 tslrb description? [/INST] SELECT date FROM table_name_40 WHERE description = ""british rail class 111 tslrb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12194021_1 (womens_singles VARCHAR, mens_doubles VARCHAR, womens_doubles VARCHAR) Question: How many total titles did Rupesh Kumar Sanave Thomas and Jwala Gutta Ashwini Ponnappa win total? [/INST] SELECT COUNT(womens_singles) FROM table_12194021_1 WHERE mens_doubles = ""Rupesh Kumar Sanave Thomas"" AND womens_doubles = ""Jwala Gutta Ashwini Ponnappa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (course VARCHAR, stage VARCHAR) Question: What course are they running on stage 1? [/INST] SELECT course FROM table_name_5 WHERE stage = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (total VARCHAR, place VARCHAR, season VARCHAR) Question: What is the total for 3rd place on season 9? [/INST] SELECT total FROM table_name_41 WHERE place = ""3rd"" AND season = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (recnet VARCHAR, identifier VARCHAR) Question: What's the RECNet when the identifier is cbf-fm-20? [/INST] SELECT recnet FROM table_name_38 WHERE identifier = ""cbf-fm-20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (location VARCHAR, capacity VARCHAR) Question: Which location has 101,119 as the capacity? [/INST] SELECT location FROM table_name_72 WHERE capacity = ""101,119"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR) Question: Who was the winner on 28 December 2007? [/INST] SELECT winner FROM table_name_59 WHERE date = ""28 december 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR) Question: What losses consist of the team of japan? [/INST] SELECT losses FROM table_name_13 WHERE team = ""japan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR) Question: What is the lowest overall pick for a player from Washington? [/INST] SELECT MIN(overall) FROM table_name_11 WHERE college = ""washington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (theme VARCHAR, week VARCHAR) Question: What was the theme for week 3? [/INST] SELECT theme FROM table_name_38 WHERE week = ""week 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26686908_2 (circuit VARCHAR, date VARCHAR) Question: Which circuit was held on 25–28 march? [/INST] SELECT circuit FROM table_26686908_2 WHERE date = ""25–28 March"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (tournaments INTEGER, name VARCHAR) Question: What is the lowest Tournaments, when Name is ""Baruto""? [/INST] SELECT MIN(tournaments) FROM table_name_76 WHERE name = ""baruto"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29728596_2 (competition VARCHAR, away_team VARCHAR) Question: What were the competitions when the away team was fk kozara gradiska? [/INST] SELECT competition FROM table_29728596_2 WHERE away_team = ""FK Kozara Gradiska"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (week INTEGER, opponent VARCHAR) Question: What is the latest week when the chicago bears are the opponent? [/INST] SELECT MAX(week) FROM table_name_27 WHERE opponent = ""chicago bears"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10399701_2 (class_aAA VARCHAR, school_year VARCHAR) Question: Who was Class AAA during the school year of 2000-01? [/INST] SELECT class_aAA FROM table_10399701_2 WHERE school_year = ""2000-01"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (rbis INTEGER, team VARCHAR, date VARCHAR) Question: When the team is the Boston Red Sox and the is date July 27, 1946, what are the average RBIs? [/INST] SELECT AVG(rbis) FROM table_name_79 WHERE team = ""boston red sox"" AND date = ""july 27, 1946"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (smoke_point VARCHAR, polyunsaturated_fat VARCHAR) Question: What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)? [/INST] SELECT smoke_point FROM table_name_24 WHERE polyunsaturated_fat = ""69g (4g in high oleic variety)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (total INTEGER, silver VARCHAR, gold VARCHAR) Question: What is the sum of Total, when Silver is 0, and when Gold is 1? [/INST] SELECT SUM(total) FROM table_name_72 WHERE silver = 0 AND gold = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR) Question: What is the home team that played on February 25? [/INST] SELECT home FROM table_name_43 WHERE date = ""february 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (bronze INTEGER, total VARCHAR) Question: What is the bronze number when the total is 54/ [/INST] SELECT AVG(bronze) FROM table_name_30 WHERE total = 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE perpetrator (LOCATION VARCHAR, Killed VARCHAR) Question: What is the location of the perpetrator with the largest kills. [/INST] SELECT TOP 1 LOCATION FROM perpetrator ORDER BY Killed DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR) Question: What is the setting for the hard difficulty? [/INST] SELECT setting FROM table_24463470_1 WHERE difficulty = ""Hard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (result VARCHAR, distance VARCHAR) Question: What was the result of the race that was a 2000m distance? [/INST] SELECT result FROM table_name_57 WHERE distance = ""2000m"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (away_team VARCHAR, tie_no VARCHAR) Question: What is the away team for the tie no. 29? [/INST] SELECT away_team FROM table_name_81 WHERE tie_no = ""29"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR) Question: Name the tries that has a points of 008 8 and games of 27 27 [/INST] SELECT tries FROM table_name_98 WHERE points = ""008 8"" AND games = ""27 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (type_of_game VARCHAR, date VARCHAR) Question: what game was played on june 14 [/INST] SELECT type_of_game FROM table_name_27 WHERE date = ""june 14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (house VARCHAR, abbr VARCHAR) Question: Which house has an abbreviation of G? [/INST] SELECT house FROM table_name_60 WHERE abbr = ""g"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27862483_3 (pac_10_record VARCHAR, date VARCHAR) Question: What was the PAC-10 record of the game played on April 20? [/INST] SELECT pac_10_record FROM table_27862483_3 WHERE date = ""April 20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) Question: On what date did the team play againt the New Orleans Saints? [/INST] SELECT date FROM table_name_6 WHERE opponent = ""new orleans saints"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (competition VARCHAR, club VARCHAR) Question: What competition did the maccabi haifa fc club play? [/INST] SELECT competition FROM table_name_87 WHERE club = ""maccabi haifa fc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (total VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) Question: If there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals? [/INST] SELECT COUNT(total) FROM table_name_43 WHERE silver > 0 AND gold < 5 AND bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2187178_1 (truck_s_ VARCHAR, crew_chief VARCHAR) Question: Name the trucks for scott neal [/INST] SELECT truck_s_ FROM table_2187178_1 WHERE crew_chief = ""Scott Neal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (country VARCHAR, score VARCHAR) Question: Which country was the player from who scored 66-72-70=207? [/INST] SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16387700_1 (crowd INTEGER, date VARCHAR) Question: Name the most crowd for saturday 16 february [/INST] SELECT MAX(crowd) FROM table_16387700_1 WHERE date = ""Saturday 16 February"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (class__old__to_1868 VARCHAR, quantity INTEGER) Question: Can you tell me the Class (old) to 1868 that has the Quantity larger than 8? [/INST] SELECT class__old__to_1868 FROM table_name_47 WHERE quantity > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR) Question: What was the theatre where Peter P. Peters is the role? [/INST] SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = ""peter p. peters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE candidate_assessments (candidate_id VARCHAR, assessment_date VARCHAR) Question: Find id of the candidate who most recently accessed the course? [/INST] SELECT TOP 1 candidate_id FROM candidate_assessments ORDER BY assessment_date DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (time_retired VARCHAR, grid VARCHAR) Question: What is the time/retired for grid 19? [/INST] SELECT time_retired FROM table_name_40 WHERE grid = 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What is the average number of events the Masters tournament, which has more than 0 top-25, has? [/INST] SELECT AVG(events) FROM table_name_84 WHERE tournament = ""masters tournament"" AND top_25 > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (event VARCHAR, athlete VARCHAR) Question: What is the event result for athlete Ali Ekranpour? [/INST] SELECT event FROM table_name_71 WHERE athlete = ""ali ekranpour"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR) Question: What is the s B share for Handelsbanken funds incl XACT? [/INST] SELECT s_b_share FROM table_206419_3 WHERE shareholder = ""Handelsbanken funds incl XACT"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (bronze INTEGER, gold INTEGER) Question: What is the highest number of bronze medals for nations with under 0 golds? [/INST] SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE product (max_page_size VARCHAR) Question: Find the most prominent max page size among all the products. [/INST] SELECT TOP 1 max_page_size FROM product GROUP BY max_page_size ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (name_in_polish VARCHAR, seat VARCHAR) Question: Tell me the name in polish for radom seat [/INST] SELECT name_in_polish FROM table_name_36 WHERE seat = ""radom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR) Question: In what round was a player from Michigan selected? [/INST] SELECT MAX(round) FROM table_name_54 WHERE school_club_team = ""michigan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (city_of_license VARCHAR, network VARCHAR) Question: In which city is the network latv licensed? [/INST] SELECT city_of_license FROM table_name_93 WHERE network = ""latv"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (runner_up VARCHAR, year VARCHAR, arena VARCHAR) Question: Who was the runner-up at the Broadmoor Arena before 2008? [/INST] SELECT runner_up FROM table_name_43 WHERE year < 2008 AND arena = ""broadmoor arena"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27765443_2 (cpu_type VARCHAR, period_of_operation VARCHAR) Question: Name the cpu type for june 2005 - april 2009 [/INST] SELECT cpu_type FROM table_27765443_2 WHERE period_of_operation = ""June 2005 - April 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19517621_3 (series__number INTEGER, written_by VARCHAR) Question: What is the series number for the episode written by Kristen Dunphy and David Ogilvy? [/INST] SELECT MAX(series__number) FROM table_19517621_3 WHERE written_by = ""Kristen Dunphy and David Ogilvy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (title VARCHAR, termination_of_mission VARCHAR) Question: What Title has a Termination of Mission of November 4, 1861? [/INST] SELECT title FROM table_name_60 WHERE termination_of_mission = ""november 4, 1861"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total VARCHAR, player VARCHAR, matches VARCHAR) Question: How many total points did Oisin McConville have from his 5 matches? [/INST] SELECT COUNT(total) FROM table_name_90 WHERE player = ""oisin mcconville"" AND matches < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR) Question: What conference has 2009 as the season, with super leg final as the format? [/INST] SELECT conference FROM table_name_8 WHERE season = 2009 AND format = ""super leg final"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (retail_name VARCHAR, digital_analog_signal VARCHAR, chipset_based_on VARCHAR) Question: What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600? [/INST] SELECT retail_name FROM table_name_15 WHERE digital_analog_signal = ""analog"" AND chipset_based_on = ""radeon 9600"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24925945_3 (previous_school VARCHAR, height VARCHAR) Question: What was the previous school of the ft7in (m) tall player? [/INST] SELECT previous_school FROM table_24925945_3 WHERE height = ""ft7in (m)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (total VARCHAR, silver VARCHAR, bronze VARCHAR) Question: What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0? [/INST] SELECT COUNT(total) FROM table_name_70 WHERE silver < 2 AND bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR) Question: List the name of tracks belongs to genre Rock or media type is MPEG audio file. [/INST] SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = ""Rock"" OR T3.name = ""MPEG audio file"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (swimsuit INTEGER, interview VARCHAR, evening_gown VARCHAR) Question: What is the lowest swimsuit score where the contestant scored less than 8.56 in the interview and greater than 8.54 in the evening gown? [/INST] SELECT MIN(swimsuit) FROM table_name_85 WHERE interview < 8.56 AND evening_gown > 8.54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (band VARCHAR, purpose VARCHAR, callsign VARCHAR) Question: What is the Community Band with a 4BCB Callsign? [/INST] SELECT band FROM table_name_95 WHERE purpose = ""community"" AND callsign = ""4bcb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) Question: What was the date in which Behtash Fariba left his team? [/INST] SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = ""Behtash Fariba"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR) Question: What is the attendance of the game that had a date listed as Bye? [/INST] SELECT attendance FROM table_name_76 WHERE date = ""bye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) Question: When the assets are 2,550, what is the Market Value? [/INST] SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = ""2,550"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, player VARCHAR) Question: Who did Dan Follet play for before the draft? [/INST] SELECT college_junior_club_team FROM table_1965650_7 WHERE player = ""Dan Follet"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28523_2 (school VARCHAR) Question: What is the website of the cunningham hill infant school? [/INST] SELECT school AS website FROM table_28523_2 WHERE school = ""Cunningham Hill Infant school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR) Question: What CFL team got the player from york? [/INST] SELECT cfl_team FROM table_28059992_5 WHERE college = ""York"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR) Question: On which date did the Indians have a record of 67-58 [/INST] SELECT date FROM table_name_92 WHERE record = ""67-58"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (party VARCHAR, first_elected VARCHAR, district VARCHAR) Question: What is the Party of District of Illinois 19 with an Incumbent First elected in 1996? [/INST] SELECT party FROM table_name_37 WHERE first_elected = 1996 AND district = ""illinois 19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (first_elected INTEGER, result VARCHAR, district VARCHAR) Question: What's the highest First Elected with a Result of Re-elected and DIstrict of California 5? [/INST] SELECT MAX(first_elected) FROM table_name_21 WHERE result = ""re-elected"" AND district = ""california 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR) Question: What game was developed by Ubisoft Montreal? [/INST] SELECT game FROM table_name_53 WHERE developer_s_ = ""ubisoft montreal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE has_pet (petid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR, Lname VARCHAR) Question: Find the id of the pet owned by student whose last name is ‘Smith’. [/INST] SELECT T2.petid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.Lname = 'Smith' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (school_club_team VARCHAR, position VARCHAR) Question: What was the school for the player who was a DL? [/INST] SELECT school_club_team FROM table_name_53 WHERE position = ""dl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR) Question: what are all the record where date is january 21 [/INST] SELECT record FROM table_13480122_5 WHERE date = ""January 21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) Question: Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43? [/INST] SELECT MIN(round) FROM table_name_87 WHERE school_club_team = ""alabama"" AND pick > 43 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (ε__m__1_cm__1__ VARCHAR, mass__g_mol_ VARCHAR) Question: Which ε (M -1 cm -1) has a molar mass of 1008 g/mol? [/INST] SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = ""1008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) Question: What was the chassis when the entrant was Lavazza March, and the points were 0.5? [/INST] SELECT chassis FROM table_name_75 WHERE entrant = ""lavazza march"" AND points = 0.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11545282_19 (player VARCHAR, no VARCHAR) Question: Which player wears the number 6? [/INST] SELECT player FROM table_11545282_19 WHERE no = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (kilometer_no__layac_basis_ VARCHAR, barangay VARCHAR) Question: What kilometer (Layac-basis) has a Barangay of general lim (capot)? [/INST] SELECT kilometer_no__layac_basis_ FROM table_name_29 WHERE barangay = ""general lim (capot)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR) Question: What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio? [/INST] SELECT date FROM table_name_20 WHERE distance = ""km (mi)"" AND course = ""roccaraso to san giorgio del sannio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26137666_3 (pole_position VARCHAR, round VARCHAR) Question: How many pole positions for round 20? [/INST] SELECT COUNT(pole_position) FROM table_26137666_3 WHERE round = 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11658094_1 (location VARCHAR, joined VARCHAR) Question: what are the locations that joined in 2008 [/INST] SELECT location FROM table_11658094_1 WHERE joined = ""2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (song_title VARCHAR, length VARCHAR) Question: What Song has a Length of 2:50? [/INST] SELECT song_title FROM table_name_7 WHERE length = ""2:50"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR) Question: Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours? [/INST] SELECT owner FROM table_name_89 WHERE broadcasting_hours = ""24-hours"" AND channel___bkk__ = ""3/32 (vhf/uhf)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR) Question: What is the Authority for Kuranui Primary School that is located in the Area of Tirau? [/INST] SELECT authority FROM table_name_82 WHERE area = ""tirau"" AND name = ""kuranui primary school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR) Question: How many house mascots are associated with yellow house colours? [/INST] SELECT COUNT(house_mascot) FROM table_1942683_1 WHERE house_colour = ""Yellow"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_255205_1 (joined VARCHAR, type VARCHAR) Question: How many joined this Private/Church of God institution? [/INST] SELECT joined FROM table_255205_1 WHERE type = ""Private/Church of God"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (february INTEGER, record VARCHAR, game VARCHAR) Question: What is the lowest February, when Record is ""21-30-11"", and when Game is greater than 62? [/INST] SELECT MIN(february) FROM table_name_54 WHERE record = ""21-30-11"" AND game > 62 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR) Question: How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday? [/INST] SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = ""210 Kirby's Epic Yarn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR) Question: What is the Result with a Date with 22 january 2008? [/INST] SELECT result FROM table_name_43 WHERE date = ""22 january 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (district VARCHAR, incumbent VARCHAR) Question: Which district has joseph t. johnson as an incumbent? [/INST] SELECT district FROM table_name_61 WHERE incumbent = ""joseph t. johnson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (points INTEGER, match VARCHAR, draw VARCHAR, lost VARCHAR) Question: What is the sum of points for teams with more than 10 matches, more than 0 draws, and 7 losses? [/INST] SELECT SUM(points) FROM table_name_86 WHERE draw > 0 AND lost = 7 AND match > 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR) Question: What report has a score of 0-0 with Sydney FC? [/INST] SELECT report FROM table_name_49 WHERE score = ""0-0"" AND away_team = ""sydney fc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (genre VARCHAR, title VARCHAR) Question: What genre was Music in the Air? [/INST] SELECT genre FROM table_name_7 WHERE title = ""music in the air"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (crowd INTEGER, venue VARCHAR) Question: Which game at Arden Street Oval had the lowest attendance? [/INST] SELECT MIN(crowd) FROM table_name_96 WHERE venue = ""arden street oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (tournament VARCHAR) Question: What is the 2012 value with an A value in 2007 and A value in 2010 in the Canada Masters? [/INST] SELECT 2012 FROM table_name_60 WHERE 2007 = ""a"" AND 2010 = ""a"" AND tournament = ""canada masters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR) Question: What is the average pjehun measured by female enrollment? [/INST] SELECT AVG(pujehun) FROM table_name_10 WHERE measure = ""female enrollment"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR) Question: How many years had a score of 734-5d? [/INST] SELECT COUNT(year) FROM table_name_9 WHERE score = ""734-5d"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18811741_15 (pos INTEGER, podiums VARCHAR) Question: What is the highest pos for a driver with 1 podium? [/INST] SELECT MAX(pos) FROM table_18811741_15 WHERE podiums = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR) Question: What is the original air date of the episode with 908000 viewers? [/INST] SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (event VARCHAR, notes VARCHAR) Question: Which event has notes of women +60kg quarterfinal? [/INST] SELECT event FROM table_name_43 WHERE notes = ""women +60kg quarterfinal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23235767_4 (surface VARCHAR, championship VARCHAR) Question: Name the surface for philadelphia [/INST] SELECT surface FROM table_23235767_4 WHERE championship = ""Philadelphia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR) Question: Which team is Team 1 with a Team 2 being Sporting CP? [/INST] SELECT team_1 FROM table_name_81 WHERE team_2 = ""sporting cp"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Document_locations (location_code VARCHAR) Question: What is the location code with the most documents? [/INST] SELECT TOP 1 location_code FROM Document_locations GROUP BY location_code ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) Question: Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea? [/INST] SELECT laps FROM table_name_48 WHERE manufacturer = ""aprilia"" AND rider = ""sergio gadea"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (record VARCHAR, attendance VARCHAR) Question: What was the Indians record during the game that had 19,823 fans attending? [/INST] SELECT record FROM table_name_75 WHERE attendance = ""19,823"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (venue VARCHAR, score VARCHAR, season VARCHAR) Question: In the 2004 season with a 0-2 score what was the name of the venue? [/INST] SELECT venue FROM table_name_5 WHERE score = ""0-2"" AND season = 2004 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24172157_3 (table VARCHAR, team VARCHAR) Question: What is the table for the team Blackburn Rovers? [/INST] SELECT table FROM table_24172157_3 WHERE team = ""Blackburn Rovers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (myspace INTEGER, site VARCHAR, orkut VARCHAR) Question: What myspace has linkedin as the site, with an orkit greater than 3? [/INST] SELECT AVG(myspace) FROM table_name_62 WHERE site = ""linkedin"" AND orkut > 3 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29743928_5 (int_caps INTEGER) Question: What is the lowest value for int. caps? [/INST] SELECT MIN(int_caps) FROM table_29743928_5
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR) Question: What purses had a winners share equal to $428650? [/INST] SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (english_translation VARCHAR, season_in_sanskrit VARCHAR) Question: What is the english translation of the sanskrit word varsha? [/INST] SELECT english_translation FROM table_name_81 WHERE season_in_sanskrit = ""varsha"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (wins INTEGER, hampden_fl VARCHAR) Question: How many wins did South Warrambool have? [/INST] SELECT AVG(wins) FROM table_name_91 WHERE hampden_fl = ""south warrambool"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE machine (machine_id VARCHAR, quality_rank VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) Question: Show names of technicians in ascending order of quality rank of the machine they are assigned. [/INST] SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID ORDER BY T2.quality_rank "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_14 (place VARCHAR, rank_by_average INTEGER) Question: What place would you be in if your rank by average is less than 2.0? [/INST] SELECT place FROM table_19744915_14 WHERE rank_by_average < 2.0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, result VARCHAR) Question: Name the date for w 31-28 [/INST] SELECT date FROM table_name_60 WHERE result = ""w 31-28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (played INTEGER, team VARCHAR) Question: What is the highest amount of plays for fluminense? [/INST] SELECT MAX(played) FROM table_name_97 WHERE team = ""fluminense"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Aircraft (Id VARCHAR) Question: How many aircrafts do we have? [/INST] SELECT COUNT(*) FROM Aircraft
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (artist VARCHAR, number VARCHAR) Question: Which artist has a serial number of ATM24016? [/INST] SELECT artist FROM table_name_41 WHERE number = ""atm24016"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15467476_3 (losing_bonus VARCHAR, points_difference VARCHAR) Question: What is the losing bonus for the team with a point difference of -99? [/INST] SELECT losing_bonus FROM table_15467476_3 WHERE points_difference = ""-99"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE review (u_id VARCHAR) Question: How many different users wrote some reviews? [/INST] SELECT COUNT(DISTINCT u_id) FROM review
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) Question: What driver went 14 rounds with a 193 Chassis? [/INST] SELECT driver FROM table_name_55 WHERE chassis = ""193"" AND rounds = ""14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR) Question: What is the score of the United States, which has more than $24,542? [/INST] SELECT score FROM table_name_21 WHERE country = ""united states"" AND money___$__ > 24 OFFSET 542 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR, points VARCHAR, date VARCHAR) Question: What is the highest value for Game, when Points is 16, when Date is November 11, 2008, and when Attendance is greater than 19,289? [/INST] SELECT MAX(game) FROM table_name_24 WHERE points = 16 AND date = ""november 11, 2008"" AND attendance > 19 OFFSET 289 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) Question: Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names. [/INST] SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = ""OTHA"" AND T2.lastname = ""MOYER"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR) Question: What are all percentages of Left Block when there is a 28.7% Social Democratic? [/INST] SELECT left_bloc FROM table_1463383_1 WHERE social_democratic = ""28.7%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (attendance INTEGER, opponent VARCHAR) Question: What was the lowest attendance when the Green Bay Packers played? [/INST] SELECT MIN(attendance) FROM table_name_31 WHERE opponent = ""green bay packers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR) Question: What was the world rank by QS in 2013 for the University of Otago? [/INST] SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = ""University of Otago"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (played INTEGER, lost INTEGER) Question: What is the lowest played with a lost bigger than 10? [/INST] SELECT MIN(played) FROM table_name_85 WHERE lost > 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (place VARCHAR, country VARCHAR) Question: What is the Place of the Player from New Zealand? [/INST] SELECT place FROM table_name_18 WHERE country = ""new zealand"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (result VARCHAR, attendance VARCHAR) Question: What is the result of the game with 57,234 people in attendance? [/INST] SELECT result FROM table_name_17 WHERE attendance = ""57,234"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (episode_no VARCHAR, original_airdate VARCHAR, production_no VARCHAR) Question: What is the episode number of the episode that originally aired on January 26, 2009 and had a production number smaller than 38? [/INST] SELECT COUNT(episode_no) FROM table_name_53 WHERE original_airdate = ""january 26, 2009"" AND production_no < 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (position VARCHAR, total_apps VARCHAR) Question: Which position has 5 total apps? [/INST] SELECT position FROM table_name_39 WHERE total_apps = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (assists INTEGER, player VARCHAR) Question: How many assists does David Tomlinson have? [/INST] SELECT SUM(assists) FROM table_name_71 WHERE player = ""david tomlinson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (sales VARCHAR, album_title VARCHAR) Question: How many copies of scouting for girls were sold? [/INST] SELECT COUNT(sales) FROM table_name_31 WHERE album_title = ""scouting for girls"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR) Question: What was the score in Tie number 16? [/INST] SELECT score FROM table_name_16 WHERE tie_no = ""16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (touchdowns VARCHAR, player VARCHAR) Question: How many touchdowns were scored by William Cole? [/INST] SELECT touchdowns FROM table_name_88 WHERE player = ""william cole"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR) Question: how many first elected with district being north carolina 2 [/INST] SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = ""North Carolina 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (overall INTEGER, pick__number INTEGER) Question: What is the overall pick average with the pick # lower than 15? [/INST] SELECT AVG(overall) FROM table_name_26 WHERE pick__number < 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (result VARCHAR, round VARCHAR) Question: What was the result of the second round? [/INST] SELECT result FROM table_name_5 WHERE round = ""second round"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR) Question: Which High rebounds have a Game larger than 4, and a Date of may 27? [/INST] SELECT high_rebounds FROM table_name_13 WHERE game > 4 AND date = ""may 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (clubs VARCHAR, matches VARCHAR) Question: What are the clubs with 46 matches? [/INST] SELECT clubs FROM table_name_57 WHERE matches = 46 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (record VARCHAR, score VARCHAR, game VARCHAR, points VARCHAR) Question: Which Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4–6? [/INST] SELECT record FROM table_name_24 WHERE game < 19 AND points < 19 AND score = ""4–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team from st kilda? [/INST] SELECT away_team FROM table_name_89 WHERE home_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR) Question: What is the Capacity in use with an Annual change that is 21.8%? [/INST] SELECT capacity_in_use FROM table_name_31 WHERE annual_change = ""21.8%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (association VARCHAR, nominee VARCHAR, year VARCHAR) Question: Who was the association that Daniel Mananta belonged to after 2011? [/INST] SELECT association FROM table_name_54 WHERE nominee = ""daniel mananta"" AND year > 2011 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (to_par VARCHAR, country VARCHAR, place VARCHAR) Question: What is the to par of the player from the United States with a t1 place? [/INST] SELECT to_par FROM table_name_76 WHERE country = ""united states"" AND place = ""t1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2597876_2 (top_10 VARCHAR, position VARCHAR) Question: How many values of top 10 for 5th position? [/INST] SELECT COUNT(top_10) FROM table_2597876_2 WHERE position = ""5th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR) Question: What is Score, when Opponent is ""@ New York Knicks""? [/INST] SELECT score FROM table_name_9 WHERE opponent = ""@ new york knicks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (venue VARCHAR, margin_of_victory VARCHAR) Question: At what venue is the margin of victory 7 strokes? [/INST] SELECT venue FROM table_name_82 WHERE margin_of_victory = ""7 strokes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21346767_3 (age INTEGER, geographical_regions VARCHAR, hometown VARCHAR) Question: Name the least age for cibao central and santo domingo [/INST] SELECT MIN(age) FROM table_21346767_3 WHERE geographical_regions = ""Cibao Central"" AND hometown = ""Santo Domingo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, geschwader_base VARCHAR) Question: Name the aircraft type for furstenau/vorden [/INST] SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base = ""Furstenau/Vorden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (evening_gown INTEGER, swimsuit VARCHAR, interview VARCHAR) Question: WHich Evening Gown has a Swimsuit smaller than 7.99 and a Interview larger than 7.98? [/INST] SELECT AVG(evening_gown) FROM table_name_21 WHERE swimsuit < 7.99 AND interview > 7.98 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (tests VARCHAR, lost VARCHAR, name VARCHAR) Question: What is the total number of Tests when the lost is less than 9 for sir fred allen? [/INST] SELECT COUNT(tests) FROM table_name_43 WHERE lost < 9 AND name = ""sir fred allen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (away_team VARCHAR) Question: What is Richmond score as the away team? [/INST] SELECT away_team AS score FROM table_name_11 WHERE away_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (total INTEGER, matches VARCHAR, rank VARCHAR) Question: What is the total when matches is less than 3, and rank is smaller than 2? [/INST] SELECT MIN(total) FROM table_name_41 WHERE matches < 3 AND rank < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (airport VARCHAR, icao VARCHAR) Question: What is the name of the airport with an ICAO of ULLI? [/INST] SELECT airport FROM table_name_40 WHERE icao = ""ulli"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248869_8 (game INTEGER, high_points VARCHAR) Question: What was the game when high points was david lee (30) [/INST] SELECT MIN(game) FROM table_23248869_8 WHERE high_points = ""David Lee (30)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) Question: Which entrant had a Brabham BT10 chassis before 1965? [/INST] SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = ""brabham bt10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR) Question: What album was the song My Chariot on? [/INST] SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = ""My Chariot"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) Question: What did the away team score when they visited south melbourne? [/INST] SELECT away_team AS score FROM table_name_26 WHERE home_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (chassis VARCHAR, points VARCHAR, engine VARCHAR, year VARCHAR) Question: Before 1976 and with 12 points, what chassis did the Ford V8 have? [/INST] SELECT chassis FROM table_name_66 WHERE engine = ""ford v8"" AND year < 1976 AND points = ""12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the Rank of the Nation with 0 Silver and more than 1 Bronze? [/INST] SELECT MAX(rank) FROM table_name_24 WHERE silver < 1 AND bronze > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) Question: What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal? [/INST] SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = ""trinidad and tobago"" AND total < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (départ_de_la_main_gauche VARCHAR, mode VARCHAR) Question: What is the Depart de la main gauche of the do Mode? [/INST] SELECT départ_de_la_main_gauche FROM table_name_26 WHERE mode = ""do"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (entrants INTEGER, winner VARCHAR) Question: What was the fewest entrants in an event won by Grant Hinkle? [/INST] SELECT MIN(entrants) FROM table_name_90 WHERE winner = ""grant hinkle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR) Question: Who scored a 68? [/INST] SELECT player FROM table_name_96 WHERE score = 68 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (series VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which Series has an Opponent of @ new york rangers, and a Date of april 22? [/INST] SELECT series FROM table_name_70 WHERE opponent = ""@ new york rangers"" AND date = ""april 22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (example_code__huc_ VARCHAR, level VARCHAR) Question: How many HUC example codes have 1 level? [/INST] SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668243_22 (incumbent VARCHAR, district VARCHAR) Question: Who was the ""incumbent"" of district south carolina 7? [/INST] SELECT incumbent FROM table_2668243_22 WHERE district = ""South Carolina 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (organization VARCHAR, work VARCHAR) Question: Where Work is veterinarian dolittle, what is the Organization? [/INST] SELECT organization FROM table_name_82 WHERE work = ""veterinarian dolittle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (place VARCHAR, area__km_2__ INTEGER) Question: Which place has more area (km 2) than 34.42? [/INST] SELECT place FROM table_name_99 WHERE area__km_2__ > 34.42 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR) Question: Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979? [/INST] SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = ""20/05/1979"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the average total number of medals when there were 4 bronze, more than 2 silver, and less than 7 gold medals? [/INST] SELECT AVG(total) FROM table_name_26 WHERE bronze = 4 AND silver > 2 AND gold < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR) Question: Can you tell me the Score that has the Player of raymond floyd? [/INST] SELECT score FROM table_name_76 WHERE player = ""raymond floyd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR) Question: what is the biggest series episode number whose production code is 2t7211? [/INST] SELECT MAX(no) FROM table_21979779_1 WHERE production_code = ""2T7211"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR) Question: What is the longitude of the feature named Razia Patera? [/INST] SELECT longitude FROM table_16799784_8 WHERE name = ""Razia Patera"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) Question: During what years did the tallest building, located at 211 Union Street, have less than 31 floors? [/INST] SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = ""211 union street"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (location VARCHAR) Question: What is the 2000 number when the 1989 is less than 54.9 in Arizona, New Mexico, and Utah? [/INST] SELECT SUM(2000) FROM table_name_94 WHERE 1989 < 54.9 AND location = ""arizona, new mexico, and utah"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (wins INTEGER, points VARCHAR, year VARCHAR) Question: What is the lowest win number of the competitor who had 90 points before 1994? [/INST] SELECT MIN(wins) FROM table_name_41 WHERE points = 90 AND year < 1994 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) Question: Where was the tourney when Louisville won the regular season? [/INST] SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = ""Louisville"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (result VARCHAR, match VARCHAR) Question: What was the result for the match with entry Match Reports? [/INST] SELECT result FROM table_name_69 WHERE match = ""match reports"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR) Question: When was the date that had a Loss of Shirley (0-1)? [/INST] SELECT date FROM table_name_31 WHERE loss = ""shirley (0-1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) Question: What is the home team for victoria park? [/INST] SELECT home_team FROM table_name_93 WHERE venue = ""victoria park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (score INTEGER, place VARCHAR, country VARCHAR) Question: What is the average score for the player who is T5 in the United States? [/INST] SELECT AVG(score) FROM table_name_60 WHERE place = ""t5"" AND country = ""united states"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (city VARCHAR, results¹ VARCHAR) Question: what city scored 0:0 [/INST] SELECT city FROM table_name_78 WHERE results¹ = ""0:0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14650373_1 (nfl_team VARCHAR, player VARCHAR) Question: What NFL team does player keith woodside play for? [/INST] SELECT nfl_team FROM table_14650373_1 WHERE player = ""Keith Woodside"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) Question: What was the attendance for the game where the score was 0-6? [/INST] SELECT attendance FROM table_name_8 WHERE score = ""0-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (week INTEGER, date VARCHAR) Question: What week had a game that was played on November 11, 1962? [/INST] SELECT AVG(week) FROM table_name_86 WHERE date = ""november 11, 1962"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (november VARCHAR, game INTEGER) Question: What day in November has the game less than 12? [/INST] SELECT november FROM table_name_55 WHERE game < 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (silver VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) Question: What is silver when gold is 1 and the rank is less than 3 for japan? [/INST] SELECT silver FROM table_name_77 WHERE gold = 1 AND rank < 3 AND nation = ""japan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (year VARCHAR, yards VARCHAR) Question: What year was 2,242 yards achieved? [/INST] SELECT year FROM table_name_68 WHERE yards = ""2,242"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What was the margin of victory at the LPGA Championship? [/INST] SELECT margin_of_victory FROM table_name_65 WHERE tournament = ""lpga championship"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR) Question: What country is the player with a score of 72-72=144 from? [/INST] SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (order_and_title VARCHAR, nationality VARCHAR, elector VARCHAR) Question: What is the Order and Title with a Nationality with roman, and an Elector with matteo orsini rosso? [/INST] SELECT order_and_title FROM table_name_6 WHERE nationality = ""roman"" AND elector = ""matteo orsini rosso"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR) Question: What was awarded before 2013 to the Saber in the category of Best Action? [/INST] SELECT award FROM table_name_93 WHERE year < 2013 AND title_of_work = ""saber"" AND category = ""best action"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (high_points VARCHAR, date VARCHAR) Question: Who had the most points in the game on November 12? [/INST] SELECT high_points FROM table_name_86 WHERE date = ""november 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (wins VARCHAR, events VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) Question: How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events? [/INST] SELECT COUNT(wins) FROM table_name_97 WHERE top_25 = 1 AND cuts_made < 2 AND events < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (numer_of_jamaicans_granted_british_citizenship INTEGER, year VARCHAR, registration_of_a_minor_child VARCHAR) Question: Tell me the sum of number of jamaicans given british citizenship for 2004 and registration of a minor child more than 640 [/INST] SELECT SUM(numer_of_jamaicans_granted_british_citizenship) FROM table_name_44 WHERE year = 2004 AND registration_of_a_minor_child > 640 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR) Question: When was there a match in Centurion Park? [/INST] SELECT date FROM table_name_49 WHERE venue = ""centurion park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (enrollment INTEGER, founded VARCHAR, control VARCHAR, location VARCHAR) Question: What is the enrollment number for the public institution in Golden, Colorado founded after 1874? [/INST] SELECT AVG(enrollment) FROM table_name_38 WHERE control = ""public"" AND location = ""golden, colorado"" AND founded > 1874 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20928682_1 (opponents VARCHAR, opponent VARCHAR) Question: How many games were played against Tulane? [/INST] SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = ""Tulane"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16295365_1 (conference VARCHAR, school VARCHAR) Question: Which conference is Belmont in? [/INST] SELECT conference FROM table_16295365_1 WHERE school = ""Belmont"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22538587_3 (l_g VARCHAR, c_g VARCHAR, c_apps VARCHAR) Question: Name the total number of lg for cg is larger than 1.0 for c apps is 3 [/INST] SELECT COUNT(l_g) FROM table_22538587_3 WHERE c_g > 1.0 AND c_apps = 3 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE elimination (Team VARCHAR) Question: Show teams that have suffered more than three eliminations. [/INST] SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (county VARCHAR, median_household_income VARCHAR) Question: What County has a Median household income of $46,872? [/INST] SELECT county FROM table_name_36 WHERE median_household_income = ""$46,872"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2248784_4 (rank_asia INTEGER) Question: What is the smallest Asian rank? [/INST] SELECT MIN(rank_asia) FROM table_2248784_4
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (total INTEGER, nation VARCHAR, silver VARCHAR) Question: Which Total has a Nation of japan (jpn), and a Silver smaller than 1? [/INST] SELECT AVG(total) FROM table_name_85 WHERE nation = ""japan (jpn)"" AND silver < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (qual VARCHAR, year VARCHAR) Question: What was Tony Bettenhausen's qualifying time in 1947? [/INST] SELECT qual FROM table_name_61 WHERE year = ""1947"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (runner_up VARCHAR, rank VARCHAR, last_win VARCHAR, wins VARCHAR) Question: Which Runner-up has a Last win smaller than 1998, and Wins of 1, and a Rank larger than 13? [/INST] SELECT COUNT(runner_up) FROM table_name_71 WHERE last_win < 1998 AND wins = 1 AND rank > 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (headquarters VARCHAR, employees__world_ VARCHAR) Question: Which HQ is associated with a number of employees of 100? [/INST] SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (swimsuit INTEGER, state VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR) Question: What's the highest swimsuit for an average less than 8.073, evening gown less than 8.31, and an interview over 8.23 in georgia? [/INST] SELECT MAX(swimsuit) FROM table_name_13 WHERE average < 8.073 AND evening_gown < 8.31 AND interview > 8.23 AND state = ""georgia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (capacity__mw_ INTEGER, state_province VARCHAR) Question: What is the total capacity (MW) of the windfarm located in the state/province of Gansu? [/INST] SELECT SUM(capacity__mw_) FROM table_name_72 WHERE state_province = ""gansu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR) Question: How many tickets were available at Halle Tony Garnier on June 15, 2009? [/INST] SELECT tickets_available_since FROM table_name_75 WHERE venue = ""halle tony garnier"" AND date = ""june 15, 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22665117_1 (county VARCHAR, district_name VARCHAR) Question: If the name of the district is the Charyl Stockwell Academy, what is the county name? [/INST] SELECT county FROM table_22665117_1 WHERE district_name = ""Charyl Stockwell Academy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22915134_2 (graphical VARCHAR, example VARCHAR) Question: When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical? [/INST] SELECT graphical FROM table_22915134_2 WHERE example = ""Shinya Nakano's Kawasaki Ninja ZX-RR"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR) Question: Find the names of rooms that have been reserved for more than 60 times. [/INST] SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room HAVING COUNT(*) > 60 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (m939_series VARCHAR, m809_series VARCHAR, m39_series VARCHAR) Question: Name the M939 series with M809 series of m817 and M39 series of m51 [/INST] SELECT m939_series FROM table_name_54 WHERE m809_series = ""m817"" AND m39_series = ""m51"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR) Question: Who was the home team at Gold Coast Convention Centre? [/INST] SELECT home_team FROM table_name_8 WHERE venue = ""gold coast convention centre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15887683_3 (content VARCHAR, package_option VARCHAR) Question: What's the content of the Tutti i Pacchetti + Sky HD package? [/INST] SELECT content FROM table_15887683_3 WHERE package_option = ""Tutti i pacchetti + Sky HD"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (example VARCHAR, consonant_final_stem VARCHAR) Question: What example for did- is shown for a Consonant final stem of -ø? [/INST] SELECT example AS :_did_ FROM table_name_84 WHERE consonant_final_stem = ""-ø"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (surface VARCHAR, opponent VARCHAR) Question: What was the surface for Adrian Ungur as an opponent? [/INST] SELECT surface FROM table_name_86 WHERE opponent = ""adrian ungur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR) Question: What record has march 30 as the date? [/INST] SELECT record FROM table_name_1 WHERE date = ""march 30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (captain VARCHAR, runner_up VARCHAR, year VARCHAR) Question: When the year is later than 1939 and the Runner-up is Tanunda, who is the Captain? [/INST] SELECT captain FROM table_name_57 WHERE runner_up = ""tanunda"" AND year > 1939 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (team VARCHAR, chassis___engine VARCHAR, laps VARCHAR) Question: What team has a porsche 956 b chassis-engine with less than 79 laps? [/INST] SELECT team FROM table_name_17 WHERE chassis___engine = ""porsche 956 b"" AND laps < 79 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) Question: what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3? [/INST] SELECT SUM(total) FROM table_name_37 WHERE bronze > 1 AND nation = ""hong kong (hkg)"" AND gold < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25802618_15 (stage INTEGER, winner VARCHAR) Question: What was the latest stage won by Mikhail Ignatiev? [/INST] SELECT MAX(stage) FROM table_25802618_15 WHERE winner = ""Mikhail Ignatiev"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (rank VARCHAR, bronze VARCHAR, nation VARCHAR) Question: Where does Norway rank in total medals among countries with fewer than 7 bronzes? [/INST] SELECT rank FROM table_name_96 WHERE bronze < 7 AND nation = ""norway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR) Question: How much Against has Draws of 2, and Losses smaller than 4? [/INST] SELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (npl_net VARCHAR, bank VARCHAR) Question: Which NPL net's bank was citibank? [/INST] SELECT npl_net FROM table_name_30 WHERE bank = ""citibank"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1773908_3 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR) Question: Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes? [/INST] SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = ""yes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) Question: What is the score on 2 October 2011? [/INST] SELECT score FROM table_name_72 WHERE date = ""2 october 2011"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (pos VARCHAR, race VARCHAR, co_driver VARCHAR) Question: What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans? [/INST] SELECT pos FROM table_name_39 WHERE race = ""24 hours of le mans"" AND co_driver = ""jackie oliver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21795846_1 (series VARCHAR, position VARCHAR) Question: If the position is 12th, what was the series? [/INST] SELECT series FROM table_21795846_1 WHERE position = ""12th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR) Question: What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals? [/INST] SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = ""des dickson"" AND goals < 219 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR) Question: What is HDTV, when Television service is cartello promozionale sky hd? [/INST] SELECT hdtv FROM table_name_95 WHERE television_service = ""cartello promozionale sky hd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (score VARCHAR, record VARCHAR) Question: What was the score of the game with a record of 33–25–9? [/INST] SELECT score FROM table_name_13 WHERE record = ""33–25–9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25271777_1 (violent VARCHAR, index VARCHAR) Question: How many violent crimes occurred the year that the index was 191037? [/INST] SELECT violent FROM table_25271777_1 WHERE index = 191037 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What Player has less than 10 Touchdowns and 0 Extra points and more than 5 Points? [/INST] SELECT player FROM table_name_77 WHERE touchdowns < 10 AND extra_points = 0 AND points > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) Question: What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is less than 1? [/INST] SELECT AVG(bronze) FROM table_name_78 WHERE rank > 6 AND nation = ""italy (ita)"" AND total < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26708105_5 (aa_length VARCHAR, protein_name VARCHAR) Question: What is the aa length when the protein name is c11orf73? [/INST] SELECT aa_length FROM table_26708105_5 WHERE protein_name = ""C11orf73"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR) Question: What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals? [/INST] SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) Question: Who were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une? [/INST] SELECT winner FROM table_28853064_15 WHERE mountains_classification = ""Oscar Solis"" AND team_classification = ""EPM-UNE"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR) Question: What is the average number of wins for the Terang Club, when there are less than 0 draws? [/INST] SELECT AVG(wins) FROM table_name_43 WHERE club = ""terang"" AND draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR) Question: Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147? [/INST] SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147 "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (place VARCHAR, score VARCHAR) Question: what is the place when the score is 76-69-71-70=286? [/INST] SELECT place FROM table_name_34 WHERE score = 76 - 69 - 71 - 70 = 286 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (long INTEGER, player VARCHAR, avg VARCHAR) Question: What is the average long that Ramon Richardson played and an average greater than 5.5? [/INST] SELECT AVG(long) FROM table_name_18 WHERE player = ""ramon richardson"" AND avg > 5.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE city (Name VARCHAR, Population VARCHAR, CountryCode VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR) Question: Find the city with the largest population that uses English. [/INST] SELECT TOP 1 T1.Name, T1.Population FROM city AS T1 JOIN countrylanguage AS T2 ON T1.CountryCode = T2.CountryCode WHERE T2.Language = ""English"" ORDER BY T1.Population DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR) Question: What is the total number of Gold, when Silver is 2, and when Total is less than 7? [/INST] SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (opponent VARCHAR, record VARCHAR) Question: What is the Opponent when the Record is 34–31–6? [/INST] SELECT opponent FROM table_name_3 WHERE record = ""34–31–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26240481_1 (opponents_head_coach VARCHAR, result VARCHAR) Question: Who was the opponents head coach with the result L, 56-6? [/INST] SELECT opponents_head_coach FROM table_26240481_1 WHERE result = ""L, 56-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (nationality VARCHAR, heat VARCHAR, time VARCHAR) Question: What is the nationality with less than 9 heat, and a time of 1:01.87? [/INST] SELECT nationality FROM table_name_3 WHERE heat < 9 AND time = ""1:01.87"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (release_date VARCHAR, sspec_number VARCHAR) Question: What is Release Date, when sSpec Number is SLBZE(C0)SLBR8? [/INST] SELECT release_date FROM table_name_22 WHERE sspec_number = ""slbze(c0)slbr8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR) Question: Name the lg for ermengol [/INST] SELECT l_g FROM table_19018191_5 WHERE player = ""Ermengol"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225205_3 (state__class_ VARCHAR, reason_for_change VARCHAR) Question: Name the state class for iowa admitted to the union december 28, 1846 [/INST] SELECT state__class_ FROM table_225205_3 WHERE reason_for_change = ""Iowa admitted to the Union December 28, 1846"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2679061_1 (player VARCHAR, position VARCHAR, college_junior_club_team VARCHAR) Question: who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)? [/INST] SELECT player FROM table_2679061_1 WHERE position = ""Defence"" AND college_junior_club_team = ""Ottawa 67's (OHL)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR) Question: Name the date for venue of lord's [/INST] SELECT date FROM table_name_78 WHERE venue = ""lord's"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (giro_di_lombardia VARCHAR, tour_of_flanders VARCHAR, paris_roubaix VARCHAR) Question: what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )? [/INST] SELECT giro_di_lombardia FROM table_name_22 WHERE tour_of_flanders = ""tom boonen ( bel )"" AND paris_roubaix = ""fabian cancellara ( sui )"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR) Question: What is the earliest year that a team event was included at Vilamoura, Portugal? [/INST] SELECT MIN(year) FROM table_name_11 WHERE event = ""team"" AND venue = ""vilamoura, portugal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year VARCHAR, nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, racing_series VARCHAR) Question: What year has the vehicle of open wheel and a racing series of formula one with a Nation of citizenship in Germany. [/INST] SELECT year FROM table_name_90 WHERE type_of_vehicle = ""open wheel"" AND racing_series = ""formula one"" AND nation_of_citizenship = ""germany"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24535095_2 (_number INTEGER, listed_owner_s_ VARCHAR) Question: Name the least listed owner for pete raymer [/INST] SELECT MIN(_number) FROM table_24535095_2 WHERE listed_owner_s_ = ""Pete Raymer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (venue VARCHAR, home VARCHAR) Question: In what venue did FK Crvena Stijena play at home? [/INST] SELECT venue FROM table_name_24 WHERE home = ""fk crvena stijena"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (engine VARCHAR, transmission VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) Question: What is the engine when the transmission was 4-speed automatic, and acceleration 0–100km/h (0–62mph) was 10.4 s? [/INST] SELECT engine FROM table_name_12 WHERE transmission = ""4-speed automatic"" AND acceleration_0_100km_h__0_62mph_ = ""10.4 s"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_176524_2 (population INTEGER, area_km_2 VARCHAR) Question: What is the minimum population of the parish with a 750.51 km area? [/INST] SELECT MIN(population) FROM table_176524_2 WHERE area_km_2 = ""750.51"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, ostrich VARCHAR) Question: What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk? [/INST] SELECT hadeda_ibis FROM table_20042805_2 WHERE ostrich = ""Dark Chanting Goshawk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR) Question: Which battle of the planets where ova (harmony gold dub) is solaris? [/INST] SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = ""Solaris"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, silver VARCHAR) Question: How many bronze medals did west germany win when they had less than 2 silver medals? [/INST] SELECT SUM(bronze) FROM table_name_29 WHERE nation = ""west germany"" AND silver < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (designer VARCHAR, restaurant_name VARCHAR) Question: What designer has a restaurant named The Citizen? [/INST] SELECT designer FROM table_name_42 WHERE restaurant_name = ""the citizen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) Question: Name the score for october 9 [/INST] SELECT score FROM table_name_35 WHERE date = ""october 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (score VARCHAR, result VARCHAR) Question: What score has 7-0 as the result? [/INST] SELECT score FROM table_name_56 WHERE result = ""7-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (time VARCHAR, city VARCHAR) Question: What is the time in Baltimore? [/INST] SELECT time FROM table_name_9 WHERE city = ""baltimore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR) Question: What was the number of athletes for the 7th edition? [/INST] SELECT no_of_athletes FROM table_26669939_1 WHERE edition = ""7th"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE body_builder (Snatch INTEGER) Question: What is the average snatch score of body builders? [/INST] SELECT AVG(Snatch) FROM body_builder
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_191105_2 (first_aired VARCHAR, performed_by VARCHAR) Question: When zachary sanders is the performer how many first aired are there? [/INST] SELECT COUNT(first_aired) FROM table_191105_2 WHERE performed_by = ""Zachary Sanders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (losing_bonus VARCHAR, played VARCHAR, points_for VARCHAR) Question: What was the losing bonus for the 20 played, and 353 points? [/INST] SELECT losing_bonus FROM table_name_89 WHERE played = ""20"" AND points_for = ""353"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (product VARCHAR) Question: What is the amount of oil terminal in 2004? [/INST] SELECT 2004 FROM table_name_51 WHERE product = ""oil terminal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (country VARCHAR, total VARCHAR, year_s__won VARCHAR) Question: What is Country, when Total is less than 290, and when Year(s) Won is 1960? [/INST] SELECT country FROM table_name_29 WHERE total < 290 AND year_s__won = ""1960"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR) Question: Name the Venue which has a Losing Team of newcastle knights? [/INST] SELECT venue FROM table_name_7 WHERE losing_team = ""newcastle knights"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18618672_2 (year VARCHAR) Question: What is the 3rd place team for the year of 1955? [/INST] SELECT 3 AS rd_place_team FROM table_18618672_2 WHERE year = 1955
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (class VARCHAR, pos VARCHAR) Question: What was the class position of the team that was in the 4th position? [/INST] SELECT class AS pos FROM table_name_73 WHERE pos = ""4th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (catalogue_no VARCHAR, format VARCHAR, country VARCHAR) Question: what is the catalogue no when the format is cd (limited edition steel-box) and the country is germany? [/INST] SELECT catalogue_no FROM table_name_12 WHERE format = ""cd (limited edition steel-box)"" AND country = ""germany"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (year INTEGER, venue VARCHAR) Question: Which Year is the highest one that has a Venue of edmonton, canada? [/INST] SELECT MAX(year) FROM table_name_50 WHERE venue = ""edmonton, canada"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (country VARCHAR, to_par VARCHAR) Question: What is the Country of the Player with a To par of –5? [/INST] SELECT country FROM table_name_46 WHERE to_par = ""–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1694492_2 (reason_for_change VARCHAR, district VARCHAR) Question: In district New York 10th, what was the reason for change? [/INST] SELECT reason_for_change FROM table_1694492_2 WHERE district = ""New York 10th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13755296_1 (season__number INTEGER, directed_by VARCHAR) Question: What's the season number of the episode directed by Dan Attias? [/INST] SELECT MIN(season__number) FROM table_13755296_1 WHERE directed_by = ""Dan Attias"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR) Question: Which date has rich stadium as the game site for week 1? [/INST] SELECT date FROM table_name_13 WHERE game_site = ""rich stadium"" AND week = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (time_retired VARCHAR, points VARCHAR) Question: Name the Time/Retired when the points were 32. [/INST] SELECT time_retired FROM table_name_84 WHERE points = ""32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE artist (Famous_Title VARCHAR, Artist VARCHAR) Question: What are the famous titles of the artist ""Triumfall""? [/INST] SELECT Famous_Title FROM artist WHERE Artist = ""Triumfall"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR) Question: What's the date of the game that has the Bulls as a visiting team? [/INST] SELECT date FROM table_name_48 WHERE visitor = ""bulls"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29302711_13 (country VARCHAR, prize_money__usd_ VARCHAR) Question: What country offered a prize of 66400 US dollars? [/INST] SELECT country FROM table_29302711_13 WHERE prize_money__usd_ = 66400 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11222744_3 (format VARCHAR, title VARCHAR) Question: what is the format of ""callanetics: 10 years younger in 10 hours""? [/INST] SELECT format FROM table_11222744_3 WHERE title = ""Callanetics: 10 years Younger In 10 Hours"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (national_league VARCHAR, club VARCHAR, national_cup VARCHAR) Question: What national league has limoges csp, and french basketball cup? [/INST] SELECT national_league FROM table_name_80 WHERE club = ""limoges csp"" AND national_cup = ""french basketball cup"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1940012_2 (date VARCHAR, runner_s__up VARCHAR) Question: When did the tournament, in which the runner-up was Song-Hee Kim, happen [/INST] SELECT date FROM table_1940012_2 WHERE runner_s__up = ""Song-Hee Kim"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) Question: When mega pass* (senior/disabled) is the type of fare what is the day pass? [/INST] SELECT day_pass FROM table_20803241_1 WHERE type_of_fare = ""Mega Pass* (Senior/Disabled)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (low_estimate INTEGER, date VARCHAR) Question: What is the sum of low estimate(s) that is listed for the date of 1978? [/INST] SELECT SUM(low_estimate) FROM table_name_66 WHERE date = ""1978"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (outcome VARCHAR, opponent_in_final VARCHAR) Question: Name the outcome that had an opponent in final of nina bratchikova kathrin wörle [/INST] SELECT outcome FROM table_name_56 WHERE opponent_in_final = ""nina bratchikova kathrin wörle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR) Question: Who wrote the episode where the original air date is july20,2007? [/INST] SELECT written_by FROM table_25716399_1 WHERE original_air_date = ""July20,2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR) Question: List the name of tracks belongs to genre Rock or genre Jazz. [/INST] SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = ""Rock"" OR T1.name = ""Jazz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (method VARCHAR, round INTEGER) Question: Which method was used in a round greater than 3? [/INST] SELECT method FROM table_name_15 WHERE round > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (position VARCHAR, pick VARCHAR) Question: What is pick 246's position? [/INST] SELECT position FROM table_name_94 WHERE pick = 246 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2266976_1 (driver VARCHAR, year VARCHAR) Question: Who was the driver in 1986? [/INST] SELECT driver FROM table_2266976_1 WHERE year = ""1986"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (species_specific VARCHAR, link VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR) Question: Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode? [/INST] SELECT species_specific FROM table_name_29 WHERE comparative = ""no"" AND intra_molecular_structure = ""no"" AND link = ""sourcecode"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) Question: Find all the male members of club ""Hopkins Student Enterprises"". Show the first name and last name. [/INST] SELECT t3.fname, t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = ""Hopkins Student Enterprises"" AND t3.sex = ""M"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR) Question: What party was achille variati afilliated with? [/INST] SELECT party FROM table_name_28 WHERE mayor = ""achille variati"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (artist VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR) Question: Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish? [/INST] SELECT artist FROM table_name_70 WHERE draw < 14 AND points < 73 AND language = ""turkish"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Attribute_Definitions (attribute_data_type VARCHAR) Question: Find the list of attribute data types possessed by more than 3 attribute definitions. [/INST] SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING COUNT(*) > 3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26914076_3 (story_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who wrote the story viewed by 0.53 million viewers? [/INST] SELECT story_by FROM table_26914076_3 WHERE us_viewers__millions_ = ""0.53"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (match_points VARCHAR, lost VARCHAR, bonus_points VARCHAR) Question: What is the amount of match points for a club that lost 18 and has 11 bonus points? [/INST] SELECT match_points FROM table_name_6 WHERE lost = ""18"" AND bonus_points = ""11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (draws INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR) Question: What is the sum of the draws with less than 2284 against, 8 losses, and more than 10 wins? [/INST] SELECT SUM(draws) FROM table_name_61 WHERE against < 2284 AND losses = 8 AND wins > 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR) Question: What was the gdp of the country with a gdp per capita of $18048? [/INST] SELECT gdp__billion_us$_ FROM table_1307842_6 WHERE gdp_per_capita__us$_ = 18048 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (Id VARCHAR) Question: What shows for 2002 when 2010 shows 69? [/INST] SELECT 2002 FROM table_name_85 WHERE 2010 = ""69"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR) Question: What is the average NGC number of everything with a Right ascension (J2000) of 05h33m30s? [/INST] SELECT AVG(ngc_number) FROM table_name_7 WHERE right_ascension___j2000__ = ""05h33m30s"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (city VARCHAR, title VARCHAR) Question: In which city was the Night of the Living Duck released? [/INST] SELECT city FROM table_name_75 WHERE title = ""the night of the living duck"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR) Question: What location and state has a circuit of Phillip Island Grand Prix Circuit? [/INST] SELECT location___state FROM table_name_59 WHERE circuit = ""phillip island grand prix circuit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (sport VARCHAR, date VARCHAR, loser VARCHAR) Question: What sport was played before 2006 with a loser of france b? [/INST] SELECT sport FROM table_name_93 WHERE date < 2006 AND loser = ""france b"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24126606_2 (opponent VARCHAR, week VARCHAR) Question: Name the opponent for week 12 [/INST] SELECT opponent FROM table_24126606_2 WHERE week = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) Question: What was the venue on October 16, 1996? [/INST] SELECT venue FROM table_name_13 WHERE date = ""october 16, 1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (record VARCHAR, team VARCHAR, date VARCHAR) Question: What is the Record with a Team that is detroit and a Date that is june 10? [/INST] SELECT record FROM table_name_56 WHERE team = ""detroit"" AND date = ""june 10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (natural_change__per_1000_ VARCHAR, live_births_1 VARCHAR) Question: what is the natural change (per 1000) when the live births 1 is 278 977? [/INST] SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = ""278 977"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (byes INTEGER, draws INTEGER) Question: How many byes when the draws are fewer than 0? [/INST] SELECT AVG(byes) FROM table_name_84 WHERE draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (tie_no VARCHAR, score VARCHAR, away_team VARCHAR) Question: What is the Tie no when Swansea City is the Away team with a Score of 2–2? [/INST] SELECT tie_no FROM table_name_75 WHERE score = ""2–2"" AND away_team = ""swansea city"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR) Question: Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue? [/INST] SELECT call_sign FROM table_name_37 WHERE tail_code = ""oy"" AND weapon_systems_officer = ""capt charles b. debellevue"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1099080_1 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) Question: What conditions had both prolonged bleeding times and prolonged partial thromboplastin times [/INST] SELECT condition FROM table_1099080_1 WHERE partial_thromboplastin_time = ""Prolonged"" AND bleeding_time = ""Prolonged"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (silver VARCHAR, gold VARCHAR, total VARCHAR) Question: How many silver medals for the nation with fewer than 1 golds and total less than 1? [/INST] SELECT COUNT(silver) FROM table_name_57 WHERE gold < 1 AND total < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_10 (segment_d VARCHAR, segment_a VARCHAR) Question: Name the total number of segment d for wooden s barrel [/INST] SELECT COUNT(segment_d) FROM table_15187735_10 WHERE segment_a = ""Wooden s Barrel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (lecturers VARCHAR, total VARCHAR, associate_professors VARCHAR, assistant_professors VARCHAR, professors VARCHAR) Question: How may lecturers are there in the case when there are more than 8 assistant professors, fewer than 35 associate professors, more than 14 professors and total of more than 81? [/INST] SELECT COUNT(lecturers) FROM table_name_71 WHERE assistant_professors > 8 AND professors > 14 AND associate_professors < 35 AND total > 81 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR) Question: What was the attendance at the game that resulted in w 24-20? [/INST] SELECT attendance FROM table_13258806_2 WHERE result = ""W 24-20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the lowest gold that has a silver less than 2, Zimbabwe as the nation, and a bronze less than 1? [/INST] SELECT MIN(gold) FROM table_name_34 WHERE silver < 2 AND nation = ""zimbabwe"" AND bronze < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (performer_3 VARCHAR, performer_2 VARCHAR) Question: Performer 2 of chip esten has what performer 3? [/INST] SELECT performer_3 FROM table_name_40 WHERE performer_2 = ""chip esten"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR) Question: What is total number of wins for England? [/INST] SELECT SUM(total) FROM table_name_59 WHERE nation = ""england"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR) Question: What was the Score of the game with a Record of 0-1? [/INST] SELECT score FROM table_name_31 WHERE record = ""0-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (season VARCHAR, apps VARCHAR) Question: What season did he have 7 appearances? [/INST] SELECT season FROM table_name_91 WHERE apps = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is Country, when Place is ""T3"", and when Player is ""Jim Thorpe""? [/INST] SELECT country FROM table_name_44 WHERE place = ""t3"" AND player = ""jim thorpe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR) Question: Which average Crowd has a Home team of south melbourne? [/INST] SELECT AVG(crowd) FROM table_name_72 WHERE home_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28466323_2 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote the episode with production code 2j5568? [/INST] SELECT written_by FROM table_28466323_2 WHERE production_code = ""2J5568"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE drivers (forename VARCHAR) Question: List the forenames of all distinct drivers in alphabetical order? [/INST] SELECT DISTINCT forename FROM drivers ORDER BY forename
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (round INTEGER, player VARCHAR) Question: What is the lowest round number that Ian Forbes was picked in the draft? [/INST] SELECT MIN(round) FROM table_name_43 WHERE player = ""ian forbes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year VARCHAR, opponent_in_the_final VARCHAR) Question: What year was the opponent in the final john higgins category:articles with hcards? [/INST] SELECT year FROM table_name_45 WHERE opponent_in_the_final = ""john higgins category:articles with hcards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) Question: Name the date with record of 55-24 [/INST] SELECT date FROM table_name_9 WHERE record = ""55-24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (away_team VARCHAR) Question: What was Hawthorn's score as the away team? [/INST] SELECT away_team AS score FROM table_name_96 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (team VARCHAR, position VARCHAR, against VARCHAR, lost VARCHAR) Question: What team has an against more than 8, lost of 7, and the position is 5? [/INST] SELECT team FROM table_name_13 WHERE against > 8 AND lost = 7 AND position = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (partnering VARCHAR, score VARCHAR) Question: Who is the Partner in the match with a Score of 6-4, 2-6, 7-6? [/INST] SELECT partnering FROM table_name_52 WHERE score = ""6-4, 2-6, 7-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR) Question: How many receptions does Chris Watton with yards of less than 1? [/INST] SELECT COUNT(rec) FROM table_name_84 WHERE player = ""chris watton"" AND yards < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (home VARCHAR, score VARCHAR) Question: Name the Home with has a Score of 2–7? [/INST] SELECT home FROM table_name_40 WHERE score = ""2–7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (constituency VARCHAR, swing_to_gain VARCHAR, rank VARCHAR) Question: I want the constituency which has a swing to gain less than 6.05 and a rank of 2 [/INST] SELECT constituency FROM table_name_4 WHERE swing_to_gain < 6.05 AND rank = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR) Question: What was the scory when calgary was visiting? [/INST] SELECT score FROM table_name_10 WHERE visitor = ""calgary"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Student (advisor VARCHAR) Question: Show the ids for all the faculty members who have at least 2 students. [/INST] SELECT T1.FacID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID HAVING COUNT(*) >= 2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR) Question: Which Location Attendance has a Date of february 27? [/INST] SELECT location_attendance FROM table_name_46 WHERE date = ""february 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (format VARCHAR, notes VARCHAR, call_sign VARCHAR) Question: What is the Format of the French Frequency with a Call sign of CKRL-FM? [/INST] SELECT format FROM table_name_56 WHERE notes = ""french"" AND call_sign = ""ckrl-fm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (ceased_to_be_duchess VARCHAR, birth VARCHAR) Question: Which duchess was born on 9 october 1574? [/INST] SELECT ceased_to_be_duchess FROM table_name_34 WHERE birth = ""9 october 1574"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (team VARCHAR, sacks VARCHAR, season VARCHAR) Question: what is the team when sacks is 0 and the season is earlier than 1998? [/INST] SELECT team FROM table_name_90 WHERE sacks = ""0"" AND season < 1998 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR) Question: What is the January climate figure for Eastman? [/INST] SELECT january FROM table_name_26 WHERE region = ""eastman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Player_Attributes (player_api_id VARCHAR); CREATE TABLE Player (player_name VARCHAR, birthday VARCHAR, player_api_id VARCHAR) Question: List the names and birthdays of the top five players in terms of potential. [/INST] SELECT DISTINCT TOP 5 T1.player_name, T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY potential DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (site VARCHAR, date VARCHAR) Question: Where was the sport played on September 10, 2010? [/INST] SELECT site FROM table_name_55 WHERE date = ""september 10, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR, year VARCHAR) Question: What was the average mintage for that of artist Celia Godkin, before the year 2010? [/INST] SELECT AVG(mintage) FROM table_name_75 WHERE artist = ""celia godkin"" AND year < 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (Id VARCHAR) Question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf? [/INST] SELECT 2008 FROM table_name_16 WHERE 1998 = ""a"" AND 2009 = ""sf"" AND 2006 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR) Question: Which track has a title : Just a little bit [/INST] SELECT MIN(track) FROM table_name_64 WHERE song_title = ""just a little bit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (most_populous_city_town VARCHAR, irish_name VARCHAR) Question: Irish name of dún na ngall (contae dhún na ngall) has the most populous city/town? [/INST] SELECT most_populous_city_town FROM table_name_46 WHERE irish_name = ""dún na ngall (contae dhún na ngall)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (gold VARCHAR, bronze VARCHAR, total VARCHAR) Question: How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals? [/INST] SELECT COUNT(gold) FROM table_name_56 WHERE bronze > 12 AND total < 124 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR) Question: What is Injured, when Date is ""09.15 Sep. 15""? [/INST] SELECT injured FROM table_name_98 WHERE date = ""09.15 sep. 15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (country VARCHAR, tournament VARCHAR) Question: What country was the Paris Masters tournament played in? [/INST] SELECT country FROM table_name_83 WHERE tournament = ""paris masters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customer (cust_name VARCHAR, credit_score VARCHAR) Question: Find the name of customer who has the lowest credit score. [/INST] SELECT TOP 1 cust_name FROM customer ORDER BY credit_score "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (region VARCHAR, state VARCHAR) Question: Tell me the region for georgia [/INST] SELECT region FROM table_name_8 WHERE state = ""georgia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR) Question: What was the date of the game held at the Al-Rashid Stadium, Dubai? [/INST] SELECT date FROM table_name_13 WHERE venue = ""al-rashid stadium, dubai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14655757_1 (player VARCHAR, college VARCHAR) Question: Which players college is Tennessee? [/INST] SELECT player FROM table_14655757_1 WHERE college = ""Tennessee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) Question: Who did the Jets play in their pre-week 9 game at the Robert F. Kennedy memorial stadium? [/INST] SELECT opponent FROM table_name_32 WHERE week < 9 AND game_site = ""robert f. kennedy memorial stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (sport VARCHAR, name VARCHAR) Question: what is the sport for wolfgang schattauer? [/INST] SELECT sport FROM table_name_69 WHERE name = ""wolfgang schattauer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (surface VARCHAR, score_in_the_final VARCHAR) Question: Which Surface has a Score in the final of 2–6, 6–7? [/INST] SELECT surface FROM table_name_42 WHERE score_in_the_final = ""2–6, 6–7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (name VARCHAR, points VARCHAR) Question: What competitors are scored 124.51 points? [/INST] SELECT name FROM table_name_88 WHERE points = 124.51 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (score VARCHAR, visitor VARCHAR) Question: What was the score of the game when the Boston Bruins were the visiting team? [/INST] SELECT score FROM table_name_75 WHERE visitor = ""boston bruins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (name VARCHAR, prize VARCHAR) Question: What is Name, when Prize is ""$279.330""? [/INST] SELECT name FROM table_name_64 WHERE prize = ""$279.330"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR) Question: How many bonus points were won by 5? [/INST] SELECT bonus_points FROM table_17510803_2 WHERE won = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20704243_3 (directed_by VARCHAR, season__number VARCHAR) Question: How many directors were in Season 2? [/INST] SELECT COUNT(directed_by) FROM table_20704243_3 WHERE season__number = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (transfer_fee VARCHAR, name VARCHAR) Question: What is the transfer fee of Diogo? [/INST] SELECT transfer_fee FROM table_name_53 WHERE name = ""diogo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (cargo VARCHAR) Question: What was the cargo value in 2005 for all product carriers? [/INST] SELECT 2005 FROM table_name_46 WHERE cargo = ""all product carriers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (writer VARCHAR, arranger VARCHAR, length VARCHAR) Question: Who was the writer that worked with arranger Tarek Akef on a 4:58 song? [/INST] SELECT writer FROM table_name_20 WHERE arranger = ""tarek akef"" AND length = ""4:58"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (year VARCHAR, cross_code_debut VARCHAR, player VARCHAR) Question: In what Year is Keith Smith's Cross Code Debut RL Test v Wales? [/INST] SELECT year FROM table_name_73 WHERE cross_code_debut = ""rl test v wales"" AND player = ""keith smith"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR) Question: What is the winning span with the rank of 5? [/INST] SELECT winning_span FROM table_1953516_1 WHERE rank = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (position INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) Question: Name the average position when the goals against are more than 42 and draws less than 16 with goals of 44 [/INST] SELECT AVG(position) FROM table_name_4 WHERE goals_against > 42 AND goals_for = 44 AND draws < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR) Question: What are the line 1 of addresses shared by some students and some teachers? [/INST] SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (player VARCHAR, to_par VARCHAR, score VARCHAR) Question: What player has a To par of –2, and a Score of 73-65=138? [/INST] SELECT player FROM table_name_61 WHERE to_par = ""–2"" AND score = 73 - 65 = 138 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (profits__billion_ INTEGER, rank VARCHAR) Question: What is the lowest profits (billion $) for the rank 6? [/INST] SELECT MIN(profits__billion_) AS $_ FROM table_name_25 WHERE rank = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (winning_score VARCHAR, date VARCHAR) Question: For the tournament played on Jul 4, 1982, what was the winning score? [/INST] SELECT winning_score FROM table_name_97 WHERE date = ""jul 4, 1982"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (song VARCHAR, language VARCHAR) Question: What song was in french? [/INST] SELECT song FROM table_name_98 WHERE language = ""french"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (streak VARCHAR, date VARCHAR, team_points VARCHAR, game VARCHAR) Question: Which streak before game 12 had a team points larger than 113 on November 16? [/INST] SELECT streak FROM table_name_88 WHERE team_points > 113 AND game < 12 AND date = ""november 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (year INTEGER, movie VARCHAR) Question: What's the average year a Rangam movie came out? [/INST] SELECT AVG(year) FROM table_name_33 WHERE movie = ""rangam"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (record VARCHAR, season VARCHAR) Question: What was the record during the 1973 season? [/INST] SELECT record FROM table_name_74 WHERE season = 1973 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (colliery VARCHAR, death_toll VARCHAR) Question: Which Colliery has a Death toll of 7? [/INST] SELECT colliery FROM table_name_76 WHERE death_toll = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (season INTEGER, team_2 VARCHAR) Question: What is the earliest season that Pisico Bình ðinh is team 2? [/INST] SELECT MIN(season) FROM table_name_95 WHERE team_2 = ""pisico bình ðinh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR) Question: Name the pronunciation b for meaning of grind [/INST] SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = ""grind"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (score VARCHAR, year VARCHAR) Question: What is the score during the 2006-2007 year? [/INST] SELECT score FROM table_name_81 WHERE year = ""2006-2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (floor VARCHAR, pommel_horse VARCHAR, position VARCHAR, total VARCHAR) Question: What is the score of the floor when the position is less than 21, and less than 81.2 total, and the pommel horse score is 13.925? [/INST] SELECT floor FROM table_name_1 WHERE position < 21 AND total < 81.2 AND pommel_horse = ""13.925"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342367_7 (field_goals INTEGER) Question: What is the least amount of field goals made by a player? [/INST] SELECT MIN(field_goals) FROM table_14342367_7
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23915973_1 (callsign VARCHAR, power_kw VARCHAR) Question: What is the callsign when power kw is 25kw? [/INST] SELECT callsign FROM table_23915973_1 WHERE power_kw = ""25kW"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR) Question: When was Moores Creek Bridge built? [/INST] SELECT built FROM table_name_20 WHERE name = ""moores creek bridge"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (wins INTEGER, club VARCHAR, played VARCHAR) Question: How many wins did SD Eibar, which played less than 38 games, have? [/INST] SELECT SUM(wins) FROM table_name_24 WHERE club = ""sd eibar"" AND played < 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date VARCHAR, year VARCHAR) Question: What was the date of the Cross Code debut that had an Int'l Debut in the year 2008? [/INST] SELECT date FROM table_name_20 WHERE year = ""2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (runner_up VARCHAR, winning_score VARCHAR) Question: who is the runner-up when the winning score is −16 (68-70-65-65=268)? [/INST] SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year INTEGER, nominee VARCHAR) Question: In what year was Lesli Margherita nominated? [/INST] SELECT SUM(year) FROM table_name_90 WHERE nominee = ""lesli margherita"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (game INTEGER, team VARCHAR) Question: What number game was it that the Spurs were @ Miami? [/INST] SELECT SUM(game) FROM table_name_82 WHERE team = ""@ miami"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (draws INTEGER, position VARCHAR, wins VARCHAR) Question: Name the sum of draws when the position is less than 17 and wins is less than 11 [/INST] SELECT SUM(draws) FROM table_name_82 WHERE position < 17 AND wins < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE shipments (order_id VARCHAR, shipment_tracking_number VARCHAR) Question: Find the id of the order whose shipment tracking number is ""3452"". [/INST] SELECT order_id FROM shipments WHERE shipment_tracking_number = ""3452"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR) Question: What was the date of the home Detroit game with a decision of Joseph and a record of 27–13–5–2? [/INST] SELECT date FROM table_name_85 WHERE decision = ""joseph"" AND home = ""detroit"" AND record = ""27–13–5–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR) Question: How many year locations are there for the womens doubles in jing junhong li jiawei? [/INST] SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = ""Jing Junhong Li Jiawei"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (games INTEGER, year INTEGER) Question: After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season? [/INST] SELECT MIN(games) FROM table_name_81 WHERE year > 2013 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (heat VARCHAR, country VARCHAR) Question: What's the total number of Heat recorded for the british virgin islands? [/INST] SELECT COUNT(heat) FROM table_name_5 WHERE country = ""british virgin islands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (date_of_vacancy VARCHAR, team VARCHAR) Question: What is the vacancy date of Dundee? [/INST] SELECT date_of_vacancy FROM table_name_75 WHERE team = ""dundee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (owner VARCHAR, delivered_as VARCHAR) Question: What Owner Delivered the T415? [/INST] SELECT owner FROM table_name_70 WHERE delivered_as = ""t415"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (gold INTEGER, nation VARCHAR, total VARCHAR) Question: How many golds for west germany with over 8 total? [/INST] SELECT MIN(gold) FROM table_name_11 WHERE nation = ""west germany"" AND total > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (year_opened VARCHAR, mall_name VARCHAR) Question: Which year did the Short Pump Town Center Mall open? [/INST] SELECT year_opened FROM table_name_4 WHERE mall_name = ""short pump town center"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_174491_2 (winter_olympics VARCHAR, holmenkollen VARCHAR) Question: What year is Winter Olympics when Holmenkollen is 1957, 1960? [/INST] SELECT winter_olympics FROM table_174491_2 WHERE holmenkollen = ""1957, 1960"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR) Question: What time did bruce anstey complete in a honda 1000cc? [/INST] SELECT time FROM table_name_88 WHERE machine = ""honda 1000cc"" AND rider_s_ = ""bruce anstey"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (money_spent VARCHAR, _2q VARCHAR, candidate VARCHAR) Question: Name the money spent for 2Q having candidate of john mccain [/INST] SELECT money_spent, _2q FROM table_name_84 WHERE candidate = ""john mccain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (to_par VARCHAR, player VARCHAR) Question: what is the to par when the player is roger maltbie? [/INST] SELECT to_par FROM table_name_75 WHERE player = ""roger maltbie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342370_41 (district VARCHAR, incumbent VARCHAR) Question: In what district was the incumbent Cordell hull? [/INST] SELECT district FROM table_1342370_41 WHERE incumbent = ""Cordell Hull"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR) Question: What is the position of the player who's hometown is North Babylon, NY? [/INST] SELECT position FROM table_20785990_2 WHERE home_town = ""North Babylon, NY"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR) Question: At the match which took place in arden street oval, how much did the away team score? [/INST] SELECT away_team AS score FROM table_name_79 WHERE venue = ""arden street oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR) Question: How long was his fight against kim kyoung-suk? [/INST] SELECT time FROM table_name_27 WHERE opponent = ""kim kyoung-suk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, next_entry_id INTEGER) Question: Name all the products with next entry ID greater than 8. [/INST] SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (opponent VARCHAR, week VARCHAR) Question: Who was the opponent in week 12? [/INST] SELECT opponent FROM table_name_69 WHERE week = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR) Question: How many were first elected when the incumbent was Morgan M. Moulder? [/INST] SELECT COUNT(first_elected) FROM table_1342198_25 WHERE incumbent = ""Morgan M. Moulder"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16581695_4 (no_in_series VARCHAR, production_code VARCHAR) Question: What is the series episode number of the episode with production code 303? [/INST] SELECT no_in_series FROM table_16581695_4 WHERE production_code = ""303"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (away_team VARCHAR, crowd INTEGER) Question: When the crowd was larger than 7,500 what was the away teams score? [/INST] SELECT away_team AS score FROM table_name_84 WHERE crowd > 7 OFFSET 500 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR) Question: What is the surface of the French Championships? [/INST] SELECT surface FROM table_2215159_2 WHERE championship = ""French championships"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR) Question: Which Class has a Type of 1′c n2t? [/INST] SELECT class FROM table_name_85 WHERE type = ""1′c n2t"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (year VARCHAR, country VARCHAR, individual VARCHAR) Question: How many years was the individual winner from the United States was Tiger Woods? [/INST] SELECT COUNT(year) FROM table_name_75 WHERE country = ""united states"" AND individual = ""tiger woods"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (april INTEGER, opponent VARCHAR, game VARCHAR) Question: What is the lowest value in April with New York Rangers as opponent for a game less than 82? [/INST] SELECT MIN(april) FROM table_name_90 WHERE opponent = ""new york rangers"" AND game < 82 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR) Question: What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18? [/INST] SELECT total FROM table_name_16 WHERE score = ""3-0"" AND set_3 = ""25-18"" AND set_2 = ""25-12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (venue VARCHAR, away_team VARCHAR) Question: Where did Richmond play? [/INST] SELECT venue FROM table_name_10 WHERE away_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2249087_1 (south_american_rank INTEGER, nation VARCHAR) Question: Name the south american rank for venezuela [/INST] SELECT MIN(south_american_rank) FROM table_2249087_1 WHERE nation = ""Venezuela"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR) Question: What team were the Opponent in Game 29? [/INST] SELECT opponent FROM table_name_37 WHERE game = 29 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR) Question: Name the decision for boston bruins visitor [/INST] SELECT decision FROM table_name_14 WHERE visitor = ""boston bruins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (result VARCHAR, date VARCHAR) Question: What was the Result on September 24? [/INST] SELECT result FROM table_name_21 WHERE date = ""september 24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12438767_1 (network VARCHAR, local_name VARCHAR) Question: In how many networks the local name of the franchise was ""in sickness and in health""? [/INST] SELECT COUNT(network) FROM table_12438767_1 WHERE local_name = ""In Sickness and in Health"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (bills_first_downs INTEGER, date VARCHAR, bills_points VARCHAR) Question: What was the Bills first downs on Oct. 29 with more the 23 Bills points? [/INST] SELECT MIN(bills_first_downs) FROM table_name_47 WHERE date = ""oct. 29"" AND bills_points > 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR) Question: What's the English name for the month with พ.ย. abbreviation? [/INST] SELECT english_name FROM table_180802_2 WHERE abbr = ""พ.ย."" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR) Question: What languages are spoken when call sign XEJAM is used? [/INST] SELECT languages FROM table_14670060_1 WHERE call_sign = ""XEJAM"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR) Question: WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER? [/INST] SELECT college FROM table_name_74 WHERE round > 9 AND player = ""butch webster"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (decile INTEGER, area VARCHAR, roll VARCHAR) Question: Can you tell me the lowest Decile that has the Area of matakohe, and the Roll larger than 86? [/INST] SELECT MIN(decile) FROM table_name_52 WHERE area = ""matakohe"" AND roll > 86 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE roller_coaster (Status VARCHAR) Question: Show the different statuses and the numbers of roller coasters for each status. [/INST] SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR) Question: What was the away team score at Windy Hill? [/INST] SELECT away_team AS score FROM table_name_15 WHERE venue = ""windy hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR) Question: Which event had Edson Claas Vieira as an opponent? [/INST] SELECT event FROM table_name_55 WHERE opponent = ""edson claas vieira"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR) Question: What level has 11880 macroblocks and high 10 profile is 6000? [/INST] SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR) Question: How many high assists are listed for the game with a score of 68-60? [/INST] SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = ""68-60"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (college VARCHAR, player VARCHAR) Question: what college has paul seiler as a player? [/INST] SELECT college FROM table_name_22 WHERE player = ""paul seiler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (points INTEGER, opponent VARCHAR, game VARCHAR) Question: Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28? [/INST] SELECT SUM(points) FROM table_name_2 WHERE opponent = ""@ atlanta thrashers"" AND game < 28 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (official_website VARCHAR, dish VARCHAR, callsign VARCHAR) Question: Name the official website which has dish of • and callsign of kvtv [/INST] SELECT official_website FROM table_name_18 WHERE dish = ""•"" AND callsign = ""kvtv"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2454589_1 (first_season_in_the_serie_a VARCHAR, last_title VARCHAR) Question: Name the first season in the series for 2006 [/INST] SELECT first_season_in_the_serie_a FROM table_2454589_1 WHERE last_title = ""2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR, week VARCHAR) Question: What was the attendance at the game before week 8, held on October 25, 1981? [/INST] SELECT SUM(attendance) FROM table_name_62 WHERE date = ""october 25, 1981"" AND week < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (launch_site VARCHAR, carrier_rocket VARCHAR, cospar_id VARCHAR) Question: From where did the Scout carrier rocket with the satellite that has a COSPAR ID of 1971-109a launch? [/INST] SELECT launch_site FROM table_name_6 WHERE carrier_rocket = ""scout"" AND cospar_id = ""1971-109a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (co_drivers VARCHAR, team VARCHAR, year VARCHAR) Question: Who was the co-driver for Toyota Racing after the year 2012? [/INST] SELECT co_drivers FROM table_name_59 WHERE team = ""toyota racing"" AND year > 2012 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR) Question: Serge Beaudoin was drafted when in the 1972 NHL draft [/INST] SELECT MIN(pick__number) FROM table_1473672_7 WHERE player = ""Serge Beaudoin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (average INTEGER, games VARCHAR, w_l_t VARCHAR, season VARCHAR) Question: Which Average that has a W-L-T of 5-1, and a Season smaller than 2001, and Games smaller than 6? [/INST] SELECT AVG(average) FROM table_name_59 WHERE w_l_t = ""5-1"" AND season < 2001 AND games < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (career_w_l VARCHAR) Question: What is theW-L of the tournament listed as A for 1976? [/INST] SELECT career_w_l FROM table_name_82 WHERE 1976 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year VARCHAR, category VARCHAR) Question: What year was best costume design the award category? [/INST] SELECT year FROM table_name_97 WHERE category = ""best costume design"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) Question: What is the Home team of the Kidderminster Harriers Away game? [/INST] SELECT home_team FROM table_name_20 WHERE away_team = ""kidderminster harriers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR) Question: Who replaced the manager on Team Cfr Cluj? [/INST] SELECT replaced_by FROM table_17115950_2 WHERE team = ""CFR Cluj"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (height VARCHAR, position VARCHAR, current_club VARCHAR) Question: What is the height of the Forward who currently plays for the Toronto Raptors? [/INST] SELECT height FROM table_name_1 WHERE position = ""forward"" AND current_club = ""toronto raptors"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR) Question: How many values of up/down have a total value of exactly 301470? [/INST] SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (type VARCHAR, delivered VARCHAR) Question: What is the type of the locomotive which was delivered in 1857-59? [/INST] SELECT type FROM table_name_7 WHERE delivered = ""1857-59"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (crowd VARCHAR, home_team VARCHAR) Question: Im the match where the home team is Melbourne Victory, what was the crowd attendance? [/INST] SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = ""melbourne victory"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR) Question: Name the number of rank for 9.52 profits [/INST] SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = ""9.52"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR) Question: When did the technical knockout against Fatu Tuimanono happen? [/INST] SELECT date FROM table_name_24 WHERE method = ""technical knockout"" AND opponent = ""fatu tuimanono"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (report VARCHAR, race VARCHAR) Question: What was the report in the Belgian Grand Prix? [/INST] SELECT report FROM table_name_5 WHERE race = ""belgian grand prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (tournament VARCHAR, surface VARCHAR) Question: What is Tournament, when Surface is ""Hard""? [/INST] SELECT tournament FROM table_name_92 WHERE surface = ""hard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341930_11 (first_elected VARCHAR, district VARCHAR) Question: What is the first elected for georgia 4? [/INST] SELECT first_elected FROM table_1341930_11 WHERE district = ""Georgia 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) Question: Can you tell me the Score that has the Date of 11/17/1979? [/INST] SELECT score FROM table_name_98 WHERE date = ""11/17/1979"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR) Question: What is the total rank for the Netherlands when more than 2 silver medals were won? [/INST] SELECT COUNT(rank) FROM table_name_8 WHERE nation = ""netherlands"" AND silver > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (competition VARCHAR, date VARCHAR) Question: Which competition was on 29 September 2007? [/INST] SELECT competition FROM table_name_66 WHERE date = ""29 september 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (championship_game VARCHAR, final_four VARCHAR, conference VARCHAR) Question: What is the Championship Game when the Final Four is 1 and the conference is American South? [/INST] SELECT championship_game FROM table_name_29 WHERE final_four = ""1"" AND conference = ""american south"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (sport VARCHAR, club VARCHAR) Question: Which sport had the club of the Montgomery Biscuits? [/INST] SELECT sport FROM table_name_22 WHERE club = ""montgomery biscuits"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (total INTEGER, bronze VARCHAR, gold VARCHAR) Question: Which Total has a Bronze larger than 1, and a Gold larger than 0? [/INST] SELECT MAX(total) FROM table_name_57 WHERE bronze > 1 AND gold > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250151_1 (order__number VARCHAR, original_recording_artist VARCHAR) Question: What was the order # or Erma Franklin? [/INST] SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = ""Erma Franklin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (location VARCHAR, frequency VARCHAR) Question: Where is the frequency 92.3mhz? [/INST] SELECT location FROM table_19215259_1 WHERE frequency = ""92.3MHz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Faculty (phone VARCHAR, room VARCHAR, building VARCHAR, Fname VARCHAR, Lname VARCHAR) Question: Show the phone, room, and building for the faculty named Jerry Prince. [/INST] SELECT phone, room, building FROM Faculty WHERE Fname = ""Jerry"" AND Lname = ""Prince"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (no_4 VARCHAR, no_5 VARCHAR, no_9 VARCHAR) Question: What was the No. 4 name when Madison was No. 5 and Abigail was No. 9? [/INST] SELECT no_4 FROM table_name_83 WHERE no_5 = ""madison"" AND no_9 = ""abigail"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE happy_hour (shop_id VARCHAR) Question: which shop has happy hour most frequently? List its id and number of happy hours. [/INST] SELECT TOP 1 shop_id, COUNT(*) FROM happy_hour GROUP BY shop_id ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (ground VARCHAR, away VARCHAR) Question: The Away High Park Demons was which Ground? [/INST] SELECT ground FROM table_name_83 WHERE away = ""high park demons"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR) Question: Who was the male rep. when Caroline Rhoads was the artistic director? [/INST] SELECT male_rep FROM table_22410780_1 WHERE artistic_director = ""Caroline Rhoads"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (nation VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR) Question: When the total is larger than 1,and the bronze is less than 3, and silver larger than 2, and a gold larger than 2, what is the nation? [/INST] SELECT nation FROM table_name_24 WHERE total > 1 AND bronze < 3 AND silver > 2 AND gold > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (week VARCHAR, date VARCHAR) Question: What week number did November 19, 1989 games fall on? [/INST] SELECT week FROM table_name_14 WHERE date = ""november 19, 1989"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (score VARCHAR, round VARCHAR, away_team VARCHAR) Question: For the 5th round match with away team of Bahia, what was the final score? [/INST] SELECT score FROM table_name_65 WHERE round = ""5th"" AND away_team = ""bahia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (masculine_an_stems VARCHAR, feminine_ō_stems VARCHAR, masculine_u_stems VARCHAR) Question: What is the masculine an form for the word with a feminine ö ending of siangar and a masculine u ending of sunar? [/INST] SELECT masculine_an_stems FROM table_name_49 WHERE feminine_ō_stems = ""siangar"" AND masculine_u_stems = ""sunar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR) Question: What school/club team has tim kempton as the player? [/INST] SELECT school_club_team FROM table_name_25 WHERE player = ""tim kempton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (page_count VARCHAR, author VARCHAR) Question: How many pages were in the book by Stefano D'Arrigo? [/INST] SELECT page_count FROM table_name_39 WHERE author = ""stefano d'arrigo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (race_title VARCHAR, year VARCHAR) Question: Which race happened in 1948? [/INST] SELECT race_title FROM table_name_26 WHERE year = 1948 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (result VARCHAR, year VARCHAR, nominee_s_ VARCHAR) Question: What is the result for a year after 2003, when the nominee(s) is john wells? [/INST] SELECT result FROM table_name_64 WHERE year > 2003 AND nominee_s_ = ""john wells"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR) Question: Where did the team of Rahal Letterman in 2006 start? [/INST] SELECT COUNT(start) FROM table_name_53 WHERE team = ""rahal letterman"" AND year = 2006 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR) Question: how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? [/INST] SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = ""Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (height__m_ VARCHAR, city VARCHAR, height__ft_ VARCHAR) Question: What is the height in meters for a building in Frankfurt that is 850 feet tall? [/INST] SELECT height__m_ FROM table_name_66 WHERE city = ""frankfurt"" AND height__ft_ = 850 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR, seats_won VARCHAR, seats_in_house VARCHAR) Question: Which Liberal leader has Seats won smaller than 100, and Seats in House of 215, and a % of popular vote of 43.1%? [/INST] SELECT liberal_leader FROM table_name_86 WHERE seats_won < 100 AND seats_in_house = 215 AND _percentage_of_popular_vote = ""43.1%"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18595004_7 (inaba INTEGER) Question: What is Inaba's maximum score? [/INST] SELECT MAX(inaba) FROM table_18595004_7
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_182298_5 (total VARCHAR, mens_open VARCHAR) Question: How many are the total winners if 7 won the Men's Open? [/INST] SELECT total FROM table_182298_5 WHERE mens_open = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR) Question: Which address has 44 floors? [/INST] SELECT street_address FROM table_name_70 WHERE floors = 44 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (draws VARCHAR, losses VARCHAR, wins VARCHAR) Question: How many draws occured with a record of 10 losses, and 6 wins? [/INST] SELECT COUNT(draws) FROM table_name_38 WHERE losses = 10 AND wins > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE publication (Publisher VARCHAR, Price INTEGER) Question: Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000. [/INST] SELECT Publisher FROM publication WHERE Price > 10000000 INTERSECT SELECT Publisher FROM publication WHERE Price < 5000000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (team_1 VARCHAR) Question: What's the 1st leg of team 1 alajuelense? [/INST] SELECT 1 AS st_leg FROM table_name_50 WHERE team_1 = ""alajuelense"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR) Question: What is the highest draw number when 23 points are scored? [/INST] SELECT MAX(draw) FROM table_name_36 WHERE points = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR) Question: When Embry-Riddle made it to the first semi finalist slot, list all the runners up. [/INST] SELECT runner_up FROM table_11214772_2 WHERE semi_finalist__number1 = ""Embry-Riddle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2850912_1 (college_junior_club_team VARCHAR, pick__number VARCHAR) Question: What college team did draft pick 18 come from? [/INST] SELECT college_junior_club_team FROM table_2850912_1 WHERE pick__number = 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (home_team VARCHAR, crowd INTEGER) Question: What was the home team for the game with more than 25,000 crowd? [/INST] SELECT home_team FROM table_name_70 WHERE crowd > 25 OFFSET 000 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE member (address VARCHAR, Membership_card VARCHAR) Question: Which address do not have any member with the black membership card? [/INST] SELECT address FROM member EXCEPT SELECT address FROM member WHERE Membership_card = 'Black' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13677808_1 (rank VARCHAR, security VARCHAR) Question: What country has a 5.5 mark for security? [/INST] SELECT rank FROM table_13677808_1 WHERE security = ""5.5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (erp_w INTEGER, call_sign VARCHAR) Question: What is the average ERP W for callsign K207BK? [/INST] SELECT AVG(erp_w) FROM table_name_97 WHERE call_sign = ""k207bk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (title VARCHAR, others VARCHAR, genre VARCHAR) Question: Which Title has Others of amstrad cpc, and a Genre of arcade? [/INST] SELECT title FROM table_name_22 WHERE others = ""amstrad cpc"" AND genre = ""arcade"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR) Question: In the Open Championship with more than 3 cuts made, what is the average wins? [/INST] SELECT AVG(wins) FROM table_name_15 WHERE tournament = ""the open championship"" AND cuts_made > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (game INTEGER, opponent VARCHAR) Question: What is the sum of the game with the boston bruins as the opponent? [/INST] SELECT SUM(game) FROM table_name_84 WHERE opponent = ""boston bruins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (time VARCHAR, ground VARCHAR, away_team VARCHAR) Question: What is Time, when Ground is Waverley Park, and when Away Team is Footscray? [/INST] SELECT time FROM table_name_69 WHERE ground = ""waverley park"" AND away_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2167226_3 (to_par VARCHAR, winning_score VARCHAR) Question: What is the to par with the winning score of 74-67-71-73=285? [/INST] SELECT to_par FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26615633_1 (birthday VARCHAR, jewel VARCHAR) Question: how many times is the jewel malachite? [/INST] SELECT COUNT(birthday) FROM table_26615633_1 WHERE jewel = ""Malachite"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (wins VARCHAR, podiums VARCHAR, series VARCHAR) Question: Which Wins has Podiums of 0, and a Series of masters of formula 3? [/INST] SELECT wins FROM table_name_40 WHERE podiums = ""0"" AND series = ""masters of formula 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20396_1 (team VARCHAR, points VARCHAR) Question: What team scored 4 points? [/INST] SELECT team FROM table_20396_1 WHERE points = ""4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR) Question: When troy is the regular season winner what is the conference tournament? [/INST] SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = ""Troy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (time VARCHAR, name VARCHAR) Question: What was the Time in the Mina Clavero 2 Stage? [/INST] SELECT time FROM table_name_74 WHERE name = ""mina clavero 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date VARCHAR, year VARCHAR, result VARCHAR, score VARCHAR) Question: What day was the result a win, the score 2-1, and the year before 2012? [/INST] SELECT date FROM table_name_7 WHERE result = ""win"" AND score = ""2-1"" AND year < 2012 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (date VARCHAR, tournament VARCHAR, score VARCHAR) Question: What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? [/INST] SELECT date FROM table_name_21 WHERE tournament = ""alcobaça"" AND score = ""6–3, 2–6, 7–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR) Question: What was the date when South Melbourne was the home team? [/INST] SELECT date FROM table_name_14 WHERE home_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (date VARCHAR, opposition VARCHAR, game VARCHAR) Question: On what date did Limerick play in the All-Ireland Final game? [/INST] SELECT date FROM table_name_38 WHERE opposition = ""limerick"" AND game = ""all-ireland final"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27905664_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who wrote the episode having a US viewership of 3.74 million? [/INST] SELECT written_by FROM table_27905664_1 WHERE us_viewers__million_ = ""3.74"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (year VARCHAR, film_name VARCHAR) Question: Which year was the film Rang Barse introduced? [/INST] SELECT COUNT(year) FROM table_name_63 WHERE film_name = ""rang barse"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1434788_5 (candidates VARCHAR, incumbent VARCHAR) Question: Who were the candidates in the election where John Beatty was the incumbent? [/INST] SELECT candidates FROM table_1434788_5 WHERE incumbent = ""John Beatty"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26702204_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) Question: What is the production code when the u.s. viewers (million) is 11.76? [/INST] SELECT production_code FROM table_26702204_1 WHERE us_viewers__million_ = ""11.76"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (goals INTEGER, season VARCHAR) Question: What is the sum of goals for the 2004/05 Season? [/INST] SELECT SUM(goals) FROM table_name_48 WHERE season = ""2004/05"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (group_c VARCHAR, group_b VARCHAR) Question: What is the group C region with Illinois as group B? [/INST] SELECT group_c FROM table_name_53 WHERE group_b = ""illinois"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR) Question: What GERB has an 11% Attack? [/INST] SELECT gerb FROM table_name_16 WHERE attack = ""11%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (story_timeline VARCHAR, published VARCHAR, in_order_of_publication VARCHAR) Question: What is the story timeline that was published first prior to 1984? [/INST] SELECT story_timeline FROM table_name_67 WHERE published < 1984 AND in_order_of_publication = ""first"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR) Question: When us open (2) is the championship what is the surface? [/INST] SELECT surface FROM table_24901152_2 WHERE championship = ""US Open (2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (series_4 VARCHAR, series_1 VARCHAR) Question: What is the series 4 with sarah newman in series 1? [/INST] SELECT series_4 FROM table_name_70 WHERE series_1 = ""sarah newman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) Question: Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777 [/INST] SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15847691_2 (first_downs VARCHAR, date VARCHAR) Question: What was the total number of first down on October 23? [/INST] SELECT COUNT(first_downs) FROM table_15847691_2 WHERE date = ""October 23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1246208_5 (overall_record VARCHAR, club VARCHAR) Question: what is the overall record when the club is dallas burn? [/INST] SELECT overall_record FROM table_1246208_5 WHERE club = ""Dallas Burn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (unit VARCHAR, authors VARCHAR) Question: What is varricchio's unit? [/INST] SELECT unit FROM table_name_75 WHERE authors = ""varricchio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (date VARCHAR, away_team VARCHAR) Question: What is the date where Guatemala is the Away team? [/INST] SELECT date FROM table_name_44 WHERE away_team = ""guatemala"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (position VARCHAR, points VARCHAR, goals_for VARCHAR) Question: How many positions have Points of 30-8 and more than 25 goals? [/INST] SELECT COUNT(position) FROM table_name_73 WHERE points = ""30-8"" AND goals_for > 25 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, player VARCHAR) Question: where is team player mike mcniven played for? [/INST] SELECT college_junior_club_team FROM table_1213511_5 WHERE player = ""Mike McNiven"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR) Question: What was the time for tracks before 19 on 8/26/69? [/INST] SELECT time FROM table_name_75 WHERE release_date = ""8/26/69"" AND track < 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR) Question: What was the date for the 130-56 game? [/INST] SELECT date FROM table_name_26 WHERE score = ""130-56"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (attendance INTEGER, venue VARCHAR, date VARCHAR) Question: What is the average Attendance at Venue A on 16 October 2004? [/INST] SELECT AVG(attendance) FROM table_name_57 WHERE venue = ""a"" AND date = ""16 october 2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR) Question: Which driver won when the winning constructor was bugatti at the Boulogne Grand Prix ? [/INST] SELECT winning_driver FROM table_name_40 WHERE winning_constructor = ""bugatti"" AND name = ""boulogne grand prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR) Question: What is the type for rank 2? [/INST] SELECT type FROM table_name_26 WHERE rank = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (venue VARCHAR, away_team VARCHAR) Question: Where was the Hawthorn game played? [/INST] SELECT venue FROM table_name_43 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (place VARCHAR, score VARCHAR) Question: what is the place when the score is 68-70-68=206? [/INST] SELECT place FROM table_name_3 WHERE score = 68 - 70 - 68 = 206 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (round VARCHAR, rank INTEGER) Question: What is Round, when Rank is less than 117? [/INST] SELECT round FROM table_name_90 WHERE rank < 117 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE region (region_name VARCHAR, Label VARCHAR) Question: Show all distinct region names ordered by their labels. [/INST] SELECT DISTINCT region_name FROM region ORDER BY Label "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR) Question: What was the home teams score against the away team footscray? [/INST] SELECT home_team AS score FROM table_name_39 WHERE away_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (date_³ VARCHAR, korean_name_² VARCHAR) Question: When has a Korean name ² of 청명 (清明) cheongmyeong? [/INST] SELECT date_³ FROM table_name_88 WHERE korean_name_² = ""청명 (清明) cheongmyeong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (series VARCHAR, season VARCHAR) Question: What is Series, when Season is 2007? [/INST] SELECT series FROM table_name_2 WHERE season = 2007 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR) Question: What tie no has Watford as the date? [/INST] SELECT tie_no FROM table_name_92 WHERE date = ""watford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (set_3 VARCHAR, date VARCHAR, set_2 VARCHAR) Question: What is the Set 3 with a Date of 04 oct, and a Set 2 with 15–5? [/INST] SELECT set_3 FROM table_name_33 WHERE date = ""04 oct"" AND set_2 = ""15–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (pl_gp INTEGER, pick__number VARCHAR, rd__number VARCHAR) Question: What was the PI GP fpr pick# 235 for Rd# larger than 12? [/INST] SELECT MIN(pl_gp) FROM table_name_18 WHERE pick__number = 235 AND rd__number > 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25547943_1 (directed_by VARCHAR, written_by VARCHAR) Question: Who directed the episode that was written by Bill Lawrence? [/INST] SELECT directed_by FROM table_25547943_1 WHERE written_by = ""Bill Lawrence"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20142629_2 (fowler INTEGER) Question: What is tops for Folwer? [/INST] SELECT MAX(fowler) FROM table_20142629_2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (election VARCHAR) Question: Which 2nd Party has a Election of 1857? [/INST] SELECT 2 AS nd_party FROM table_name_14 WHERE election = ""1857"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (away_captain VARCHAR, date VARCHAR) Question: Who is the Away captain that played on 11,12,13 Aug 1902? [/INST] SELECT away_captain FROM table_name_95 WHERE date = ""11,12,13 aug 1902"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (week INTEGER, attendance VARCHAR) Question: Attendance of 48,510 had what highest week? [/INST] SELECT MAX(week) FROM table_name_30 WHERE attendance = 48 OFFSET 510 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (edition VARCHAR, partner VARCHAR) Question: What edition had magdalena maleeva as partner? [/INST] SELECT edition FROM table_name_34 WHERE partner = ""magdalena maleeva"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE candidate (support_rate VARCHAR) Question: what are the top 3 highest support rates? [/INST] SELECT TOP 3 support_rate FROM candidate ORDER BY support_rate DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_west_südwest VARCHAR) Question: what's the season with regionalliga west/südwest being arminia bielefeld [/INST] SELECT season FROM table_14242137_11 WHERE regionalliga_west_südwest = ""Arminia Bielefeld"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rebounds VARCHAR) Question: Which game did Curtis Borchardt play with more than 274 rebounds? [/INST] SELECT SUM(games) FROM table_name_20 WHERE name = ""curtis borchardt"" AND rebounds > 274 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (floors INTEGER, height VARCHAR, building VARCHAR) Question: What is the largest amount of floors in the 70m (233ft) Tupper building (educational)? [/INST] SELECT MAX(floors) FROM table_name_11 WHERE height = ""70m (233ft)"" AND building = ""tupper building (educational)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (purse VARCHAR, date VARCHAR) Question: What is the Purse on January 3, 2010? [/INST] SELECT purse FROM table_name_33 WHERE date = ""january 3, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2897457_1 (pick__number VARCHAR, position VARCHAR) Question: What draft pick is a goaltender? [/INST] SELECT pick__number FROM table_2897457_1 WHERE position = ""Goaltender"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668420_12 (candidates VARCHAR, first_elected VARCHAR) Question: Who was the candidate in 1791? [/INST] SELECT candidates FROM table_2668420_12 WHERE first_elected = 1791 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (combined_consumption VARCHAR, name VARCHAR) Question: What is the combined consumption of 1.6 16v? [/INST] SELECT combined_consumption FROM table_name_60 WHERE name = ""1.6 16v"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE ENROLLED_IN (Fname VARCHAR, StuID VARCHAR) Question: Find the first name of students not enrolled in any course. [/INST] SELECT Fname FROM STUDENT WHERE NOT StuID IN (SELECT StuID FROM ENROLLED_IN) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (pali VARCHAR, english VARCHAR) Question: Which Pali has an English of meditative concentration? [/INST] SELECT pali FROM table_name_74 WHERE english = ""meditative concentration"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR) Question: Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%? [/INST] SELECT incumbent FROM table_2668199_2 WHERE candidates = ""John Banks (AM) 52.2% Samuel Power (J) 47.8%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR, record VARCHAR) Question: What is the result when the record was 1-0 and it was earlier than week 4? [/INST] SELECT result FROM table_name_63 WHERE week < 4 AND record = ""1-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (Id VARCHAR) Question: What is the 2004 that has a of grand slam tournaments in2006 ? [/INST] SELECT 2004 FROM table_name_82 WHERE 2006 = ""grand slam tournaments"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR) Question: What is their record on April 2? [/INST] SELECT record FROM table_name_59 WHERE date = ""april 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE debate_people (Negative VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) Question: Show the names of people who have been on the negative side of debates at least twice. [/INST] SELECT T2.Name FROM debate_people AS T1 JOIN people AS T2 ON T1.Negative = T2.People_ID GROUP BY T2.Name HAVING COUNT(*) >= 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15475116_1 (colors VARCHAR, school VARCHAR) Question: Middletown High School uses which colors [/INST] SELECT colors FROM table_15475116_1 WHERE school = ""Middletown High school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (career_win_loss VARCHAR, tournament VARCHAR) Question: What is Career Win-Loss, when Tournament is ""Hamburg""? [/INST] SELECT career_win_loss FROM table_name_11 WHERE tournament = ""hamburg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR) Question: what is the date when the away team is newport county? [/INST] SELECT date FROM table_name_98 WHERE away_team = ""newport county"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year INTEGER, tyres VARCHAR, chassis VARCHAR) Question: How many years were g Tyres and Minardi m187 used? [/INST] SELECT AVG(year) FROM table_name_82 WHERE tyres = ""g"" AND chassis = ""minardi m187"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21001903_2 (mens_singles VARCHAR, womens_singles VARCHAR, tour VARCHAR) Question: when womens singles is wang yihan and tour is french super series, what were the men's singles? [/INST] SELECT mens_singles FROM table_21001903_2 WHERE womens_singles = ""Wang Yihan"" AND tour = ""French Super Series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (max_height__ft_ INTEGER, time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR) Question: What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25° in 10.1 seconds? [/INST] SELECT AVG(max_height__ft_) FROM table_name_24 WHERE time_to_ft__m__at_25°__seconds_ = ""10.1"" AND shell__lb_ < 12.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137704_2 (location VARCHAR, date VARCHAR) Question: what are all the location where date is 5 april [/INST] SELECT location FROM table_1137704_2 WHERE date = ""5 April"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR) Question: Which opponent has an attendance of 40,560? [/INST] SELECT opponent FROM table_name_32 WHERE attendance = ""40,560"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR) Question: What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)? [/INST] SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = ""201ft•lbf (273 J)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR) Question: Which Tournament has a Score of 6–4, 6–2? [/INST] SELECT tournament FROM table_name_62 WHERE score = ""6–4, 6–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Restaurant_Type (ResTypeDescription VARCHAR, ResTypeName VARCHAR) Question: What is the description of the restaurant type Sandwich? [/INST] SELECT ResTypeDescription FROM Restaurant_Type WHERE ResTypeName = ""Sandwich"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) Question: How many people attended the game on May 10? [/INST] SELECT COUNT(attendance) FROM table_name_44 WHERE date = ""may 10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (weight__kg_ INTEGER, height__cm_ INTEGER) Question: What is the average weight of a player who is less than 175 centimeters tall? [/INST] SELECT AVG(weight__kg_) FROM table_name_83 WHERE height__cm_ < 175 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR) Question: What institution won in 2010 with student Cheng Herng Yi? [/INST] SELECT institution FROM table_name_82 WHERE year > 2010 AND name = ""cheng herng yi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR) Question: Which Record has a Week smaller than 15, and an Opponent of at new york jets? [/INST] SELECT record FROM table_name_48 WHERE week < 15 AND opponent = ""at new york jets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR) Question: Who published Star Citizen in 2014? [/INST] SELECT publisher FROM table_name_17 WHERE year = ""2014"" AND title = ""star citizen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1181375_1 (builder VARCHAR, withdrawn VARCHAR) Question: what's the builder where withdrawn is 1954–1958 [/INST] SELECT builder FROM table_1181375_1 WHERE withdrawn = ""1954–1958"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (pick__number INTEGER, college VARCHAR) Question: What is the Pick # of the player from Simon Fraser College? [/INST] SELECT AVG(pick__number) FROM table_name_50 WHERE college = ""simon fraser"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR) Question: What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? [/INST] SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = ""patronymic"" AND etymology = ""son of christian"" AND number_of_bearers_1971 > 45.984 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (score VARCHAR, home_team VARCHAR) Question: What score has notts county as the home team? [/INST] SELECT score FROM table_name_23 WHERE home_team = ""notts county"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (gold INTEGER, rank VARCHAR, silver VARCHAR) Question: What is the average number of golds for teams in rank 17 with more than 4 silver? [/INST] SELECT AVG(gold) FROM table_name_13 WHERE rank = ""17"" AND silver > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (population INTEGER, rank INTEGER) Question: What is the highest population of the region with a rank bigger than 9? [/INST] SELECT MAX(population) FROM table_name_29 WHERE rank > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR) Question: What player has a score of 79? [/INST] SELECT player FROM table_name_53 WHERE score = ""79"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (opponent VARCHAR, result VARCHAR, location VARCHAR) Question: Who was the opponent with the loss in Westbury, NY? [/INST] SELECT opponent FROM table_name_37 WHERE result = ""loss"" AND location = ""westbury, ny"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (home_team VARCHAR, date VARCHAR) Question: WHAT IS THE HOME TEAM ON APRIL 25? [/INST] SELECT home_team FROM table_name_52 WHERE date = ""april 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26409328_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) Question: what is the production code of the episode viewed by 5.36 million u.s. people? [/INST] SELECT production_code FROM table_26409328_1 WHERE us_viewers__millions_ = ""5.36"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26745426_2 (Ends VARCHAR, stolen_ends VARCHAR) Question: Name the number of ends lost for 6 stolen ends [/INST] SELECT COUNT(Ends) AS lost FROM table_26745426_2 WHERE stolen_ends = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (title VARCHAR, name VARCHAR) Question: What is the title for YI? [/INST] SELECT title FROM table_name_45 WHERE name = ""yi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (opponents VARCHAR, partner VARCHAR) Question: What is Opponents, when Partner is Mervana Jugić-Salkić? [/INST] SELECT opponents FROM table_name_8 WHERE partner = ""mervana jugić-salkić"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (home VARCHAR, venue VARCHAR) Question: Who was the home team for the match at Stadion pod Vrmcem? [/INST] SELECT home FROM table_name_77 WHERE venue = ""stadion pod vrmcem"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (finish VARCHAR, team VARCHAR, tournament VARCHAR) Question: During the Tournament of 1st Division El Salvador, what was the Finish for the Team of Platense Municipal Zacatecoluca? [/INST] SELECT finish FROM table_name_25 WHERE team = ""platense municipal zacatecoluca"" AND tournament = ""1st division el salvador"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? [/INST] SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = ""masters tournament"" AND top_25 < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17758010_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) Question: How many original air dates have U.S. Views (millions) of 19.49? [/INST] SELECT COUNT(original_air_date) FROM table_17758010_2 WHERE us_viewers__millions_ = ""19.49"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17357929_1 (position VARCHAR, points_2 VARCHAR) Question: How many teams finished with a 2nd points total of 31? [/INST] SELECT COUNT(position) FROM table_17357929_1 WHERE points_2 = 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE election (District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR) Question: Show the name of each county along with the corresponding number of delegates from that county. [/INST] SELECT T1.County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District GROUP BY T1.County_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR) Question: What is the winning score before 1959, with runner-up Jackie Pung? [/INST] SELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = ""jackie pung"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17862135_3 (total_points VARCHAR, average VARCHAR) Question: What are the total points for the team that averages 17.8? [/INST] SELECT total_points FROM table_17862135_3 WHERE average = ""17.8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25256368_1 (february_2010 VARCHAR, january_2010 VARCHAR) Question: Name the feb 2010 for january 2010 for 6.2% [/INST] SELECT february_2010 FROM table_25256368_1 WHERE january_2010 = ""6.2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) Question: Who was the opponent at the game in Belgrade with a 0:2 result? [/INST] SELECT opponent FROM table_name_28 WHERE city = ""belgrade"" AND results¹ = ""0:2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (round INTEGER, position VARCHAR) Question: What is the highest round in which a player was picked for the Center position? [/INST] SELECT MAX(round) FROM table_name_24 WHERE position = ""center"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (attendance VARCHAR, home VARCHAR) Question: What is the attendance of the game with the NY Islanders as home team? [/INST] SELECT COUNT(attendance) FROM table_name_59 WHERE home = ""ny islanders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) Question: What score was on 13 June 2004? [/INST] SELECT score FROM table_name_50 WHERE date = ""13 june 2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR) Question: Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had what average podium? [/INST] SELECT AVG(podium) FROM table_name_10 WHERE flap = 0 AND race < 2 AND season = ""1989"" AND pole < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (skip VARCHAR, nation VARCHAR) Question: What is the skip in Wales? [/INST] SELECT skip FROM table_name_31 WHERE nation = ""wales"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (religion VARCHAR, para VARCHAR) Question: What religion has a para of 56.5%? [/INST] SELECT religion FROM table_name_65 WHERE para = ""56.5%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR) Question: Which team completed 10 races? [/INST] SELECT team_name FROM table_name_92 WHERE races = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2251578_4 (province VARCHAR, elevation__m_ VARCHAR) Question: Which province has an elevation of 4550? [/INST] SELECT province FROM table_2251578_4 WHERE elevation__m_ = 4550 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1997759_1 (location VARCHAR, last_flew VARCHAR) Question: at what location is the last flew on 11 june 2000 [/INST] SELECT location FROM table_1997759_1 WHERE last_flew = ""11 June 2000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent when the Phillies played on April 28? [/INST] SELECT opponent FROM table_name_77 WHERE date = ""april 28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) Question: what is the tie number that has Portsmouth Home team [/INST] SELECT tie_no FROM table_name_52 WHERE home_team = ""portsmouth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (pos VARCHAR, laps VARCHAR) Question: What position did lap 296 come in? [/INST] SELECT pos FROM table_name_41 WHERE laps = 296 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR) Question: What was the result on week 6? [/INST] SELECT result FROM table_name_42 WHERE week = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1496582_1 (gdp_millions_of_usd__2009_ INTEGER, country___territory VARCHAR) Question: What was the GDP (in millions USD) of Hong Kong in 2009? [/INST] SELECT MAX(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = ""Hong Kong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1590652_4 (date VARCHAR, winning_score VARCHAR) Question: Name the date of winning score being 67-67-63=197 [/INST] SELECT date FROM table_1590652_4 WHERE winning_score = 67 - 67 - 63 = 197 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR) Question: What is the attendance in a week earlier than 4, and result is w 31-20? [/INST] SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = ""w 31-20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2784232_1 (arabic_form VARCHAR, morphological_category VARCHAR) Question: How many Arabic forms are there for the 1st. plur. perfect category? [/INST] SELECT COUNT(arabic_form) FROM table_2784232_1 WHERE morphological_category = ""1st. plur. perfect"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR) Question: For the film made in 1964: (37th), what was the result? [/INST] SELECT result FROM table_name_11 WHERE year = ""1964: (37th)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Number_of_hosts INTEGER) Question: Show the host names for parties with number of hosts greater than 20. [/INST] SELECT T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T3.Number_of_hosts > 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (score VARCHAR, record VARCHAR) Question: What was the score when their record was 35–23–15? [/INST] SELECT score FROM table_name_58 WHERE record = ""35–23–15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13833770_3 (district INTEGER, incumbent VARCHAR) Question: what is the minimum district with incumbent being tom reynolds [/INST] SELECT MIN(district) FROM table_13833770_3 WHERE incumbent = ""Tom Reynolds"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (record VARCHAR, opponent VARCHAR) Question: For the game where the opponent is listed as @ Indiana Pacers, what was the end record? [/INST] SELECT record FROM table_name_31 WHERE opponent = ""@ indiana pacers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13564637_5 (points_against VARCHAR, tries_for VARCHAR) Question: How many numbers were recorded points against when the tries were for 43? [/INST] SELECT COUNT(points_against) FROM table_13564637_5 WHERE tries_for = ""43"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (rank VARCHAR, time VARCHAR) Question: What rank has a Time of 4:00.191? [/INST] SELECT rank FROM table_name_94 WHERE time = ""4:00.191"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the total number of bronze medals for the team with more than 4 silver and less than 30 gold medals? [/INST] SELECT COUNT(bronze) FROM table_name_41 WHERE silver > 4 AND nation = ""total"" AND gold < 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team with scarborough as the away team? [/INST] SELECT home_team FROM table_name_50 WHERE away_team = ""scarborough"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR) Question: Which team has a rank of 6? [/INST] SELECT team FROM table_name_43 WHERE rank = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23292220_17 (jons_team VARCHAR, episode VARCHAR) Question: Name the number of jons team for 15x10 [/INST] SELECT COUNT(jons_team) FROM table_23292220_17 WHERE episode = ""15x10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (no_built VARCHAR, loco_nos VARCHAR) Question: How many were built with a locomotive number of 11-20? [/INST] SELECT no_built FROM table_name_17 WHERE loco_nos = ""11-20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15261_1 (input_clock__mhz_ VARCHAR, s_spec_number VARCHAR) Question: What is the input clock (mhz) for s-spec number sk096? [/INST] SELECT input_clock__mhz_ FROM table_15261_1 WHERE s_spec_number = ""SK096"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR) Question: What year was remark #104 us? [/INST] SELECT year FROM table_name_58 WHERE remark = ""#104 us"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, position_in_table VARCHAR) Question: What was the date of appointment for the manager of the 23rd team? [/INST] SELECT date_of_appointment FROM table_18795125_6 WHERE position_in_table = ""23rd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR) Question: Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano? [/INST] SELECT party FROM table_name_77 WHERE years_in_assembly = ""2008–present"" AND name = ""tom ammiano"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE countrylanguage (CountryCode VARCHAR, LANGUAGE VARCHAR) Question: What are the country codes of countries where people use languages other than English? [/INST] SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE <> ""English"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) Question: What is Melaine Walker's Rank? [/INST] SELECT SUM(rank) FROM table_name_78 WHERE name = ""melaine walker"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR) Question: How many clubs remain in the fourth round? [/INST] SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = ""Fourth round"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR) Question: Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801? [/INST] SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = ""54.03"" AND votes > 120 OFFSET 801 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18847456_2 (opponents INTEGER, date VARCHAR) Question: How many points did the opposing team score on Dec. 19, 1982? [/INST] SELECT MAX(opponents) FROM table_18847456_2 WHERE date = ""Dec. 19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26669939_1 (host_country VARCHAR, host_city VARCHAR) Question: Who was the host country when Bar was the host city? [/INST] SELECT host_country FROM table_26669939_1 WHERE host_city = ""Bar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (time VARCHAR, team VARCHAR, rank VARCHAR) Question: What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? [/INST] SELECT time FROM table_name_44 WHERE team = ""triumph"" AND rank < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (rider_status VARCHAR, team_country VARCHAR, year VARCHAR) Question: What is the rider status for the 1971 netherlands team? [/INST] SELECT rider_status FROM table_name_77 WHERE team_country = ""netherlands"" AND year = 1971 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (draw INTEGER, place VARCHAR, points VARCHAR, artist VARCHAR) Question: What is the Draw number of the song by Artist of ""Loudest Whisper"" with 68 or less Points with a place of 9 or larger? [/INST] SELECT AVG(draw) FROM table_name_63 WHERE points < 68 AND artist = ""loudest whisper"" AND place > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR) Question: For the vessel with a listed In service of 1, what is the origin given? [/INST] SELECT origin FROM table_name_57 WHERE in_service = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (year VARCHAR, venue VARCHAR, score VARCHAR) Question: when is the venue nikos goumas stadium and the score is 2–2 4–4 a.e.t. 6–5 pso? [/INST] SELECT year FROM table_name_44 WHERE venue = ""nikos goumas stadium"" AND score = ""2–2 4–4 a.e.t. 6–5 pso"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (date VARCHAR, loss VARCHAR) Question: Name the date for loss of ruffin (3-5) [/INST] SELECT date FROM table_name_44 WHERE loss = ""ruffin (3-5)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER) Question: What is the total number of E edges of the polyhedra with vertices V greater than 20? [/INST] SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE list (classroom VARCHAR, grade VARCHAR) Question: For each grade 0 classroom, report the total number of students. [/INST] SELECT classroom, COUNT(*) FROM list WHERE grade = ""0"" GROUP BY classroom "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR) Question: What is the status when livery is blue? [/INST] SELECT status FROM table_1090916_2 WHERE livery = ""Blue"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23390604_1 (total_votes VARCHAR, spoiled_ballots VARCHAR) Question: List all the total scores for the election which had 3072 invalid votes [/INST] SELECT total_votes FROM table_23390604_1 WHERE spoiled_ballots = 3072 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1560673_1 (first_season VARCHAR, club VARCHAR) Question: What was the first season for Syrianska FC [/INST] SELECT first_season FROM table_1560673_1 WHERE club = ""Syrianska FC"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (location VARCHAR, result VARCHAR) Question: Where was the game which ended in a 4-1 w? [/INST] SELECT location FROM table_name_64 WHERE result = ""4-1 w"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR) Question: What's the nickname of the team with enrollment of 40747? [/INST] SELECT team_nickname FROM table_28243691_2 WHERE enrollment = 40747 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR) Question: Where did Hawthorn play as the away team? [/INST] SELECT venue FROM table_name_89 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (team VARCHAR, founded VARCHAR, type VARCHAR) Question: What public team was founded prior to 1883? [/INST] SELECT team FROM table_name_45 WHERE founded < 1883 AND type = ""public"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12146637_1 (episode_title VARCHAR, us_viewers__millions_ VARCHAR) Question: What is the title of the episode that was watched by 8.92 million viewers? [/INST] SELECT episode_title FROM table_12146637_1 WHERE us_viewers__millions_ = ""8.92"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (first_elected INTEGER, district VARCHAR, committee VARCHAR) Question: What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters? [/INST] SELECT MAX(first_elected) FROM table_name_99 WHERE district = ""06.0 6"" AND committee = ""economic matters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (chapter VARCHAR, chinese VARCHAR) Question: Name the chapter with chinese of 釋水 [/INST] SELECT chapter FROM table_name_28 WHERE chinese = ""釋水"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (winner VARCHAR, season VARCHAR) Question: Who was the winner during the 2009 season? [/INST] SELECT winner FROM table_name_42 WHERE season = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER) Question: what is the highest fa cup goals when flt goals is more than 0? [/INST] SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23224961_1 (oberbayern_b VARCHAR, oberpfalz VARCHAR) Question: When fc schwandorf is the oberpfalz what is the oberbayern b? [/INST] SELECT oberbayern_b FROM table_23224961_1 WHERE oberpfalz = ""FC Schwandorf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (sport VARCHAR, site VARCHAR, date VARCHAR) Question: What is the sport played in Iowa City on February 14, 2009? [/INST] SELECT sport FROM table_name_17 WHERE site = ""iowa city"" AND date = ""february 14, 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR) Question: Name the venue for 19th date [/INST] SELECT venue FROM table_17120964_5 WHERE date = ""19th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR) Question: What are the coupon amount of the coupons owned by both good and bad customers? [/INST] SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'good' INTERSECT SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'bad' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (nation VARCHAR, date VARCHAR) Question: What is the Nation with a Date that is may 6, 1991? [/INST] SELECT nation FROM table_name_51 WHERE date = ""may 6, 1991"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17941032_2 (club VARCHAR, drawn VARCHAR, won VARCHAR) Question: Which club had 2 wins and 1 draw? [/INST] SELECT club FROM table_17941032_2 WHERE drawn = ""1"" AND won = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (losses INTEGER, club VARCHAR, points VARCHAR) Question: What is the top losses that with Club of cd toledo and Points more than 56? [/INST] SELECT MAX(losses) FROM table_name_23 WHERE club = ""cd toledo"" AND points > 56 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR) Question: What was the main date of the round with 20 fixtures? [/INST] SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, condition VARCHAR) Question: What was the bleeding time for the factor x deficiency as seen in amyloid purpura [/INST] SELECT bleeding_time FROM table_1099080_1 WHERE condition = ""Factor X deficiency as seen in amyloid purpura"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (player VARCHAR, to_par VARCHAR, score VARCHAR) Question: what player has To par of –3, and a Score of 73-68=141? [/INST] SELECT player FROM table_name_62 WHERE to_par = ""–3"" AND score = 73 - 68 = 141 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR) Question: What was the original name of the restaurant located in Orillia, ON? [/INST] SELECT original_name FROM table_name_50 WHERE location = ""orillia, on"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (run_1 VARCHAR, athletes VARCHAR) Question: What is Run 1, when Athletes is ""Theo Kitt & Friedrich Kuhn""? [/INST] SELECT run_1 FROM table_name_89 WHERE athletes = ""theo kitt & friedrich kuhn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (tries INTEGER, player VARCHAR, points VARCHAR) Question: How many tries did the player Paul Sykes take when he earned 0 points? [/INST] SELECT MAX(tries) FROM table_name_49 WHERE player = ""paul sykes"" AND points > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the average total for countries with under 3 golds and 0 silvers? [/INST] SELECT AVG(total) FROM table_name_83 WHERE gold < 3 AND silver < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR) Question: What tournament was being played on August 11, 1984? [/INST] SELECT tournament FROM table_name_86 WHERE date = ""august 11, 1984"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (score VARCHAR, player VARCHAR) Question: What was Lee Trevino's score? [/INST] SELECT score FROM table_name_42 WHERE player = ""lee trevino"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, nationality VARCHAR, react VARCHAR) Question: What is the highest rank of an athlete from Belgium with react greater than 0.162? [/INST] SELECT MAX(rank) FROM table_name_38 WHERE nationality = ""belgium"" AND react > 0.162 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR) Question: Which borough or census area has a $59,596 median household income? [/INST] SELECT borough_or_census_area FROM table_name_68 WHERE median_household_income = ""$59,596"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19523708_1 (draw VARCHAR, language VARCHAR, english_meaning VARCHAR) Question: What was the draw for the english meaning Eyes that Never Lie? [/INST] SELECT draw FROM table_19523708_1 WHERE language = ""English"" AND english_meaning = ""Eyes That Never Lie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE list (grade VARCHAR, classroom VARCHAR) Question: Find the grade studying in room 105. [/INST] SELECT DISTINCT grade FROM list WHERE classroom = 105 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR, game_site VARCHAR, week VARCHAR) Question: Game site of shea stadium, and a Week smaller than 10, and a Opponent of baltimore colts happened on what date? [/INST] SELECT date FROM table_name_13 WHERE game_site = ""shea stadium"" AND week < 10 AND opponent = ""baltimore colts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, series VARCHAR) Question: What is Date, when Series is Amscar Round 3? [/INST] SELECT date FROM table_name_36 WHERE series = ""amscar round 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (team VARCHAR, circuit VARCHAR) Question: What is Team, when Circuit is Phillip Island Grand Prix Circuit? [/INST] SELECT team FROM table_name_1 WHERE circuit = ""phillip island grand prix circuit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (recording_date VARCHAR, title VARCHAR) Question: what is the recording date when the title is screech owl blues? [/INST] SELECT recording_date FROM table_name_79 WHERE title = ""screech owl blues"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (rating VARCHAR, viewers__households_in_millions_ VARCHAR) Question: What was the rating of the season that had 18.17 million household viewers? [/INST] SELECT rating FROM table_name_23 WHERE viewers__households_in_millions_ = ""18.17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) Question: What is the sum of the evening gown scores where the interview score is less than 8.77, the swimsuit score is equal to 7.8, and the average score is less than 8.2? [/INST] SELECT SUM(evening_gown) FROM table_name_4 WHERE interview < 8.77 AND swimsuit = 7.8 AND average < 8.2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248940_6 (high_points VARCHAR, game VARCHAR) Question: Who are all high points in game 14? [/INST] SELECT high_points FROM table_23248940_6 WHERE game = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR) Question: Name the episode for travis brown [/INST] SELECT episode FROM table_2140071_12 WHERE coach = ""Travis Brown"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR) Question: What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8? [/INST] SELECT year FROM table_name_6 WHERE win__percentage = ""50.00%"" AND matches > 14 AND wins > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (category_1 INTEGER, category_3 VARCHAR) Question: What's the sum of all values in category 1 when category 3 is equal to 300? [/INST] SELECT SUM(category_1) FROM table_name_89 WHERE category_3 = ""300"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29071587_1 (built_for VARCHAR, original_no VARCHAR) Question: What is listed in built for when the original number is 24d? [/INST] SELECT built_for FROM table_29071587_1 WHERE original_no = ""24D"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR) Question: what's the salmonella with escherichia being espd [/INST] SELECT salmonella FROM table_10321124_1 WHERE escherichia = ""EspD"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22951088_3 (original_air_date VARCHAR, no VARCHAR) Question: What was the original air date of episode number 1? [/INST] SELECT original_air_date FROM table_22951088_3 WHERE no = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR) Question: Who won the Food World 250? [/INST] SELECT winner FROM table_name_14 WHERE race = ""food world 250"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR) Question: Which Year has a Match of 63? [/INST] SELECT year FROM table_name_82 WHERE match = 63 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) Question: What is the clean & jerk when the total (kg) is more than 204, and snatch is more than 98? [/INST] SELECT AVG(clean_) & _jerk FROM table_name_8 WHERE total__kg_ > 204 AND snatch > 98 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (team VARCHAR, name VARCHAR, rebounds VARCHAR, games VARCHAR) Question: In game 34 Curtis Borchardt played on which team with less than 275 rebounds? [/INST] SELECT team FROM table_name_70 WHERE rebounds < 275 AND games < 34 AND name = ""curtis borchardt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18018214_3 (goals_scored VARCHAR, club VARCHAR) Question: How many goals were scored by club team fm (losc) vilnius [/INST] SELECT goals_scored FROM table_18018214_3 WHERE club = ""FM (LOSC) Vilnius"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) Question: Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Manufacturer of aprilia? [/INST] SELECT rider FROM table_name_89 WHERE laps < 24 AND grid < 12 AND manufacturer = ""aprilia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the Team 2 with a Team 1 that is milli piyango sk? [/INST] SELECT team_2 FROM table_name_34 WHERE team_1 = ""milli piyango sk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR) Question: How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4? [/INST] SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = ""fiba europe cup"" AND wins < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR) Question: Name the director for 1957 [/INST] SELECT director FROM table_name_50 WHERE year = 1957 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR) Question: What is the date of the game at the Arden Street Oval? [/INST] SELECT date FROM table_name_49 WHERE venue = ""arden street oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (height_feet___m VARCHAR, street_address VARCHAR) Question: What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue? [/INST] SELECT height_feet___m FROM table_name_40 WHERE street_address = ""2345 grand avenue"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (aircraft VARCHAR, seating VARCHAR) Question: Which aircraft has 148/9 seating? [/INST] SELECT aircraft FROM table_name_88 WHERE seating = ""148/9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR, country VARCHAR) Question: What player from South Africa had a total less than 284? [/INST] SELECT player FROM table_name_93 WHERE total < 284 AND country = ""south africa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR) Question: Which Date has a Venue of lake oval? [/INST] SELECT date FROM table_name_36 WHERE venue = ""lake oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (period INTEGER, element VARCHAR) Question: Which lowest period's element is ruthenium? [/INST] SELECT MIN(period) FROM table_name_28 WHERE element = ""ruthenium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (player VARCHAR, tries VARCHAR) Question: What Player has 23 Tries? [/INST] SELECT player FROM table_name_61 WHERE tries = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (trofeo_fast_team VARCHAR, young_rider_classification VARCHAR, stage VARCHAR) Question: Name trofeo fast team with young rider classification of francesco casagrande and stage of 10 [/INST] SELECT trofeo_fast_team FROM table_name_55 WHERE young_rider_classification = ""francesco casagrande"" AND stage = ""10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR) Question: Who are all men's doubles when men's singles is Jean-Michel Saive? [/INST] SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = ""Jean-Michel Saive"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (d_44_√ VARCHAR, d_46_√ VARCHAR) Question: What is the D 44 √ when the D 46 √ is r 26? [/INST] SELECT d_44_√ FROM table_name_32 WHERE d_46_√ = ""r 26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (region VARCHAR, catalog VARCHAR) Question: Which region is identified as 38xa-3 in the catalog? [/INST] SELECT region FROM table_name_7 WHERE catalog = ""38xa-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (round VARCHAR, position VARCHAR) Question: What is the total round of the tight end position player? [/INST] SELECT COUNT(round) FROM table_name_66 WHERE position = ""tight end"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (australian VARCHAR, examples VARCHAR) Question: What is Australian, when Examples is ""amœba, anemone, ascesis""? [/INST] SELECT australian FROM table_name_95 WHERE examples = ""amœba, anemone, ascesis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (losses INTEGER, year VARCHAR, result VARCHAR, wins VARCHAR) Question: What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006? [/INST] SELECT SUM(losses) FROM table_name_50 WHERE result = ""runner-up"" AND wins = 1 AND year < 2006 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (barangay VARCHAR, exit VARCHAR) Question: Which Barangay has an exit of Sisiman toll barrier? [/INST] SELECT barangay FROM table_name_66 WHERE exit = ""sisiman toll barrier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (attendance INTEGER, round VARCHAR) Question: What is the highest attendance among Group E games? [/INST] SELECT MAX(attendance) FROM table_name_93 WHERE round = ""group e"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR) Question: Name the frequency mhz for fcc and ERP W of 9 watts [/INST] SELECT frequency_mhz FROM table_name_7 WHERE fcc_info = ""fcc"" AND erp_w = ""9 watts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (rank VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2? [/INST] SELECT COUNT(rank) FROM table_name_56 WHERE silver = 0 AND gold = 2 AND total < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (Box VARCHAR, home_team VARCHAR) Question: What was the box core for the Melbourne Tigers? [/INST] SELECT Box AS score FROM table_name_21 WHERE home_team = ""melbourne tigers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, entrant VARCHAR) Question: What was the earliest year that Scuderia Ferrari was an entrant with 0 points? [/INST] SELECT MIN(year) FROM table_name_88 WHERE points = ""0"" AND entrant = ""scuderia ferrari"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR) Question: What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales? [/INST] SELECT loss FROM table_name_56 WHERE opponent = ""chinatrust whales"" AND save = ""miguel saladin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (grid VARCHAR, team VARCHAR) Question: What grid did the team racing professionals race on? [/INST] SELECT grid FROM table_name_84 WHERE team = ""racing professionals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (track INTEGER, song_title VARCHAR) Question: I want the sum of tracks for raised on rock [/INST] SELECT SUM(track) FROM table_name_99 WHERE song_title = ""raised on rock"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ARTIST (Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR) Question: Find the names of artists that do not have any albums. [/INST] SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR) Question: When the To par is E, what is the Score? [/INST] SELECT score FROM table_name_62 WHERE to_par = ""e"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (position VARCHAR, channel VARCHAR) Question: What is the position when the channel shows channel 4? [/INST] SELECT position FROM table_name_42 WHERE channel = ""channel 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (winning_team VARCHAR, sport VARCHAR) Question: What winning team has volleyball as the sport? [/INST] SELECT winning_team FROM table_name_91 WHERE sport = ""volleyball"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (event VARCHAR, opponent VARCHAR) Question: Which Event has the Opponent, Jason Yee? [/INST] SELECT event FROM table_name_3 WHERE opponent = ""jason yee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR) Question: In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner? [/INST] SELECT week FROM table_name_65 WHERE winners = ""serena williams 6–1, 6–7(7), 6–3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the team 2 for the match with a team 1 of Panathinaikos? [/INST] SELECT team_2 FROM table_name_34 WHERE team_1 = ""panathinaikos"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (money___ VARCHAR, to_par VARCHAR) Question: How much money has a to par of E? [/INST] SELECT COUNT(money___) AS $__ FROM table_name_14 WHERE to_par = ""e"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17751942_4 (final_win__percentage VARCHAR, team VARCHAR) Question: What is the final win percentage of the Sault Ste. Marie Greyhounds? [/INST] SELECT final_win__percentage FROM table_17751942_4 WHERE team = ""Sault Ste. Marie Greyhounds"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR) Question: I want to know the average crowd for away team of melbourne [/INST] SELECT AVG(crowd) FROM table_name_43 WHERE away_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (opponent VARCHAR, game VARCHAR, date VARCHAR) Question: Who was the opponent for a game over 31 and a date over 30? [/INST] SELECT opponent FROM table_name_54 WHERE game > 31 AND date > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (competition VARCHAR, date VARCHAR) Question: Name the competition for 13 december 2012 [/INST] SELECT competition FROM table_name_6 WHERE date = ""13 december 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR) Question: what's the won with points against being 597 [/INST] SELECT won FROM table_13758945_3 WHERE points_against = ""597"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR) Question: Name the order number for the beatles and result is safe [/INST] SELECT order__number FROM table_15796054_3 WHERE original_artist = ""The Beatles"" AND result = ""Safe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (result VARCHAR, venue VARCHAR, extra VARCHAR) Question: Venue of melbourne , australia, and a Extra of 200 m has what results? [/INST] SELECT result FROM table_name_90 WHERE venue = ""melbourne , australia"" AND extra = ""200 m"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student (Lname VARCHAR, StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR, onscholarship VARCHAR) Question: Show last names for all student who are on scholarship. [/INST] SELECT T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.onscholarship = 'Y' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR) Question: What year was the Album/Song Speaking louder than before? [/INST] SELECT SUM(year) FROM table_name_39 WHERE album___song = ""speaking louder than before"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1965650_8 (college_junior_club_team VARCHAR, player VARCHAR) Question: What cub team or college did Bob Law come from? [/INST] SELECT college_junior_club_team FROM table_1965650_8 WHERE player = ""Bob Law"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR) Question: Of all the contestants who got voted, what is the contestant number and name of the contestant who got least votes? [/INST] SELECT TOP 1 T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY COUNT(*) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (december VARCHAR, november VARCHAR) Question: Who is the December playmate with a November playmate Marlene Janssen? [/INST] SELECT december FROM table_name_72 WHERE november = ""marlene janssen"" "
"[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 finalist = ""magnus gustafsson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) Question: Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party? [/INST] SELECT second_member FROM table_name_3 WHERE first_member = ""sir rowland hill, bt"" AND second_party = ""conservative"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (storm VARCHAR, dance VARCHAR, clash VARCHAR) Question: Which storm has a clash of 3 and a dance of 4? [/INST] SELECT storm FROM table_name_58 WHERE dance = ""4"" AND clash = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR) Question: Which Laps has a Year of 2007? [/INST] SELECT AVG(laps) FROM table_name_80 WHERE year = 2007 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18018248_2 (games_played INTEGER, loses VARCHAR) Question: What is the least amount of games played with 21 losses? [/INST] SELECT MIN(games_played) FROM table_18018248_2 WHERE loses = 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR) Question: What is the Result of the game on 10/11/1930? [/INST] SELECT result FROM table_name_63 WHERE date = ""10/11/1930"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR) Question: What was the Attendance in Week 2? [/INST] SELECT attendance FROM table_name_25 WHERE week = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (laps INTEGER, driver VARCHAR) Question: What are the average laps for jackie stewart? [/INST] SELECT AVG(laps) FROM table_name_77 WHERE driver = ""jackie stewart"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (played INTEGER, position VARCHAR, drawn VARCHAR) Question: How much Played has a Position of 7, and a Drawn smaller than 7? [/INST] SELECT SUM(played) FROM table_name_72 WHERE position = 7 AND drawn < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (stadium VARCHAR, final_score VARCHAR) Question: At what stadium was the game with the final score of 26-24 played? [/INST] SELECT stadium FROM table_name_29 WHERE final_score = ""26-24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341663_26 (result VARCHAR, district VARCHAR) Question: What is the result for the district missouri 2? [/INST] SELECT result FROM table_1341663_26 WHERE district = ""Missouri 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR) Question: Which Game site has 27,189 Attendances ? [/INST] SELECT game_site FROM table_name_99 WHERE attendance = ""27,189"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR) Question: Which letter has the British aɪ? [/INST] SELECT letter FROM table_name_40 WHERE british = ""aɪ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (gain VARCHAR, name VARCHAR, loss VARCHAR) Question: Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3? [/INST] SELECT COUNT(gain) FROM table_name_55 WHERE name = ""williams, jonathan"" AND loss > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (method VARCHAR, time VARCHAR, record VARCHAR) Question: What is the method when the time is 5:00, and the record is 14–6–1? [/INST] SELECT method FROM table_name_3 WHERE time = ""5:00"" AND record = ""14–6–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (away_team VARCHAR) Question: What is south melbourne's scores when they are the away team? [/INST] SELECT away_team AS score FROM table_name_32 WHERE away_team = ""south melbourne"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25548630_1 (poles INTEGER) Question: What are the most poles listed? [/INST] SELECT MAX(poles) FROM table_25548630_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (crowd VARCHAR, home_team VARCHAR) Question: How many people were at the game where the home team was South Melbourne? [/INST] SELECT crowd FROM table_name_16 WHERE home_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (dissolved VARCHAR) Question: Who was the 1st member of the parliament that was dissolved 23 february 1510? [/INST] SELECT 1 AS st_member FROM table_name_51 WHERE dissolved = ""23 february 1510"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_5 (position VARCHAR, touchdowns VARCHAR) Question: Which positions have made 4 touchdowns? [/INST] SELECT position FROM table_14342592_5 WHERE touchdowns = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (round INTEGER, name VARCHAR, pick VARCHAR) Question: How many rounds have john o'day as the name, and a pick less than 3? [/INST] SELECT SUM(round) FROM table_name_87 WHERE name = ""john o'day"" AND pick < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, age INTEGER) Question: Find the number of students who is older than 20 in each dorm. [/INST] SELECT COUNT(*), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.age > 20 GROUP BY T3.dorm_name "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2169966_2 (winnings VARCHAR, top_10 VARCHAR) Question: What were his winnings when he had 14 top 10s? [/INST] SELECT winnings FROM table_2169966_2 WHERE top_10 = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR) Question: What is the highest points won when the player is aravane rezaï? [/INST] SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = ""Aravane Rezaï"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (win__percentage VARCHAR, _number_of_bids VARCHAR, conference VARCHAR) Question: When the conference is west coast and the number of bids are at 2, what's the percentage of games won? [/INST] SELECT win__percentage FROM table_name_51 WHERE _number_of_bids = 2 AND conference = ""west coast"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team score with geelong home team? [/INST] SELECT away_team AS score FROM table_name_68 WHERE home_team = ""geelong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_178242_1 (seasons VARCHAR, country___region VARCHAR) Question: How many seasons did the show run in Poland? [/INST] SELECT seasons FROM table_178242_1 WHERE country___region = ""Poland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (player VARCHAR, nationality VARCHAR) Question: Which player is from Sweden? [/INST] SELECT player FROM table_name_47 WHERE nationality = ""sweden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR) Question: On the final date of April 5, 1995, what was the score? [/INST] SELECT score_in_the_final FROM table_name_96 WHERE date = ""april 5, 1995"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (winning_team VARCHAR, circuit VARCHAR) Question: Who was the winning team at Zandvoort? [/INST] SELECT winning_team FROM table_name_6 WHERE circuit = ""zandvoort"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (played VARCHAR, club VARCHAR) Question: How many matches have Rhymney RFC played? [/INST] SELECT played FROM table_name_24 WHERE club = ""rhymney rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (award VARCHAR, category VARCHAR) Question: Which Award has a Category of music video acting award? [/INST] SELECT award FROM table_name_40 WHERE category = ""music video acting award"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR) Question: When olympikus is the main sponsor who is the secondary sponsor? [/INST] SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = ""Olympikus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (surface VARCHAR, opponent_in_the_final VARCHAR) Question: What is the surface of the tournament with cédric pioline as the opponent in the final? [/INST] SELECT surface FROM table_name_37 WHERE opponent_in_the_final = ""cédric pioline"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR) Question: Which Medal had a Games of 2008 beijing, and a Sport of taekwondo? [/INST] SELECT medal FROM table_name_48 WHERE games = ""2008 beijing"" AND sport = ""taekwondo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2897457_4 (position VARCHAR, nhl_team VARCHAR) Question: How many positions drafted for the Minnesota North Stars? [/INST] SELECT COUNT(position) FROM table_2897457_4 WHERE nhl_team = ""Minnesota North Stars"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR) Question: What was the elimination number of the fighter who fought within 26:15? [/INST] SELECT MAX(elimination_number) FROM table_18598175_2 WHERE time = ""26:15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (location VARCHAR, current_manager VARCHAR) Question: Where is the location of the team with a current manager of Ariel Jacobs? [/INST] SELECT location FROM table_name_17 WHERE current_manager = ""ariel jacobs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (to_par VARCHAR, total VARCHAR) Question: What is the total number of To Par, when Total is ""295""? [/INST] SELECT COUNT(to_par) FROM table_name_38 WHERE total = 295 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Accounts (account_id VARCHAR, account_details VARCHAR) Question: Show all account ids and account details. [/INST] SELECT account_id, account_details FROM Accounts "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29102100_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) Question: What is the title of the episode directed by Rich Correll and written by Dennis Rinsler? [/INST] SELECT title FROM table_29102100_1 WHERE directed_by = ""Rich Correll"" AND written_by = ""Dennis Rinsler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR) Question: What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway? [/INST] SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = ""infineon raceway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (grid INTEGER, time VARCHAR) Question: What is the average Grid, when Time is +45.855? [/INST] SELECT AVG(grid) FROM table_name_87 WHERE time = ""+45.855"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR) Question: What nation has more than 0 silver medals and is ranked 1? [/INST] SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR) Question: What are the other awards for 1995? [/INST] SELECT other_awards FROM table_name_77 WHERE year = 1995 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (country VARCHAR, first_store VARCHAR) Question: Which country had the first store in the year 2007? [/INST] SELECT country FROM table_name_15 WHERE first_store = ""2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR) Question: What did the away team score when playing Footscray? [/INST] SELECT away_team AS score FROM table_name_37 WHERE home_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (winning_score VARCHAR, championship VARCHAR, margin VARCHAR) Question: What was the winning score in the u.s. women's open that was won by 5 strokes? [/INST] SELECT winning_score FROM table_name_75 WHERE championship = ""u.s. women's open"" AND margin = ""5 strokes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14940519_1 (week VARCHAR, game_site VARCHAR, opponent VARCHAR) Question: Name the number of week for game site being memorial stadium for buffalo bills [/INST] SELECT COUNT(week) FROM table_14940519_1 WHERE game_site = ""Memorial Stadium"" AND opponent = ""Buffalo Bills"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, company VARCHAR) Question: What are the profits of Wells Fargo (in billions)? [/INST] SELECT profits__billion_$_ FROM table_1682026_3 WHERE company = ""Wells Fargo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (silver INTEGER, gold INTEGER) Question: What is the average of the silver that has less than 0 gold [/INST] SELECT AVG(silver) FROM table_name_75 WHERE gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1315616_1 (date VARCHAR, mediator VARCHAR, red_team_host VARCHAR) Question: On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host? [/INST] SELECT date FROM table_1315616_1 WHERE mediator = ""Keiichi Ubukata"" AND red_team_host = ""Mitsuko Mori"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) Question: What's the transcription for the Thai name พฤษภาคม? [/INST] SELECT transcription FROM table_20354_5 WHERE thai_name = ""พฤษภาคม"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (studio VARCHAR, role VARCHAR) Question: Name the studio for john scott [/INST] SELECT studio FROM table_name_74 WHERE role = ""john scott"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17697980_1 (no_of_episodes INTEGER, year VARCHAR) Question: What is the largest number of episodes for a 1989 season dvd release? [/INST] SELECT MAX(no_of_episodes) FROM table_17697980_1 WHERE year = ""1989"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (place VARCHAR, country VARCHAR, score VARCHAR) Question: The golfer from the United states with a score of 72-70-69=211 is in what place? [/INST] SELECT place FROM table_name_46 WHERE country = ""united states"" AND score = 72 - 70 - 69 = 211 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29163303_1 (surface VARCHAR, championship VARCHAR) Question: On what surface was the Australian Open (6) played on? [/INST] SELECT surface FROM table_29163303_1 WHERE championship = ""Australian Open (6)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (tries_for VARCHAR, points VARCHAR, try_bonus VARCHAR) Question: How many tries for does the team with a try bonus of 1 and 35 points earned? [/INST] SELECT tries_for FROM table_name_33 WHERE points = ""35"" AND try_bonus = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (to_par VARCHAR, total VARCHAR, finish VARCHAR) Question: What is To par, when Total is less than 297, and when Finish is ""1""? [/INST] SELECT to_par FROM table_name_37 WHERE total < 297 AND finish = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR) Question: How many episodes had a broadcast date and run time of 24:43? [/INST] SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = ""24:43"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140080_2 (date VARCHAR, rnd VARCHAR) Question: what's the date with rnd 1 [/INST] SELECT date FROM table_1140080_2 WHERE rnd = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (cospar_id_satcat_№ VARCHAR, launch_vehicle VARCHAR) Question: What is the COSPAR ID of the satellite with a titan iv(401)a launch vehicle? [/INST] SELECT cospar_id_satcat_№ FROM table_name_20 WHERE launch_vehicle = ""titan iv(401)a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21313327_1 (no_in_series INTEGER, written_by VARCHAR) Question: what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers? [/INST] SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = ""Rob Wright & Debra J. Fisher & Erica Messer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (team VARCHAR, replaced_by VARCHAR) Question: What is Team, when Replaced By is ""Omar Arellano""? [/INST] SELECT team FROM table_name_5 WHERE replaced_by = ""omar arellano"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (attendance VARCHAR, result VARCHAR) Question: Tell me the total number of attendance for result of l 18-6 [/INST] SELECT COUNT(attendance) FROM table_name_3 WHERE result = ""l 18-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (pick__number VARCHAR, nhl_team VARCHAR) Question: What Pick # does the St. Louis Blues have? [/INST] SELECT pick__number FROM table_name_13 WHERE nhl_team = ""st. louis blues"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR) Question: Which island is in the United Kingdom? [/INST] SELECT island FROM table_name_43 WHERE country = ""united kingdom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR) Question: How many votes does Carlos Ferrer Eai have? [/INST] SELECT total_votes FROM table_19763199_3 WHERE artist = ""Carlos Ferrer EAI"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (european_cup VARCHAR, season VARCHAR) Question: Which European Cup is in the 1990-91 season? [/INST] SELECT european_cup FROM table_name_78 WHERE season = ""1990-91"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25604014_9 (directed_by VARCHAR, production_code VARCHAR) Question: Name who directed the production code 1l10 [/INST] SELECT directed_by FROM table_25604014_9 WHERE production_code = ""1L10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18602462_21 (event VARCHAR, final__bronze_medal_match VARCHAR) Question: When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event? [/INST] SELECT event FROM table_18602462_21 WHERE final__bronze_medal_match = ""Scheffers ( NED ) L 3-6, 1-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21313498_1 (title VARCHAR, production_code VARCHAR) Question: what is the name of the episode which the production code is 62015-08-162 [/INST] SELECT title FROM table_21313498_1 WHERE production_code = ""62015-08-162"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the sum for gold when there is more than 17 silver and more than 24 bronze? [/INST] SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (save VARCHAR, date VARCHAR) Question: What is the save of the game on September 15? [/INST] SELECT save FROM table_name_92 WHERE date = ""september 15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (games INTEGER, years VARCHAR, ranking VARCHAR) Question: What is the average Games for 1965–1981, and a Ranking larger than 4? [/INST] SELECT AVG(games) FROM table_name_52 WHERE years = ""1965–1981"" AND ranking > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20726262_4 (no_in_season INTEGER, usviewers__million_ VARCHAR) Question: what is the maximum number in the season wher the us viewers is 2.59? [/INST] SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ = ""2.59"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (number VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: What is the number for the forward position from the school/club team La Salle? [/INST] SELECT number FROM table_name_90 WHERE position = ""forward"" AND school_club_team = ""la salle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (tyres VARCHAR, engine_s_ VARCHAR, chassis VARCHAR) Question: What is the Tyres with a ford dfz v8 engine(s) with a chassis of coloni fc187? [/INST] SELECT tyres FROM table_name_27 WHERE engine_s_ = ""ford dfz v8"" AND chassis = ""coloni fc187"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (score VARCHAR, name VARCHAR) Question: What is Score, when Name is Nicole 赖淞凤? [/INST] SELECT score FROM table_name_38 WHERE name = ""nicole 赖淞凤"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (province VARCHAR, icao VARCHAR) Question: which Province has a ICAO of vmmc? [/INST] SELECT province FROM table_name_56 WHERE icao = ""vmmc"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22839669_12 (total_wins INTEGER) Question: What is the maximum total wins he had for any year? [/INST] SELECT MAX(total_wins) FROM table_22839669_12
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (manager VARCHAR, home_city VARCHAR) Question: What is the name of the manager in the city of Osijek? [/INST] SELECT manager FROM table_name_33 WHERE home_city = ""osijek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1831262_2 (hydroxymatairesinol VARCHAR, sesamin VARCHAR) Question: what is the number of hydroxymatairesinol where sesamin is 62724? [/INST] SELECT hydroxymatairesinol FROM table_1831262_2 WHERE sesamin = ""62724"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (position VARCHAR, pick VARCHAR) Question: What is the Position of the Pick 8 Player? [/INST] SELECT position FROM table_name_99 WHERE pick = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (location_attendance VARCHAR, team VARCHAR) Question: What was the attendance during the game against Philadelphia? [/INST] SELECT location_attendance FROM table_name_45 WHERE team = ""philadelphia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What was the result of week 1 and the opponent was bye? [/INST] SELECT result FROM table_name_31 WHERE week = ""1"" AND opponent = ""bye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (elite_eight VARCHAR, conference VARCHAR) Question: How many elite eight teams came from the Atlantic 10? [/INST] SELECT elite_eight FROM table_name_67 WHERE conference = ""atlantic 10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (champion VARCHAR, runner_up VARCHAR) Question: Who won when Peter Fleming was a runner-up? [/INST] SELECT champion FROM table_name_82 WHERE runner_up = ""peter fleming"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22754310_1 (party VARCHAR, constituency VARCHAR) Question: Name the party a for sriperumbudur [/INST] SELECT party AS a FROM table_22754310_1 WHERE constituency = ""Sriperumbudur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (country VARCHAR, film VARCHAR) Question: Which country made Le Portefeuille? [/INST] SELECT country FROM table_name_98 WHERE film = ""le portefeuille"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (election VARCHAR) Question: Which 1st Member has an Election of 1895? [/INST] SELECT 1 AS st_member FROM table_name_23 WHERE election = ""1895"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2886617_8 (position VARCHAR, nhl_team VARCHAR) Question: What position did the draft pick for Toronto Maple Leafs play? [/INST] SELECT position FROM table_2886617_8 WHERE nhl_team = ""Toronto Maple Leafs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (team VARCHAR, home_city VARCHAR) Question: What team has a home city of Velika? [/INST] SELECT team FROM table_name_74 WHERE home_city = ""velika"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17323529_5 (high_assists VARCHAR, score VARCHAR) Question: Name the high assists for l 98–103 (ot) [/INST] SELECT high_assists FROM table_17323529_5 WHERE score = ""L 98–103 (OT)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30047613_12 (high_rebounds VARCHAR, date VARCHAR) Question: in april 13 who made the high rebounds [/INST] SELECT high_rebounds FROM table_30047613_12 WHERE date = ""April 13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (year_opened INTEGER, material VARCHAR, span_feet VARCHAR) Question: What is the sum of Year opened when steel was the material with a Span feet of 1476? [/INST] SELECT SUM(year_opened) FROM table_name_75 WHERE material = ""steel"" AND span_feet = 1476 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (total INTEGER, a_score VARCHAR, position VARCHAR) Question: Which Total has an A Score of 6.5, and a Position larger than 5? [/INST] SELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Restaurant (Address VARCHAR, ResName VARCHAR) Question: What is the address of the restaurant Subway? [/INST] SELECT Address FROM Restaurant WHERE ResName = ""Subway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19730892_1 (position VARCHAR, name VARCHAR) Question: Name the position for billy price [/INST] SELECT position FROM table_19730892_1 WHERE name = ""Billy Price"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341423_20 (candidates VARCHAR, district VARCHAR) Question: Who were the candidates in the Maryland 5 district election? [/INST] SELECT candidates FROM table_1341423_20 WHERE district = ""Maryland 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_3 (skating_song VARCHAR, couple VARCHAR) Question: state the skating song of graeme & kristina [/INST] SELECT skating_song FROM table_19744915_3 WHERE couple = ""Graeme & Kristina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27771406_1 (total_dismissals INTEGER, club VARCHAR) Question: How many total dismissals did the player for Guyana have? [/INST] SELECT MAX(total_dismissals) FROM table_27771406_1 WHERE club = ""Guyana"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (position VARCHAR, overall VARCHAR) Question: What is the position of the player with an overall of 45? [/INST] SELECT position FROM table_name_70 WHERE overall = 45 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (country VARCHAR, player VARCHAR) Question: What country is phil mickelson from? [/INST] SELECT country FROM table_name_57 WHERE player = ""phil mickelson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (conference VARCHAR, awards VARCHAR) Question: Where the Vancouver Grizzlies is the awards, what is the conference? [/INST] SELECT conference FROM table_name_29 WHERE awards = ""vancouver grizzlies"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR) Question: In which tournament was the opponent Lauren Embree? [/INST] SELECT tournament FROM table_name_83 WHERE opponent = ""lauren embree"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (driver VARCHAR, laps VARCHAR, grid VARCHAR) Question: What driver has grid 2 and over 72 laps? [/INST] SELECT driver FROM table_name_35 WHERE laps > 72 AND grid = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE pilot (Pilot_name VARCHAR, Team VARCHAR) Question: Show the names of pilots from team ""Bradley"" or ""Fordham"". [/INST] SELECT Pilot_name FROM pilot WHERE Team = ""Bradley"" OR Team = ""Fordham"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2950964_1 (featuring_companion VARCHAR, _number VARCHAR) Question: Who are the featuring companions of number 3? [/INST] SELECT featuring_companion FROM table_2950964_1 WHERE _number = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_18 (segment_b VARCHAR, episode VARCHAR) Question: Name the segment b for 226 episode [/INST] SELECT segment_b FROM table_15187735_18 WHERE episode = 226 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) Question: What is the Film title used in nomination of Cilvēka Bērns? [/INST] SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = ""cilvēka bērns"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (laps INTEGER, pos VARCHAR) Question: What is the average number of laps with a dnf pos.? [/INST] SELECT AVG(laps) FROM table_name_6 WHERE pos = ""dnf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_3 (years_for_rockets VARCHAR, no_s_ VARCHAR) Question: During which years did number 13 play for the Rockets? [/INST] SELECT years_for_rockets FROM table_11734041_3 WHERE no_s_ = ""13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2588674_1 (population__2000_census__ INTEGER, area_km² VARCHAR) Question: What is the population for the place with an area of 2.33 km2? [/INST] SELECT MAX(population__2000_census__) FROM table_2588674_1 WHERE area_km² = ""2.33"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) Question: When are the vacancy dates for outgoing manager Damien Fox? [/INST] SELECT date_of_vacancy FROM table_11190568_7 WHERE outgoing_manager = ""Damien Fox"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (year INTEGER, us_cham_rank VARCHAR, next_highest_spender VARCHAR, us_cham_spending VARCHAR) Question: Which Year is the highest one that has a Next Highest Spender of aarp, and a US Cham Spending of $39,805,000, and a US Cham Rank larger than 1? [/INST] SELECT MAX(year) FROM table_name_16 WHERE next_highest_spender = ""aarp"" AND us_cham_spending = ""$39,805,000"" AND us_cham_rank > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (status VARCHAR, country VARCHAR, name VARCHAR) Question: What is the status of the ENG Country with the name of Farquharson? [/INST] SELECT status FROM table_name_79 WHERE country = ""eng"" AND name = ""farquharson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (engine VARCHAR, entrant VARCHAR, year VARCHAR) Question: What engine did the Team Lotus have after 1965? [/INST] SELECT engine FROM table_name_63 WHERE entrant = ""team lotus"" AND year > 1965 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (designation VARCHAR, launch_date_time___gmt__ VARCHAR) Question: What is Designation, when Launch Date/Time ( GMT ) is 29 June 1972, 03:47? [/INST] SELECT designation FROM table_name_73 WHERE launch_date_time___gmt__ = ""29 june 1972, 03:47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR) Question: What is the Domestic Tournament with Chennai Super Kings Team? [/INST] SELECT domestic_tournament FROM table_name_42 WHERE team = ""chennai super kings"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (parentheses VARCHAR, dots VARCHAR) Question: What is the value for parentheses with a dots value of 0.\dot{6}? [/INST] SELECT parentheses FROM table_name_91 WHERE dots = ""0.\dot{6}"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (loser VARCHAR, result VARCHAR) Question: What team was the loser when the result was 119–113? [/INST] SELECT loser FROM table_name_83 WHERE result = ""119–113"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR) Question: How many times did Charles Jarrott report? [/INST] SELECT COUNT(report) FROM table_18893428_1 WHERE driver = ""Charles Jarrott"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (school_club_team VARCHAR, player VARCHAR) Question: Which school was Chris Robinson from? [/INST] SELECT school_club_team FROM table_name_60 WHERE player = ""chris robinson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: Which Player plays Guard-Forward Position for School/Club Team Pepperdine? [/INST] SELECT player FROM table_name_12 WHERE position = ""guard-forward"" AND school_club_team = ""pepperdine"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2511876_1 (league VARCHAR, year VARCHAR) Question: Name the league for 2003 [/INST] SELECT league FROM table_2511876_1 WHERE year = 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23050383_1 (education VARCHAR, economic_incentive_regime VARCHAR) Question: What is the education when the economic incentive regime is 1.58? [/INST] SELECT education FROM table_23050383_1 WHERE economic_incentive_regime = ""1.58"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (method VARCHAR, opponent VARCHAR) Question: What method does the opponent of Dan New use? [/INST] SELECT method FROM table_name_90 WHERE opponent = ""dan new"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_18 (player VARCHAR, new_points VARCHAR) Question: List the players with 1285 new points? [/INST] SELECT player FROM table_24431264_18 WHERE new_points = 1285 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (release_date INTEGER, music_label VARCHAR, country VARCHAR) Question: What is the release date by Editions EG in the Netherlands? [/INST] SELECT AVG(release_date) FROM table_name_46 WHERE music_label = ""editions eg"" AND country = ""netherlands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (round VARCHAR, kick_off VARCHAR) Question: Which round has a Kick Off of 1993-02-17 20:30? [/INST] SELECT round FROM table_name_8 WHERE kick_off = ""1993-02-17 20:30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on October 17? [/INST] SELECT attendance FROM table_name_76 WHERE date = ""october 17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_15 (result VARCHAR, district VARCHAR) Question: what's the result with district illinois 15 [/INST] SELECT result FROM table_1341472_15 WHERE district = ""Illinois 15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (outcome VARCHAR, tournament VARCHAR, score VARCHAR) Question: What was the outcome for the match at the leipzig tournament with a score w/o? [/INST] SELECT outcome FROM table_name_45 WHERE tournament = ""leipzig"" AND score = ""w/o"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (laps INTEGER, driver VARCHAR) Question: What's the average of the amount of laps for the driver patrick tambay? [/INST] SELECT AVG(laps) FROM table_name_64 WHERE driver = ""patrick tambay"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (country VARCHAR, city VARCHAR) Question: In what Country is Haugesund? [/INST] SELECT country FROM table_name_3 WHERE city = ""haugesund"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (fleet_series VARCHAR, quantity VARCHAR) Question: Name the fleet series with a quantity of 5 [/INST] SELECT fleet_series FROM table_name_96 WHERE quantity = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE PERFORMERS (Customer_Phone VARCHAR, Customer_Name VARCHAR) Question: What is the phone number of the performer Ashley? [/INST] SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name = ""Ashley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (chassis VARCHAR, year VARCHAR, engine VARCHAR) Question: What is the Chassis from before 1997 with a Lamborghini v12 engine? [/INST] SELECT chassis FROM table_name_98 WHERE year < 1997 AND engine = ""lamborghini v12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (canterbury VARCHAR, central_districts VARCHAR) Question: Which of the Canterbury has a Central District of 276* M.D. Crowe & P.S. Briasco V (C) 1986/87? [/INST] SELECT canterbury FROM table_name_67 WHERE central_districts = ""276* m.d. crowe & p.s. briasco v (c) 1986/87"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (weeks VARCHAR, date VARCHAR) Question: On December 12, 2001, how many weeks had the single been in its position? [/INST] SELECT weeks FROM table_name_18 WHERE date = ""december 12, 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19624708_1 (handicap__st_lb_ VARCHAR, horse VARCHAR) Question: Which handicap has the horse knowhere? [/INST] SELECT handicap__st_lb_ FROM table_19624708_1 WHERE horse = ""Knowhere"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (silver INTEGER, nation VARCHAR, bronze VARCHAR) Question: What's the average number of silver medals for germany (GER) having more than 3 bronze? [/INST] SELECT AVG(silver) FROM table_name_44 WHERE nation = ""germany (ger)"" AND bronze > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR) Question: Name the number of colleges for jerome pathon [/INST] SELECT COUNT(college) FROM table_28059992_2 WHERE player = ""Jerome Pathon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) Question: When was Arsenal was the away team? [/INST] SELECT date FROM table_name_17 WHERE away_team = ""arsenal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (written_by VARCHAR, no_in_series VARCHAR) Question: Who was the number 24 series written by? [/INST] SELECT written_by FROM table_name_36 WHERE no_in_series = 24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR) Question: What year was the geological feature with a latitude of 76.0n and a diameter larger than 548 km was named? [/INST] SELECT MAX(year_named) FROM table_name_78 WHERE latitude = ""76.0n"" AND diameter__km_ > 548 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (attendance VARCHAR, record VARCHAR) Question: For record 25-24, what is the sum of attendance? [/INST] SELECT COUNT(attendance) FROM table_name_83 WHERE record = ""25-24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, time VARCHAR) Question: What is the Rank of the Player with a Time of 7:20.32 and Notes of FB? [/INST] SELECT COUNT(rank) FROM table_name_31 WHERE notes = ""fb"" AND time = ""7:20.32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR) Question: What is the score for the home team for the venue glenferrie oval? [/INST] SELECT home_team AS score FROM table_name_57 WHERE venue = ""glenferrie oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR) Question: what is the years when the soap opera is glenroe and the actor is mick lally? [/INST] SELECT years FROM table_name_21 WHERE soap_opera = ""glenroe"" AND actor = ""mick lally"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (date VARCHAR, competition VARCHAR, result VARCHAR) Question: When is the Competition of friendly match with a Result of 2–1? [/INST] SELECT date FROM table_name_47 WHERE competition = ""friendly match"" AND result = ""2–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25800134_1 (director VARCHAR, airdate VARCHAR) Question: Who directed the episodes that aired December 15, 1956? [/INST] SELECT director FROM table_25800134_1 WHERE airdate = ""December 15, 1956"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (score_points VARCHAR, rank_points VARCHAR) Question: What Score points has a Rank points of defending champion? [/INST] SELECT score_points FROM table_name_80 WHERE rank_points = ""defending champion"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) Question: Which Attendance has a Record of 34–51? [/INST] SELECT MIN(attendance) FROM table_name_63 WHERE record = ""34–51"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (attendance INTEGER, opponent VARCHAR, week VARCHAR) Question: What is the highest number of people in attendance in the game against the Buffalo Bills in a week later than 14? [/INST] SELECT MAX(attendance) FROM table_name_92 WHERE opponent = ""buffalo bills"" AND week > 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (total INTEGER, player VARCHAR) Question: count the the average Total of ian baker-finch? [/INST] SELECT AVG(total) FROM table_name_39 WHERE player = ""ian baker-finch"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR) Question: Tell me the week that has an attendance of 78,301 [/INST] SELECT week FROM table_name_89 WHERE attendance = ""78,301"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (courtesy_title VARCHAR, lineage VARCHAR) Question: What's the courtesy title of 4th son of hatamoto ōoka tadataka? [/INST] SELECT courtesy_title FROM table_name_36 WHERE lineage = ""4th son of hatamoto ōoka tadataka"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR) Question: What record has @ detroit as the opponent? [/INST] SELECT record FROM table_name_61 WHERE opponent = ""@ detroit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (founded INTEGER, club VARCHAR, capacity VARCHAR) Question: How many foundeds have stade tunisien as the club, with a capacity greater than 18,000? [/INST] SELECT SUM(founded) FROM table_name_6 WHERE club = ""stade tunisien"" AND capacity > 18 OFFSET 000 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (nanquan INTEGER, total VARCHAR, nandao VARCHAR, rank VARCHAR) Question: Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68? [/INST] SELECT MIN(nanquan) FROM table_name_27 WHERE nandao < 9.44 AND rank < 9 AND total > 18.68 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR) Question: What is the most gold medals a team with less than 2 silvers, more than 7 total medals, and less than 8 bronze medals has? [/INST] SELECT MAX(gold) FROM table_name_19 WHERE silver < 2 AND total > 7 AND bronze < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (school VARCHAR, college VARCHAR, hometown VARCHAR) Question: What is the school of the player who went to the college of michigan and originally comes from Wheaton, Illinois? [/INST] SELECT school FROM table_name_2 WHERE college = ""michigan"" AND hometown = ""wheaton, illinois"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (class VARCHAR, quantity VARCHAR) Question: what is the class when the quantity is 4? [/INST] SELECT class FROM table_name_96 WHERE quantity = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (couple VARCHAR, result VARCHAR, style VARCHAR) Question: What couple had a safe result and a lyrical jazz style? [/INST] SELECT couple FROM table_name_8 WHERE result = ""safe"" AND style = ""lyrical jazz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR) Question: Which venue was the opposing team New Zealand on 22/11/1997? [/INST] SELECT venue FROM table_name_11 WHERE opposing_teams = ""new zealand"" AND date = ""22/11/1997"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR) Question: How many other goals did Dunne have in the season where he had 1 league goal? [/INST] SELECT other_goals FROM table_2980024_1 WHERE league_goals = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (branding VARCHAR, location VARCHAR) Question: What is the brand where the location is Cagayan De Oro? [/INST] SELECT branding FROM table_name_54 WHERE location = ""cagayan de oro"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (average_cards_a_game INTEGER, season VARCHAR, games VARCHAR) Question: Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38? [/INST] SELECT MAX(average_cards_a_game) FROM table_name_78 WHERE season = ""1997/1998"" AND games > 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (team__number2 VARCHAR, team__number1 VARCHAR) Question: Tell me the team 2 for handelsministerium vienna [/INST] SELECT team__number2 FROM table_name_78 WHERE team__number1 = ""handelsministerium vienna"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (position VARCHAR, year VARCHAR) Question: What was the position in 1981? [/INST] SELECT position FROM table_name_55 WHERE year = 1981 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (year VARCHAR, funny_car VARCHAR, top_fuel VARCHAR) Question: In which year did John Force win Funny Car and Mike Dunn win in Top Fuel? [/INST] SELECT year FROM table_name_65 WHERE funny_car = ""john force"" AND top_fuel = ""mike dunn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (outcome VARCHAR, opponent VARCHAR) Question: What was the outcome when Jing-Jing Lu was the opponent? [/INST] SELECT outcome FROM table_name_81 WHERE opponent = ""jing-jing lu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR) Question: What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido? [/INST] SELECT notes FROM table_name_85 WHERE kit_supplier = ""rapido"" AND shirt_printing = ""名品+1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR) Question: What is the strike rate when there are 17 wickets? [/INST] SELECT strike_rate FROM table_19662262_6 WHERE wickets = 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24613895_1 (number_of_believers INTEGER, name_in_syriac VARCHAR) Question: Name the most number of believers for ܓܘܝܠܢ [/INST] SELECT MAX(number_of_believers) FROM table_24613895_1 WHERE name_in_syriac = ""ܓܘܝܠܢ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR) Question: WHAT PLAYER HAS A SCORE OF 66-73=139? [/INST] SELECT player FROM table_name_79 WHERE score = 66 - 73 = 139 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15796100_1 (original_artist VARCHAR, theme VARCHAR) Question: Who is the original artist for the theme ""Year they were born?"" [/INST] SELECT original_artist FROM table_15796100_1 WHERE theme = ""Year They Were Born"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (death VARCHAR, birth VARCHAR) Question: When did the person die who was born on 18 november 1630? [/INST] SELECT death FROM table_name_3 WHERE birth = ""18 november 1630"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137707_2 (pole_position VARCHAR, round VARCHAR) Question: What is the number of pole position with a round of 15? [/INST] SELECT COUNT(pole_position) FROM table_1137707_2 WHERE round = 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30121075_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR) Question: What is the area when the poor law union is skibbereen and the townland is knockmore? [/INST] SELECT area__acres__ FROM table_30121075_1 WHERE poor_law_union = ""Skibbereen"" AND townland = ""Knockmore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (round VARCHAR, time VARCHAR, location VARCHAR) Question: What is the total number of Round(s), when Time is ""n/a"", and when Location is ""Canton, Ohio, USA""? [/INST] SELECT COUNT(round) FROM table_name_75 WHERE time = ""n/a"" AND location = ""canton, ohio, usa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) Question: What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1? [/INST] SELECT AVG(extra_points) FROM table_name_7 WHERE player = ""james lawrence"" AND touchdowns < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (total VARCHAR, vault VARCHAR, floor_exercise VARCHAR) Question: What is the sum of totals with a Vault of 38.437, and a Floor Exercise smaller than 37.524? [/INST] SELECT COUNT(total) FROM table_name_52 WHERE vault = 38.437 AND floor_exercise < 37.524 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (lomavren VARCHAR, hindi VARCHAR) Question: What is the Lomavren associated with a Hindi of sāt? [/INST] SELECT lomavren FROM table_name_68 WHERE hindi = ""sāt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (competition VARCHAR, goal VARCHAR) Question: What was the competition for goal 8? [/INST] SELECT competition FROM table_name_73 WHERE goal = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR) Question: In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved? [/INST] SELECT SUM(fixtures) FROM table_name_67 WHERE round = ""sixth round"" AND clubs_involved > 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (away_team VARCHAR) Question: What did the Melbourne team score in their away game? [/INST] SELECT away_team AS score FROM table_name_3 WHERE away_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR) Question: Which constellation has cosmic call 1 as the message, and an arrival date of october 2067? [/INST] SELECT constellation FROM table_name_27 WHERE message = ""cosmic call 1"" AND arrival_date = ""october 2067"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (result VARCHAR, date VARCHAR) Question: What is the result of game played on 10-05-2012? [/INST] SELECT result FROM table_name_23 WHERE date = ""10-05-2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (attendance VARCHAR, date VARCHAR) Question: what is the attendance when the date is october 22, 2000? [/INST] SELECT attendance FROM table_name_12 WHERE date = ""october 22, 2000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE stadium (name VARCHAR) Question: Which stadium name contains the substring ""Bank""? [/INST] SELECT name FROM stadium WHERE name LIKE ""%Bank%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (killed VARCHAR, unit VARCHAR) Question: What was the number of Personal Staff Units Killed? [/INST] SELECT killed FROM table_name_55 WHERE unit = ""personal staff"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (Id VARCHAR) Question: What is the least 2009 that has 2005 littler than 640, and 2011 of 425, and 2003 littler than 500? [/INST] SELECT MIN(2009) FROM table_name_81 WHERE 2005 < 640 AND 2011 = 425 AND 2003 < 500 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28962227_1 (runners_up VARCHAR, finale VARCHAR) Question: List all the runners-up on 16 October 2012? [/INST] SELECT runners_up FROM table_28962227_1 WHERE finale = ""16 October 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR) Question: What is the Location, when Event is ""100m Butterfly""? [/INST] SELECT location FROM table_name_72 WHERE event = ""100m butterfly"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (episode_title VARCHAR, episode__number VARCHAR) Question: Which Episode title has a Episode # of s2? [/INST] SELECT episode_title FROM table_name_65 WHERE episode__number = ""s2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (rank VARCHAR, col__m_ INTEGER) Question: What is the rank when the col is larger than 0? [/INST] SELECT COUNT(rank) FROM table_name_7 WHERE col__m_ > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27755784_8 (date VARCHAR, team VARCHAR) Question: What is the date when the team is listed as New Orleans? [/INST] SELECT date FROM table_27755784_8 WHERE team = ""New Orleans"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (away_team VARCHAR, home_team VARCHAR) Question: When the home team was South Melbourne, what did the away team score? [/INST] SELECT away_team AS score FROM table_name_64 WHERE home_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19805130_3 (episode VARCHAR, rank__night_ VARCHAR) Question: What is the name of the episode with a night rank of 9? [/INST] SELECT episode FROM table_19805130_3 WHERE rank__night_ = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR) Question: What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score? [/INST] SELECT home FROM table_name_60 WHERE attendance < 2248 AND score = ""2:0"" AND date = ""21 september 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17058151_5 (game VARCHAR, location_attendance VARCHAR) Question: In how many game was the attendance at Staples Center 18,997? [/INST] SELECT COUNT(game) FROM table_17058151_5 WHERE location_attendance = ""Staples Center 18,997"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (winning_score VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) Question: What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up? [/INST] SELECT winning_score FROM table_name_46 WHERE tournament = ""standard register ping"" AND runner_s__up = ""kelly robbins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE people (people_id VARCHAR, Birth_Date VARCHAR); CREATE TABLE body_builder (total VARCHAR, people_id VARCHAR) Question: What are the total scores of the body builders whose birthday contains the string ""January"" ? [/INST] SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE ""%January%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR) Question: Which country mines 24.0% of the world demand of uranium? [/INST] SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = ""24.0%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR) Question: What is the total number of weeks that the Steelers had a record of 1–0? [/INST] SELECT COUNT(week) FROM table_name_99 WHERE record = ""1–0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12962773_10 (position VARCHAR, height VARCHAR) Question: What position was played by the player who was 2.12 meters tall? [/INST] SELECT position FROM table_12962773_10 WHERE height = ""2.12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29087004_3 (written_by VARCHAR, united_states_original_airdate VARCHAR) Question: Who were the writers of episode/s first aired in the US on June 9, 2012? [/INST] SELECT written_by FROM table_29087004_3 WHERE united_states_original_airdate = ""June 9, 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11970261_2 (evening_gown VARCHAR, swimsuit VARCHAR) Question: what's the evening gown with swimsuit being 9.134 [/INST] SELECT evening_gown FROM table_11970261_2 WHERE swimsuit = ""9.134"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (arena VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which Arena has an Opponent of @ oilers, and a Date of may 25? [/INST] SELECT arena FROM table_name_79 WHERE opponent = ""@ oilers"" AND date = ""may 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14253123_1 (in_no VARCHAR, county_name VARCHAR) Question: When Spencer is the county what is the in no.? [/INST] SELECT in_no FROM table_14253123_1 WHERE county_name = ""Spencer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19189856_1 (first_performance VARCHAR, last_performance VARCHAR) Question: what is the first performance of the last performance on 03/29/1957 [/INST] SELECT first_performance FROM table_19189856_1 WHERE last_performance = ""03/29/1957"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR, visitor VARCHAR, points VARCHAR) Question: What date does visitor team Toronto score less than 49 points and has record of 18-17-7? [/INST] SELECT date FROM table_name_73 WHERE visitor = ""toronto"" AND points < 49 AND record = ""18-17-7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (year VARCHAR, player VARCHAR) Question: What year did Coenraad Breytenbach have their Int'l Debut? [/INST] SELECT year FROM table_name_92 WHERE player = ""coenraad breytenbach"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR) Question: What is the memory when release date is January 2010 and socket is BGA-1288? [/INST] SELECT memory FROM table_name_13 WHERE release_date = ""january 2010"" AND socket = ""bga-1288"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1015521_2 (rank_in_english VARCHAR, commonwealth_equivalent VARCHAR) Question: Give me a list of all spanish officer titles that could receive recognition as group captain in english [/INST] SELECT rank_in_english FROM table_1015521_2 WHERE commonwealth_equivalent = ""Group Captain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: What is the grid average with a +1 lap time and more than 27 laps? [/INST] SELECT AVG(grid) FROM table_name_52 WHERE time_retired = ""+1 lap"" AND laps > 27 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR) Question: What is the tournament on Jul 11? [/INST] SELECT tournament FROM table_11621747_1 WHERE date = ""Jul 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (results VARCHAR, first_elected VARCHAR, district VARCHAR) Question: What was the result of the Oregon 5 District incumbent who was first elected in 1996? [/INST] SELECT results FROM table_name_18 WHERE first_elected = 1996 AND district = ""oregon 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (seasons INTEGER, total_points INTEGER) Question: What is the number of seasons for the team with a total fewer than 24? [/INST] SELECT SUM(seasons) FROM table_name_45 WHERE total_points < 24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (visitor VARCHAR, leading_scorer VARCHAR) Question: What is the visitor team of the game with Rudy Gay (23) as the leading scorer? [/INST] SELECT visitor FROM table_name_99 WHERE leading_scorer = ""rudy gay (23)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER) Question: List the full name (first and last name), and salary for those employees who earn below 6000. [/INST] SELECT first_name, last_name, salary FROM employees WHERE salary < 6000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR) Question: What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8? [/INST] SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = ""canada"" AND rank < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR) Question: What is the aggregate for the tie with a team 2 of Irtysh? [/INST] SELECT agg FROM table_name_58 WHERE team_2 = ""irtysh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (identifier VARCHAR, city_of_license VARCHAR) Question: What is Identifier, when City of License is Hornepayne? [/INST] SELECT identifier FROM table_name_55 WHERE city_of_license = ""hornepayne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR) Question: What is the to par of Philip Parkin? [/INST] SELECT to_par FROM table_name_64 WHERE player = ""philip parkin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (senior_status VARCHAR, active_service VARCHAR) Question: What were the years of senior status for active service in 1972–1995? [/INST] SELECT senior_status FROM table_name_53 WHERE active_service = ""1972–1995"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR) Question: Which country is the Nova TV network from? [/INST] SELECT country FROM table_name_53 WHERE tv_network_s_ = ""nova tv"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (name VARCHAR, royal_house VARCHAR, state VARCHAR) Question: What is Name, when Royal House is ""Ji"", and when State is ""Cai""? [/INST] SELECT name FROM table_name_93 WHERE royal_house = ""ji"" AND state = ""cai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (model VARCHAR, gcm__kg__technical_capacity VARCHAR) Question: Which Model has the GCM (kg) Technical Capacity of 42000? [/INST] SELECT model FROM table_name_52 WHERE gcm__kg__technical_capacity = ""42000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR) Question: What is the duration when Lok Sabha shows fifth? [/INST] SELECT duration FROM table_name_86 WHERE lok_sabha = ""fifth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR) Question: What is the original air date for the production code of 1.12? [/INST] SELECT original_air_date FROM table_2226817_2 WHERE production_code = ""1.12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR) Question: Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4? [/INST] SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = ""(none)"" AND fourcc = ""dxt4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (week INTEGER, date VARCHAR) Question: In what week was the December 21, 1969 game? [/INST] SELECT AVG(week) FROM table_name_68 WHERE date = ""december 21, 1969"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR) Question: Which award has the category of the best direction of a musical? [/INST] SELECT award FROM table_name_69 WHERE category = ""best direction of a musical"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (report VARCHAR, set_1 VARCHAR) Question: What shows for Report hen there is a set 1 of 19–25? [/INST] SELECT report FROM table_name_15 WHERE set_1 = ""19–25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1449176_1 (rank VARCHAR, area__km_2__ VARCHAR) Question: What rank is the common with an area of 47.3 km^2? [/INST] SELECT rank FROM table_1449176_1 WHERE area__km_2__ = ""47.3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10707142_2 (report VARCHAR, circuit VARCHAR) Question: what is the report called where the circuit took place at the nazareth speedway? [/INST] SELECT report FROM table_10707142_2 WHERE circuit = ""Nazareth Speedway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR) Question: Who was awarded mountains classifications when Mikel Nieve was the winner? [/INST] SELECT mountains_classification FROM table_25551880_2 WHERE winner = ""Mikel Nieve"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) Question: Tell me the record for yukiya naito [/INST] SELECT record FROM table_name_78 WHERE opponent = ""yukiya naito"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) Question: What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States? [/INST] SELECT SUM(total) FROM table_name_27 WHERE bronze > 2 AND nation = ""united states"" AND gold > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (total VARCHAR, set_2 VARCHAR) Question: What is the total for set 2 of 25-19? [/INST] SELECT total FROM table_name_55 WHERE set_2 = ""25-19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (date VARCHAR, competition VARCHAR) Question: When was the 2014 fifa world cup qualification? [/INST] SELECT date FROM table_name_96 WHERE competition = ""2014 fifa world cup qualification"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12206918_2 (name VARCHAR, titles VARCHAR) Question: What is the name of the title winner in the ring light heavyweight (175) division? [/INST] SELECT name FROM table_12206918_2 WHERE titles = ""The Ring Light heavyweight (175)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR) Question: What is the brand name associated with the model 4x0? [/INST] SELECT brand_name FROM table_24099628_1 WHERE model__list_ = ""4x0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, gold VARCHAR) Question: What is the lowest Total for rank 3 with more than 4 gold? [/INST] SELECT MIN(total) FROM table_name_13 WHERE rank = ""3"" AND gold > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (state VARCHAR, name VARCHAR, gnis_feature_id VARCHAR) Question: Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127? [/INST] SELECT state FROM table_name_91 WHERE name = ""diamond lake"" AND gnis_feature_id = 1579127 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (lost VARCHAR, played VARCHAR, points VARCHAR) Question: What is the lost number when the team played 26 games and there were 83 points? [/INST] SELECT lost FROM table_name_32 WHERE played = ""26"" AND points = ""83"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (attendance INTEGER, season VARCHAR, premiership VARCHAR, runner_up VARCHAR) Question: If the season is before 2000, the runner up was north melbourne, and it's the pre-season cup, what's the sum of attendees? [/INST] SELECT SUM(attendance) FROM table_name_8 WHERE premiership = ""pre-season cup"" AND runner_up = ""north melbourne"" AND season < 2000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR) Question: Which Combination classification has a Stage of 14? [/INST] SELECT combination_classification FROM table_name_17 WHERE stage = ""14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (nationality VARCHAR, player VARCHAR) Question: Which Nationality has a Player of larry wright? [/INST] SELECT nationality FROM table_name_86 WHERE player = ""larry wright"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR) Question: How many years did John Player Lotus used Cosworth v8? [/INST] SELECT SUM(year) FROM table_name_3 WHERE engine = ""cosworth v8"" AND entrant = ""john player lotus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_19 (township VARCHAR, land___sqmi__ VARCHAR) Question: what is the name of the townships with 32.222 land [/INST] SELECT township FROM table_18600760_19 WHERE land___sqmi__ = ""32.222"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) Question: Find all students taught by OTHA MOYER. Output the first and last names of the students. [/INST] SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = ""OTHA"" AND T2.lastname = ""MOYER"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR) Question: What is the record of the match with Columbus as the home team on March 7? [/INST] SELECT record FROM table_name_96 WHERE home = ""columbus"" AND date = ""march 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (date VARCHAR, loss VARCHAR) Question: When did tavárez lose? [/INST] SELECT date FROM table_name_64 WHERE loss = ""tavárez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (year INTEGER, title VARCHAR) Question: What is the average year for Faces? [/INST] SELECT AVG(year) FROM table_name_61 WHERE title = ""faces"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) Question: Which date was corio oval the venue? [/INST] SELECT date FROM table_name_12 WHERE venue = ""corio oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24463470_1 (unlock_order VARCHAR, unlocks VARCHAR) Question: How many instances is paris the unlock? [/INST] SELECT COUNT(unlock_order) FROM table_24463470_1 WHERE unlocks = ""Paris"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (ihsaa_class VARCHAR, school VARCHAR) Question: What's the IHSAA Class when the school is Seymour? [/INST] SELECT ihsaa_class FROM table_name_39 WHERE school = ""seymour"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) Question: Which home team played against Hawthorn? [/INST] SELECT home_team AS score FROM table_name_49 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER) Question: What is the value for Gold, when the value for Bronze is less than 0? [/INST] SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year VARCHAR, result VARCHAR, champions VARCHAR) Question: What is the Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions? [/INST] SELECT year FROM table_name_86 WHERE result = ""4–3"" AND champions = ""daegu tongyang orions"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28298589_4 (broadcast VARCHAR, home_team VARCHAR) Question: How many Connecticut home games were broadcast? [/INST] SELECT COUNT(broadcast) FROM table_28298589_4 WHERE home_team = ""Connecticut"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341453_11 (party VARCHAR, incumbent VARCHAR) Question: What party does Bill McCollum belong to? [/INST] SELECT party FROM table_1341453_11 WHERE incumbent = ""Bill McCollum"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR) Question: Which Location has an Event of king of the cage: flash point? [/INST] SELECT location FROM table_name_16 WHERE event = ""king of the cage: flash point"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (joined INTEGER, conference_championships VARCHAR, institution VARCHAR) Question: What is the latest year joined with a Conference championships of 5, and an Institution of university of north carolina? [/INST] SELECT MAX(joined) FROM table_name_84 WHERE conference_championships = 5 AND institution = ""university of north carolina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2009095_2 (surface VARCHAR, championship VARCHAR, outcome VARCHAR) Question: Name the surface for australian open for winner [/INST] SELECT surface FROM table_2009095_2 WHERE championship = ""Australian Open"" AND outcome = ""Winner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (rank VARCHAR, react VARCHAR, nationality VARCHAR) Question: What the rank of the Virgin Islands athlete with react under 0.168? [/INST] SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = ""virgin islands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) Question: How many teams had an outgoing manager of antonio gómez [/INST] SELECT COUNT(manner_of_departure) FROM table_27495117_3 WHERE outgoing_manager = ""Antonio Gómez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2013618_1 (pinyin VARCHAR, foochow VARCHAR) Question: Name the pinyin for ciá-ìng-gâing [/INST] SELECT pinyin FROM table_2013618_1 WHERE foochow = ""Ciá-ìng-gâing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, black_african_population INTEGER) Question: What is the black caribbean population when the black African population is less than 10552.0? [/INST] SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (event VARCHAR, opponent VARCHAR, res VARCHAR, time VARCHAR) Question: Which Event has Res of loss, and a Time of 5:00, and an Opponent of lance everson? [/INST] SELECT event FROM table_name_37 WHERE res = ""loss"" AND time = ""5:00"" AND opponent = ""lance everson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (cpu_chip VARCHAR, type VARCHAR) Question: Which CPU chip(s) is used in the Classic type hardware? [/INST] SELECT cpu_chip FROM table_name_71 WHERE type = ""classic"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (round INTEGER, overall VARCHAR) Question: What is the average round of a player with an overall of 138? [/INST] SELECT AVG(round) FROM table_name_23 WHERE overall = ""138"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28628309_8 (games_played VARCHAR, player VARCHAR) Question: What is the listed in games played when the player is jimmy alapag? [/INST] SELECT games_played FROM table_28628309_8 WHERE player = ""Jimmy Alapag"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12280396_1 (rank VARCHAR, peak VARCHAR) Question: What is the number of rank of peak fresvikbreen? [/INST] SELECT COUNT(rank) FROM table_12280396_1 WHERE peak = ""Fresvikbreen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23403578_3 (original_air_date VARCHAR, prod_code VARCHAR) Question: When did the episode with production code 213 air for the first time? [/INST] SELECT original_air_date FROM table_23403578_3 WHERE prod_code = ""213"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) Question: How many silvers did the country with more than 0 gold and a rank above 1 win that had a total less than 4? [/INST] SELECT COUNT(silver) FROM table_name_65 WHERE gold > 0 AND rank > 1 AND total < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR) Question: What player has 71-72-66=209 as the score? [/INST] SELECT player FROM table_name_13 WHERE score = 71 - 72 - 66 = 209 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (prize__ INTEGER, race VARCHAR) Question: What is the average prize for the Buttercross Limited Stakes? [/INST] SELECT AVG(prize__) AS £k_ FROM table_name_33 WHERE race = ""buttercross limited stakes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE journalist (Nationality VARCHAR, Age VARCHAR) Question: What are the nationalities and ages of journalists? [/INST] SELECT Nationality, Age FROM journalist "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR) Question: What was the To par for United States golfer fred couples? [/INST] SELECT to_par FROM table_name_17 WHERE country = ""united states"" AND player = ""fred couples"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (avg_g INTEGER, gain VARCHAR) Question: Which Avg/G has a Gain of 1,839? [/INST] SELECT SUM(avg_g) FROM table_name_93 WHERE gain = 1 OFFSET 839 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, region VARCHAR, catalog VARCHAR) Question: What Date is listed for the Region of France and Catalog of 82876-70291-2? [/INST] SELECT date FROM table_name_48 WHERE region = ""france"" AND catalog = ""82876-70291-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (studio VARCHAR, rank VARCHAR, gross VARCHAR) Question: Which studio grossed $83,531,958 and ranked lower than 13? [/INST] SELECT studio FROM table_name_34 WHERE rank > 13 AND gross = ""$83,531,958"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (location VARCHAR, conference VARCHAR) Question: Where is the University that plays in the American Athletic Conference? [/INST] SELECT location FROM table_19210115_1 WHERE conference = ""American Athletic conference"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (losses INTEGER, position VARCHAR, goals_for VARCHAR) Question: What is the highest number of loss with a 7 position and more than 45 goals? [/INST] SELECT MAX(losses) FROM table_name_73 WHERE position = 7 AND goals_for > 45 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19534874_2 (indoor VARCHAR, region VARCHAR) Question: What is the indoor number for the NER region? [/INST] SELECT COUNT(indoor) FROM table_19534874_2 WHERE region = ""NER"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29857115_4 (singer VARCHAR) Question: What was gabriella ferrone's result on the 5th evening? [/INST] SELECT 5 AS th_evening FROM table_29857115_4 WHERE singer = ""Gabriella Ferrone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR) Question: Which Score has a Home of quebec nordiques on april 16? [/INST] SELECT score FROM table_name_83 WHERE home = ""quebec nordiques"" AND date = ""april 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (round INTEGER, name VARCHAR) Question: What is Roy Hall's highest round? [/INST] SELECT MAX(round) FROM table_name_67 WHERE name = ""roy hall"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682865_1 (irish_name VARCHAR, £1_fraction VARCHAR) Question: What is the Irish name for the £1 fraction of 1/240? [/INST] SELECT irish_name FROM table_1682865_1 WHERE £1_fraction = ""1/240"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12976038_1 (director VARCHAR, viewers__in_millions_ VARCHAR) Question: Who directed the episode that had 6.04 million viewers? [/INST] SELECT director FROM table_12976038_1 WHERE viewers__in_millions_ = ""6.04"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (top_10 INTEGER, wins INTEGER) Question: What is the sum of top-10s for events with more than 0 wins? [/INST] SELECT SUM(top_10) FROM table_name_68 WHERE wins > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR) Question: Tell me the least Laps for grid larger than 2 with 35:26.734 [/INST] SELECT MIN(laps) FROM table_name_45 WHERE time = ""35:26.734"" AND grid > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (team_2 VARCHAR, team_1 VARCHAR) Question: What team played against Al-Ismaily (team 1)? [/INST] SELECT team_2 FROM table_name_79 WHERE team_1 = ""al-ismaily"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (region VARCHAR, format VARCHAR) Question: Which region had the CD maxi format? [/INST] SELECT region FROM table_name_91 WHERE format = ""cd maxi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (game_site VARCHAR, record VARCHAR) Question: Where did they play on their bye week? [/INST] SELECT game_site FROM table_name_83 WHERE record = ""bye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (goals_against INTEGER, played INTEGER) Question: What is the average goals against when there are more than 42 played? [/INST] SELECT AVG(goals_against) FROM table_name_55 WHERE played > 42 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (matches INTEGER, loses VARCHAR, pos VARCHAR) Question: Loses of 2, and a Pos. smaller than 2 had how many highest matches? [/INST] SELECT MAX(matches) FROM table_name_75 WHERE loses = 2 AND pos < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR) Question: What is the original air date of the episode written by Karen Felix and Don Woodard? [/INST] SELECT original_air_date FROM table_11630008_8 WHERE written_by = ""Karen Felix and Don Woodard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2649597_1 (finish VARCHAR, start VARCHAR) Question: Where did he finish when he started at 21.6? [/INST] SELECT COUNT(finish) FROM table_2649597_1 WHERE start = ""21.6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) Question: what's the record with result being w 52–19 [/INST] SELECT record FROM table_14951643_1 WHERE result = ""W 52–19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19908313_2 (team VARCHAR, primary_sponsor_s_ VARCHAR) Question: What team is sponsored by d3 Outdoors? [/INST] SELECT team FROM table_19908313_2 WHERE primary_sponsor_s_ = ""D3 Outdoors"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR) Question: How many people led in points during the game on October 5? [/INST] SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = ""October 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date VARCHAR, attendance VARCHAR) Question: Name the date when 33,307 attended [/INST] SELECT date FROM table_name_20 WHERE attendance = ""33,307"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (game INTEGER, result VARCHAR) Question: what is the game when the result is new zealand by 4 wickets? [/INST] SELECT MAX(game) FROM table_name_25 WHERE result = ""new zealand by 4 wickets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR) Question: Willy Sagnol with a type as career end had what has the transfer fee? [/INST] SELECT transfer_fee FROM table_name_34 WHERE type = ""career end"" AND name = ""willy sagnol"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) Question: What is the Transfer fee, when the Transfer window is ""winter"", and when the item ""Moving to"" is Northwich Victoria? [/INST] SELECT transfer_fee FROM table_name_94 WHERE transfer_window = ""winter"" AND moving_to = ""northwich victoria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (duration VARCHAR, count_palatine_of_the_rhine VARCHAR) Question: What is the duration for Count Palatine of the Rhine of charles albert, elector of bavaria? [/INST] SELECT duration FROM table_name_53 WHERE count_palatine_of_the_rhine = ""charles albert, elector of bavaria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (total_goals VARCHAR, player VARCHAR, qualifying_goals VARCHAR) Question: What is the total number of Total Goals scored by Stan Mortensen where the Qualifying Goals is greater than 3? [/INST] SELECT COUNT(total_goals) FROM table_name_1 WHERE player = ""stan mortensen"" AND qualifying_goals > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (coreceptor VARCHAR, chromosomal_location VARCHAR) Question: What are the coreceptors of the chromosomes in that location 11q22.2-q22.3? [/INST] SELECT coreceptor FROM table_29871617_1 WHERE chromosomal_location = ""11q22.2-q22.3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Guests (date_of_birth VARCHAR, gender_code VARCHAR) Question: Return the date of birth for all the guests with gender code ""Male"". [/INST] SELECT date_of_birth FROM Guests WHERE gender_code = ""Male"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR) Question: What date was the Colonial Stadium? [/INST] SELECT date FROM table_name_62 WHERE ground = ""colonial stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_18 (position VARCHAR, no_s_ VARCHAR) Question: How many positions had jersey number 32 [/INST] SELECT COUNT(position) FROM table_11734041_18 WHERE no_s_ = ""32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR) Question: When was Quantum Research's poll conducted? [/INST] SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = ""Quantum Research"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR) Question: What is the duration that has 3 for appearances, and james garret as the character? [/INST] SELECT duration FROM table_name_20 WHERE appearances = ""3"" AND character = ""james garret"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR) Question: What is the area of the place that has a population density of 331.4? [/INST] SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = ""331.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR) Question: Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated? [/INST] SELECT years FROM table_name_41 WHERE decile < 6 AND area = ""te kuiti"" AND authority = ""state integrated"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (year VARCHAR, film VARCHAR) Question: What is the Year of the Film Belle of the Nineties? [/INST] SELECT year FROM table_name_22 WHERE film = ""belle of the nineties"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17928023_1 (result VARCHAR, game_site VARCHAR) Question: For game site Schaefer Stadium, what were the results? [/INST] SELECT result FROM table_17928023_1 WHERE game_site = ""Schaefer Stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23685890_2 (type VARCHAR, local_government_area VARCHAR) Question: What type of local government area is Yalata? [/INST] SELECT type FROM table_23685890_2 WHERE local_government_area = ""Yalata"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (college VARCHAR, overall VARCHAR) Question: Which College had an Overall pick of 171? [/INST] SELECT college FROM table_name_53 WHERE overall = 171 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25997153_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR) Question: how many million u.s. viewers watched the episode directed by dan lerner? [/INST] SELECT us_viewers__million_ FROM table_25997153_1 WHERE directed_by = ""Dan Lerner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (the_year INTEGER, division INTEGER) Question: Which Year has a Division larger than 3? [/INST] SELECT MAX(the_year) FROM table_name_97 WHERE division > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR) Question: What is the Plyff team that plays the Billings Outlaws? [/INST] SELECT plyff FROM table_name_21 WHERE opponent = ""billings outlaws"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (jury INTEGER, place VARCHAR, total VARCHAR) Question: What is the total of the jury that is 2nd place and the total is larger than 190? [/INST] SELECT SUM(jury) FROM table_name_86 WHERE place = ""2nd"" AND total > 190 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR) Question: How many picks were taken before round 3 and played Linebacker? [/INST] SELECT COUNT(pick) FROM table_name_41 WHERE position = ""linebacker"" AND round < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341604_10 (first_elected VARCHAR, district VARCHAR) Question: what's the first elected with district being florida 7 [/INST] SELECT first_elected FROM table_1341604_10 WHERE district = ""Florida 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) Question: What team was the home team when Tottenham Hotspur is the away team? [/INST] SELECT home_team FROM table_name_86 WHERE away_team = ""tottenham hotspur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (operator VARCHAR, peak VARCHAR) Question: What is the Operator with a Peak that is 55? [/INST] SELECT operator FROM table_name_47 WHERE peak = ""55"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR) Question: How much is the crowd attending at colonial stadium where Hawthorn plays? [/INST] SELECT crowd FROM table_name_9 WHERE ground = ""colonial stadium"" AND home_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1014206_2 (_number VARCHAR, commissioned VARCHAR) Question: List the # for ships commissioned on december 18, 1965. [/INST] SELECT _number FROM table_1014206_2 WHERE commissioned = ""December 18, 1965"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_assists VARCHAR) Question: Who performed all the high rebounds when craig smith (4) was the lead for high assists? [/INST] SELECT high_rebounds FROM table_17058226_5 WHERE high_assists = ""Craig Smith (4)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (fa_cup INTEGER, player VARCHAR, total VARCHAR) Question: Which FA Cup has a Player of khairan ezuan razali, and a Total smaller than 0? [/INST] SELECT AVG(fa_cup) FROM table_name_62 WHERE player = ""khairan ezuan razali"" AND total < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (state VARCHAR, member VARCHAR) Question: What is State, when Member is ""Gil Duthie""? [/INST] SELECT state FROM table_name_6 WHERE member = ""gil duthie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR) Question: When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? [/INST] SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = ""1/12/57"" AND time = ""2:31"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (frequency VARCHAR, multiplier VARCHAR) Question: Which Frequency has a Multiplier of 6×? [/INST] SELECT frequency FROM table_name_7 WHERE multiplier = ""6×"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (character VARCHAR, version VARCHAR, name VARCHAR) Question: What character was the version 5.1 and had a Greek capital letter Archaic Sampi? [/INST] SELECT character FROM table_name_21 WHERE version = 5.1 AND name = ""greek capital letter archaic sampi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR) Question: What are the winnings for the season where the average finish is 11.1? [/INST] SELECT winnings FROM table_1637041_6 WHERE avg_finish = ""11.1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (location VARCHAR, record VARCHAR) Question: Name the location of record 5-3 [/INST] SELECT location FROM table_name_21 WHERE record = ""5-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (player VARCHAR, country VARCHAR, total VARCHAR) Question: What player from the United States had a total of 297? [/INST] SELECT player FROM table_name_33 WHERE country = ""united states"" AND total = 297 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (games INTEGER, points VARCHAR, lost VARCHAR) Question: What is the average number of games associated with 6 points and under 2 losses? [/INST] SELECT AVG(games) FROM table_name_80 WHERE points = 6 AND lost < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (res VARCHAR, time VARCHAR) Question: What is the result for the match that was only 2:48 long? [/INST] SELECT res FROM table_name_63 WHERE time = ""2:48"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_174151_5 (devices_per_channel VARCHAR, raw_bandwidth__mbit_s_ VARCHAR) Question: Name the devices per channel for 2560 [/INST] SELECT devices_per_channel FROM table_174151_5 WHERE raw_bandwidth__mbit_s_ = 2560 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (height__m_ VARCHAR, birth_date VARCHAR) Question: what is the height (m) when the birth date is 1968-07-01? [/INST] SELECT height__m_ FROM table_name_89 WHERE birth_date = ""1968-07-01"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (rank VARCHAR, season VARCHAR) Question: What was the rank of the team during season 2006/07? [/INST] SELECT rank FROM table_name_92 WHERE season = ""2006/07"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13779832_1 (country_region VARCHAR, seasons_and_winners VARCHAR) Question: what's the country/region with seasons and winners being season 1, 2012: demetra malalan [/INST] SELECT country_region FROM table_13779832_1 WHERE seasons_and_winners = ""Season 1, 2012: Demetra Malalan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR) Question: Show the names of donors who donated to both school ""Glenn"" and ""Triton."" [/INST] SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (event VARCHAR, year VARCHAR, position VARCHAR) Question: What event was in a year later than 2007 and in the 88th position? [/INST] SELECT event FROM table_name_66 WHERE year > 2007 AND position = ""88th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR) Question: What mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95? [/INST] SELECT mintage FROM table_name_98 WHERE artist = ""royal canadian mint engravers"" AND year < 2008 AND issue_price = ""$102.95"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (date VARCHAR, nationality VARCHAR, ship VARCHAR) Question: What is the date for the ship Afrika, with nationality Great Britain? [/INST] SELECT date FROM table_name_73 WHERE nationality = ""great britain"" AND ship = ""afrika"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539535_4 (points INTEGER) Question: What is the highest amount of points? [/INST] SELECT MAX(points) FROM table_27539535_4
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (league VARCHAR, finish VARCHAR, losses VARCHAR) Question: What league had a finish of 2nd and 3 losses? [/INST] SELECT league FROM table_name_74 WHERE finish = ""2nd"" AND losses = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (category VARCHAR, year INTEGER) Question: What is the category that came before 2011? [/INST] SELECT category FROM table_name_44 WHERE year < 2011 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19130829_4 (team__number1 VARCHAR) Question: What's the 2nd leg result in the round where team #1 is Iraklis? [/INST] SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number1 = ""Iraklis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR) Question: Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610? [/INST] SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10026563_1 (ended_time_as_senior_g8_leader VARCHAR, person VARCHAR) Question: When did Jacques Chirac stop being a G8 leader? [/INST] SELECT ended_time_as_senior_g8_leader FROM table_10026563_1 WHERE person = ""Jacques Chirac"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (losses INTEGER, club VARCHAR, draws VARCHAR) Question: what is the most losses when the club is terang and draws is less than 0? [/INST] SELECT MAX(losses) FROM table_name_75 WHERE club = ""terang"" AND draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR) Question: What School did Terrence Jones play for? [/INST] SELECT school FROM table_name_40 WHERE player = ""terrence jones"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Likes (student_id VARCHAR, liked_id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, liked_id VARCHAR) Question: Show name of all students who have some friends and also are liked by someone else. [/INST] SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id INTERSECT SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.liked_id = T2.id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (years VARCHAR, nationality VARCHAR, goals VARCHAR) Question: Name the years for spain with 215 goals [/INST] SELECT years FROM table_name_31 WHERE nationality = ""spain"" AND goals = 215 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19897294_4 (no_in_series INTEGER) Question: How many series are there total? [/INST] SELECT MAX(no_in_series) FROM table_19897294_4
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (gold_medals VARCHAR, total_medals INTEGER) Question: How many gold medals for the school with less than 1 total? [/INST] SELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_3 (robin VARCHAR, jason VARCHAR) Question: what is robin's stat when jason was 2.5 [/INST] SELECT robin FROM table_19744915_3 WHERE jason = ""2.5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (date VARCHAR, event VARCHAR) Question: What is the Date of the athlete in the shot put Event? [/INST] SELECT date FROM table_name_19 WHERE event = ""shot put"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR) Question: Which match had the largest crowd size where the away team was North Melbourne? [/INST] SELECT MAX(crowd) FROM table_name_43 WHERE away_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (grid INTEGER, laps VARCHAR, team VARCHAR, points VARCHAR) Question: What is the lowest grid of pkv racing, which had 13 points and less than 64 laps? [/INST] SELECT MIN(grid) FROM table_name_28 WHERE team = ""pkv racing"" AND points = 13 AND laps < 64 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR) Question: what is the diameter (km) of longitude 170.1e [/INST] SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = ""170.1E"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13770460_3 (eu VARCHAR, country VARCHAR) Question: What is the EU status of ESP? [/INST] SELECT eu FROM table_13770460_3 WHERE country = ""ESp"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (place VARCHAR, artist VARCHAR, points VARCHAR) Question: Name the total number of places for vicky gordon and points more than 23 [/INST] SELECT COUNT(place) FROM table_name_72 WHERE artist = ""vicky gordon"" AND points > 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) Question: Who was Carlton's away team opponents? [/INST] SELECT away_team FROM table_name_16 WHERE home_team = ""carlton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (mixed_doubles VARCHAR, year INTEGER) Question: Which mixed doubles happened later than 2011? [/INST] SELECT mixed_doubles FROM table_name_2 WHERE year > 2011 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR) Question: What was the score in the Tournament of Frankfurt? [/INST] SELECT score FROM table_name_66 WHERE tournament = ""frankfurt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (source VARCHAR, rank VARCHAR) Question: Can you tell me the Source that has the Rank of 78? [/INST] SELECT source FROM table_name_86 WHERE rank = 78 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10335_1 (operational VARCHAR, camp VARCHAR) Question: what's the operational period with camp sajmište [/INST] SELECT operational FROM table_10335_1 WHERE camp = ""Sajmište"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (winning_score VARCHAR, margin VARCHAR) Question: What is the winning score of the match with a margin of 3 strokes? [/INST] SELECT winning_score FROM table_name_39 WHERE margin = ""3 strokes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (date VARCHAR, length_duration VARCHAR) Question: What was the date of the race that lasted 6 hours? [/INST] SELECT date FROM table_name_54 WHERE length_duration = ""6 hours"" "
"[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_sponsor FROM table_name_48 WHERE kitmaker = ""puma"" AND head_coach = ""andre schubert"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) Question: What ist he entrant later than 1963 with an eagle MK1 chassis? [/INST] SELECT entrant FROM table_name_11 WHERE year > 1963 AND chassis = ""eagle mk1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (circuit VARCHAR, length VARCHAR) Question: On what circuit is there a race that lasts 2 hours? [/INST] SELECT circuit FROM table_name_69 WHERE length = ""2 hours"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (home_team VARCHAR, score VARCHAR) Question: Which home team had a score of 100-86? [/INST] SELECT home_team FROM table_name_29 WHERE score = ""100-86"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR) Question: When lake oval is the venue, what's the score of the home team? [/INST] SELECT home_team AS score FROM table_name_4 WHERE venue = ""lake oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758243_1 (draft_year INTEGER, player VARCHAR) Question: What year was jerry marion drafted? [/INST] SELECT MAX(draft_year) FROM table_13758243_1 WHERE player = ""Jerry Marion"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (opponent VARCHAR, november VARCHAR, game VARCHAR) Question: Can you tell me the Opponent that has the November larger than 26, and the Game larger than 18? [/INST] SELECT opponent FROM table_name_51 WHERE november > 26 AND game > 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (date VARCHAR, event VARCHAR) Question: What is Date, when Event is Billabong Pro? [/INST] SELECT date FROM table_name_34 WHERE event = ""billabong pro"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR) Question: What human gene has a yeast ortholog of RAD26? [/INST] SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = ""rad26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (bills_points INTEGER, date VARCHAR) Question: What were the Bills points on Nov. 11? [/INST] SELECT SUM(bills_points) FROM table_name_54 WHERE date = ""nov. 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23285805_6 (score VARCHAR, record VARCHAR) Question: What was the score with the team record was 15-25? [/INST] SELECT score FROM table_23285805_6 WHERE record = ""15-25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (home VARCHAR, date VARCHAR) Question: Who was the home team on January 4? [/INST] SELECT home FROM table_name_85 WHERE date = ""january 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210674_1 (finale VARCHAR, rank VARCHAR) Question: What is the finale number ranked at number 7? [/INST] SELECT finale FROM table_19210674_1 WHERE rank = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, birthplace VARCHAR) Question: How many wrestlers were born in nara, and have a completed 'career and other notes' section? [/INST] SELECT COUNT(career_and_other_notes) FROM table_1557974_1 WHERE birthplace = ""Nara"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR) Question: Who sanctioned the event at fayette county speedway? [/INST] SELECT sanction FROM table_16275828_4 WHERE track_name = ""Fayette County Speedway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (wins VARCHAR, sunrayia_fl VARCHAR, byes VARCHAR) Question: What's the total wins for Wentworth with less than 0 byes? [/INST] SELECT COUNT(wins) FROM table_name_45 WHERE sunrayia_fl = ""wentworth"" AND byes < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR) Question: Who directed the film Nuits d'arabie? [/INST] SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = ""Nuits d'Arabie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (points_1 VARCHAR, position VARCHAR, drawn VARCHAR) Question: What is the total number of Points 1, when Position is ""7"", and when Drawn is greater than 6? [/INST] SELECT COUNT(points_1) FROM table_name_62 WHERE position = 7 AND drawn > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR) Question: What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows? [/INST] SELECT MIN(total_horses) FROM table_name_65 WHERE total_cattle < 6274.1 AND oxen < 156.5 AND bulls = ""40.0"" AND cows < 3377 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (location VARCHAR, capacity INTEGER) Question: Which location has a capacity larger than 52,000? [/INST] SELECT location FROM table_name_94 WHERE capacity > 52 OFFSET 000 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (premier VARCHAR, second VARCHAR) Question: What is the total number of Premier, when Second is ""55""? [/INST] SELECT COUNT(premier) FROM table_name_67 WHERE second = 55 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (games VARCHAR, goals VARCHAR, order VARCHAR, seasons VARCHAR) Question: Which game has an order larger than 975, Seasons of 2005 – 2007, and 46 goals? [/INST] SELECT games FROM table_name_5 WHERE order > 975 AND seasons = ""2005 – 2007"" AND goals = 46 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (method VARCHAR, location VARCHAR, event VARCHAR) Question: What is Method, when Location is ""Tokyo , Japan"", and when Event is ""Rings: Millennium Combine 2""? [/INST] SELECT method FROM table_name_38 WHERE location = ""tokyo , japan"" AND event = ""rings: millennium combine 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR) Question: how many notes are form the date (from) 14 march 1910? [/INST] SELECT COUNT(notes) FROM table_12562214_1 WHERE date__from_ = ""14 March 1910"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR) Question: In the fight against Brandon Bledsoe, how many rounds did the fight last? [/INST] SELECT round FROM table_name_91 WHERE opponent = ""brandon bledsoe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (result VARCHAR, score VARCHAR, date VARCHAR) Question: What is the Result with a Score of 1–0, and a Date with 18 april 2009? [/INST] SELECT result FROM table_name_35 WHERE score = ""1–0"" AND date = ""18 april 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR) Question: Name the grand prix for casey stoner and circuit of losail [/INST] SELECT grand_prix FROM table_name_55 WHERE motogp_winner = ""casey stoner"" AND circuit = ""losail"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (debut VARCHAR, born VARCHAR) Question: What is the debut for the person born in Poole? [/INST] SELECT debut FROM table_name_82 WHERE born = ""poole"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (streak VARCHAR, game VARCHAR) Question: Which Streak has a Game of 3? [/INST] SELECT streak FROM table_name_35 WHERE game = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (home VARCHAR, date VARCHAR) Question: Which Home is on january 11? [/INST] SELECT home FROM table_name_82 WHERE date = ""january 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (opponents VARCHAR, nuggets_points VARCHAR, result VARCHAR, game VARCHAR) Question: How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108? [/INST] SELECT COUNT(opponents) FROM table_name_34 WHERE result = ""loss"" AND game < 49 AND nuggets_points = 108 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE teacher (Hometown VARCHAR) Question: Show the hometowns shared by at least two teachers. [/INST] SELECT Hometown FROM teacher GROUP BY Hometown HAVING COUNT(*) >= 2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (rating VARCHAR, air_date VARCHAR, weekly_winner VARCHAR) Question: What is Rating, when Air Date is ""July 24, 2008*"", and when Weekly Winner is ""Sales Rep. Oscar Ledezma""? [/INST] SELECT rating FROM table_name_7 WHERE air_date = ""july 24, 2008*"" AND weekly_winner = ""sales rep. oscar ledezma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) Question: Name the opponent with score of 1–6, 6–4, 6–4 [/INST] SELECT opponent FROM table_name_7 WHERE score = ""1–6, 6–4, 6–4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (writer VARCHAR, company VARCHAR, title VARCHAR) Question: Who was the writer of The Year of the Cat from the BBV? [/INST] SELECT writer FROM table_name_2 WHERE company = ""bbv"" AND title = ""the year of the cat"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (task_no INTEGER, head_of_household VARCHAR) Question: What is the latest task number for which Cathy is head of household? [/INST] SELECT MAX(task_no) FROM table_name_16 WHERE head_of_household = ""cathy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (home VARCHAR, attendance VARCHAR) Question: What home team has an n/a attendance? [/INST] SELECT home FROM table_name_38 WHERE attendance = ""n/a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20466963_13 (guest_3 VARCHAR, guest_2 VARCHAR) Question: Name the guest 3 for iyare igiehon [/INST] SELECT guest_3 FROM table_20466963_13 WHERE guest_2 = ""Iyare Igiehon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR) Question: What is the measure where the yes% is 44.06%? [/INST] SELECT description FROM table_256286_39 WHERE _percentage_yes = ""44.06%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171356_2 (census_ranking VARCHAR, area_km_2 VARCHAR) Question: What rank is the parish with 482.81 km^2? [/INST] SELECT census_ranking FROM table_171356_2 WHERE area_km_2 = ""482.81"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25375093_1 (podiums INTEGER, position VARCHAR) Question: Name the least podiums for 9th position [/INST] SELECT MIN(podiums) FROM table_25375093_1 WHERE position = ""9th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (stadium VARCHAR, final_score VARCHAR) Question: What stadium has a final score of 26–21? [/INST] SELECT stadium FROM table_name_8 WHERE final_score = ""26–21"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE instructor (name VARCHAR) Question: Find the names of all instructors whose name includes the substring “dar”. [/INST] SELECT name FROM instructor WHERE name LIKE '%dar%'
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER) Question: What is the lowest match for goals larger than 36? [/INST] SELECT MIN(matches) FROM table_name_42 WHERE goals > 36 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0? [/INST] SELECT AVG(gold) FROM table_name_28 WHERE nation = ""yugoslavia"" AND silver > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR) Question: What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527? [/INST] SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 3527 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (record VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which Record has an Opponent of twins, and a Date of july 25? [/INST] SELECT record FROM table_name_10 WHERE opponent = ""twins"" AND date = ""july 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (residence VARCHAR, representative VARCHAR) Question: What residence has representative Quincy Murphy? [/INST] SELECT residence FROM table_name_49 WHERE representative = ""quincy murphy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13399573_4 (won VARCHAR, tries_against VARCHAR) Question: In the 2008/2009 season one team had 47 tries against, how many games did they win that year? [/INST] SELECT won FROM table_13399573_4 WHERE tries_against = ""47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR) Question: Which label's year is 1993? [/INST] SELECT label FROM table_name_45 WHERE year = ""1993"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (rank INTEGER, nation VARCHAR) Question: What is the lowest rank that spain got? [/INST] SELECT MIN(rank) FROM table_name_7 WHERE nation = ""spain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (guns VARCHAR, year VARCHAR, class VARCHAR, rank VARCHAR) Question: Tell me the guns for third-rate ship of the line and rank of vice-admiral with year of 1802 [/INST] SELECT guns FROM table_name_63 WHERE class = ""third-rate ship of the line"" AND rank = ""vice-admiral"" AND year = ""1802"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR) Question: How many games were Tied during the Span of 2011–2013 with a less than 80% Win %? [/INST] SELECT COUNT(tied) FROM table_name_57 WHERE span = ""2011–2013"" AND win__percentage < 80 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR) Question: In what years did Salina Kosgei compete in Singapore? [/INST] SELECT COUNT(year) FROM table_name_70 WHERE venue = ""singapore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24850487_5 (assists INTEGER, minutes VARCHAR) Question: How many assists did the player who had 863 minutes have? [/INST] SELECT MIN(assists) FROM table_24850487_5 WHERE minutes = 863 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR) Question: Name the date which has a home team of north melbourne [/INST] SELECT date FROM table_name_3 WHERE home_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (ends VARCHAR, since VARCHAR, name VARCHAR) Question: WHAT IS THE ENDS IN 2007 AND NAMED MILITO? [/INST] SELECT ends FROM table_name_77 WHERE since = 2007 AND name = ""milito"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19451173_1 (losses INTEGER, team VARCHAR) Question: What is the minimum losses for the Kansas City Chiefs? [/INST] SELECT MIN(losses) FROM table_19451173_1 WHERE team = ""Kansas City Chiefs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (date VARCHAR, home_team VARCHAR) Question: What is the date of the that was played with the Baltimore Colts at home? [/INST] SELECT date FROM table_name_94 WHERE home_team = ""baltimore colts"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE journalist (Nationality VARCHAR) Question: Show the most common nationality for journalists. [/INST] SELECT TOP 1 Nationality FROM journalist GROUP BY Nationality ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (train_name VARCHAR, frequency__inbound_outbound_ VARCHAR, destination VARCHAR) Question: What is the train name of the rail with a daily frequency and a destination of Rajgir? [/INST] SELECT train_name FROM table_name_44 WHERE frequency__inbound_outbound_ = ""daily"" AND destination = ""rajgir"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (years_as_tallest VARCHAR, street_address VARCHAR) Question: What were the years that the building at 200 sw harrison was considered to be the tallest building? [/INST] SELECT years_as_tallest FROM table_name_3 WHERE street_address = ""200 sw harrison"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (outcome VARCHAR, tournament VARCHAR) Question: What was the outcome of the Tournament in Buenos Aires? [/INST] SELECT outcome FROM table_name_30 WHERE tournament = ""buenos aires"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (decile INTEGER, years VARCHAR, area VARCHAR) Question: What is the average decile with Years of 1–8, and an Area of waipara? [/INST] SELECT AVG(decile) FROM table_name_98 WHERE years = ""1–8"" AND area = ""waipara"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (ties VARCHAR, goals_against INTEGER) Question: What are the number of Ties for games with Goals Against smaller than 33? [/INST] SELECT ties FROM table_name_23 WHERE goals_against < 33 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (result VARCHAR, competition VARCHAR) Question: What was the result of the Competition of euro 2000 qualifier? [/INST] SELECT result FROM table_name_78 WHERE competition = ""euro 2000 qualifier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (pick INTEGER, player VARCHAR) Question: What is the highest Pick, when Player is ""Todd Van Poppel""? [/INST] SELECT MAX(pick) FROM table_name_86 WHERE player = ""todd van poppel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (method VARCHAR, venue VARCHAR) Question: The match that was held at Club Med Sandpiper has what method? [/INST] SELECT method FROM table_name_54 WHERE venue = ""club med sandpiper"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE staff_department_assignments (department_id VARCHAR) Question: What is the id of the department with the least number of staff? [/INST] SELECT TOP 1 department_id FROM staff_department_assignments GROUP BY department_id ORDER BY COUNT(*)
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR) Question: In what Country will Dennis Blömke play the Germany F13 Futures Tournament? [/INST] SELECT country FROM table_name_9 WHERE singles_champions = ""dennis blömke"" AND tournament = ""germany f13 futures"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (year INTEGER, accolade VARCHAR, rank VARCHAR) Question: Name the highest year with rank of 22 and accolade of singles of 1999 [/INST] SELECT MAX(year) FROM table_name_89 WHERE accolade = ""singles of 1999"" AND rank = ""22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (home VARCHAR, away VARCHAR) Question: What is the Home team when Motagua is the Away team? [/INST] SELECT home FROM table_name_68 WHERE away = ""motagua"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR) Question: What lane was Emily Seebohm in? [/INST] SELECT COUNT(lane) FROM table_name_2 WHERE name = ""emily seebohm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1310499_1 (application VARCHAR) Question: What is the 2nd ratio of 1996-2002 Dodge Viper? [/INST] SELECT 2 AS nd FROM table_1310499_1 WHERE application = ""1996-2002 Dodge Viper"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR) Question: How many golds does Germany have with more than 1 silver? [/INST] SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = ""germany"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR) Question: What was the score of the BCS National Championship game? [/INST] SELECT score FROM table_name_66 WHERE bowl_game = ""bcs national championship"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR) Question: What is the saturated fat when the total fat is 100g, and polyunsaturated fat is 69g (4g in high oleic variety)? [/INST] SELECT saturated_fat FROM table_name_63 WHERE total_fat = ""100g"" AND polyunsaturated_fat = ""69g (4g in high oleic variety)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (republican_ticket VARCHAR, socialist_ticket VARCHAR) Question: Who's the Republican ticket with a Socialist ticket of frank r. crosswaith? [/INST] SELECT republican_ticket FROM table_name_61 WHERE socialist_ticket = ""frank r. crosswaith"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (club VARCHAR, position VARCHAR, wins VARCHAR, goals_against VARCHAR) Question: What Club has 13 wins, goals against less than 48, and a position of 4? [/INST] SELECT club FROM table_name_26 WHERE wins = 13 AND goals_against < 48 AND position = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (headphone_model VARCHAR, succeeded_by VARCHAR) Question: What is the headphone model which was succeeded by sr325? [/INST] SELECT headphone_model FROM table_name_59 WHERE succeeded_by = ""sr325"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR) Question: In what season did Pons Racing compete? [/INST] SELECT season FROM table_27571406_1 WHERE team_name = ""Pons Racing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR) Question: What season had a viewer rank of #4? [/INST] SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = ""#4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR) Question: What Entrant has a 1952 maserati straight-6 engine? [/INST] SELECT entrant FROM table_name_29 WHERE engine = ""maserati straight-6"" AND year = 1952 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (react INTEGER, country VARCHAR, lane VARCHAR) Question: what is the react when the country is sweden and the lane is higher than 6? [/INST] SELECT SUM(react) FROM table_name_65 WHERE country = ""sweden"" AND lane > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15873547_1 (residence_hall VARCHAR, mascot VARCHAR) Question: What residence hall has the vermin mascot? [/INST] SELECT residence_hall FROM table_15873547_1 WHERE mascot = ""Vermin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2503102_2 (driver_s_ VARCHAR, primary_sponsor VARCHAR) Question: Who drives the abc supply sponsored cor? [/INST] SELECT driver_s_ FROM table_2503102_2 WHERE primary_sponsor = ""ABC Supply"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tyre VARCHAR, pole_position VARCHAR) Question: What is the Tyre when Jerry Hoyt was the pole position? [/INST] SELECT tyre FROM table_name_22 WHERE pole_position = ""jerry hoyt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (damage__millions_usd__ VARCHAR, storm_name VARCHAR) Question: What is the damage of storm three? [/INST] SELECT damage__millions_usd__ FROM table_name_58 WHERE storm_name = ""three"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (away_team VARCHAR, tie_no VARCHAR) Question: What is the away team of the game with tie number 31? [/INST] SELECT away_team FROM table_name_33 WHERE tie_no = ""31"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR) Question: What is the to par for the score 73-71=144? [/INST] SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR) Question: What is the population where the median family income is $48,446 and there are more than 35,343 households? [/INST] SELECT AVG(population) FROM table_name_48 WHERE median_family_income = ""$48,446"" AND number_of_households > 35 OFFSET 343 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR) Question: How many millions of U.S. viewers watched the episode with the production code of 6AKY07? [/INST] SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = ""6AKY07"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (price VARCHAR, internet_plan VARCHAR) Question: What is the price of the internet 150 plans? [/INST] SELECT price FROM table_name_63 WHERE internet_plan = ""internet 150"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (type VARCHAR, moving_to VARCHAR) Question: what is the type movinig to alianza atlético? [/INST] SELECT type FROM table_name_28 WHERE moving_to = ""alianza atlético"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR) Question: Which venue did collingsworth play essendon in when they had the 3rd position on the ladder? [/INST] SELECT venue FROM table_29033869_3 WHERE opponent = ""Essendon"" AND position_on_ladder = ""3rd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, score VARCHAR) Question: What is the T4 Place Player with a Score of 71-74-66=211? [/INST] SELECT player FROM table_name_57 WHERE place = ""t4"" AND score = 71 - 74 - 66 = 211 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR) Question: What is the Finish of the Player with a Total of 273? [/INST] SELECT finish FROM table_name_20 WHERE total = 273 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (location VARCHAR, stadium VARCHAR) Question: What is the Location of the Hietalahti Stadium? [/INST] SELECT location FROM table_name_46 WHERE stadium = ""hietalahti stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) Question: When was the game played in which the record was 46-29? [/INST] SELECT date FROM table_name_86 WHERE record = ""46-29"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22591910_4 (position VARCHAR) Question: who was position 3 in 2007-2008? [/INST] SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (pick INTEGER, player VARCHAR) Question: What is the average pick for clarence mason? [/INST] SELECT AVG(pick) FROM table_name_59 WHERE player = ""clarence mason"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) Question: What was St Kilda's away team score? [/INST] SELECT away_team AS score FROM table_name_30 WHERE home_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE swimmer (name VARCHAR, meter_100 VARCHAR) Question: Find the names of all swimmers, sorted by their 100 meter scores in ascending order. [/INST] SELECT name FROM swimmer ORDER BY meter_100 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR) Question: What is the series number of the episode that aired March 25, 2010? [/INST] SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = ""March 25, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (founded INTEGER, years VARCHAR, suburb_town VARCHAR) Question: What is the average year founded that is located in Broken Hill and has school years of k-6? [/INST] SELECT AVG(founded) FROM table_name_31 WHERE years = ""k-6"" AND suburb_town = ""broken hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13755296_1 (title VARCHAR, teleplay_by VARCHAR) Question: What's the title of the episode written by David Simon? [/INST] SELECT title FROM table_13755296_1 WHERE teleplay_by = ""David Simon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE film_actor (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR, description VARCHAR) Question: Which film has the most number of actors or actresses? List the film name, film id and description. [/INST] SELECT TOP 1 T2.title, T2.film_id, T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T2.film_id ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (birth_date VARCHAR, weight__kg_ VARCHAR, world_rank VARCHAR) Question: what is the birth date when the weight (kg) is 100 and the world rank is 2? [/INST] SELECT birth_date FROM table_name_3 WHERE weight__kg_ = ""100"" AND world_rank = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR) Question: What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164? [/INST] SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER) Question: what is the sum of league goals when the fa cup goals is more than 0? [/INST] SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (kilgore__r_ VARCHAR, potts__i_ VARCHAR) Question: What was Kilgore's (R) percentage when Potts (I) polled at 1%? [/INST] SELECT kilgore__r_ FROM table_name_95 WHERE potts__i_ = ""1%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (score INTEGER, place VARCHAR, player VARCHAR) Question: WHAT IS AVERAGE SCORE WITH T3 PLACE, FOR DOUG SANDERS? [/INST] SELECT AVG(score) FROM table_name_75 WHERE place = ""t3"" AND player = ""doug sanders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17058116_5 (high_points VARCHAR, date VARCHAR) Question: Who scored the high points on the date November 2? [/INST] SELECT high_points FROM table_17058116_5 WHERE date = ""November 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23050383_1 (country VARCHAR) Question: What is the 2008 rank of Djibouti? [/INST] SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = ""Djibouti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (first_year INTEGER, model VARCHAR) Question: What is the lowest First Year, when Model is ""Quattroporte (2.8)""? [/INST] SELECT MIN(first_year) FROM table_name_15 WHERE model = ""quattroporte (2.8)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17088705_2 (evening_gown VARCHAR, swimsuit VARCHAR) Question: Evening gown scores of participants with 8.988 swimsuit score [/INST] SELECT evening_gown FROM table_17088705_2 WHERE swimsuit = ""8.988"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (Id VARCHAR) Question: Which 2012 has a 2008 of grand slam tournaments? [/INST] SELECT 2012 FROM table_name_47 WHERE 2008 = ""grand slam tournaments"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) Question: What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana? [/INST] SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = ""cardinal-priest of s. pudenziana"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (population INTEGER, area_km_2 VARCHAR, status VARCHAR, census_ranking VARCHAR) Question: What is the Population of the Town with a Census Ranking of 1,379 of 5,008 and an Area km 2 smaller than 8.35? [/INST] SELECT MAX(population) FROM table_name_70 WHERE status = ""town"" AND census_ranking = ""1,379 of 5,008"" AND area_km_2 < 8.35 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (champion__seed_ VARCHAR, score VARCHAR) Question: What was the Champion of the Game with a Score of 65–56? [/INST] SELECT champion__seed_ FROM table_name_78 WHERE score = ""65–56"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (record VARCHAR, attendance VARCHAR) Question: Which record has 64,053 as the attendance? [/INST] SELECT record FROM table_name_51 WHERE attendance = ""64,053"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (representative VARCHAR, termination_of_mission VARCHAR) Question: Which representative has a Termination of MIssion date Mar 25, 1976? [/INST] SELECT representative FROM table_name_59 WHERE termination_of_mission = ""mar 25, 1976"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR) Question: If first elected on 2003 (appt.), when was the term limited? [/INST] SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = ""2003 (Appt.)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Treatments (cost_of_treatment VARCHAR, treatment_type_code VARCHAR); CREATE TABLE treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR) Question: List the cost of each treatment and the corresponding treatment type description. [/INST] SELECT T1.cost_of_treatment, T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (class VARCHAR, power VARCHAR) Question: What is Class, when Power is 78 Watts? [/INST] SELECT class FROM table_name_15 WHERE power = ""78 watts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR, venue VARCHAR) Question: Name the date for result of draw, and venue of edgbaston [/INST] SELECT date FROM table_name_37 WHERE result = ""draw"" AND venue = ""edgbaston"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (height VARCHAR, year VARCHAR, name VARCHAR) Question: What is the Height of Junior Meghan Austin? [/INST] SELECT height FROM table_name_59 WHERE year = ""junior"" AND name = ""meghan austin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR) Question: What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had? [/INST] SELECT MAX(_percentage_internet_users) FROM table_name_51 WHERE _percentage_growth__2000_2008_ = 1622 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29542269_2 (w INTEGER) Question: What is the lowest overall amount of w's? [/INST] SELECT MIN(w) FROM table_29542269_2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR) Question: What is the start of Offy engine and in 1972? [/INST] SELECT start FROM table_name_76 WHERE engine = ""offy"" AND year = 1972 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (opponent VARCHAR, attendance VARCHAR) Question: Who was the opponent with an attendance of 628? [/INST] SELECT opponent FROM table_name_98 WHERE attendance = ""628"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (prize__ INTEGER, race VARCHAR) Question: What is the lowest Prize amount for the Irish Derby Race? [/INST] SELECT MIN(prize__) AS £k_ FROM table_name_87 WHERE race = ""irish derby"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (city___state VARCHAR, circuit VARCHAR) Question: What city was the circuit of mallala motor sport park? [/INST] SELECT city___state FROM table_name_48 WHERE circuit = ""mallala motor sport park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25721_3 (total_viewers VARCHAR, airdate VARCHAR) Question: How many episodes aired on 25 october 2012? [/INST] SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = ""25 October 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR) Question: What was the result at the Berlin International Film Festival in a year greater than 1987? [/INST] SELECT result FROM table_name_80 WHERE year > 1987 AND awards = ""berlin international film festival"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR) Question: How many bronze medals were won when the total is more than 1, and gold is more than 0? [/INST] SELECT AVG(bronze) FROM table_name_62 WHERE total > 1 AND gold > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR, position VARCHAR) Question: How many players were the running back draft pick for the New England Patriots? [/INST] SELECT COUNT(player) FROM table_2508633_9 WHERE nfl_team = ""New England Patriots"" AND position = ""Running back"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR) Question: What is the surface when the tournament is manta, ecuador? [/INST] SELECT surface FROM table_name_95 WHERE tournament = ""manta, ecuador"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (save VARCHAR, attendance VARCHAR) Question: What is the save of the game that 23,394 people attended? [/INST] SELECT save FROM table_name_49 WHERE attendance = ""23,394"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR) Question: Record of 44–18–8 involves which score? [/INST] SELECT score FROM table_name_95 WHERE record = ""44–18–8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (attendance VARCHAR, decision VARCHAR) Question: How many attended the game with weekes recording the decision? [/INST] SELECT attendance FROM table_name_76 WHERE decision = ""weekes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (gold INTEGER, total INTEGER) Question: What is the largest gold with a Total larger than 16? [/INST] SELECT MAX(gold) FROM table_name_90 WHERE total > 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, opponent VARCHAR) Question: Where was the result a win against Mike Large? [/INST] SELECT location FROM table_name_44 WHERE res = ""win"" AND opponent = ""mike large"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (round VARCHAR, record VARCHAR) Question: What round had a record of 8-2? [/INST] SELECT round FROM table_name_73 WHERE record = ""8-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20046379_3 (written_by VARCHAR, no_in_series VARCHAR) Question: Who wrote the episode with series number 45? [/INST] SELECT written_by FROM table_20046379_3 WHERE no_in_series = ""45"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (opponent VARCHAR, march VARCHAR) Question: Which opponent's march was 31? [/INST] SELECT opponent FROM table_name_19 WHERE march = 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (place INTEGER, draw INTEGER) Question: What place has a draw smaller than 2? [/INST] SELECT AVG(place) FROM table_name_90 WHERE draw < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR) Question: What is every media type for the Dub genre? [/INST] SELECT media_type FROM table_23829490_1 WHERE genre = ""Dub"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Financial_transactions (invoice_number VARCHAR) Question: Show the invoice number and the number of transactions for each invoice. [/INST] SELECT invoice_number, COUNT(*) FROM Financial_transactions GROUP BY invoice_number "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (notes VARCHAR, year VARCHAR, position VARCHAR) Question: What Notes after 1983 have a Position of 18th? [/INST] SELECT notes FROM table_name_64 WHERE year > 1983 AND position = ""18th"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30085411_1 (matches INTEGER) Question: what is the number of the least matches [/INST] SELECT MIN(matches) FROM table_30085411_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (game INTEGER, march VARCHAR) Question: what is the game when march is 15? [/INST] SELECT SUM(game) FROM table_name_12 WHERE march = 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR) Question: What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows? [/INST] SELECT MAX(Severe) AS tropical_cyclones FROM table_name_78 WHERE tropical_cyclones = 10 AND tropical_lows = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR) Question: What was the date of the Paco Rabanne Open de France? [/INST] SELECT date FROM table_name_95 WHERE tournament = ""paco rabanne open de france"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11951237_4 (title VARCHAR, original_air_date VARCHAR) Question: Which tittles have an original air date of March 19, 1998 [/INST] SELECT title FROM table_11951237_4 WHERE original_air_date = ""March 19, 1998"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR) Question: Name the gdp per capita for haiti [/INST] SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = ""Haiti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20760802_1 (points_difference VARCHAR, lost VARCHAR) Question: How many of the points difference lost equal 10? [/INST] SELECT points_difference FROM table_20760802_1 WHERE lost = ""10"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE concert (YEAR VARCHAR) Question: How many concerts are there in year 2014 or 2015? [/INST] SELECT COUNT(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25703_1 (birth_2013 VARCHAR, january_september_2013 VARCHAR) Question: How many figures for birth/2013 when January-September is Oryol Oblast? [/INST] SELECT COUNT(birth_2013) FROM table_25703_1 WHERE january_september_2013 = ""Oryol Oblast"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE residents (date_moved_in VARCHAR) Question: What are the distinct move in dates of the residents? [/INST] SELECT DISTINCT date_moved_in FROM residents
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (d_41 VARCHAR, d_43 VARCHAR) Question: Tell me the D 41 for D 43 of d 18 [/INST] SELECT d_41 FROM table_name_63 WHERE d_43 = ""d 18"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) Question: Which country does Adam Scott play for? [/INST] SELECT country FROM table_name_39 WHERE player = ""adam scott"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) Question: Who is the player from the United States with a total less than 293 and won in 1984? [/INST] SELECT player FROM table_name_74 WHERE country = ""united states"" AND total < 293 AND year_s__won = ""1984"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: What Utah Jazz Forward played for Southern Methodist? [/INST] SELECT player FROM table_name_74 WHERE position = ""forward"" AND school_club_team = ""southern methodist"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (crowd INTEGER, venue VARCHAR) Question: How large was the crowd at the Kardinia Park venue games? [/INST] SELECT SUM(crowd) FROM table_name_69 WHERE venue = ""kardinia park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (grid VARCHAR, driver VARCHAR, laps VARCHAR, time_retired VARCHAR) Question: what is the grid when the laps is more than 0, the time/retired is engine and the driver is pedro de la rosa? [/INST] SELECT grid FROM table_name_5 WHERE laps > 0 AND time_retired = ""engine"" AND driver = ""pedro de la rosa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1558077_8 (mission_name VARCHAR, lunar_blastoff_date VARCHAR) Question: Name the mission name for 21 november 1969 [/INST] SELECT mission_name FROM table_1558077_8 WHERE lunar_blastoff_date = ""21 November 1969"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (college VARCHAR, round INTEGER) Question: Which College has a Round smaller than 2? [/INST] SELECT college FROM table_name_50 WHERE round < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21034801_1 (game VARCHAR, opponent VARCHAR) Question: What number was the game against Kansas State? [/INST] SELECT game FROM table_21034801_1 WHERE opponent = ""Kansas State"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR) Question: How many totals have a Gold larger than 0, and a Bronze smaller than 0? [/INST] SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (frequency_mhz INTEGER, class VARCHAR) Question: What is the total of Frequency MHz with a Class of b1? [/INST] SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = ""b1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (against VARCHAR, losses VARCHAR, draws VARCHAR) Question: What's the against when the draw was more than 0 and had 13 losses? [/INST] SELECT COUNT(against) FROM table_name_47 WHERE losses = 13 AND draws > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (pick VARCHAR, year VARCHAR) Question: What was 1948's pick? [/INST] SELECT pick FROM table_name_72 WHERE year = 1948 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR) Question: What is the SDLP of Belfast? [/INST] SELECT MAX(sdlp) FROM table_28005809_2 WHERE council = ""Belfast"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (league VARCHAR, season VARCHAR) Question: In the 1958-59 season, what league did the team play in? [/INST] SELECT league FROM table_name_7 WHERE season = ""1958-59"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, goal VARCHAR) Question: What was the date of the game where Esteban Paredes scored 2 goals? [/INST] SELECT date FROM table_name_62 WHERE goal = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) Question: What party does the incumbent from the Ohio 5 district belong to? [/INST] SELECT party FROM table_1342218_35 WHERE district = ""Ohio 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17782308_1 (result VARCHAR, week VARCHAR) Question: How many results are listed for week 13? [/INST] SELECT COUNT(result) FROM table_17782308_1 WHERE week = 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (date VARCHAR, year VARCHAR, loser VARCHAR, location VARCHAR) Question: what date saw the chicago bears lose in green bay earlier than 1931? [/INST] SELECT date FROM table_name_12 WHERE loser = ""chicago bears"" AND location = ""green bay"" AND year < 1931 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (version VARCHAR, year VARCHAR) Question: Tell me the version for 1940-45 [/INST] SELECT version FROM table_name_71 WHERE year = ""1940-45"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR) Question: What is the score of the match on 12 September 1990? [/INST] SELECT score FROM table_name_29 WHERE date = ""12 september 1990"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (Id VARCHAR) Question: What is the 2006 value with a 1r in 2011? [/INST] SELECT 2006 FROM table_name_56 WHERE 2011 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18138132_2 (function VARCHAR, release_date VARCHAR) Question: What functions were released on 2011-06-23? [/INST] SELECT function FROM table_18138132_2 WHERE release_date = ""2011-06-23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (assists VARCHAR, name VARCHAR, games VARCHAR) Question: What is the total number of Assists, when Name is ""Pablo Prigioni"", and when Games is greater than 21? [/INST] SELECT COUNT(assists) FROM table_name_94 WHERE name = ""pablo prigioni"" AND games > 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR) Question: What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese? [/INST] SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obese_children_and_adolescents = ""12.4%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR) Question: who is the home team when the away team is rivercity rage? [/INST] SELECT home_team FROM table_name_91 WHERE away_team = ""rivercity rage"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR) Question: What is the total number of top-25 that has a top-10 smaller than 4 with 0 cuts? [/INST] SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 < 4 AND cuts_made > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (power VARCHAR, years VARCHAR) Question: What is the power of an engine of 1972? [/INST] SELECT power FROM table_name_73 WHERE years = ""1972"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (round INTEGER, event VARCHAR) Question: How many rounds did the IFL: Oakland event have? [/INST] SELECT SUM(round) FROM table_name_4 WHERE event = ""ifl: oakland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) Question: Where was the game held where Hawthorn was the away team? [/INST] SELECT venue FROM table_name_46 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10333757_1 (format VARCHAR, branding VARCHAR) Question: What is the Format for Branding of 1290 wkbk w281au 104.1? [/INST] SELECT format FROM table_10333757_1 WHERE branding = ""1290 WKBK W281AU 104.1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) Question: What day did they play at candlestick park? [/INST] SELECT date FROM table_name_77 WHERE game_site = ""candlestick park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR) Question: Which college has their team as the New York Jets? [/INST] SELECT college FROM table_name_38 WHERE team = ""new york jets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (second_vice_president VARCHAR, inaugurated VARCHAR) Question: What is Second Vice President, when Inaugurated is ""26 March 1928""? [/INST] SELECT second_vice_president FROM table_name_85 WHERE inaugurated = ""26 march 1928"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) Question: What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? [/INST] SELECT date FROM table_name_7 WHERE site = ""memorial stadium • minneapolis, mn"" AND attendance = ""20,000"" AND result = ""w52-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR) Question: On average, when were vineyard schools founded? [/INST] SELECT AVG(founded) FROM table_name_13 WHERE suburb_town = ""vineyard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (visitor VARCHAR, date VARCHAR) Question: Who was the visitor on October 31? [/INST] SELECT visitor FROM table_name_75 WHERE date = ""october 31"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR) Question: Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō? [/INST] SELECT manufacturer FROM table_name_89 WHERE laps = 21 AND grid > 16 AND rider = ""akira ryō"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (fat32 VARCHAR, ntfs VARCHAR, hpfs VARCHAR, refs VARCHAR) Question: Which FAT32 has a no for HPFS, a no for ReFS, and a yes v3.0 fir NTFS? [/INST] SELECT fat32 FROM table_name_54 WHERE hpfs = ""no"" AND refs = ""no"" AND ntfs = ""yes v3.0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26282750_1 (date_of_ceremony VARCHAR, participants_recipients VARCHAR) Question: What date was the participant/recipient takakazu watanabe? [/INST] SELECT date_of_ceremony FROM table_26282750_1 WHERE participants_recipients = ""Takakazu Watanabe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR) Question: What are the details of all sales and purchases? [/INST] SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12165999_1 (position VARCHAR, college VARCHAR) Question: What position does Syracuse's player have? [/INST] SELECT position FROM table_12165999_1 WHERE college = ""Syracuse"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (owner VARCHAR, horse VARCHAR, finished VARCHAR, trainer VARCHAR) Question: What is Owner, when Finished is less than 15, when Trainer is ""Steve Asmussen"", and when Horse is ""Z Fortune""? [/INST] SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = ""steve asmussen"" AND horse = ""z fortune"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR) Question: Which Home team has an Away team of everton? [/INST] SELECT home_team FROM table_name_57 WHERE away_team = ""everton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (rec INTEGER, yards VARCHAR, avg VARCHAR) Question: How many receptions for players with over 647 yards and an under 14 yard average? [/INST] SELECT MIN(rec) FROM table_name_83 WHERE yards > 647 AND avg < 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR) Question: Find the names of the top 10 airlines that operate the most number of routes. [/INST] SELECT TOP 10 T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (score VARCHAR, time VARCHAR) Question: WHAT SCORE HAS A TIME OF 18:27? [/INST] SELECT score FROM table_name_95 WHERE time = ""18:27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR) Question: When did the episode that had 5.09 million total viewers (both Live and SD types) first air? [/INST] SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = ""5.09 million"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (genre VARCHAR, year_recorded VARCHAR) Question: What genre is the song recorded in 1926? [/INST] SELECT genre FROM table_name_56 WHERE year_recorded = ""1926"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (cores VARCHAR, part_number_s_ VARCHAR) Question: What's the cores with the part number cl8064701477202? [/INST] SELECT cores FROM table_name_89 WHERE part_number_s_ = ""cl8064701477202"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (name VARCHAR, winning_drivers VARCHAR) Question: What race was won by Tazio Nuvolari? [/INST] SELECT name FROM table_name_63 WHERE winning_drivers = ""tazio nuvolari"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (result VARCHAR, nominee_s_ VARCHAR) Question: Nominee Neal Baer had what result? [/INST] SELECT result FROM table_name_23 WHERE nominee_s_ = ""neal baer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (points VARCHAR, poles INTEGER) Question: How many points are associated with 0 poles? [/INST] SELECT COUNT(points) FROM table_name_39 WHERE poles < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR) Question: How many games have the New York Islanders as an opponent before February 7? [/INST] SELECT SUM(game) FROM table_name_63 WHERE opponent = ""new york islanders"" AND february < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (sportsperson VARCHAR, sport VARCHAR) Question: Who playes the sport of athletics? [/INST] SELECT sportsperson FROM table_name_36 WHERE sport = ""athletics"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (points INTEGER, played INTEGER) Question: What points average has a played greater than 20? [/INST] SELECT AVG(points) FROM table_name_31 WHERE played > 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR) Question: Who is the opponent with 16 points? [/INST] SELECT opponent FROM table_name_5 WHERE opponents = 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (south VARCHAR, west VARCHAR) Question: Who was in the South when EV Bad Wörishofen was in the West? [/INST] SELECT south FROM table_name_10 WHERE west = ""ev bad wörishofen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR) Question: What is the frequency of the Classic Country Krki-fm booster station? [/INST] SELECT frequency FROM table_134987_3 WHERE format = ""Classic Country KRKI-FM booster"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR) Question: What is the unit for a submarine type ship from Norway? [/INST] SELECT unit FROM table_name_74 WHERE type = ""submarine"" AND origin = ""norway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_6 (years_for_rockets VARCHAR, player VARCHAR) Question: What years for the rockets did the player ford, phil phil ford play? [/INST] SELECT years_for_rockets FROM table_11734041_6 WHERE player = ""Ford, Phil Phil Ford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (resident_country VARCHAR, local_location VARCHAR) Question: What is Resident Country, when Local Location is ""Copenhagen""? [/INST] SELECT resident_country FROM table_name_79 WHERE local_location = ""copenhagen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR) Question: Name the min total pts for team dennis conner [/INST] SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = ""Team Dennis Conner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR) Question: What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? [/INST] SELECT MAX(top_25) FROM table_name_16 WHERE events > 4 AND wins = 2 AND top_10 < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (apps INTEGER, goals VARCHAR, rank VARCHAR) Question: How many apps when the rank was after 13 and having more than 73 goals? [/INST] SELECT AVG(apps) FROM table_name_96 WHERE goals > 73 AND rank > 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR) Question: Who was the replacement manager for the vacancy of 12 Dec 2009? [/INST] SELECT replaced_by FROM table_22297198_3 WHERE date_of_vacancy = ""12 Dec 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR) Question: Tell me the naame of Investigation of thrombus imaging [/INST] SELECT name FROM table_name_19 WHERE investigation = ""thrombus imaging"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (m939_series VARCHAR, wheelbase VARCHAR, m809_series VARCHAR) Question: Name the M939 series for short wheelbase and M809 series of m817 [/INST] SELECT m939_series FROM table_name_95 WHERE wheelbase = ""short"" AND m809_series = ""m817"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (events INTEGER, wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) Question: What is the sum of Events when the top-25 is more than 5, and the top-10 is less than 4, and wins is more than 2? [/INST] SELECT SUM(events) FROM table_name_88 WHERE top_25 > 5 AND top_10 < 4 AND wins > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR) Question: What is the kickoff time for the Hubert H. Humphrey Metrodome? [/INST] SELECT kickoff_ AS ""a_"" FROM table_name_12 WHERE game_site = ""hubert h. humphrey metrodome"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR) Question: Name the report for 6 may [/INST] SELECT report FROM table_name_82 WHERE date = ""6 may"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26757_4 (proto_slavic VARCHAR, polish VARCHAR) Question: When gniazdo is polish what is proto-slavic? [/INST] SELECT proto_slavic FROM table_26757_4 WHERE polish = ""gniazdo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2182562_2 (winnings VARCHAR, avg_finish VARCHAR) Question: How many different amounts of winnings were there for the year when the team had an average finish of 17.4? [/INST] SELECT COUNT(winnings) FROM table_2182562_2 WHERE avg_finish = ""17.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR) Question: What was the attendance during the november 16, 1975 game? [/INST] SELECT MAX(attendance) FROM table_name_18 WHERE date = ""november 16, 1975"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR) Question: What club had 404 points against? [/INST] SELECT club FROM table_13741576_6 WHERE points_against = ""404"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (crowd VARCHAR, venue VARCHAR) Question: What was the attendance at the game played at Moorabbin Oval? [/INST] SELECT crowd FROM table_name_78 WHERE venue = ""moorabbin oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (on_air_id VARCHAR, frequency VARCHAR) Question: What is the On-air ID of the broadcaster at frequency 0 801? [/INST] SELECT on_air_id FROM table_name_13 WHERE frequency = ""0 801"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (winner VARCHAR, event VARCHAR) Question: Who is the winner of the European Poker Tour Grand Final? [/INST] SELECT winner FROM table_name_11 WHERE event = ""european poker tour grand final"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1059743_2 (group_stage INTEGER, points VARCHAR) Question: What is the lowest group to earn 886.6 points? [/INST] SELECT MIN(group_stage) FROM table_1059743_2 WHERE points = ""886.6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (magnitude VARCHAR, time__utc_ VARCHAR, epicenter VARCHAR, intensity VARCHAR) Question: What is the magnitude with epicenter at Vrancea County, unknown intensity and which happened at 06:36? [/INST] SELECT magnitude FROM table_name_67 WHERE epicenter = ""vrancea county"" AND intensity = ""unknown"" AND time__utc_ = ""06:36"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR, player VARCHAR) Question: Which Extra points has Points smaller than 12, and a Player of chuck bernard, and Touchdowns larger than 1? [/INST] SELECT SUM(extra_points) FROM table_name_45 WHERE points < 12 AND player = ""chuck bernard"" AND touchdowns > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR) Question: List the names of journalists who have not reported any event. [/INST] SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR) Question: Which Rank has a Nation of china (chn), and a Bronze smaller than 4? [/INST] SELECT MAX(rank) FROM table_name_17 WHERE nation = ""china (chn)"" AND bronze < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (score VARCHAR, tie_no VARCHAR) Question: What was the score when the tie no was 13? [/INST] SELECT score FROM table_name_87 WHERE tie_no = ""13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR) Question: In which district is Robert W. Edgar the incumbent? [/INST] SELECT district FROM table_1341598_39 WHERE incumbent = ""Robert W. Edgar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE cinema (name VARCHAR, LOCATION VARCHAR, capacity VARCHAR) Question: What are the name and location of the cinema with the largest capacity? [/INST] SELECT TOP 1 name, LOCATION FROM cinema ORDER BY capacity DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (constructor VARCHAR, grid INTEGER) Question: What is the constructor for the driver with grid less than 2? [/INST] SELECT constructor FROM table_name_6 WHERE grid < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (rank VARCHAR, qual VARCHAR) Question: For the car with a qual of 134.288, what was the rank? [/INST] SELECT rank FROM table_name_72 WHERE qual = ""134.288"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (fa_cup_goals INTEGER, league_goals VARCHAR, club VARCHAR) Question: Which FA Cup goals have a League goals of 18, and a Club of sheffield united? [/INST] SELECT MAX(fa_cup_goals) FROM table_name_20 WHERE league_goals = ""18"" AND club = ""sheffield united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR) Question: How many names have a country of civ? [/INST] SELECT COUnT AS name FROM table_22810095_8 WHERE country = ""CIV"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16779068_5 (weightlifter VARCHAR) Question: Name the 3 where weightlifter is m. van der goten ( bel ) [/INST] SELECT 3 FROM table_16779068_5 WHERE weightlifter = ""M. Van der Goten ( BEL )"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (third INTEGER, club VARCHAR, runners_up VARCHAR, winners VARCHAR) Question: Which Third has Runners-up of 0, and Winners of 0, and a Club of far rabat? [/INST] SELECT AVG(third) FROM table_name_4 WHERE runners_up = 0 AND winners = 0 AND club = ""far rabat"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR, date VARCHAR) Question: What is the tournament with a w/o score on November 5, 2007? [/INST] SELECT tournament FROM table_name_62 WHERE score = ""w/o"" AND date = ""november 5, 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (lost INTEGER, pool_round VARCHAR, played VARCHAR) Question: Can you tell me the highest Lost that has the Pool/Round of pool 2, and the Played smaller than 6? [/INST] SELECT MAX(lost) FROM table_name_43 WHERE pool_round = ""pool 2"" AND played < 6 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) Question: Which song has the most vocals? [/INST] SELECT TOP 1 title FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid GROUP BY T1.songid ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (class VARCHAR, co_drivers VARCHAR) Question: What class did eddie cheever raul boesel race in? [/INST] SELECT class FROM table_name_16 WHERE co_drivers = ""eddie cheever raul boesel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (location VARCHAR, home_team VARCHAR) Question: What is the location with Honduras is Home team? [/INST] SELECT location FROM table_name_57 WHERE home_team = ""honduras"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (season VARCHAR, races VARCHAR, points VARCHAR, percentage_of_possible_points VARCHAR) Question: Which season with 16 races had less than 321 points and a larger percent than 65.78 possible? [/INST] SELECT season FROM table_name_17 WHERE points < 321 AND percentage_of_possible_points > 65.78 AND races = 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR) Question: What was the home team when the game was at Windy Hill? [/INST] SELECT home_team FROM table_name_36 WHERE venue = ""windy hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (visiting_team VARCHAR, date VARCHAR) Question: What was the visiting team on october 23? [/INST] SELECT visiting_team FROM table_name_10 WHERE date = ""october 23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 0-3? [/INST] SELECT opponent FROM table_name_83 WHERE record = ""0-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR) Question: What is the launch date odds of winning 1 in 4.54? [/INST] SELECT launch_date FROM table_name_2 WHERE odds_of_winning = ""1 in 4.54"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (draws INTEGER, central_murray VARCHAR, byes VARCHAR) Question: What is the average number of draws of the central murray of leitchville gunbower, which has less than 0 byes? [/INST] SELECT AVG(draws) FROM table_name_30 WHERE central_murray = ""leitchville gunbower"" AND byes < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341577_36 (incumbent VARCHAR, first_elected VARCHAR) Question: Which incumbent was first elected in 1958? [/INST] SELECT incumbent FROM table_1341577_36 WHERE first_elected = 1958 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (goals_for VARCHAR, played INTEGER) Question: Name the total number of goals which have played more than 44 [/INST] SELECT COUNT(goals_for) FROM table_name_13 WHERE played > 44 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18367694_2 (directed_by VARCHAR, original_air_date VARCHAR) Question: who directed the episode with the original air date of November 22, 1989? [/INST] SELECT directed_by FROM table_18367694_2 WHERE original_air_date = ""November 22, 1989"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120633_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR) Question: How many acres does the area of Lissagroom with Bandon as its poor law union cover? [/INST] SELECT area__acres__ FROM table_30120633_1 WHERE poor_law_union = ""Bandon"" AND townland = ""Lissagroom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (chassis VARCHAR, points VARCHAR, year VARCHAR) Question: In 1961, what was the Chassis when the points were lower than 6? [/INST] SELECT chassis FROM table_name_51 WHERE points < 6 AND year = 1961 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (first_name VARCHAR); CREATE TABLE Staff (first_name VARCHAR, staff_id VARCHAR) Question: What is the first name of the staff who did not give any lesson? [/INST] SELECT first_name FROM Staff EXCEPT SELECT T2.first_name FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2801442_1 (population__2001_census_ VARCHAR, headquarters VARCHAR) Question: How many people lived in the district whose headquarters is in Bhubaneswar in 2001? [/INST] SELECT population__2001_census_ FROM table_2801442_1 WHERE headquarters = ""Bhubaneswar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR) Question: What Grid has Driver Cristiano da Matta? [/INST] SELECT grid FROM table_name_10 WHERE driver = ""cristiano da matta"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR) Question: Which location has a team that is nicknamed the Vikings? [/INST] SELECT location FROM table_13759592_1 WHERE nickname = ""Vikings"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR) Question: How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0? [/INST] SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (record VARCHAR, attendance VARCHAR) Question: What is the record for the game with an attendance of 35,305? [/INST] SELECT record FROM table_name_79 WHERE attendance = ""35,305"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (swimsuit INTEGER, state VARCHAR, interview VARCHAR) Question: What's utah's lowest swimsuit with an interview over 8.53? [/INST] SELECT MIN(swimsuit) FROM table_name_43 WHERE state = ""utah"" AND interview > 8.53 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (date VARCHAR, ground VARCHAR) Question: What day was the ground subiaco? [/INST] SELECT date FROM table_name_8 WHERE ground = ""subiaco"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR, record VARCHAR) Question: Who was the opponent at the game later than game 22 when the record was 17-10-4? [/INST] SELECT opponent FROM table_name_56 WHERE game > 22 AND record = ""17-10-4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21632864_1 (fourth_place VARCHAR, regional VARCHAR) Question: how many persons got the fourth position when the regional was shikoku? [/INST] SELECT COUNT(fourth_place) FROM table_21632864_1 WHERE regional = ""Shikoku"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (gold VARCHAR, total INTEGER) Question: How many gold medals correspond with a total over 4? [/INST] SELECT gold FROM table_name_42 WHERE total > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (city VARCHAR, venue VARCHAR) Question: In which city is Hayman Hall (Tom Gola Arena) located? [/INST] SELECT city FROM table_name_84 WHERE venue = ""hayman hall (tom gola arena)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (time VARCHAR, set_3 VARCHAR) Question: What time has a Set 3 of 25–16? [/INST] SELECT time FROM table_name_14 WHERE set_3 = ""25–16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (wins INTEGER, goals_for VARCHAR, points VARCHAR) Question: What is the highest Wins, when Goals For is greater than 39, and when Points is less than 25? [/INST] SELECT MAX(wins) FROM table_name_55 WHERE goals_for > 39 AND points < 25 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (german_submarines_lost VARCHAR, sunk_by_mines INTEGER) Question: What is the total number of German submarines lost with more than 120958 sunk by mines? [/INST] SELECT COUNT(german_submarines_lost) FROM table_name_46 WHERE sunk_by_mines > 120958 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR) Question: What was the method of elimination in the chamber with a time of 24:02? [/INST] SELECT method_of_elimination FROM table_24628683_2 WHERE time = ""24:02"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2308381_1 (avg_start VARCHAR, avg_finish VARCHAR) Question: Name the avg start for avg finish being 24.2 [/INST] SELECT avg_start FROM table_2308381_1 WHERE avg_finish = ""24.2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (index VARCHAR, song VARCHAR) Question: What is Song's 会呼吸的痛 Index? [/INST] SELECT index FROM table_name_54 WHERE song = ""会呼吸的痛"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342480_5 (points VARCHAR, position VARCHAR, starter VARCHAR) Question: Name the number of points for right halfback and starter being yes [/INST] SELECT COUNT(points) FROM table_14342480_5 WHERE position = ""Right halfback"" AND starter = ""yes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (country VARCHAR, rank VARCHAR, time VARCHAR) Question: What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56? [/INST] SELECT country FROM table_name_26 WHERE rank > 4 AND time = ""5:59.56"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (time VARCHAR, lane VARCHAR) Question: What was lane 4's time? [/INST] SELECT time FROM table_name_70 WHERE lane = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (gold INTEGER, rank VARCHAR, silver VARCHAR) Question: How many Gold for the Nation in Rank 15 with 0 Silver? [/INST] SELECT MAX(gold) FROM table_name_34 WHERE rank = ""15"" AND silver > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR) Question: Average frequency with ERP W of 62? [/INST] SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = ""62"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16226584_1 (length_feet INTEGER, km_from_kingston VARCHAR) Question: When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? [/INST] SELECT MIN(length_feet) FROM table_16226584_1 WHERE km_from_kingston = ""105.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (framed_size VARCHAR, date_completed VARCHAR) Question: What was the frame size in 08/87? [/INST] SELECT framed_size FROM table_name_22 WHERE date_completed = ""08/87"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (wins INTEGER, played INTEGER) Question: What is the sum of Wins, when Played is less than 5? [/INST] SELECT SUM(wins) FROM table_name_42 WHERE played < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (country VARCHAR, place VARCHAR, player VARCHAR) Question: From what Country is T6 Place Player Tom Weiskopf? [/INST] SELECT country FROM table_name_12 WHERE place = ""t6"" AND player = ""tom weiskopf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR) Question: What's the school that has an enrollment more than 441 with chargers as their mascot? [/INST] SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = ""chargers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (city VARCHAR, building VARCHAR) Question: Which city contains Telus Plaza South? [/INST] SELECT city FROM table_name_66 WHERE building = ""telus plaza south"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23477312_1 (service INTEGER, train_name VARCHAR) Question: What's the service number of the Jammu Duronto train? [/INST] SELECT MAX(service) FROM table_23477312_1 WHERE train_name = ""Jammu Duronto"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Ref_calendar (Id VARCHAR) Question: How many calendar items do we have? [/INST] SELECT COUNT(*) FROM Ref_calendar
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27733909_7 (team VARCHAR, date VARCHAR) Question: Name the team for january 17 [/INST] SELECT team FROM table_27733909_7 WHERE date = ""January 17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (capacity INTEGER, location VARCHAR, venue VARCHAR) Question: What is the highest capacity for the venue, ticha stadium, located in varna? [/INST] SELECT MAX(capacity) FROM table_name_1 WHERE location = ""varna"" AND venue = ""ticha stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (Id VARCHAR) Question: what is the average for 2005 when 1995 is more than 3, 1996 is less than 4, and 2011 is more than 5? [/INST] SELECT AVG(2005) FROM table_name_77 WHERE 1995 > 3 AND 1996 < 4 AND 2011 > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (nationality VARCHAR, time VARCHAR) Question: What nationality has 1:55.35 as the time? [/INST] SELECT nationality FROM table_name_96 WHERE time = ""1:55.35"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341549_33 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR) Question: how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district [/INST] SELECT COUNT(first_elected) FROM table_1341549_33 WHERE result = ""Re-elected"" AND incumbent = ""Gary Ackerman Redistricted from the 7th district"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27911342_1 (title VARCHAR, season__number VARCHAR) Question: What is the title of the Series 40 Season 5 show? [/INST] SELECT title FROM table_27911342_1 WHERE season__number = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21471897_2 (rr3_pts VARCHAR, won VARCHAR) Question: Name the total number of rr2 pts for won being 11 [/INST] SELECT COUNT(rr3_pts) FROM table_21471897_2 WHERE won = 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (week_5 VARCHAR, week_6 VARCHAR, week_2 VARCHAR) Question: What is week 5 when week 6 is evicted, and week 2 is 34.55? [/INST] SELECT week_5 FROM table_name_3 WHERE week_6 = ""evicted"" AND week_2 = ""34.55"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) Question: Employment ( salaries & wages) of 64%, and a Occupational pensions of 6% has what working tax credit? [/INST] SELECT working_tax_credit FROM table_name_20 WHERE employment___salaries_ & _wages_ = ""64%"" AND occupational_pensions = ""6%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (overall INTEGER, position VARCHAR, pick__number VARCHAR) Question: What is the largest overall where the position was linebacker and the pick number was more than 9? [/INST] SELECT MAX(overall) FROM table_name_32 WHERE position = ""linebacker"" AND pick__number > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (material_collected VARCHAR, isbn VARCHAR) Question: What's the Material collected for the 978-1401209674 ISBN? [/INST] SELECT material_collected FROM table_name_75 WHERE isbn = ""978-1401209674"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23476629_2 (height__in_ VARCHAR, province VARCHAR) Question: What is the height in inches of contestants who are from the province of La Rioja? [/INST] SELECT height__in_ FROM table_23476629_2 WHERE province = ""La Rioja"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26401898_2 (week INTEGER, final_score VARCHAR) Question: Name the least week for l 26–42 [/INST] SELECT MIN(week) FROM table_26401898_2 WHERE final_score = ""L 26–42"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2508633_8 (pick__number INTEGER, player VARCHAR) Question: What is the pick number minimum if the player is Mark Bortz? [/INST] SELECT MIN(pick__number) FROM table_2508633_8 WHERE player = ""Mark Bortz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (capacity INTEGER, location VARCHAR, year VARCHAR) Question: What is the highest capacity in Aslantepe in 2002-2005? [/INST] SELECT MAX(capacity) FROM table_name_97 WHERE location = ""aslantepe"" AND year = ""2002-2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (election VARCHAR) Question: Which 1st Party has an Election of 1849 by-election? [/INST] SELECT 1 AS st_party FROM table_name_42 WHERE election = ""1849 by-election"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2009095_2 (outcome VARCHAR, championship VARCHAR) Question: Name the outcome for wimbledon [/INST] SELECT outcome FROM table_2009095_2 WHERE championship = ""Wimbledon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (opponent_in_final VARCHAR, surface VARCHAR) Question: Who was the opponent on carpet in a final? [/INST] SELECT opponent_in_final FROM table_name_55 WHERE surface = ""carpet"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (played INTEGER, position VARCHAR, drawn VARCHAR, team VARCHAR) Question: Which Played has a Drawn of 5, and a Team of palmeiras, and a Position smaller than 6? [/INST] SELECT MAX(played) FROM table_name_95 WHERE drawn = 5 AND team = ""palmeiras"" AND position < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2187333_1 (year VARCHAR, team_s_ VARCHAR, poles VARCHAR) Question: Name the year for #16 roush racing for poles less than smaller 1.0 [/INST] SELECT year FROM table_2187333_1 WHERE team_s_ = ""#16 Roush Racing"" AND poles < 1.0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26036389_1 (passes_through___district_s VARCHAR, mdr_no VARCHAR) Question: What district does the road with a MDR number of 47 pass through? [/INST] SELECT passes_through___district_s FROM table_26036389_1 WHERE mdr_no = 47 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (recipient VARCHAR, year VARCHAR) Question: Name the recipientof the year for 1976 [/INST] SELECT recipient FROM table_name_69 WHERE year = 1976 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (to_par VARCHAR, score VARCHAR) Question: When the score was 76-73-67-69=285 what was the To par? [/INST] SELECT to_par FROM table_name_31 WHERE score = 76 - 73 - 67 - 69 = 285 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1013129_1 (pick INTEGER, player VARCHAR) Question: What is the smallest pick for the player, brett lindros? [/INST] SELECT MIN(pick) FROM table_1013129_1 WHERE player = ""Brett Lindros"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR) Question: What rank was Core Districts + Inner Suburbs and had a population of 10123000? [/INST] SELECT MAX(rank) FROM table_name_37 WHERE definition = ""core districts + inner suburbs"" AND population = ""10123000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1601027_1 (headphone_class VARCHAR, us_msrp VARCHAR) Question: How many headphone classes have a US MSRP of $150? [/INST] SELECT COUNT(headphone_class) FROM table_1601027_1 WHERE us_msrp = ""$150"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (date VARCHAR, goal VARCHAR) Question: What was the date of the game with a goal of 7? [/INST] SELECT date FROM table_name_27 WHERE goal = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (medal VARCHAR, event VARCHAR) Question: What medal was won in the men's 5000 m event? [/INST] SELECT medal FROM table_name_53 WHERE event = ""men's 5000 m"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR) Question: What is the web thickness if the flange width is 100? [/INST] SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = 100 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (rank INTEGER, time VARCHAR) Question: What is the top rank with a time of 2:19.86? [/INST] SELECT MAX(rank) FROM table_name_25 WHERE time = ""2:19.86"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (name VARCHAR, sr_no VARCHAR, floors VARCHAR) Question: what is the name when the sr no is less than 74 and floors is more than 36? [/INST] SELECT name FROM table_name_61 WHERE sr_no < 74 AND floors > 36 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR) Question: What is the status of the unit with a net capacity of 1212 MW? [/INST] SELECT status FROM table_name_50 WHERE net_capacity = ""1212 mw"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) Question: What is Score, when Place is ""T5"", when Country is ""United States"", and when Player is ""Davis Love III""? [/INST] SELECT score FROM table_name_21 WHERE place = ""t5"" AND country = ""united states"" AND player = ""davis love iii"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, tie_no VARCHAR) Question: What was the date of tie number 5? [/INST] SELECT date FROM table_name_2 WHERE tie_no = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (game INTEGER, record VARCHAR) Question: Which Game is the highest one that has a Record of 4-3-6? [/INST] SELECT MAX(game) FROM table_name_83 WHERE record = ""4-3-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (player VARCHAR, to_par VARCHAR) Question: What is the Player that has a To standard of –7? [/INST] SELECT player FROM table_name_47 WHERE to_par = ""–7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (episode__number INTEGER, format__number VARCHAR) Question: What is the average episode number with q146 format? [/INST] SELECT AVG(episode__number) FROM table_name_26 WHERE format__number = ""q146"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713583_8 (game VARCHAR, date VARCHAR) Question: What game number was on January 14? [/INST] SELECT game FROM table_27713583_8 WHERE date = ""January 14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (lead VARCHAR, third VARCHAR) Question: Which Lead has a Third of jeanne ellegaard? [/INST] SELECT lead FROM table_name_56 WHERE third = ""jeanne ellegaard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2534387_10 (entries VARCHAR, elapsed_time VARCHAR) Question: Name the entries for 6 h 23 min elapsed time [/INST] SELECT entries FROM table_2534387_10 WHERE elapsed_time = ""6 h 23 min"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13836704_7 (international_passengers VARCHAR, rank VARCHAR) Question: What is the total number of passengers of the airport ranked 15? [/INST] SELECT international_passengers FROM table_13836704_7 WHERE rank = 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (drawn INTEGER, lost VARCHAR) Question: How many drawns have 7 for the lost? [/INST] SELECT SUM(drawn) FROM table_name_83 WHERE lost = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR) Question: Which Nation has a Second of tomas pitonak? [/INST] SELECT nation FROM table_name_72 WHERE second = ""tomas pitonak"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR) Question: Show the names of all the employees with role ""HR"". [/INST] SELECT employee_name FROM Employees WHERE role_code = ""HR"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12564633_1 (series__number INTEGER, written_by VARCHAR) Question: What was the first series in this list that Jack Orman wrote? [/INST] SELECT MIN(series__number) FROM table_12564633_1 WHERE written_by = ""Jack Orman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (winning_score VARCHAR, date VARCHAR) Question: What was the winning score on Aug 21, 1977? [/INST] SELECT winning_score FROM table_name_92 WHERE date = ""aug 21, 1977"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (winner VARCHAR, name VARCHAR) Question: Who is the Winner, when the Name is Ouninpohja 1? [/INST] SELECT winner FROM table_name_92 WHERE name = ""ouninpohja 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR) Question: What Year has a Rank of 12.0 12? [/INST] SELECT AVG(year) FROM table_name_52 WHERE rank = ""12.0 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (record VARCHAR, game VARCHAR, date VARCHAR) Question: What was the record after game 51 on 1/27/1974? [/INST] SELECT record FROM table_name_87 WHERE game > 51 AND date = ""1/27/1974"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR) Question: What Car Model has the Manufacturer of Saab, and Driver Dean Randle? [/INST] SELECT car_model FROM table_name_35 WHERE manufacturer = ""saab"" AND driver = ""dean randle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (location___state VARCHAR, date VARCHAR) Question: Which Location/ State has a Date of 29–31 may? [/INST] SELECT location___state FROM table_name_36 WHERE date = ""29–31 may"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (rank INTEGER, laps VARCHAR) Question: What is the average rank of one who is at 76 laps? [/INST] SELECT AVG(rank) FROM table_name_98 WHERE laps = 76 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (player VARCHAR, score VARCHAR) Question: Which Player has a Score of 6–4, 7–6 (7–5)? [/INST] SELECT player FROM table_name_97 WHERE score = ""6–4, 7–6 (7–5)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30008638_1 (semifinalists VARCHAR, country_territory VARCHAR) Question: How many semifinalists has Romania had? [/INST] SELECT semifinalists FROM table_30008638_1 WHERE country_territory = ""Romania"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (score VARCHAR, tie_no VARCHAR) Question: What was the score when the Tie no was 6? [/INST] SELECT score FROM table_name_89 WHERE tie_no = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) Question: What are the profits (in billions) where the assets are 192.8 billion? [/INST] SELECT profits__billion_$_ FROM table_1682026_3 WHERE assets__billion_$_ = ""192.8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11951237_4 (title VARCHAR, season__number VARCHAR) Question: How many titles are there for season 8 [/INST] SELECT COUNT(title) FROM table_11951237_4 WHERE season__number = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (home VARCHAR, date VARCHAR) Question: What is the home team of the game on February 4? [/INST] SELECT home FROM table_name_74 WHERE date = ""february 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Vehicles (vehicle_details VARCHAR, vehicle_id VARCHAR) Question: Show the detail of vehicle with id 1. [/INST] SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21636599_1 (insurgents VARCHAR, period VARCHAR) Question: How many insurgents have 2003 as a period? [/INST] SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period = ""2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (placing VARCHAR, jockey VARCHAR) Question: What was the placing when the jockey was Damien Oliver? [/INST] SELECT placing FROM table_24915874_1 WHERE jockey = ""Damien Oliver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (name VARCHAR, time VARCHAR) Question: Who had a time of 56.07? [/INST] SELECT name FROM table_name_21 WHERE time = 56.07 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (year VARCHAR, notes VARCHAR, position VARCHAR) Question: What year did Naoki Tsukahara finish 3rd in the 200 m race? [/INST] SELECT year FROM table_name_4 WHERE notes = ""200 m"" AND position = ""3rd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR) Question: Which driver has a grid value larger than 11, and drove more than 52 laps? [/INST] SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR) Question: What place was Dave Stockton when he had a to par of +1? [/INST] SELECT place FROM table_name_10 WHERE to_par = ""+1"" AND player = ""dave stockton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR) Question: What is the pba team for the player who went to santo tomas college? [/INST] SELECT pba_team FROM table_name_50 WHERE college = ""santo tomas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR) Question: How many people voted for others in the county where McCain got 65.5% of the votes? [/INST] SELECT others FROM table_20453681_1 WHERE mccain_percentage = ""65.5%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when the home team Manchester United played? [/INST] SELECT away_team FROM table_name_54 WHERE home_team = ""manchester united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17001658_8 (location_attendance VARCHAR, game VARCHAR) Question: Name the location attendance for game 55 [/INST] SELECT location_attendance FROM table_17001658_8 WHERE game = 55 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (funny_car VARCHAR, pro_stock VARCHAR, year VARCHAR) Question: Who won Funny Car when Jim Yates won Pro Stock, in years after 1996? [/INST] SELECT funny_car FROM table_name_57 WHERE pro_stock = ""jim yates"" AND year > 1996 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (attendance INTEGER, game VARCHAR) Question: Game 1's sum of attendance is? [/INST] SELECT SUM(attendance) FROM table_name_4 WHERE game = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (attendance INTEGER, loss VARCHAR) Question: What was the average attendance for games with a loss of papelbon (0–1)? [/INST] SELECT AVG(attendance) FROM table_name_66 WHERE loss = ""papelbon (0–1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR) Question: What was the highest attendance against Real Juventud? [/INST] SELECT MAX(attendance) FROM table_name_14 WHERE away = ""real juventud"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1543845_63 (stolen_ends VARCHAR, locale VARCHAR, Sweden VARCHAR) Question: How many stolen ends were there when the locale was Sweden? [/INST] SELECT stolen_ends FROM table_1543845_63 WHERE locale = Sweden "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR) Question: How many Points have a Position larger than 3, and a Played smaller than 14? [/INST] SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27720737_1 (series__number VARCHAR, production_code VARCHAR) Question: How many episodes had a production code 120? [/INST] SELECT COUNT(series__number) FROM table_27720737_1 WHERE production_code = 120 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR) Question: Which Length has a Year of 2000? [/INST] SELECT length FROM table_name_13 WHERE year = 2000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR) Question: What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana? [/INST] SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = ""pablo meana"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (constructor VARCHAR, driver VARCHAR) Question: What company constructed the vehicle when the driver shows as not held? [/INST] SELECT constructor FROM table_name_61 WHERE driver = ""not held"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (treasurer VARCHAR, president VARCHAR) Question: Which treasurer has a President of sebastian ihler? [/INST] SELECT treasurer FROM table_name_74 WHERE president = ""sebastian ihler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (league_cup_apps VARCHAR, total_apps VARCHAR, position VARCHAR, league_goals VARCHAR) Question: What is the league cup apps when the league goals are greater than 3, there are 30 (2) total apps, and has a position of mf? [/INST] SELECT league_cup_apps FROM table_name_13 WHERE position = ""mf"" AND league_goals > 3 AND total_apps = ""30 (2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (other_names VARCHAR, death VARCHAR) Question: what is other names when death is may 23, 1821? [/INST] SELECT other_names FROM table_name_36 WHERE death = ""may 23, 1821"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (attendance VARCHAR, week VARCHAR) Question: what is the attendance when the week is 5? [/INST] SELECT attendance FROM table_name_28 WHERE week = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (race_2 VARCHAR, round VARCHAR) Question: What is the Race 2 result of Round 2? [/INST] SELECT race_2 FROM table_name_4 WHERE round = ""round 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (driver VARCHAR, points VARCHAR, team VARCHAR) Question: Which driver has 7 points for team Australia? [/INST] SELECT driver FROM table_name_28 WHERE points = 7 AND team = ""team australia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23265433_2 (week VARCHAR, transition VARCHAR) Question: Name the week for steve toll [/INST] SELECT week FROM table_23265433_2 WHERE transition = ""Steve Toll"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR) Question: What is every entry for Atlantic Europe when Central Europe is Wisconsin stage? [/INST] SELECT atlantic_europe FROM table_22860_1 WHERE central_europe = ""Wisconsin Stage"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (weight__kg_ VARCHAR, horse VARCHAR) Question: What was the weight in kg when the horse was Alcopop? [/INST] SELECT weight__kg_ FROM table_24915874_1 WHERE horse = ""Alcopop"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (episode VARCHAR) Question: What is the 3rd Edition for Episode 4? [/INST] SELECT 3 AS rd_edition FROM table_name_90 WHERE episode = ""4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1004033_1 (season INTEGER, team VARCHAR) Question: When did the Metrostars have their first Rookie of the Year winner? [/INST] SELECT MIN(season) FROM table_1004033_1 WHERE team = ""MetroStars"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (wins INTEGER, year VARCHAR) Question: What were the least Wins in 1988? [/INST] SELECT MIN(wins) FROM table_name_19 WHERE year = 1988 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27756314_10 (team VARCHAR, high_points VARCHAR) Question: What is the team when the high points were by wesley johnson (20)? [/INST] SELECT team FROM table_27756314_10 WHERE high_points = ""Wesley Johnson (20)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR) Question: Which player's hometown was Pewaukee, Wisconsin? [/INST] SELECT player FROM table_11677691_4 WHERE hometown = ""Pewaukee, Wisconsin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (points_for VARCHAR, club VARCHAR) Question: What is Points For, when Club is ""Tycroes RFC""? [/INST] SELECT points_for FROM table_name_64 WHERE club = ""tycroes rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29141354_1 (scores VARCHAR, episode VARCHAR) Question: what was the result on 01x06 [/INST] SELECT scores FROM table_29141354_1 WHERE episode = ""01x06"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR) Question: What is the union moving name and is from cmr? [/INST] SELECT name FROM table_name_92 WHERE moving_to = ""union"" AND country = ""cmr"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR) Question: Which competition before 1982 had a score of 2:3? [/INST] SELECT competition FROM table_name_96 WHERE year < 1982 AND score = ""2:3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (draft INTEGER, round VARCHAR, nationality VARCHAR, player VARCHAR) Question: What is the lowest Draft, when Nationality is ""Canada"", when Player is ""Shane Doan Category:Articles with hCards"", and when Round is less than 1? [/INST] SELECT MIN(draft) FROM table_name_7 WHERE nationality = ""canada"" AND player = ""shane doan category:articles with hcards"" AND round < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22383603_1 (season VARCHAR, no VARCHAR) Question: What is the year range of season 4? [/INST] SELECT season FROM table_22383603_1 WHERE no = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (season VARCHAR, professional_partner VARCHAR, average VARCHAR, rank VARCHAR) Question: Which season had an average under 28, a rank under 10, and a partner of Janja Lesar? [/INST] SELECT season FROM table_name_7 WHERE average < 28 AND rank < 10 AND professional_partner = ""janja lesar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (total INTEGER, club VARCHAR, fa_cup_goals VARCHAR, league_goals VARCHAR) Question: What is the average Total, when FA Cup Goals is 1, when League Goals is 10, and when Club is Crystal Palace? [/INST] SELECT AVG(total) FROM table_name_20 WHERE fa_cup_goals = ""1"" AND league_goals = ""10"" AND club = ""crystal palace"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (qual_2 VARCHAR, team VARCHAR, best VARCHAR) Question: Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073? [/INST] SELECT qual_2 FROM table_name_15 WHERE team = ""american spirit team johansson"" AND best = ""59.073"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668401_17 (party VARCHAR, district VARCHAR, result VARCHAR, first_elected VARCHAR) Question: What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to? [/INST] SELECT party FROM table_2668401_17 WHERE result = ""Re-elected"" AND first_elected = ""1797"" AND district = ""Virginia 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (vertical_relief__ft_ INTEGER, peak_name VARCHAR, elevation__ft_ VARCHAR) Question: What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance and the elevation in feet is more than 1,410? [/INST] SELECT AVG(vertical_relief__ft_) FROM table_name_87 WHERE peak_name = ""tower near mead wood road entrance"" AND elevation__ft_ > 1 OFFSET 410 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (father VARCHAR, mother VARCHAR) Question: Who is the father of the child whose mother is Presendia Huntington Buell? [/INST] SELECT father FROM table_name_58 WHERE mother = ""presendia huntington buell"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (music VARCHAR, choreographer_s_ VARCHAR) Question: What is the music for choreographer sabina dalfjäll? [/INST] SELECT music FROM table_name_23 WHERE choreographer_s_ = ""sabina dalfjäll"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_45 (first_elected VARCHAR, incumbent VARCHAR) Question: What year was Larry combest elected [/INST] SELECT first_elected FROM table_1341472_45 WHERE incumbent = ""Larry Combest"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (date VARCHAR, competition VARCHAR, venue VARCHAR) Question: On what date was a friendly match held at Auckland? [/INST] SELECT date FROM table_name_32 WHERE competition = ""friendly match"" AND venue = ""auckland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (entered_service VARCHAR, delivered_as VARCHAR) Question: What is the Entered service date of the T413? [/INST] SELECT entered_service FROM table_name_32 WHERE delivered_as = ""t413"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (name VARCHAR, location VARCHAR) Question: What name is located in China? [/INST] SELECT name FROM table_name_8 WHERE location = ""china"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (writer VARCHAR, film_title VARCHAR) Question: Who wrote Toy Story? [/INST] SELECT writer FROM table_name_22 WHERE film_title = ""toy story"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) Question: What is the score of the game where the Rangers record was 16-8-4? [/INST] SELECT score FROM table_name_81 WHERE record = ""16-8-4"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE medicine (FDA_approved VARCHAR) Question: How many distinct FDA approval statuses are there for the medicines? [/INST] SELECT COUNT(DISTINCT FDA_approved) FROM medicine
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1708050_1 (starts VARCHAR, position VARCHAR) Question: Name the starts when position is 16th [/INST] SELECT starts FROM table_1708050_1 WHERE position = ""16th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (college VARCHAR, player VARCHAR) Question: What college had Jim Leonhard Category:articles with hcards? [/INST] SELECT college FROM table_name_79 WHERE player = ""jim leonhard category:articles with hcards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (league_goals VARCHAR, fa_cup_apps VARCHAR) Question: Which league goals has FA cup apps of 2? [/INST] SELECT league_goals FROM table_name_39 WHERE fa_cup_apps = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR) Question: Name the total number of points for when try bonus is 10 [/INST] SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = ""10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR) Question: How many Laps have a Driver of satrio hermanto? [/INST] SELECT SUM(laps) FROM table_name_76 WHERE driver = ""satrio hermanto"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (heat VARCHAR, time VARCHAR) Question: What's the heat that was timed 2:08.54? [/INST] SELECT COUNT(heat) FROM table_name_64 WHERE time = ""2:08.54"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16494599_10 (player VARCHAR, position VARCHAR) Question: How many athletes play the position of guard? [/INST] SELECT COUNT(player) FROM table_16494599_10 WHERE position = ""Guard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21046399_3 (walker__percentage VARCHAR, county VARCHAR) Question: What percentage did Walker win in Calumet county? [/INST] SELECT walker__percentage FROM table_21046399_3 WHERE county = ""Calumet"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (lost VARCHAR, drawn VARCHAR, points_for VARCHAR) Question: what is the amount lost when there is 1 draw and 515 points? [/INST] SELECT lost FROM table_name_72 WHERE drawn = ""1"" AND points_for = ""515"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (round VARCHAR, result VARCHAR) Question: What round had a result of 6–7 (6–8) , 1–6? [/INST] SELECT round FROM table_name_83 WHERE result = ""6–7 (6–8) , 1–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR) Question: Who composed the work conducted by jaroslav Vogel? [/INST] SELECT composer FROM table_24521345_1 WHERE conductor = ""Jaroslav Vogel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19333752_1 (national_cup VARCHAR, championship VARCHAR) Question: What is the national cup statistics when the Championship is 21 app / 6 goals? [/INST] SELECT national_cup FROM table_19333752_1 WHERE championship = ""21 app / 6 goals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (scale VARCHAR, word__number VARCHAR, name VARCHAR) Question: What is the scale of sv_health with a word number smaller than 4? [/INST] SELECT scale FROM table_name_8 WHERE word__number < 4 AND name = ""sv_health"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) Question: What is josé maría olazábal's country? [/INST] SELECT country FROM table_name_39 WHERE player = ""josé maría olazábal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (position VARCHAR, player VARCHAR) Question: What is the position of Dale Craigwell? [/INST] SELECT position FROM table_name_67 WHERE player = ""dale craigwell"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR) Question: Which country did Natalia Makarova visit? [/INST] SELECT countries_visited FROM table_name_96 WHERE presenter = ""natalia makarova"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (city VARCHAR, iata VARCHAR) Question: PER is the IATA for which city? [/INST] SELECT city FROM table_name_84 WHERE iata = ""per"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (position VARCHAR, unanimous VARCHAR, college_hall_of_fame VARCHAR) Question: What is the position of the player with a unanimous no result without a college hall of fame? [/INST] SELECT position FROM table_name_34 WHERE unanimous = ""no"" AND college_hall_of_fame = ""no"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_254776_1 (founded VARCHAR, institution VARCHAR) Question: When was Dickinson College founded? [/INST] SELECT founded FROM table_254776_1 WHERE institution = ""Dickinson College"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1594772_2 (team__a_ VARCHAR, match_date VARCHAR) Question: Namethe team for feb 27, 1996 [/INST] SELECT team__a_ FROM table_1594772_2 WHERE match_date = ""Feb 27, 1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR) Question: What place did player mark brooks take? [/INST] SELECT place FROM table_name_84 WHERE player = ""mark brooks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (stand INTEGER, qual INTEGER) Question: What is the sum of the stand with a qual more than 589? [/INST] SELECT SUM(stand) FROM table_name_31 WHERE qual > 589 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR) Question: What's the Pinyin name of the county with a postcode 246500? [/INST] SELECT pinyin FROM table_1976898_1 WHERE post_code = 246500 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, catalog VARCHAR) Question: What is the Format when Alfa records is the label, and there is a Catalog of alca-9016? [/INST] SELECT format FROM table_name_3 WHERE label = ""alfa records"" AND catalog = ""alca-9016"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR) Question: What is the number for the international with 669 domestic earlier than 2005? [/INST] SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14863869_1 (opponent VARCHAR, date VARCHAR) Question: List all opponents in the September 23, 1984 game? [/INST] SELECT opponent FROM table_14863869_1 WHERE date = ""September 23, 1984"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1859269_1 (new_entries_this_round VARCHAR, round VARCHAR) Question: If the round is the semi-finals, what are the new entries this round? [/INST] SELECT new_entries_this_round FROM table_1859269_1 WHERE round = ""Semi-finals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (winner VARCHAR, course VARCHAR) Question: Name the winner for genoa to livorno [/INST] SELECT winner FROM table_name_39 WHERE course = ""genoa to livorno"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (rank INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the total rank for New Zealand, when less than 1 bronze medals were won? [/INST] SELECT SUM(rank) FROM table_name_56 WHERE nation = ""new zealand"" AND bronze < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (kit_maker VARCHAR, team VARCHAR) Question: Which kit maker does Aston Villa use? [/INST] SELECT kit_maker FROM table_name_42 WHERE team = ""aston villa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (place VARCHAR, country VARCHAR) Question: What did South Africa place? [/INST] SELECT place FROM table_name_89 WHERE country = ""south africa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (points INTEGER, february INTEGER) Question: How many Points a February smaller than 1 have? [/INST] SELECT MIN(points) FROM table_name_5 WHERE february < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (rider VARCHAR, speed VARCHAR, time VARCHAR) Question: What Rider had a Speed of 108.347mph and Time of 1:02.40.93? [/INST] SELECT rider FROM table_name_12 WHERE speed = ""108.347mph"" AND time = ""1:02.40.93"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) Question: What is the Away team at Mansfield Town's Home game? [/INST] SELECT away_team FROM table_name_53 WHERE home_team = ""mansfield town"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (congress VARCHAR, _number_of_cosponsors VARCHAR) Question: Which Congress has a # of cosponsors of 19? [/INST] SELECT congress FROM table_name_51 WHERE _number_of_cosponsors = 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24852001_2 (game_site VARCHAR, opponent VARCHAR) Question: What was the game site for the matchup against the Frankfurt Galaxy? [/INST] SELECT game_site FROM table_24852001_2 WHERE opponent = ""Frankfurt Galaxy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (method VARCHAR, round VARCHAR, res VARCHAR) Question: What was the method for the resolution of nc where the fight lasted less than 3 rounds? [/INST] SELECT method FROM table_name_72 WHERE round < 3 AND res = ""nc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR) Question: What week was themed disco? [/INST] SELECT week__number FROM table_21501511_1 WHERE theme = ""Disco"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (Id VARCHAR) Question: What shows for 2011 when 2012 is q1, and a 2010 is 4r? [/INST] SELECT 2011 FROM table_name_49 WHERE 2012 = ""q1"" AND 2010 = ""4r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (system VARCHAR, license VARCHAR, current_version VARCHAR) Question: What is the System when the Licence is gpl and the Current Version is 1.72? [/INST] SELECT system FROM table_name_63 WHERE license = ""gpl"" AND current_version = ""1.72"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (opponent VARCHAR, attendance VARCHAR) Question: What is Opponent, when Attendance is 62,170? [/INST] SELECT opponent FROM table_name_52 WHERE attendance = ""62,170"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (rank INTEGER, games VARCHAR, points VARCHAR) Question: Which rank is the lowest with 37 games and more than 613 points? [/INST] SELECT MIN(rank) FROM table_name_44 WHERE games = 37 AND points > 613 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (rank INTEGER, total VARCHAR) Question: Which Rank has a Total of 12? [/INST] SELECT AVG(rank) FROM table_name_72 WHERE total = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (set_3 VARCHAR, date VARCHAR, time VARCHAR) Question: For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3? [/INST] SELECT set_3 FROM table_name_96 WHERE date = ""29 sep"" AND time = ""16:40"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Person (job VARCHAR) Question: How many type of jobs do they have? [/INST] SELECT COUNT(DISTINCT job) FROM Person
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1160660_1 (date_founded VARCHAR, acronym VARCHAR) Question: What year was USF founded? [/INST] SELECT date_founded FROM table_1160660_1 WHERE acronym = ""USF"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (hole VARCHAR, player VARCHAR) Question: How many holes does Player Vijay Singh have? [/INST] SELECT COUNT(hole) FROM table_name_79 WHERE player = ""vijay singh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE orchestra (Major_Record_Format VARCHAR) Question: Find the number of orchestras whose record format is ""CD"" or ""DVD"". [/INST] SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = ""CD"" OR Major_Record_Format = ""DVD"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR) Question: What is the time in Romania that has a lane larger than 4? [/INST] SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = ""romania"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE teacher (Id VARCHAR) Question: How many teachers are there? [/INST] SELECT COUNT(*) FROM teacher
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR) Question: Find the id, forename and number of races of all drivers who have at least participated in two races? [/INST] SELECT T1.driverid, T1.forename, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING COUNT(*) >= 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR) Question: how many chroma format with name being high profile [/INST] SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = ""High profile"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE building (name VARCHAR, height_feet VARCHAR, building_id VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded INTEGER) Question: Show the names and heights of buildings with at least two institutions founded after 1880. [/INST] SELECT T1.name, T1.height_feet FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded > 1880 GROUP BY T1.building_id HAVING COUNT(*) >= 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (round VARCHAR, name VARCHAR) Question: How many rounds does Jamaal Charles have? [/INST] SELECT COUNT(round) FROM table_name_13 WHERE name = ""jamaal charles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR) Question: Name the enrollment with cougars [/INST] SELECT enrollment FROM table_24216139_2 WHERE nickname = ""Cougars"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10798928_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) Question: How many directors were there for the film Course Completed? [/INST] SELECT COUNT(director) FROM table_10798928_1 WHERE film_title_used_in_nomination = ""Course Completed"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (title VARCHAR, track VARCHAR) Question: What is track 6's title? [/INST] SELECT title FROM table_name_62 WHERE track = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (post_season_record_ VARCHAR, e_ VARCHAR, mlb_affiliate VARCHAR) Question: Tell me the post-season record for kansas city [/INST] SELECT post_season_record_ AS ""e_"" FROM table_name_55 WHERE mlb_affiliate = ""kansas city"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR) Question: How long did Witold Latoszek character lasted? [/INST] SELECT duration FROM table_name_53 WHERE character = ""witold latoszek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (report VARCHAR, winning_driver VARCHAR, date VARCHAR) Question: What is the report for the race that Ayrton Senna won on 27 August? [/INST] SELECT report FROM table_name_84 WHERE winning_driver = ""ayrton senna"" AND date = ""27 august"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR) Question: What is the team sites entry that has a public entry of No and a developer entry of Yes? [/INST] SELECT team_sites FROM table_name_53 WHERE public = ""no"" AND developer = ""yes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR) Question: What was the record at the game against the Los Angeles Rams? [/INST] SELECT record FROM table_name_25 WHERE opponent = ""los angeles rams"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (event VARCHAR, snatch VARCHAR) Question: What event has a 122.5 snatch rate? [/INST] SELECT event FROM table_name_2 WHERE snatch = 122.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR) Question: What the result for the hypo-meeting tournament in 1994? [/INST] SELECT result FROM table_name_81 WHERE year = 1994 AND tournament = ""hypo-meeting"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR) Question: When was Chaka Fattah first elected in the Pennsylvania 2 district? [/INST] SELECT first_elected FROM table_1341453_40 WHERE district = ""Pennsylvania 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23117208_5 (title VARCHAR, written_by VARCHAR) Question: What is the name of the episode that was written by Michael Rauch? [/INST] SELECT title FROM table_23117208_5 WHERE written_by = ""Michael Rauch"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (b_score VARCHAR, a_score VARCHAR) Question: what is the b score when the a score is 6.9? [/INST] SELECT b_score FROM table_name_6 WHERE a_score = 6.9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (february VARCHAR, opponent VARCHAR, game VARCHAR) Question: What is the February number of the game with the Vancouver Canucks as the opponent and a game number greater than 55? [/INST] SELECT COUNT(february) FROM table_name_48 WHERE opponent = ""vancouver canucks"" AND game > 55 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341604_19 (candidates VARCHAR, district VARCHAR) Question: Who were the candidates in the Louisiana 4 district? [/INST] SELECT candidates FROM table_1341604_19 WHERE district = ""Louisiana 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (car___motorcycle VARCHAR, speed VARCHAR) Question: What car/motorcycle goes 91.813mph? [/INST] SELECT car___motorcycle FROM table_name_14 WHERE speed = ""91.813mph"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29474407_11 (major_users VARCHAR, country_of_origin VARCHAR) Question: Who are the major users from Australia? [/INST] SELECT major_users FROM table_29474407_11 WHERE country_of_origin = ""Australia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (venue VARCHAR, runs VARCHAR) Question: Where is the venue with more than 245 runs? [/INST] SELECT venue FROM table_name_71 WHERE runs = ""245"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) Question: What is the score of the game played 26 July 2010? [/INST] SELECT score FROM table_name_22 WHERE date = ""26 july 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11545282_4 (position VARCHAR, school_club_team VARCHAR) Question: What position did the player from maynard evans hs play [/INST] SELECT position FROM table_11545282_4 WHERE school_club_team = ""Maynard Evans HS"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (replaced_by VARCHAR, date_of_vacancy VARCHAR) Question: who is the replacement when the date of vacancy is 1 september 2008? [/INST] SELECT replaced_by FROM table_name_51 WHERE date_of_vacancy = ""1 september 2008"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Customers_cards (card_type_code VARCHAR) Question: Show card type codes with at least 5 cards. [/INST] SELECT card_type_code FROM Customers_cards GROUP BY card_type_code HAVING COUNT(*) >= 5
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (expected_speed_up† VARCHAR, application VARCHAR) Question: What is the expected speed up of the gpu-hmmer application? [/INST] SELECT expected_speed_up† FROM table_name_47 WHERE application = ""gpu-hmmer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (round INTEGER, nationality VARCHAR) Question: What is the highest round for the pick from Finland? [/INST] SELECT MAX(round) FROM table_name_55 WHERE nationality = ""finland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (status VARCHAR, area_km_2 INTEGER) Question: What is Status, when Area km 2 is greater than 303.73? [/INST] SELECT status FROM table_name_93 WHERE area_km_2 > 303.73 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (license VARCHAR, platform VARCHAR, name VARCHAR) Question: What is the License when the Platform is windows and the Name is Altirra? [/INST] SELECT license FROM table_name_98 WHERE platform = ""windows"" AND name = ""altirra"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (format VARCHAR, region_4 VARCHAR, _number_episodes VARCHAR, _number_disc_s_ VARCHAR) Question: What was the format for the 4 disc season that had less than 22 episodes and n/a for region 4? [/INST] SELECT format FROM table_name_86 WHERE _number_episodes < 22 AND _number_disc_s_ = 4 AND region_4 = ""n/a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (language VARCHAR, launch VARCHAR, hanzi VARCHAR) Question: Which language's launch was in 2006 when then hanzi was 青海电视台藏语综合频道? [/INST] SELECT language FROM table_name_7 WHERE launch = 2006 AND hanzi = ""青海电视台藏语综合频道"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1740431_3 (tamil_months VARCHAR, season_in_english VARCHAR) Question: What are all Tamil months when the season in English is monsoon? [/INST] SELECT tamil_months FROM table_1740431_3 WHERE season_in_english = ""Monsoon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR) Question: What season did School/Club Team, East have an Acquisition via of trade? [/INST] SELECT season FROM table_name_19 WHERE acquisition_via = ""trade"" AND school_club_team = ""east"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2077192_2 (french VARCHAR, english VARCHAR) Question: What is the French translation for the English word ""orange""? [/INST] SELECT french FROM table_2077192_2 WHERE english = ""orange"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR) Question: Who had the fastest lap when David Coulthard had pole position and Michael Schumacher as a winning driver. [/INST] SELECT fastest_lap FROM table_name_32 WHERE pole_position = ""david coulthard"" AND winning_driver = ""michael schumacher"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) Question: Which Away team has a Home team of walsall? [/INST] SELECT away_team FROM table_name_3 WHERE home_team = ""walsall"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR) Question: Name the distance for stage of 2 [/INST] SELECT distance FROM table_name_5 WHERE stage = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22879262_7 (date VARCHAR, game VARCHAR) Question: what ist he date of game 29? [/INST] SELECT date FROM table_22879262_7 WHERE game = 29 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (gold INTEGER, total VARCHAR) Question: what is the most gold when the total is 7? [/INST] SELECT MAX(gold) FROM table_name_33 WHERE total = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17765264_1 (date VARCHAR, game_site VARCHAR) Question: When did they play at the Cotton Bowl? [/INST] SELECT date FROM table_17765264_1 WHERE game_site = ""Cotton Bowl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (home_team VARCHAR) Question: What is the score for Fitzroy when they are the home team? [/INST] SELECT home_team AS score FROM table_name_53 WHERE home_team = ""fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2144389_8 (vocalist VARCHAR, japanese_translation VARCHAR) Question: Name the number of vocalists for which one ~ is it? [/INST] SELECT COUNT(vocalist) FROM table_2144389_8 WHERE japanese_translation = ""Which One ~ Is It?"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_13 (county VARCHAR, ansi_code VARCHAR) Question: What county is associated with ansi code 1759686? [/INST] SELECT county FROM table_18600760_13 WHERE ansi_code = 1759686 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (rank INTEGER, years VARCHAR) Question: What is the highest Rank 1960—? [/INST] SELECT MAX(rank) FROM table_name_81 WHERE years = ""1960—"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR) Question: What is the best time for a team with a first-qualifying time of 59.448? [/INST] SELECT best FROM table_name_6 WHERE qual_1 = ""59.448"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR) Question: What is the total number in January when the St. Louis Blues had a game smaller than 42? [/INST] SELECT COUNT(january) FROM table_name_83 WHERE opponent = ""st. louis blues"" AND game < 42 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR) Question: Where is the company with estimated revenue of 33.3 billion headquartered? [/INST] SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = ""33.3"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE teaches (id VARCHAR); CREATE TABLE instructor (id VARCHAR) Question: Find the id of instructors who didn't teach any courses? [/INST] SELECT id FROM instructor EXCEPT SELECT id FROM teaches
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR) Question: Which Grid has a Rider of randy de puniet, and Laps smaller than 24? [/INST] SELECT MAX(grid) FROM table_name_11 WHERE rider = ""randy de puniet"" AND laps < 24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (role VARCHAR, film VARCHAR) Question: What was the Last Samurai role? [/INST] SELECT role FROM table_name_70 WHERE film = ""the last samurai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (cores VARCHAR, release_price___usd__ VARCHAR) Question: How many cores does the processor with a release price of $426 have? [/INST] SELECT cores FROM table_name_28 WHERE release_price___usd__ = ""$426"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR) Question: Where is the Church that has a Sub-Parish (Sokn) of rugsund? [/INST] SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = ""rugsund"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (weekly_winner VARCHAR, air_date VARCHAR) Question: What is Weekly Winner, when Air Date is ""July 4, 2008""? [/INST] SELECT weekly_winner FROM table_name_85 WHERE air_date = ""july 4, 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (away_team VARCHAR, venue VARCHAR) Question: What did the away team score at Moorabbin oval? [/INST] SELECT away_team AS score FROM table_name_38 WHERE venue = ""moorabbin oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR) Question: On what date was Kuwait City a venue? [/INST] SELECT date FROM table_name_29 WHERE venue = ""kuwait city"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR) Question: What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991? [/INST] SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = ""10.1%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR) Question: From what series is Peck Up Your Troubles? [/INST] SELECT series FROM table_name_66 WHERE title = ""peck up your troubles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (high_points VARCHAR, high_rebounds VARCHAR) Question: What is High Points, when High Rebounds is ""Dwight Howard (16)""? [/INST] SELECT high_points FROM table_name_8 WHERE high_rebounds = ""dwight howard (16)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (first_elected INTEGER, district VARCHAR) Question: Which First elected has a District of illinois 3? [/INST] SELECT MAX(first_elected) FROM table_name_52 WHERE district = ""illinois 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (height__cm_ INTEGER, weight__kg_ VARCHAR) Question: What is the sum of Height (cm), when the Weight (kg) is 90? [/INST] SELECT SUM(height__cm_) FROM table_name_13 WHERE weight__kg_ = 90 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (date VARCHAR, comment VARCHAR, duration VARCHAR) Question: What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s? [/INST] SELECT date FROM table_name_52 WHERE comment = ""tailcone on, lakebed landing"" AND duration = ""5min 34 s"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR) Question: what is the title of episode 28 [/INST] SELECT title FROM table_16390576_3 WHERE no_in_series = 28 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR) Question: When 0-1 is the aggregate what are the home (1st leg)? [/INST] SELECT home__1st_leg_ FROM table_14219514_2 WHERE aggregate = ""0-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (label VARCHAR, catalog VARCHAR, date VARCHAR) Question: What is the Label of the September 20, 2008 release with Catalog number RTRADCD491? [/INST] SELECT label FROM table_name_22 WHERE catalog = ""rtradcd491"" AND date = ""september 20, 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1964010_2 (opponents VARCHAR, score VARCHAR) Question: Who are the opponents of Mike Byron and partner in matches where the score was 6–4, 4–6, 7–6 (7–4)? [/INST] SELECT opponents FROM table_1964010_2 WHERE score = ""6–4, 4–6, 7–6 (7–4)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25008327_8 (slovak VARCHAR, ukrainian VARCHAR) Question: What area all values for Slovak when value for Ukranian is пес, собака? [/INST] SELECT slovak FROM table_25008327_8 WHERE ukrainian = ""пес, собака"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR) Question: Which years did Michigan state university come in third place? [/INST] SELECT year FROM table_2331549_1 WHERE third_place = ""Michigan State University"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR) Question: List the number of bbc rankings with cable rankings of 6. [/INST] SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_rank = ""6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (venue VARCHAR, score VARCHAR, city VARCHAR) Question: Where in Buxton has 3 runs? [/INST] SELECT venue FROM table_name_50 WHERE score = ""3 runs"" AND city = ""buxton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21979779_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: who are the writers of the episode that had 3.07 millions of North American spectators? [/INST] SELECT written_by FROM table_21979779_1 WHERE us_viewers__million_ = ""3.07"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (total INTEGER, rank VARCHAR, county VARCHAR, tally VARCHAR) Question: Which Total has a County of kilkenny, and a Tally of 1–4, and a Rank larger than 10? [/INST] SELECT AVG(total) FROM table_name_13 WHERE county = ""kilkenny"" AND tally = ""1–4"" AND rank > 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (name VARCHAR, number VARCHAR, type VARCHAR) Question: What is the name of the bo-bodh train with a number less than 5? [/INST] SELECT name FROM table_name_31 WHERE number < 5 AND type = ""bo-bodh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (byes INTEGER, against VARCHAR, draws VARCHAR) Question: What is the average number of Byes when there were less than 0 losses and were against 1247? [/INST] SELECT AVG(byes) FROM table_name_75 WHERE against = 1247 AND draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE students (student_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR, person_id VARCHAR) Question: Find distinct cities of address of students? [/INST] SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (population__2010_11_01_ VARCHAR, hanzi VARCHAR) Question: What is the population for the area that has a Hanzi of 延寿县? [/INST] SELECT population__2010_11_01_ FROM table_name_30 WHERE hanzi = ""延寿县"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR) Question: what is the average enrollment when the team nickname is wolverines and founded is after 1817? [/INST] SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = ""wolverines"" AND founded > 1817 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1924975_1 (no INTEGER) Question: What is the highest no.? [/INST] SELECT MAX(no) FROM table_1924975_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE AssignedTo (ssn VARCHAR, scientist VARCHAR); CREATE TABLE scientists (ssn VARCHAR, scientist VARCHAR) Question: Find the number of scientists who are not assigned to any project. [/INST] SELECT COUNT(*) FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_225102_4 (vacator VARCHAR, reason_for_change VARCHAR) Question: Name the vacator for died august 13, 1826 [/INST] SELECT vacator FROM table_225102_4 WHERE reason_for_change = ""Died August 13, 1826"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the country of player dale douglass, who has a t8 place? [/INST] SELECT country FROM table_name_75 WHERE place = ""t8"" AND player = ""dale douglass"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (award VARCHAR, writer_s_ VARCHAR) Question: What's the name of the award that Edward Jeffreys was the writer? [/INST] SELECT award FROM table_name_64 WHERE writer_s_ = ""edward jeffreys"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (document_status_code VARCHAR) Question: How many documents have the status code done? [/INST] SELECT COUNT(*) FROM Documents WHERE document_status_code = ""done"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR) Question: In what year did the team from the Western school join the conference? [/INST] SELECT year_joined FROM table_name_10 WHERE school = ""western"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, round VARCHAR) Question: Who has a round less than 9 and a position of G? [/INST] SELECT player FROM table_name_65 WHERE position = ""g"" AND round < 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28181401_4 (attendance INTEGER, round VARCHAR) Question: When semi final (2nd leg) is the round what is the highest attendance? [/INST] SELECT MAX(attendance) FROM table_28181401_4 WHERE round = ""Semi Final (2nd leg)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR) Question: If the locale is Ontario, what is the W minimum? [/INST] SELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (programming VARCHAR, channel VARCHAR) Question: Which Programming has a Channel of 35.4? [/INST] SELECT programming FROM table_name_14 WHERE channel = 35.4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (game INTEGER, date VARCHAR) Question: What is the lowest Game, when Date is ""November 1""? [/INST] SELECT MIN(game) FROM table_name_45 WHERE date = ""november 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (date VARCHAR, attendance VARCHAR) Question: Which Date has an Attendance of 54,626? [/INST] SELECT date FROM table_name_71 WHERE attendance = ""54,626"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (acquisition_via VARCHAR, school_club_team VARCHAR) Question: Which is the acquisition via that has a school or club team of state? [/INST] SELECT acquisition_via FROM table_name_82 WHERE school_club_team = ""state"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (attendance INTEGER, record VARCHAR) Question: What was the attendance where the record was 8-4? [/INST] SELECT MIN(attendance) FROM table_name_3 WHERE record = ""8-4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (res VARCHAR, record VARCHAR) Question: Was the record of 8-1 (1) a win or a loss? [/INST] SELECT res FROM table_name_10 WHERE record = ""8-1 (1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR) Question: What are the points against for 2000, when games won is 4 (1)? [/INST] SELECT points_against___tests__ FROM table_name_16 WHERE year_s_ = 2000 AND games_won___tests__ = ""4 (1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE races (name VARCHAR, YEAR VARCHAR) Question: Find the names of all races held in 2017. [/INST] SELECT name FROM races WHERE YEAR = 2017 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) Question: Name the team for co-drivers of david brabham mario andretti [/INST] SELECT team FROM table_name_15 WHERE co_drivers = ""david brabham mario andretti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (season VARCHAR, premier VARCHAR, score VARCHAR) Question: How many seasons feature essendon, and a Score of 15.12 (102) – 9.14 (68)? [/INST] SELECT COUNT(season) FROM table_name_30 WHERE premier = ""essendon"" AND score = ""15.12 (102) – 9.14 (68)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28178756_1 (race_time VARCHAR, date VARCHAR) Question: List the race time for may 11. [/INST] SELECT race_time FROM table_28178756_1 WHERE date = ""May 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (surface VARCHAR, score_in_the_final VARCHAR) Question: Which surface has a score in the final of 4–6, 3–6? [/INST] SELECT surface FROM table_name_77 WHERE score_in_the_final = ""4–6, 3–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR) Question: What was the format for the radio with a frequency of 00 96.3 fm? [/INST] SELECT format FROM table_name_8 WHERE frequency = ""00 96.3 fm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (player VARCHAR, country VARCHAR) Question: Which play is from Ireland? [/INST] SELECT player FROM table_name_62 WHERE country = ""ireland"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE medicine (FDA_approved VARCHAR) Question: How many medicines have the FDA approval status 'No' ? [/INST] SELECT COUNT(*) FROM medicine WHERE FDA_approved = 'No'
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (nomination VARCHAR, year INTEGER) Question: What was the nomination in a year earlier than 2009? [/INST] SELECT nomination FROM table_name_43 WHERE year < 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (goals_for INTEGER, played VARCHAR, lost VARCHAR, drawn VARCHAR, goals_against VARCHAR) Question: What are the average goals for with a drawn higher than 7 and goals against less than 86, as well as more than 11 losses and more than 42 games played? [/INST] SELECT AVG(goals_for) FROM table_name_19 WHERE drawn > 7 AND goals_against < 86 AND lost > 11 AND played > 42 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR) Question: What date did Namigata play against Wen-Hsin Hsu in the finals? [/INST] SELECT date FROM table_name_84 WHERE opponent_in_the_final = ""wen-hsin hsu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR) Question: When was the game happening at Halton Stadium? [/INST] SELECT date FROM table_13328239_4 WHERE venue = ""Halton Stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE weather (date VARCHAR, mean_temperature_f VARCHAR, mean_humidity VARCHAR, max_gust_speed_mph VARCHAR) Question: What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds? [/INST] SELECT TOP 3 date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (surface VARCHAR, result VARCHAR) Question: What was the surface when the result was 6–7 (6–7) , 7–6 (9–7) , 6–7 (4–7) , 7–5, 3–6? [/INST] SELECT surface FROM table_name_82 WHERE result = ""6–7 (6–7) , 7–6 (9–7) , 6–7 (4–7) , 7–5, 3–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (rank VARCHAR, stadium VARCHAR) Question: What is the Gaelic Football Stadium at McHale Park's ranking in total capacity? [/INST] SELECT COUNT(rank) FROM table_name_30 WHERE stadium = ""mchale park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, manufacturer VARCHAR) Question: What is the average number of laps with an accident time/retired, aprilia manufacturer and a grid of 27? [/INST] SELECT AVG(laps) FROM table_name_84 WHERE time_retired = ""accident"" AND manufacturer = ""aprilia"" AND grid = 27 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR) Question: What player attended avon old farms (ushs-ct)? [/INST] SELECT player FROM table_2897457_5 WHERE college_junior_club_team = ""Avon Old Farms (USHS-CT)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20007413_3 (applications INTEGER, year VARCHAR) Question: Name the most applications for 1986 [/INST] SELECT MAX(applications) FROM table_20007413_3 WHERE year = ""1986"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21063459_1 (opponent VARCHAR, result VARCHAR) Question: Who did the team play against in the game that resulted with a loss? [/INST] SELECT opponent FROM table_21063459_1 WHERE result = ""Loss"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the original title of the film for which Dersu Uzala was nominated? [/INST] SELECT original_title FROM table_name_10 WHERE film_title_used_in_nomination = ""dersu uzala"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR) Question: When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? [/INST] SELECT gt4_winner FROM table_30062172_3 WHERE circuit = ""Donington Park"" AND gt3_winner = ""Charles Bateman Michael Lyons"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (races VARCHAR, wins INTEGER) Question: What is the total number of Races when there were more than 8 wins? [/INST] SELECT COUNT(races) FROM table_name_15 WHERE wins > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (policy_id VARCHAR, amount_claimed INTEGER) Question: What is the name of the customer who has made the largest amount of claim in a single claim? [/INST] SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_claimed = (SELECT MAX(amount_claimed) FROM claim_headers) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (record VARCHAR, date VARCHAR) Question: What was the record on july 24? [/INST] SELECT record FROM table_name_95 WHERE date = ""july 24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR) Question: What is the CFL Team with Will Grant? [/INST] SELECT cfl_team FROM table_name_32 WHERE player = ""will grant"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR) Question: What year did the season finale have a total of 10.29 million viewers? [/INST] SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = ""10.29"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR) Question: How many season 3 appearances by the character played by Stefan Van Ray? [/INST] SELECT MIN(season_3) FROM table_26240046_1 WHERE played_by = ""Stefan van Ray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (moving_from VARCHAR, ends VARCHAR, type VARCHAR, transfer_window VARCHAR) Question: Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from? [/INST] SELECT moving_from FROM table_name_38 WHERE type = ""transfer"" AND transfer_window = ""summer"" AND ends < 2013 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE HOTELS (price_range VARCHAR) Question: What are the price ranges of hotels? [/INST] SELECT price_range FROM HOTELS
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (category VARCHAR, nominating_festival VARCHAR) Question: Name the category for prix uip berlin [/INST] SELECT category FROM table_name_66 WHERE nominating_festival = ""prix uip berlin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (last_5 VARCHAR, rank VARCHAR) Question: Which Last 5 has a Rank of 7? [/INST] SELECT last_5 FROM table_name_31 WHERE rank = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the name of Team 2 with a Team 1 of Al Qadsia? [/INST] SELECT team_2 FROM table_name_4 WHERE team_1 = ""al qadsia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (artist VARCHAR, weeks_on_top VARCHAR) Question: Who was the artist of the single that spent 9 ¶ weeks on top? [/INST] SELECT artist FROM table_name_28 WHERE weeks_on_top = ""9 ¶"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (date VARCHAR, stage VARCHAR) Question: When did stage 5 occur? [/INST] SELECT date FROM table_name_53 WHERE stage = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR) Question: What is the highest episode of Wood Flutes segment c? [/INST] SELECT MAX(episode) FROM table_name_65 WHERE segment_c = ""wood flutes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (country VARCHAR, score VARCHAR) Question: What is Country, when Score is ""72-65=137""? [/INST] SELECT country FROM table_name_40 WHERE score = 72 - 65 = 137 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (points INTEGER, year VARCHAR) Question: What are the highest points with 2012 as the year? [/INST] SELECT MAX(points) FROM table_name_70 WHERE year = ""2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR) Question: How much does Point Barrow weight? [/INST] SELECT weight__st, _lb_ FROM table_20095300_1 WHERE name = ""Point Barrow"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29483890_1 (position VARCHAR, goals VARCHAR) Question: What was the position of the player with 57 goals? [/INST] SELECT position FROM table_29483890_1 WHERE goals = 57 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26129220_2 (term_limited INTEGER, residence VARCHAR) Question: What is the earliest term limit for the senator who resides in Coshocton? [/INST] SELECT MIN(term_limited) FROM table_26129220_2 WHERE residence = ""Coshocton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (result VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR) Question: What is the result of the europe/africa group i, round robin game in Murcia (esp) before 1999? [/INST] SELECT result FROM table_name_9 WHERE location = ""murcia (esp)"" AND year < 1999 AND competition = ""europe/africa group i, round robin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (competition VARCHAR, result VARCHAR) Question: What Competition had a Result of lost 1-2? [/INST] SELECT competition FROM table_name_34 WHERE result = ""lost 1-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR) Question: When was the game that was held at the Princes Park? [/INST] SELECT date FROM table_name_85 WHERE venue = ""princes park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_18 (result VARCHAR, public VARCHAR) Question: When 8 is the public what are the results? [/INST] SELECT result FROM table_19744915_18 WHERE public = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR) Question: What are the titles of segment b when segment c is standby generators (part 1)? [/INST] SELECT segment_b FROM table_15187735_21 WHERE segment_c = ""Standby Generators (Part 1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12438767_1 (network VARCHAR, dates_aired VARCHAR) Question: How many networks aired the franchise in 1981 only? [/INST] SELECT COUNT(network) FROM table_12438767_1 WHERE dates_aired = ""1981"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (city VARCHAR, results¹ VARCHAR) Question: What City had Results¹ of 1:2? [/INST] SELECT city FROM table_name_39 WHERE results¹ = ""1:2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (player VARCHAR, college VARCHAR) Question: Which player went to Vanderbilt? [/INST] SELECT player FROM table_name_20 WHERE college = ""vanderbilt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (opponents_in_the_final VARCHAR, date VARCHAR) Question: Who's the Opponents in the final with a Date of june 10, 1996? [/INST] SELECT opponents_in_the_final FROM table_name_40 WHERE date = ""june 10, 1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR) Question: Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira? [/INST] SELECT competition FROM table_name_85 WHERE result = ""2-0"" AND location = ""ferreiras"" AND assist_pass = ""casey nogueira"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25518547_2 (mls_team VARCHAR, player VARCHAR) Question: What team does Seth Sinovic play for? [/INST] SELECT mls_team FROM table_25518547_2 WHERE player = ""Seth Sinovic"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2679061_11 (pick__number VARCHAR, nhl_team VARCHAR) Question: How many picks did the Chicago Black Hawks get? [/INST] SELECT COUNT(pick__number) FROM table_2679061_11 WHERE nhl_team = ""Chicago Black Hawks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR) Question: Name the least points for patrick [/INST] SELECT MIN(points) FROM table_14342592_4 WHERE player = ""Patrick"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, satellite VARCHAR) Question: What is the date of the gps iif-7 satellite? [/INST] SELECT date FROM table_name_48 WHERE satellite = ""gps iif-7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (top_5 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) Question: What is the total number of Top-5 when the Top-25 is 6, and a Cuts made are less than 12? [/INST] SELECT COUNT(top_5) FROM table_name_40 WHERE top_25 = 6 AND cuts_made < 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR) Question: How many episodes aired on October 17, 2007? [/INST] SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = ""October 17, 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (years VARCHAR, model VARCHAR) Question: What year was the SL 350 Model? [/INST] SELECT years FROM table_name_74 WHERE model = ""sl 350"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR) Question: What is every registration for the type of T 6 G? [/INST] SELECT registration FROM table_22180353_1 WHERE type = ""T 6 G"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (game INTEGER, record VARCHAR) Question: Which game had a record of 45-16? [/INST] SELECT AVG(game) FROM table_name_12 WHERE record = ""45-16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (month VARCHAR, sort_restore VARCHAR, deaths VARCHAR) Question: Which month had a sort value under 39 and 2 deaths? [/INST] SELECT month FROM table_name_73 WHERE sort_restore < 39 AND deaths = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19508635_1 (week__number VARCHAR, theme VARCHAR) Question: Name the week number for the beatles [/INST] SELECT week__number FROM table_19508635_1 WHERE theme = ""The Beatles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (ethernet_ports VARCHAR, name VARCHAR) Question: What is the ethernet ports of the u10 appliance? [/INST] SELECT ethernet_ports FROM table_name_51 WHERE name = ""u10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (tournament VARCHAR) Question: Which 2009 tournament was french open? [/INST] SELECT 2009 FROM table_name_51 WHERE tournament = ""french open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR) Question: What is the pick for the Maryland-Eastern Shore team with a round lower than 2? [/INST] SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = ""maryland-eastern shore"" AND round < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (name VARCHAR, nation VARCHAR, points VARCHAR) Question: what is the name when the nation is soviet union and the points is 185? [/INST] SELECT name FROM table_name_4 WHERE nation = ""soviet union"" AND points = 185 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27501030_7 (decision VARCHAR, opponent VARCHAR) Question: What is the decision when the opponents are atlanta thrashers? [/INST] SELECT decision FROM table_27501030_7 WHERE opponent = ""Atlanta Thrashers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24384861_1 (iphone_certified VARCHAR, version VARCHAR) Question: Was the sounddock series I v2 iphone certified? [/INST] SELECT iphone_certified FROM table_24384861_1 WHERE version = ""SoundDock series I v2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15319684_1 (lost VARCHAR, against VARCHAR) Question: Name the number of lost for against being 46 [/INST] SELECT COUNT(lost) FROM table_15319684_1 WHERE against = 46 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (name VARCHAR, avg_g VARCHAR, gp_gs VARCHAR) Question: Avg/G smaller than 225.5, and a GP-GS of 8–0 has what name? [/INST] SELECT name FROM table_name_2 WHERE avg_g < 225.5 AND gp_gs = ""8–0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (national_cup VARCHAR, club VARCHAR) Question: What national cup has fc barcelona? [/INST] SELECT national_cup FROM table_name_91 WHERE club = ""fc barcelona"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR) Question: Name the total number of results for octubre [/INST] SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = ""Octubre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (absorb__nm_ VARCHAR, color VARCHAR, emit__nm_ VARCHAR) Question: What is the Absorbtion (in nanometers) of the color Violet with an emission of 432 nm? [/INST] SELECT absorb__nm_ FROM table_name_59 WHERE color = ""violet"" AND emit__nm_ = ""432"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26611679_3 (category VARCHAR, totals VARCHAR) Question: Name the category for 50 totals [/INST] SELECT category FROM table_26611679_3 WHERE totals = ""50"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE student (stu_num VARCHAR); CREATE TABLE enroll (stu_num VARCHAR) Question: What is the first name of students who got grade C in any class? [/INST] SELECT DISTINCT stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE enroll_grade = 'C'
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (manufacturer VARCHAR, time VARCHAR) Question: Which manufacturer has a time of +10.142? [/INST] SELECT manufacturer FROM table_name_11 WHERE time = ""+10.142"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR) Question: What week had 58,025 in attendance? [/INST] SELECT SUM(week) FROM table_name_87 WHERE attendance = ""58,025"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (player VARCHAR, to_par VARCHAR, country VARCHAR) Question: Who has a To par of –2, and a Country of united states? [/INST] SELECT player FROM table_name_98 WHERE to_par = ""–2"" AND country = ""united states"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR) Question: If the till aligarh is 150, what the mac till mathura? [/INST] SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = 150 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (team_record VARCHAR, attendance VARCHAR) Question: What is Team Record, when Attendance is 16,151? [/INST] SELECT team_record FROM table_name_34 WHERE attendance = ""16,151"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR) Question: Which Saturday has a Sunday of yes and a Evening of yes? [/INST] SELECT saturday FROM table_name_80 WHERE sunday = ""yes"" AND evening = ""yes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR) Question: How many rewards are there for air date October 6, 2005? [/INST] SELECT reward FROM table_1893276_2 WHERE air_date = ""October 6, 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (Box VARCHAR, away_team VARCHAR, date VARCHAR) Question: Name the Box Score which has an Away team of new zealand breakers on 7 february? [/INST] SELECT Box AS score FROM table_name_68 WHERE away_team = ""new zealand breakers"" AND date = ""7 february"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19495707_1 (license VARCHAR, latest_release_date_and_version VARCHAR) Question: Name the license for 2009-05-25 v 7.61 [/INST] SELECT license FROM table_19495707_1 WHERE latest_release_date_and_version = ""2009-05-25 v 7.61"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (january INTEGER, score VARCHAR, game VARCHAR) Question: Which January has a Score of 7–4, and a Game smaller than 42? [/INST] SELECT SUM(january) FROM table_name_69 WHERE score = ""7–4"" AND game < 42 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (unit VARCHAR, name VARCHAR) Question: What is the Unit with a Name that is anas cheuen? [/INST] SELECT unit FROM table_name_58 WHERE name = ""anas cheuen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27734577_7 (team VARCHAR, location_attendance VARCHAR) Question: What is every team with location attendance of Philips Arena 12,140? [/INST] SELECT team FROM table_27734577_7 WHERE location_attendance = ""Philips Arena 12,140"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) Question: What is the total population for Saint-Antoine with an area squared of 6.43? [/INST] SELECT SUM(population) FROM table_name_60 WHERE official_name = ""saint-antoine"" AND area_km_2 > 6.43 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (race_1 VARCHAR, team VARCHAR, race_3 VARCHAR) Question: What is Race 1, when Team is ""Dick Johnson Racing"", and when Race 3 is ""DNF""? [/INST] SELECT race_1 FROM table_name_71 WHERE team = ""dick johnson racing"" AND race_3 = ""dnf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR) Question: What nationality for neil korzack? [/INST] SELECT nationality FROM table_1965650_6 WHERE player = ""Neil Korzack"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR) Question: How much Col (m) has a Prominence (m) of 2,344? [/INST] SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR) Question: What is the party of the representative first elected in 1894 from the Ohio 16 district? [/INST] SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = ""ohio 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (wins INTEGER, pos VARCHAR, poles VARCHAR) Question: Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2? [/INST] SELECT MAX(wins) FROM table_name_3 WHERE pos = ""2nd"" AND poles > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (date INTEGER, odds VARCHAR) Question: What was the date of a game that had the odds of q rook? [/INST] SELECT AVG(date) FROM table_name_33 WHERE odds = ""q rook"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19508635_1 (result VARCHAR, theme VARCHAR) Question: Name the result for 1980s [/INST] SELECT result FROM table_19508635_1 WHERE theme = ""1980s"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11254821_2 (finishing_position VARCHAR, points_awarded__platinum_ VARCHAR) Question: What was the range of finishing position for 15 awarded platinum points? [/INST] SELECT finishing_position FROM table_11254821_2 WHERE points_awarded__platinum_ = 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE farm_competition (Theme VARCHAR, YEAR VARCHAR) Question: What are the themes of farm competitions sorted by year in ascending order? [/INST] SELECT Theme FROM farm_competition ORDER BY YEAR "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1603807_2 (length VARCHAR, line VARCHAR) Question: How many lengths of line 3 are given? [/INST] SELECT COUNT(length) FROM table_1603807_2 WHERE line = ""line 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (name VARCHAR, proposed VARCHAR) Question: What is the name of the superfund that was proposed on 06/24/1988? [/INST] SELECT name FROM table_name_99 WHERE proposed = ""06/24/1988"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (team VARCHAR, game VARCHAR) Question: Which team was played against in game 4? [/INST] SELECT team FROM table_name_40 WHERE game = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (city_country VARCHAR, venue VARCHAR) Question: Name the place where adelaide oval is [/INST] SELECT city_country FROM table_name_51 WHERE venue = ""adelaide oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (singular_word VARCHAR, plural_word VARCHAR) Question: The plural word of hands uses what singular word? [/INST] SELECT singular_word FROM table_name_24 WHERE plural_word = ""hands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR) Question: What school with a decile of 7 is in upper hutt? [/INST] SELECT name FROM table_name_39 WHERE decile = ""7"" AND area = ""upper hutt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR) Question: The tournament with a partner listed as Aurelija Misevičiūtė had what kind of surface? [/INST] SELECT surface FROM table_name_88 WHERE partner = ""aurelija misevičiūtė"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (time VARCHAR, laps VARCHAR) Question: What is the total time that it took for the driver to finish 14 laps? [/INST] SELECT time FROM table_name_52 WHERE laps = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12807904_3 (tries_for VARCHAR, drawn VARCHAR) Question: HOW MANY GAMES WERE TIED AT 3? [/INST] SELECT tries_for FROM table_12807904_3 WHERE drawn = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (position_in_table VARCHAR, outgoing_manager VARCHAR) Question: What is the position that has the outgoing manager lászló Dajka? [/INST] SELECT position_in_table FROM table_name_60 WHERE outgoing_manager = ""lászló dajka"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15872814_5 (location_attendance VARCHAR, team VARCHAR) Question: What is the location and total attendance for games played against New Orleans? [/INST] SELECT location_attendance FROM table_15872814_5 WHERE team = ""New Orleans"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (laps INTEGER, driver VARCHAR) Question: What is the average number of laps for the driver Piero Taruffi? [/INST] SELECT AVG(laps) FROM table_name_50 WHERE driver = ""piero taruffi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (director VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the Director of Children of Sarajevo? [/INST] SELECT director FROM table_name_39 WHERE film_title_used_in_nomination = ""children of sarajevo"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE institution (TYPE VARCHAR) Question: Show all the distinct institution types. [/INST] SELECT DISTINCT TYPE FROM institution
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR) Question: Name the average place for ties less than 1 and losess more than 3 with points of 6 qc [/INST] SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = ""6 qc"" AND losses > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent when the record was 31-24? [/INST] SELECT opponent FROM table_name_40 WHERE record = ""31-24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (silver VARCHAR, gold INTEGER) Question: What is the number in total of silver with a gold smaller than 0? [/INST] SELECT COUNT(silver) FROM table_name_91 WHERE gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (name VARCHAR, relationship_with_predecessor_s_ VARCHAR) Question: Who was the brother of Edward VIII? [/INST] SELECT name FROM table_name_41 WHERE relationship_with_predecessor_s_ = ""brother of edward viii"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (rank VARCHAR, time VARCHAR) Question: What was the rank of the team who raced at a time of 7:16.13? [/INST] SELECT rank FROM table_name_76 WHERE time = ""7:16.13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR) Question: What date was the score 3–3, and away team was Barnet? [/INST] SELECT date FROM table_name_96 WHERE score = ""3–3"" AND away_team = ""barnet"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26436_2 (role VARCHAR) Question: Who was in the 2005 film with the role mark cohen? [/INST] SELECT 2005 AS _film FROM table_26436_2 WHERE role = ""Mark Cohen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR) Question: On what date was the score 2–4? [/INST] SELECT date FROM table_name_89 WHERE score = ""2–4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (film VARCHAR, winner_nominee_s_ VARCHAR, result VARCHAR) Question: Which film was Eddie Murphy nominated for? [/INST] SELECT film FROM table_name_19 WHERE winner_nominee_s_ = ""eddie murphy"" AND result = ""nominated"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17157367_1 (model VARCHAR, name VARCHAR) Question: what is the total number of model wehre the status is named geneva? [/INST] SELECT COUNT(model) FROM table_17157367_1 WHERE ""status"" = ""status"" AND name = ""GenEva"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR) Question: What is the hometown of Mike White? [/INST] SELECT hometown_school FROM table_name_40 WHERE position = ""of"" AND player = ""mike white"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR) Question: How many weeks on top was OMC? [/INST] SELECT weeks_on_top FROM table_name_48 WHERE artist = ""omc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (capacity VARCHAR, code VARCHAR) Question: what is the capacity when the code is d4f bi-fuel 732? [/INST] SELECT capacity FROM table_name_36 WHERE code = ""d4f bi-fuel 732"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (result VARCHAR, year VARCHAR, date VARCHAR) Question: What is Result, when Year is 1948, and when Date is November 7? [/INST] SELECT result FROM table_name_31 WHERE year = 1948 AND date = ""november 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR) Question: Who is the away team that played home team Perth Wildcats? [/INST] SELECT away_team FROM table_name_82 WHERE home_team = ""perth wildcats"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (tie_no VARCHAR, score VARCHAR, date VARCHAR) Question: Which Tie no has a Score of 0–1, and a Date of 9 march 1953? [/INST] SELECT tie_no FROM table_name_95 WHERE score = ""0–1"" AND date = ""9 march 1953"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (ttkl INTEGER, year VARCHAR, pass_def VARCHAR) Question: How many TTkl have 2004 as the year, and a pass def greater than 5? [/INST] SELECT SUM(ttkl) FROM table_name_46 WHERE year = ""2004"" AND pass_def > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (capacity VARCHAR, club VARCHAR) Question: What is the total capacity for the Leicester Tigers? [/INST] SELECT COUNT(capacity) FROM table_name_61 WHERE club = ""leicester tigers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (restaurant_name VARCHAR, original_name VARCHAR) Question: What is the name of the restaurant originally named Essence? [/INST] SELECT restaurant_name FROM table_name_93 WHERE original_name = ""essence"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (produced VARCHAR, aircraft VARCHAR) Question: Where was the Kai Kuh-1 Surion Produced? [/INST] SELECT produced FROM table_name_28 WHERE aircraft = ""kai kuh-1 surion"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (rank INTEGER, name VARCHAR, time VARCHAR) Question: Name the lowest Rank of carmelita jeter with a Time smaller than 11.08? [/INST] SELECT MIN(rank) FROM table_name_97 WHERE name = ""carmelita jeter"" AND time < 11.08 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (venue VARCHAR, score VARCHAR) Question: what venue saw a score of 285? [/INST] SELECT venue FROM table_name_17 WHERE score = ""285"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (original_teams VARCHAR, the_biggest_loser VARCHAR) Question: What were the original teams for the season that was won by Danni Allen? [/INST] SELECT original_teams FROM table_name_29 WHERE the_biggest_loser = ""danni allen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (byes INTEGER, benalla_dfl VARCHAR, wins VARCHAR) Question: What are the average byes of Bonnie Doon having more than 16 wins? [/INST] SELECT AVG(byes) FROM table_name_54 WHERE benalla_dfl = ""bonnie doon"" AND wins > 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR) Question: What is the gender of Congresswoman Jaime Herrera Beutler's baby? [/INST] SELECT baby_gender FROM table_name_66 WHERE congresswoman = ""jaime herrera beutler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18442691_2 (album VARCHAR, artist VARCHAR) Question: When abba is the artist what is the album? [/INST] SELECT album FROM table_18442691_2 WHERE artist = ""ABBA"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR) Question: What is the score of the visiting Hartford Whalers game from April 11? [/INST] SELECT score FROM table_name_8 WHERE visitor = ""hartford whalers"" AND date = ""april 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25461827_2 (contestant VARCHAR, age VARCHAR) Question: What is the number of contestants who are aged exactly 18? [/INST] SELECT COUNT(contestant) FROM table_25461827_2 WHERE age = 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the total where the nation is South Africa (rsa) and bronze is less than 1? [/INST] SELECT SUM(total) FROM table_name_45 WHERE nation = ""south africa (rsa)"" AND bronze < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14958620_1 (week INTEGER, attendance VARCHAR) Question: On which week was the attendance 74303? [/INST] SELECT MAX(week) FROM table_14958620_1 WHERE attendance = 74303 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24039173_1 (captain VARCHAR, location VARCHAR) Question: Who is the captain in Chaguaramas? [/INST] SELECT captain FROM table_24039173_1 WHERE location = ""Chaguaramas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) Question: What entrant has osella fa1c chassis after 1981? [/INST] SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = ""osella fa1c"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (result VARCHAR, director VARCHAR, project VARCHAR) Question: What result does the project Once Upon A Time In The West, directed by Sergio Leone have? [/INST] SELECT result FROM table_name_40 WHERE director = ""sergio leone"" AND project = ""once upon a time in the west"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (player VARCHAR, round VARCHAR, position VARCHAR) Question: After Round 5, which player was drafted for Defensive Tackle? [/INST] SELECT player FROM table_name_68 WHERE round > 5 AND position = ""defensive tackle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR) Question: What is the average attendance for the New York Jets? [/INST] SELECT AVG(attendance) FROM table_name_98 WHERE opponent = ""new york jets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR) Question: What label released a CD in 1988? [/INST] SELECT label FROM table_name_37 WHERE date = ""1988"" AND format = ""cd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the record was 35-47? [/INST] SELECT score FROM table_name_76 WHERE record = ""35-47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (player VARCHAR, to_par VARCHAR, country VARCHAR) Question: Which player from Scotland has a To Par score of +7? [/INST] SELECT player FROM table_name_50 WHERE to_par = ""+7"" AND country = ""scotland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_233830_1 (number_of_channels VARCHAR, channels VARCHAR) Question: If the channels is wxyzuv, what is the number of channels? [/INST] SELECT number_of_channels FROM table_233830_1 WHERE channels = ""WXYZUV"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) Question: What is the number of Silver medals with 2 Bronze and 0 Gold? [/INST] SELECT COUNT(silver) FROM table_name_78 WHERE bronze = 2 AND gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, lane VARCHAR) Question: What is Meagen Nay's rank with a lane greater than 5? [/INST] SELECT SUM(rank) FROM table_name_85 WHERE name = ""meagen nay"" AND lane > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (score_1 VARCHAR, away_team VARCHAR) Question: What was the score of the match in which Portsmouth was the Away team? [/INST] SELECT score_1 FROM table_name_23 WHERE away_team = ""portsmouth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341568_48 (status VARCHAR, incumbent VARCHAR) Question: What was the result of the election in the district whose incumbent is Tom Foley? [/INST] SELECT status FROM table_1341568_48 WHERE incumbent = ""Tom Foley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (winning_amount VARCHAR, contestant_name VARCHAR) Question: What winning amount has himesh reshammiya as the contestant name? [/INST] SELECT winning_amount FROM table_name_51 WHERE contestant_name = ""himesh reshammiya"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, championship VARCHAR) Question: List the final score of Wimbledon (2/2). [/INST] SELECT score_in_the_final FROM table_2201724_1 WHERE championship = ""Wimbledon (2/2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (effic INTEGER, cmp_att_int VARCHAR, avg_g VARCHAR, gp_gs VARCHAR) Question: Which Effic is the average one that has an Avg/G larger than 3.7, and a GP-GS of 13, and a Cmp-Att-Int of 318-521-15? [/INST] SELECT AVG(effic) FROM table_name_9 WHERE avg_g > 3.7 AND gp_gs = ""13"" AND cmp_att_int = ""318-521-15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (week VARCHAR, opponent VARCHAR) Question: Which Week has an Opponent of at seattle seahawks? [/INST] SELECT week FROM table_name_11 WHERE opponent = ""at seattle seahawks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (county VARCHAR) Question: Which 1956 has a County of vâlcea, and a 2011 smaller than 371714? [/INST] SELECT SUM(1956) FROM table_name_40 WHERE county = ""vâlcea"" AND 2011 < 371714 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR) Question: What's Round has a Surface of hard and Opponent of Jelena Simic? [/INST] SELECT round FROM table_name_51 WHERE surface = ""hard"" AND opponent = ""jelena simic"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (masculine_u_stems VARCHAR, neuter_a_stems VARCHAR) Question: What is the masculine u form for the old Swedish word with a neuter a form of skipum? [/INST] SELECT masculine_u_stems FROM table_name_68 WHERE neuter_a_stems = ""skipum"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (english_example VARCHAR, variant__with_niqqud__ VARCHAR) Question: Give me an english example of a variant with niqqud of וֹ? [/INST] SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = ""וֹ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (venue VARCHAR, opponent VARCHAR) Question: Which venue hosted the Los Angeles Rams as an opponent? [/INST] SELECT venue FROM table_name_64 WHERE opponent = ""los angeles rams"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (year INTEGER, playoffs VARCHAR) Question: Which year is the lowest one when the playoffs did not qualify? [/INST] SELECT MIN(year) FROM table_name_93 WHERE playoffs = ""did not qualify"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE COURSE (Credits VARCHAR) Question: List all information about courses sorted by credits in the ascending order. [/INST] SELECT * FROM COURSE ORDER BY Credits
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (icelandic VARCHAR, english VARCHAR) Question: What is the Icelandic word for the English word bride? [/INST] SELECT icelandic FROM table_name_41 WHERE english = ""bride"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16275828_4 (sanction VARCHAR, location VARCHAR) Question: Who sanctioned the event in lincoln, illinois? [/INST] SELECT sanction FROM table_16275828_4 WHERE location = ""Lincoln, Illinois"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12407546_1 (fencing VARCHAR, running VARCHAR) Question: What's the fencing score of the player with 9:40.31 (1080 pts) in running? [/INST] SELECT fencing FROM table_12407546_1 WHERE running = ""9:40.31 (1080 pts)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (time VARCHAR, song_title VARCHAR) Question: How long is the song titled burning love? [/INST] SELECT time FROM table_name_54 WHERE song_title = ""burning love"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (opponent VARCHAR, save VARCHAR) Question: Who is the opponent with a save of ||33,453||36–27? [/INST] SELECT opponent FROM table_name_39 WHERE save = ""||33,453||36–27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (name VARCHAR, tries VARCHAR, club VARCHAR) Question: Who was part of Club Munster with 1 try? [/INST] SELECT name FROM table_name_38 WHERE tries = 1 AND club = ""munster"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR) Question: How many weeks did the single that entered the charts 14 september 2002 stay on the charts ? [/INST] SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = ""14 september 2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17510803_2 (won VARCHAR, points_against VARCHAR) Question: How many won when points against is 410? [/INST] SELECT COUNT(won) FROM table_17510803_2 WHERE points_against = ""410"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (Id VARCHAR) Question: What is the 2005 value with 1r in 2013 and q2 in 2011? [/INST] SELECT 2005 FROM table_name_73 WHERE 2013 = ""1r"" AND 2011 = ""q2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (years VARCHAR, rank VARCHAR, matches VARCHAR) Question: What years did the player ranked less than 8 and had 447 matches play? [/INST] SELECT years FROM table_name_83 WHERE rank < 8 AND matches = 447 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (season VARCHAR, school_club_team VARCHAR) Question: What season did the player who came from Cebu play in? [/INST] SELECT season FROM table_name_64 WHERE school_club_team = ""cebu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (position VARCHAR, players VARCHAR) Question: What is Jake Johnson's position? [/INST] SELECT position FROM table_name_60 WHERE players = ""jake johnson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (time_retired VARCHAR, driver VARCHAR) Question: What was John Watson's time/retired? [/INST] SELECT time_retired FROM table_name_46 WHERE driver = ""john watson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1965650_3 (position VARCHAR, nhl_team VARCHAR) Question: Name the position for nhl team being los angeles kings [/INST] SELECT position FROM table_1965650_3 WHERE nhl_team = ""Los Angeles Kings"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_2 VARCHAR) Question: What is the verb meaning of the word with part 2 ""bant""? [/INST] SELECT verb_meaning FROM table_1745843_8 WHERE part_2 = ""bant"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR) Question: What season has a runner-up of waseda, and a title of 47th? [/INST] SELECT season FROM table_name_25 WHERE runner_up = ""waseda"" AND title = ""47th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (attendance VARCHAR, opponent VARCHAR) Question: Opponent of new england patriots had what attendance? [/INST] SELECT attendance FROM table_name_13 WHERE opponent = ""new england patriots"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (lane INTEGER, rank INTEGER) Question: How many lanes have a rank greater than 8? [/INST] SELECT SUM(lane) FROM table_name_25 WHERE rank > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ship (TYPE VARCHAR) Question: Show different types of ships and the number of ships of each type. [/INST] SELECT TYPE, COUNT(*) FROM ship GROUP BY TYPE "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR) Question: Name the result for 2000 afc asian cup qualification [/INST] SELECT result FROM table_name_14 WHERE competition = ""2000 afc asian cup qualification"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR) Question: What country does Adam van Koeverden play for? [/INST] SELECT country FROM table_name_31 WHERE athletes = ""adam van koeverden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (week INTEGER, date VARCHAR) Question: What week of the season had a date of october 5, 1975? [/INST] SELECT MIN(week) FROM table_name_24 WHERE date = ""october 5, 1975"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14941284_1 (game_site VARCHAR, date VARCHAR) Question: When it is October 18, 1981 where is the game site? [/INST] SELECT game_site FROM table_14941284_1 WHERE date = ""October 18, 1981"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergy VARCHAR, allergytype VARCHAR) Question: How many students have a food allergy? [/INST] SELECT COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = ""food"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (track VARCHAR, bobsleigh_skeleton_curves VARCHAR, country VARCHAR) Question: Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%? [/INST] SELECT track FROM table_name_82 WHERE bobsleigh_skeleton_curves = ""14"" AND country = ""austria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR) Question: What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up? [/INST] SELECT score FROM table_name_24 WHERE winners = ""galatasaray"" AND runners_up = ""trabzonspor"" AND year = 1990 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (ergative VARCHAR, dative VARCHAR) Question: What is the ergative for the dative (i)mas? [/INST] SELECT ergative FROM table_name_53 WHERE dative = ""(i)mas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1831262_2 (sesamin VARCHAR, secoisolariciresinol VARCHAR) Question: what is the total number of sesamin were secoisolariciresinol is 240? [/INST] SELECT sesamin FROM table_1831262_2 WHERE secoisolariciresinol = 240 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR) Question: Find the names of departments that are either in division AS or in division EN and in Building NEB. [/INST] SELECT DName FROM DEPARTMENT WHERE Division = ""AS"" UNION SELECT DName FROM DEPARTMENT WHERE Division = ""EN"" AND Building = ""NEB"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (obama VARCHAR, undecided VARCHAR) Question: What kind of Obama has a Undecided of 1%? [/INST] SELECT obama FROM table_name_87 WHERE undecided = ""1%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (average INTEGER, yards VARCHAR) Question: What is the sum of average values for 23 yards? [/INST] SELECT SUM(average) FROM table_name_5 WHERE yards = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (to_par VARCHAR, place VARCHAR, score VARCHAR) Question: What is the To par of the T5 Place Player with a Score of 71-68-76=215? [/INST] SELECT to_par FROM table_name_33 WHERE place = ""t5"" AND score = 71 - 68 - 76 = 215 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (against___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) Question: When +18.1 is the ± yes side 2008 percentage what is the percentage of against? [/INST] SELECT against___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = ""+18.1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR) Question: What record has the score 111-89? [/INST] SELECT record FROM table_name_75 WHERE score = ""111-89"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR) Question: Which award was won when the nomination was Senses Around? [/INST] SELECT award FROM table_name_77 WHERE result = ""won"" AND nomination = ""senses around"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26842217_18 (time VARCHAR, result VARCHAR) Question: Name the time for result msst 29–24 [/INST] SELECT time FROM table_26842217_18 WHERE result = ""MSST 29–24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140099_6 (winning_driver VARCHAR, race_name VARCHAR) Question: Which driver won the i race of champions? [/INST] SELECT winning_driver FROM table_1140099_6 WHERE race_name = ""I Race of Champions"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team score of the game with Adelaide as the away team? [/INST] SELECT home_team AS score FROM table_name_90 WHERE away_team = ""adelaide"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (representative_work VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR) Question: What is the name of the Representative Work in a year later than 2005 with a Result of nominated, and an Award of best variety show host? [/INST] SELECT representative_work FROM table_name_20 WHERE year > 2005 AND result = ""nominated"" AND award = ""best variety show host"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_120778_1 (percent_for VARCHAR, against_prohibition VARCHAR) Question: What is the percent for when against prohibition is 2978? [/INST] SELECT percent_for FROM table_120778_1 WHERE against_prohibition = 2978 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, score VARCHAR) Question: In what Tournament was the Score of 3–6, 6–3, 7–6 in a match played on a hard Surface? [/INST] SELECT tournament FROM table_name_78 WHERE surface = ""hard"" AND score = ""3–6, 6–3, 7–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712180_6 (record VARCHAR, date VARCHAR) Question: What is the record for the date november 19? [/INST] SELECT record FROM table_27712180_6 WHERE date = ""November 19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (ihsaa_class___football___soccer VARCHAR, location VARCHAR) Question: what is teh ihsaa class/football/soccer when the location is alexandria? [/INST] SELECT ihsaa_class___football___soccer FROM table_name_43 WHERE location = ""alexandria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the Country, when Place is ""T4"", and when Player is ""Scott Simpson""? [/INST] SELECT country FROM table_name_64 WHERE place = ""t4"" AND player = ""scott simpson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR) Question: What school is in Lagrange, with an IHSAA Class of aaa? [/INST] SELECT school FROM table_name_80 WHERE location = ""lagrange"" AND ihsaa_class = ""aaa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR) Question: Which driver earned 32 points from the Andretti Green team? [/INST] SELECT driver FROM table_name_91 WHERE team = ""andretti green"" AND points = ""32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (nation VARCHAR, uci_protour_points VARCHAR) Question: What nation is the cyclist hat has a UCI ProTour Points of 25? [/INST] SELECT nation FROM table_name_95 WHERE uci_protour_points = 25 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (record VARCHAR, date VARCHAR) Question: What was the record on January 17? [/INST] SELECT record FROM table_name_61 WHERE date = ""january 17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (Id VARCHAR) Question: What is the value for 2011 corresponding to a 2007 value of 1r? [/INST] SELECT 2011 FROM table_name_32 WHERE 2007 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) Question: What is the total number in the season for the #30 Robert Berlinger series? [/INST] SELECT COUNT(no_in_season) FROM table_name_73 WHERE directed_by = ""robert berlinger"" AND no_in_series = 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (round VARCHAR, player VARCHAR) Question: Name the Round which has a Player of zack walz? [/INST] SELECT round FROM table_name_68 WHERE player = ""zack walz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (country VARCHAR, year VARCHAR) Question: What was the country in the year 2012? [/INST] SELECT country FROM table_name_69 WHERE year = 2012 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR) Question: What is the minimum number of the bmw championship tournament. [/INST] SELECT MIN(no) FROM table_19630743_2 WHERE tournament = ""BMW Championship"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE people (Birth_Place VARCHAR) Question: List each birth place along with the number of people from there. [/INST] SELECT Birth_Place, COUNT(*) FROM people GROUP BY Birth_Place "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE dogs (name VARCHAR, dog_id VARCHAR, cost_of_treatment INTEGER); CREATE TABLE treatments (name VARCHAR, dog_id VARCHAR, cost_of_treatment INTEGER) Question: Which dogs have not cost their owner more than 1000 for treatment ? List the dog names . [/INST] SELECT name FROM dogs WHERE NOT dog_id IN (SELECT dog_id FROM treatments GROUP BY dog_id HAVING SUM(cost_of_treatment) > 1000) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (away_team VARCHAR, crowd INTEGER) Question: What team played in front of 28,536 at an away stadium? [/INST] SELECT away_team AS score FROM table_name_34 WHERE crowd > 28 OFFSET 536 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (points INTEGER, position INTEGER) Question: What is listed as the highest Points that's got a Position that's smaller than 1? [/INST] SELECT MAX(points) FROM table_name_64 WHERE position < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (venue VARCHAR, home_team VARCHAR) Question: What venue featured essendon as home team? [/INST] SELECT venue FROM table_name_25 WHERE home_team = ""essendon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10470082_8 (writer VARCHAR, _number VARCHAR) Question: Who wrote episode #1 in season 7? [/INST] SELECT COUNT(writer) FROM table_10470082_8 WHERE _number = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (team VARCHAR, player VARCHAR) Question: Which Team has the Player of A.J. Moye? [/INST] SELECT team FROM table_name_81 WHERE player = ""a.j. moye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (pick__number INTEGER, cfl_team VARCHAR) Question: Can you tell me the sum of the Pick # that has the CFL Team of edmonton? [/INST] SELECT SUM(pick__number) FROM table_name_69 WHERE cfl_team = ""edmonton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (team VARCHAR, head_coach VARCHAR) Question: Which Team has a Head Coach of michalis pamboris? [/INST] SELECT team FROM table_name_60 WHERE head_coach = ""michalis pamboris"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (country VARCHAR, label VARCHAR) Question: What country has the label Control? [/INST] SELECT country FROM table_name_57 WHERE label = ""control"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (miss_maja_pilipinas VARCHAR, second_runner_up VARCHAR) Question: Can you tell me the Miss Pilipinas that has the Second runner-up of maria penson? [/INST] SELECT miss_maja_pilipinas FROM table_name_55 WHERE second_runner_up = ""maria penson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (label VARCHAR, country_of_release VARCHAR, title VARCHAR) Question: What was the label for Shake Your Groove Thing in USA? [/INST] SELECT label FROM table_name_59 WHERE country_of_release = ""usa"" AND title = ""shake your groove thing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (winner VARCHAR) Question: What is the 2nd leg when San Pedro was the winner? [/INST] SELECT 2 AS nd_leg FROM table_name_92 WHERE winner = ""san pedro"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (regionalliga_süd VARCHAR, season VARCHAR) Question: What is the Regionalliga Sud for 1995-96? [/INST] SELECT regionalliga_süd FROM table_name_13 WHERE season = ""1995-96"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is ""Jeff Maggert""? [/INST] SELECT score FROM table_name_76 WHERE player = ""jeff maggert"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (drawn INTEGER, goals_for VARCHAR, lost VARCHAR) Question: For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn? [/INST] SELECT AVG(drawn) FROM table_name_79 WHERE goals_for < 36 AND lost > 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR) Question: what's the first operational with programming being not programmable—single purpose [/INST] SELECT first_operational FROM table_13636_1 WHERE programming = ""Not programmable—single purpose"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR) Question: Which Opponent has a Game of 33? [/INST] SELECT opponent FROM table_name_10 WHERE game = 33 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (home VARCHAR, visitor VARCHAR) Question: Who was the home team that played against the visiting team Minnesota? [/INST] SELECT home FROM table_name_63 WHERE visitor = ""minnesota"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (entrant VARCHAR, rounds VARCHAR) Question: The rounds of 1-2, 4-10, 12 belong to which entrant? [/INST] SELECT entrant FROM table_name_96 WHERE rounds = ""1-2, 4-10, 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17505751_5 (total VARCHAR, p INTEGER) Question: if p is bigger than 4.0 what is total number [/INST] SELECT COUNT(total) FROM table_17505751_5 WHERE p > 4.0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (team VARCHAR, laps VARCHAR, grid VARCHAR) Question: What team has more than 49 laps and a grid of 8? [/INST] SELECT team FROM table_name_63 WHERE laps > 49 AND grid = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR) Question: What's the date when the location is Berlin? [/INST] SELECT date FROM table_name_76 WHERE location = ""berlin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR) Question: What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? [/INST] SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR) Question: What kind of Disc number has a Track number of 02 on 7 september 2004? [/INST] SELECT disc_number FROM table_name_19 WHERE track_number = ""02"" AND release_date = ""7 september 2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (react INTEGER, mark VARCHAR, heat VARCHAR) Question: What is the highest React that has a 7.61 Mark and a heat bigger than 1? [/INST] SELECT MAX(react) FROM table_name_84 WHERE mark = ""7.61"" AND heat > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (avg_g VARCHAR, name VARCHAR) Question: What is the total avg/g of McCrary, Greg? [/INST] SELECT COUNT(avg_g) FROM table_name_40 WHERE name = ""mccrary, greg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (draw INTEGER, rank VARCHAR, televotes VARCHAR) Question: Name the highest Draw which has a Rank of 14, and a Televotes larger than 908? [/INST] SELECT MAX(draw) FROM table_name_77 WHERE rank = 14 AND televotes > 908 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR) Question: What is the high 10 profile number when the high profile is 80? [/INST] SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE gas_station (open_year INTEGER) Question: How many gas station are opened between 2000 and 2005? [/INST] SELECT COUNT(*) FROM gas_station WHERE open_year BETWEEN 2000 AND 2005
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (player VARCHAR, to_par VARCHAR) Question: Which player finished at +4? [/INST] SELECT player FROM table_name_31 WHERE to_par = ""+4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR) Question: On what date was game 3? [/INST] SELECT date FROM table_name_84 WHERE game = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11254821_2 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR) Question: How many platinum points were awarded when 6 gold points were awarded? [/INST] SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE points_awarded__gold_ = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) Question: Which record happened on the date of May 7? [/INST] SELECT record FROM table_name_34 WHERE date = ""may 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_1 VARCHAR) Question: What's the meaning of the verb whose part 1 is slapen? [/INST] SELECT verb_meaning FROM table_1745843_7 WHERE part_1 = ""slapen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2534387_10 (prize VARCHAR, entries VARCHAR) Question: Name the prize pool for 706 (481 r, 346 a) [/INST] SELECT prize AS Pool FROM table_2534387_10 WHERE entries = ""706 (481 R, 346 A)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR, attendance VARCHAR) Question: Which Week has an Opponent of pittsburgh steelers, and an Attendance larger than 47,727? [/INST] SELECT MIN(week) FROM table_name_69 WHERE opponent = ""pittsburgh steelers"" AND attendance > 47 OFFSET 727 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24910737_1 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: What is the episode title that had a US viewership of 8.16? [/INST] SELECT title FROM table_24910737_1 WHERE us_viewers__millions_ = ""8.16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR) Question: What date has 7 as the tie no.? [/INST] SELECT date FROM table_name_80 WHERE tie_no = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (method VARCHAR, opponent VARCHAR) Question: What was the method in the fight against Chris Myers? [/INST] SELECT method FROM table_name_15 WHERE opponent = ""chris myers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (aircraft VARCHAR, call_sign VARCHAR) Question: Which Aircraft has the Call Sign Paula 01? [/INST] SELECT aircraft FROM table_name_37 WHERE call_sign = ""paula 01"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR) Question: What is the Score at Jobing.com Arena? [/INST] SELECT score FROM table_name_30 WHERE arena = ""jobing.com arena"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_160510_5 (region VARCHAR, hangul_chosongul VARCHAR) Question: Name the number of region for 경상남도 [/INST] SELECT COUNT(region) FROM table_160510_5 WHERE hangul_chosongul = ""경상남도"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) Question: What was the score at Bernardo O'Higgins Cup on May 7, 1961? [/INST] SELECT score FROM table_name_94 WHERE competition = ""bernardo o'higgins cup"" AND date = ""may 7, 1961"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR) Question: What is the Hangul of the Province with a Kana of ちゅうせいなんどう? [/INST] SELECT hangul FROM table_name_3 WHERE kana = ""ちゅうせいなんどう"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (at_columbia VARCHAR, last_5_meetings VARCHAR) Question: What is the record at Columbia when KU, 4-1 is the record for the last 5 minutes? [/INST] SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = ""ku, 4-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (finalist VARCHAR, semifinalists VARCHAR) Question: Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)? [/INST] SELECT finalist FROM table_name_3 WHERE semifinalists = ""andre agassi (1) lleyton hewitt (14)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25595209_1 (state_country VARCHAR, skipper VARCHAR) Question: How many states is Grant Wharington from? [/INST] SELECT COUNT(state_country) FROM table_25595209_1 WHERE skipper = ""Grant Wharington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR) Question: which examples are pronounced et in australian [/INST] SELECT examples FROM table_17798093_20 WHERE australian = ""et"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (Id VARCHAR) Question: What is the 1998 value with A in 1995, A in 1993, and 1r in 1996? [/INST] SELECT 1998 FROM table_name_4 WHERE 1995 = ""a"" AND 1993 = ""a"" AND 1996 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER) Question: Find the name of the department that offers the largest number of credits of all classes. [/INST] SELECT TOP 1 T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR) Question: What is the call sign for the frequency of 0 105.7 fm? [/INST] SELECT call_sign FROM table_name_67 WHERE frequency = ""0 105.7 fm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (matches INTEGER, player VARCHAR, wickets VARCHAR) Question: what is the sum of matches when the player is jim laker and wikets is less than 9? [/INST] SELECT SUM(matches) FROM table_name_25 WHERE player = ""jim laker"" AND wickets < 9 "
"[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)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539535_7 (record VARCHAR, february VARCHAR) Question: What was the team's rcord on february 1? [/INST] SELECT record FROM table_27539535_7 WHERE february = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (high_rebounds VARCHAR, game VARCHAR) Question: What is the High rebounds of a Game with 56? [/INST] SELECT high_rebounds FROM table_name_70 WHERE game = 56 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27721131_2 (team VARCHAR, high_assists VARCHAR, score VARCHAR) Question: What's the team number with John Wall (9) in high assists and a w 97–83 (ot) score? [/INST] SELECT COUNT(team) FROM table_27721131_2 WHERE high_assists = ""John Wall (9)"" AND score = ""W 97–83 (OT)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR) Question: what is the diameter (km) of feature of latitude 40.5s [/INST] SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = ""40.5S"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29545993_3 (l INTEGER, pa VARCHAR) Question: What is maximum loss record when the pa record is 47? [/INST] SELECT MAX(l) FROM table_29545993_3 WHERE pa = 47 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (total VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR) Question: What is the total that had an event of +105 kg and clean & jerk less than 227.5? [/INST] SELECT COUNT(total) FROM table_name_54 WHERE event = ""+105 kg"" AND clean_ & _jerk < 227.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR) Question: What date was the game with a record of 47–39? [/INST] SELECT date FROM table_name_93 WHERE record = ""47–39"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24195232_1 (founded VARCHAR, location VARCHAR) Question: How many entries are there for founded when the location was springfield, ohio? [/INST] SELECT COUNT(founded) FROM table_24195232_1 WHERE location = ""Springfield, Ohio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10960039_6 (pick__number INTEGER, cfl_team VARCHAR) Question: What is the highest selection number for the saskatchewan roughriders team? [/INST] SELECT MAX(pick__number) FROM table_10960039_6 WHERE cfl_team = ""Saskatchewan Roughriders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (finalist VARCHAR, year VARCHAR) Question: What is Finalist, when Year is ""2008""? [/INST] SELECT finalist FROM table_name_30 WHERE year = 2008 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10718631_2 (original_air_date VARCHAR, no_in_series VARCHAR) Question: When did the 113 episode air? [/INST] SELECT original_air_date FROM table_10718631_2 WHERE no_in_series = 113 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1220125_4 (name VARCHAR, launched VARCHAR) Question: What is the name for 30 september 1943? [/INST] SELECT name FROM table_1220125_4 WHERE launched = ""30 September 1943"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (studio VARCHAR, year VARCHAR, title VARCHAR) Question: What was the studio for The Hard Way in 1943? [/INST] SELECT studio FROM table_name_77 WHERE year = 1943 AND title = ""the hard way"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20860739_1 (weight INTEGER, player VARCHAR) Question: What is the weight of Eben Britton? [/INST] SELECT MAX(weight) FROM table_20860739_1 WHERE player = ""Eben Britton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (start_address VARCHAR, size_of_network_number_bit_field VARCHAR) Question: What is the start address when the network number bit field is 16? [/INST] SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = ""16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (frequency VARCHAR, area_served VARCHAR) Question: What is the frequency for katherine? [/INST] SELECT frequency FROM table_name_99 WHERE area_served = ""katherine"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (candidate VARCHAR, result VARCHAR) Question: Who is the candidate that had 10 fired in week 2 (1-27-2005)? [/INST] SELECT candidate FROM table_name_45 WHERE result = ""10 fired in week 2 (1-27-2005)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR) Question: What Social Democratic has the Democratic and Social Centre of 4.4% 4 seats? [/INST] SELECT social_democratic FROM table_name_86 WHERE democratic_and_social_centre = ""4.4% 4 seats"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR) Question: Name the represents for 1.76 cm [/INST] SELECT represents FROM table_26301697_2 WHERE height__cm_ = ""1.76"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR) Question: How many different municipal mayors were there in the municipality with an area of 42.66 km2? [/INST] SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = ""42.66"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE projects (name VARCHAR, hours INTEGER) Question: List the name of all projects that are operated longer than the average working hours of all projects. [/INST] SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (rank INTEGER, year VARCHAR, accolade VARCHAR) Question: What is the lowest rank for an album after 1999 and an Accolade of the 100 greatest indie rock albums of all time? [/INST] SELECT MIN(rank) FROM table_name_67 WHERE year > 1999 AND accolade = ""the 100 greatest indie rock albums of all time"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR) Question: What is the population in 2011 for the name Beaubassin East? [/INST] SELECT population__2011_ FROM table_26321719_1 WHERE name = ""Beaubassin East"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (career_sr VARCHAR, tournament VARCHAR) Question: What is the Career SR of the year that held the masters series Sr tournament [/INST] SELECT career_sr FROM table_name_62 WHERE tournament = ""masters series sr"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10975034_5 (pick__number VARCHAR, college VARCHAR) Question: What is the pick number of regina? [/INST] SELECT pick__number FROM table_10975034_5 WHERE college = ""Regina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, yacht VARCHAR) Question: How many LOA (metres) reported for Black Jack? [/INST] SELECT COUNT(loa__metres_) FROM table_20854943_2 WHERE yacht = ""Black Jack"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR) Question: what is the score when the runner-up is richard krajicek? [/INST] SELECT score FROM table_name_54 WHERE runner_up = ""richard krajicek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (crowd VARCHAR, home_team VARCHAR) Question: How many games is collingwood the home side? [/INST] SELECT COUNT(crowd) FROM table_name_4 WHERE home_team = ""collingwood"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR) Question: What is the away team score when the home team is North Melbourne? [/INST] SELECT away_team AS score FROM table_name_52 WHERE home_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (launched INTEGER, name VARCHAR) Question: Tell me the highest launced for trn [/INST] SELECT MAX(launched) FROM table_name_1 WHERE name = ""trn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR) Question: What is Country, when To par is ""1"", and when Player is ""Seve Ballesteros""? [/INST] SELECT country FROM table_name_20 WHERE to_par = 1 AND player = ""seve ballesteros"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR) Question: When the VFL played at Junction Oval what was the away score? [/INST] SELECT away_team AS score FROM table_name_15 WHERE venue = ""junction oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18594107_2 (losses INTEGER, team VARCHAR) Question: How many losses for the team atl. colegiales? [/INST] SELECT MAX(losses) FROM table_18594107_2 WHERE team = ""Atl. Colegiales"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (home VARCHAR, visitor VARCHAR) Question: Who was the home team that the Clippers played? [/INST] SELECT home FROM table_name_64 WHERE visitor = ""clippers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (kickoff_ VARCHAR, a_ VARCHAR, date VARCHAR) Question: What time was the kickoff on September 15, 1985? [/INST] SELECT kickoff_ AS ""a_"" FROM table_name_68 WHERE date = ""september 15, 1985"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR) Question: How many games were played by the team with 2 draws, less than 16 points and a position higher than 5? [/INST] SELECT COUNT(played) FROM table_name_74 WHERE drawn = 2 AND points < 16 AND position > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24912693_4 (blocks VARCHAR, minutes VARCHAR) Question: How many blocks does the player who played 893 minutes have? [/INST] SELECT blocks FROM table_24912693_4 WHERE minutes = 893 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (host_team VARCHAR, stadium VARCHAR) Question: Who was the host team at the game at the Cleveland Browns Stadium? [/INST] SELECT host_team FROM table_name_32 WHERE stadium = ""cleveland browns stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (opponent VARCHAR, ground VARCHAR, score VARCHAR) Question: Who played on waca ground and scored 79 points? [/INST] SELECT opponent FROM table_name_43 WHERE ground = ""waca ground"" AND score = ""79"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2062148_4 (date VARCHAR, venue VARCHAR) Question: Name the date for moonee valley [/INST] SELECT date FROM table_2062148_4 WHERE venue = ""Moonee Valley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (laps VARCHAR, driver VARCHAR, grid VARCHAR) Question: What was John Watson's total laps with a grid of less than 7? [/INST] SELECT COUNT(laps) FROM table_name_21 WHERE driver = ""john watson"" AND grid < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) Question: What is Mark O'Meara's Score? [/INST] SELECT score FROM table_name_44 WHERE player = ""mark o'meara"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (weapon VARCHAR, mecha VARCHAR) Question: What is the weapon for the mecha of motorcycle? [/INST] SELECT weapon FROM table_name_55 WHERE mecha = ""motorcycle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342013_37 (first_elected INTEGER, incumbent VARCHAR) Question: Name the minumim first elected for alvin bush [/INST] SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = ""Alvin Bush"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (team_classification VARCHAR, stage VARCHAR) Question: Name the team classification for stage of 20 [/INST] SELECT team_classification FROM table_name_92 WHERE stage = ""20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (school VARCHAR, team VARCHAR) Question: What school has the Kansas City Royals for a team? [/INST] SELECT school FROM table_name_27 WHERE team = ""kansas city royals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (player VARCHAR, country VARCHAR) Question: Who is the player for Zimbabwe? [/INST] SELECT player FROM table_name_45 WHERE country = ""zimbabwe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date INTEGER, label VARCHAR, catalog VARCHAR, format VARCHAR) Question: what is the earliest date for the album that had a catalog number of 3645, was formatted as a cd and was under the luaka bop label? [/INST] SELECT MIN(date) FROM table_name_2 WHERE catalog = ""3645"" AND format = ""cd"" AND label = ""luaka bop"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (university_of_minnesota VARCHAR, rood_ VARCHAR, _taylor VARCHAR, buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR) Question: Rood & Taylor of o, and a Buechel & Manhart spelling (pronunciation) of o had what university of Minnesota? [/INST] SELECT university_of_minnesota FROM table_name_63 WHERE rood_ & _taylor = ""o"" AND buechel_ & _manhart_spelling__pronunciation_ = ""o"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (week INTEGER, date VARCHAR) Question: What is the low week from october 15, 1961? [/INST] SELECT MIN(week) FROM table_name_82 WHERE date = ""october 15, 1961"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2112220_6 (tournaments_played INTEGER, year VARCHAR) Question: Name the tournaments played for 2004 [/INST] SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (lose INTEGER, name VARCHAR, point VARCHAR) Question: What was the highest number of lose for a player named Santos with more than 45 points? [/INST] SELECT MAX(lose) FROM table_name_88 WHERE name = ""santos"" AND point > 45 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17323092_7 (high_points VARCHAR, location_attendance VARCHAR) Question: How many players had high points in the location/attendance FedexForum 11,498 respectively? [/INST] SELECT COUNT(high_points) FROM table_17323092_7 WHERE location_attendance = ""FedExForum 11,498"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR) Question: What is the score of the match with opponents Gretchen Magers Kelly Jones? [/INST] SELECT score FROM table_1028356_3 WHERE opponents = ""Gretchen Magers Kelly Jones"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (year VARCHAR, team VARCHAR, start VARCHAR) Question: When was there a team of Simon and the start was 3? [/INST] SELECT year FROM table_name_48 WHERE team = ""simon"" AND start = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER) Question: What is the lowest game that has a drawn less than 0? [/INST] SELECT MIN(games) FROM table_name_26 WHERE drawn < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR) Question: What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? [/INST] SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, population VARCHAR) Question: what's the s mestizo with population being 29461933 [/INST] SELECT s_mestizo FROM table_1333612_1 WHERE population = 29461933 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR) Question: Which original artist has a Episode of workshop #1? [/INST] SELECT original_artist FROM table_name_32 WHERE episode = ""workshop #1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11677691_1 (college VARCHAR, school VARCHAR) Question: How many players attended Hillcrest High School? [/INST] SELECT COUNT(college) FROM table_11677691_1 WHERE school = ""Hillcrest High school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1992924_3 (Dual VARCHAR, spokesperson VARCHAR) Question: who is the dual commentator at the channel with spokesperson larisa verbickaya [/INST] SELECT Dual AS commentator FROM table_1992924_3 WHERE spokesperson = ""Larisa Verbickaya"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (year VARCHAR, engine_code VARCHAR) Question: From what year is the engine with engine code M57D30? [/INST] SELECT year FROM table_name_21 WHERE engine_code = ""m57d30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17323042_11 (game VARCHAR, high_points VARCHAR) Question: How many games was High Points andre iguodala (29)? [/INST] SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = ""Andre Iguodala (29)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score VARCHAR) Question: What's in third place that's going 1-0? [/INST] SELECT 3 AS rd_place FROM table_name_39 WHERE score = ""1-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps? [/INST] SELECT AVG(grid) FROM table_name_83 WHERE time_retired = ""+2 laps"" AND laps < 51 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR) Question: What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234? [/INST] SELECT position FROM table_name_48 WHERE series = ""queensland formula ford championship"" AND season > 2001 AND points = ""234"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26139378_1 (original_airdate VARCHAR, viewers__in_millions_ VARCHAR) Question: What is the original airdate of the episode that had 8.23 million viewers? [/INST] SELECT original_airdate FROM table_26139378_1 WHERE viewers__in_millions_ = ""8.23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (interview INTEGER, state VARCHAR) Question: What is the average interview score from Kentucky? [/INST] SELECT AVG(interview) FROM table_name_27 WHERE state = ""kentucky"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (president VARCHAR, date VARCHAR, year VARCHAR, location VARCHAR, type VARCHAR) Question: What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october? [/INST] SELECT president FROM table_name_22 WHERE location = ""justus lipsius building, brussels"" AND type = ""scheduled"" AND year > 2011 AND date = ""18–19 october"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25330991_3 (reidsville VARCHAR, information VARCHAR) Question: Name the reidsville for enrollment [/INST] SELECT reidsville FROM table_25330991_3 WHERE information = ""Enrollment"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (player VARCHAR, overall VARCHAR, school_club_team VARCHAR) Question: Which player was drafted higher than 374 and went to the school Stephen F. Austin? [/INST] SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = ""stephen f. austin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (show_name VARCHAR, time VARCHAR) Question: What show has a time of 4:00pm–5:00am? [/INST] SELECT show_name FROM table_name_54 WHERE time = ""4:00pm–5:00am"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR) Question: who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996? [/INST] SELECT opponent FROM table_name_93 WHERE surface = ""clay"" AND outcome = ""winner"" AND championship = ""estoril"" AND date = ""15 april 1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (position VARCHAR, school_club_team VARCHAR) Question: What position is listed for the nebraska team? [/INST] SELECT position FROM table_name_75 WHERE school_club_team = ""nebraska"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR) Question: What country has chunkath, mohan verghese as the name? [/INST] SELECT country FROM table_name_88 WHERE name = ""chunkath, mohan verghese"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (wins VARCHAR, played VARCHAR, draws VARCHAR, goals_against VARCHAR) Question: What is the total number of Wins, when Draws is less than 5, when Goals is greater than 49, and when Played is greater than 30? [/INST] SELECT COUNT(wins) FROM table_name_93 WHERE draws < 5 AND goals_against > 49 AND played > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (date VARCHAR, race VARCHAR) Question: When is the Mexican grand prix? [/INST] SELECT date FROM table_name_24 WHERE race = ""mexican grand prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, votes VARCHAR) Question: On what date were there 50,324 votes? [/INST] SELECT date FROM table_name_78 WHERE votes = ""50,324"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23958944_6 (us_viewers__in_millions_ VARCHAR, production_number VARCHAR) Question: Name the viewers for 520 [/INST] SELECT us_viewers__in_millions_ FROM table_23958944_6 WHERE production_number = 520 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (attendance INTEGER, record VARCHAR) Question: what is the minimum attendance with record being 4–6 [/INST] SELECT MIN(attendance) FROM table_14102379_4 WHERE record = ""4–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (surface VARCHAR, mountain VARCHAR) Question: What is the surface of the mountain range that contains the Elk Garden Mountain? [/INST] SELECT surface FROM table_name_38 WHERE mountain = ""elk garden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR, bike VARCHAR) Question: What is the highest number of laps with an accident time and a suzuki gsx-r1000 bike? [/INST] SELECT MAX(laps) FROM table_name_56 WHERE time = ""accident"" AND bike = ""suzuki gsx-r1000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24172157_3 (date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR) Question: What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool? [/INST] SELECT date_of_appointment FROM table_24172157_3 WHERE team = ""Liverpool"" AND incoming_manager = ""Roy Hodgson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (quantity INTEGER, numbers VARCHAR) Question: What is the quantity of the item with the numbers of 29-36? [/INST] SELECT AVG(quantity) FROM table_name_91 WHERE numbers = ""29-36"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (extra VARCHAR, tournament VARCHAR) Question: Tell me the extra for tournament of olympic games [/INST] SELECT extra FROM table_name_14 WHERE tournament = ""olympic games"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE park (state VARCHAR) Question: List the names of states that have more than 2 parks. [/INST] SELECT state FROM park GROUP BY state HAVING COUNT(*) > 2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (race_winner VARCHAR, round VARCHAR) Question: Who won the round in Europe? [/INST] SELECT race_winner FROM table_name_1 WHERE round = ""europe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) Question: What event did tim Hague have a record of 3-0? [/INST] SELECT event FROM table_name_54 WHERE record = ""3-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) Question: How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps? [/INST] SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = ""honda"" AND rider = ""yuki takahashi"" AND laps > 22 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (rank INTEGER, mountain_peak VARCHAR) Question: What is the highest rank Mount Elbert has? [/INST] SELECT MAX(rank) FROM table_name_12 WHERE mountain_peak = ""mount elbert"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on October 6? [/INST] SELECT attendance FROM table_name_78 WHERE date = ""october 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (name VARCHAR, winning_driver VARCHAR) Question: What race did eugenio silvani win? [/INST] SELECT name FROM table_name_7 WHERE winning_driver = ""eugenio silvani"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (score VARCHAR, edition VARCHAR, surface VARCHAR) Question: What is Score, when Edition is 2011, and when Surface is Hard (i)? [/INST] SELECT score FROM table_name_37 WHERE edition = 2011 AND surface = ""hard (i)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (score VARCHAR, home VARCHAR, record VARCHAR) Question: What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5? [/INST] SELECT score FROM table_name_48 WHERE home = ""new york rangers"" AND record = ""8–27–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25316812_1 (rate_change___percentage_ VARCHAR, rate_limit__p_ VARCHAR) Question: What is the rate change % when the rate limit is 82.86? [/INST] SELECT rate_change___percentage_ FROM table_25316812_1 WHERE rate_limit__p_ = ""82.86"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR) Question: What is every value for Croatian when value for English is dog? [/INST] SELECT croatian FROM table_25008327_8 WHERE english = ""dog"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year INTEGER, region VARCHAR) Question: What's the highest Year with the Region of Southeast? [/INST] SELECT MAX(year) FROM table_name_11 WHERE region = ""southeast"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (date VARCHAR, visitor VARCHAR, record VARCHAR) Question: What date was the visitor the Boston Bruins, and the record was 4–0–1? [/INST] SELECT date FROM table_name_25 WHERE visitor = ""boston bruins"" AND record = ""4–0–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261941_1 (founded VARCHAR, type VARCHAR) Question: When was the private/baptist school founded? [/INST] SELECT founded FROM table_261941_1 WHERE type = ""Private/Baptist"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (city VARCHAR, founded VARCHAR) Question: What city was founded in 1857? [/INST] SELECT city FROM table_name_99 WHERE founded = 1857 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2167226_3 (winning_score VARCHAR, margin_of_victory VARCHAR) Question: What is the winning score when 5 strokes is the margin of victory? [/INST] SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = ""5 strokes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (pts_game INTEGER, games INTEGER) Question: Can you tell me the lowest Pts/game that has the Games larger than 6? [/INST] SELECT MIN(pts_game) FROM table_name_98 WHERE games > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) Question: When was the game that had Sydney Spirit as the away team? [/INST] SELECT date FROM table_name_64 WHERE away_team = ""sydney spirit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (to_par VARCHAR, score VARCHAR) Question: How many strokes under par was the player who scored 71? [/INST] SELECT to_par FROM table_name_43 WHERE score = 71 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (payment_method VARCHAR) Question: How many different payment methods are there? [/INST] SELECT COUNT(DISTINCT payment_method) FROM customers
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) Question: What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? [/INST] SELECT SUM(round) FROM table_name_84 WHERE method = ""submission (ankle lock)"" AND location = ""tokyo, japan"" AND record = ""13-5-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) Question: Name the population for александрово [/INST] SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = ""Александрово"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (publisher VARCHAR, title VARCHAR) Question: Which publisher has Far Cry as the title? [/INST] SELECT publisher FROM table_name_4 WHERE title = ""far cry"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (tries_against VARCHAR, club VARCHAR) Question: How many tries were there for club cwmtwrch rfc? [/INST] SELECT tries_against FROM table_name_52 WHERE club = ""cwmtwrch rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (Id VARCHAR) Question: what is the listing for 2012 when 2004 is more than 0, 2008 is more than 1 1994 is 8 and 2005 is less than 11? [/INST] SELECT MIN(2012) FROM table_name_8 WHERE 2004 > 0 AND 2008 > 1 AND 1994 = 8 AND 2005 < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668173_4 (first_elected VARCHAR, party VARCHAR) Question: How many incumbents was first elected in the Anti-Masonic party? [/INST] SELECT COUNT(first_elected) FROM table_2668173_4 WHERE party = ""Anti-Masonic"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (floors INTEGER, completed VARCHAR, rank VARCHAR) Question: What is the lowest amount of floors in the building completed before 1970 ranked more than 14? [/INST] SELECT MIN(floors) FROM table_name_4 WHERE completed < 1970 AND rank > 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (first_store VARCHAR, country VARCHAR) Question: What year was the first store in India? [/INST] SELECT first_store FROM table_name_20 WHERE country = ""india"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13758945_3 (club VARCHAR, losing_bonus VARCHAR) Question: what's the club with losing bonus being 1 [/INST] SELECT club FROM table_13758945_3 WHERE losing_bonus = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR) Question: Find the number of members of club ""Pen and Paper Gaming"". [/INST] SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = ""Pen and Paper Gaming"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR) Question: Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165? [/INST] SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = ""7001–7165"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (celebrity VARCHAR, exited VARCHAR) Question: Who was the celebrity who exited on day 13? [/INST] SELECT celebrity FROM table_name_35 WHERE exited = ""day 13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR) Question: What is the To Par of Fredrik Jacobson? [/INST] SELECT to_par FROM table_name_64 WHERE player = ""fredrik jacobson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (Id VARCHAR) Question: What is the 2009 value with A in 2012 and q2 in 2011? [/INST] SELECT 2009 FROM table_name_32 WHERE 2012 = ""a"" AND 2011 = ""q2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (country VARCHAR, score VARCHAR) Question: Which country has a score of 71-72-73-69=285? [/INST] SELECT country FROM table_name_44 WHERE score = 71 - 72 - 73 - 69 = 285 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27771406_1 (club VARCHAR, tests VARCHAR) Question: The player for what club had 2 tests? [/INST] SELECT club FROM table_27771406_1 WHERE tests = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) Question: On what date did Fitzroy play as the home team? [/INST] SELECT date FROM table_name_74 WHERE home_team = ""fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (polling_firm VARCHAR, others VARCHAR) Question: What was the polling firm with others of 1%? [/INST] SELECT polling_firm FROM table_name_25 WHERE others = ""1%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (award_name VARCHAR, team_number VARCHAR) Question: What's the name of the award given to Team number 23? [/INST] SELECT award_name FROM table_name_77 WHERE team_number = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, record VARCHAR) Question: When the record was 67-82, what was the final score recorded? [/INST] SELECT score FROM table_name_55 WHERE record = ""67-82"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (grade VARCHAR) Question: Which 2005 is the lowest one that has a Grade smaller than 6, and a 2008 smaller than 80, and a 2006 larger than 72? [/INST] SELECT MIN(2005) FROM table_name_32 WHERE grade < 6 AND 2008 < 80 AND 2006 > 72 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) Question: How many date of appointments are there when the date of vacancy was 2 october 2010? [/INST] SELECT COUNT(date_of_appointment) FROM table_26976615_3 WHERE date_of_vacancy = ""2 October 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12148147_2 (first_year VARCHAR, third_year VARCHAR) Question: What is the first year course in the program where geometry is taken in the third year? [/INST] SELECT first_year FROM table_12148147_2 WHERE third_year = ""Geometry"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1969577_1 (joined INTEGER, institution VARCHAR) Question: Name the most joined for molloy college [/INST] SELECT MAX(joined) FROM table_1969577_1 WHERE institution = ""Molloy College"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, game_site VARCHAR) Question: What was the date of the game at Joe Robbie Stadium? [/INST] SELECT date FROM table_name_14 WHERE game_site = ""joe robbie stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (museum VARCHAR, discoverer VARCHAR) Question: What is the city of the Museum that houses the specimen discovered by Jane Solem? [/INST] SELECT museum AS city FROM table_name_28 WHERE discoverer = ""jane solem"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (representing VARCHAR, original_title VARCHAR) Question: Name the representation for om fjorten dage [/INST] SELECT representing FROM table_name_59 WHERE original_title = ""om fjorten dage"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (canadian_championship VARCHAR, league VARCHAR) Question: What Canadian Championship has 84 (4) as the league? [/INST] SELECT canadian_championship FROM table_name_85 WHERE league = ""84 (4)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR) Question: What tournament was Thomas Enqvist runner up? [/INST] SELECT tournament FROM table_name_15 WHERE runner_up = ""thomas enqvist"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR) Question: What is Boston Bruins minimum pick? [/INST] SELECT MIN(pick__number) FROM table_1965650_10 WHERE nhl_team = ""Boston Bruins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR) Question: What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races? [/INST] SELECT wins FROM table_name_92 WHERE third = ""1"" AND points < 572 AND races < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26160007_1 (imports VARCHAR, country VARCHAR) Question: In the country United Arab Emirates, what is the number of imports? [/INST] SELECT imports FROM table_26160007_1 WHERE country = ""United Arab Emirates"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (name VARCHAR, authors VARCHAR) Question: What is the name of gao chiappe meng o'connor wang cheng liu? [/INST] SELECT name FROM table_name_99 WHERE authors = ""gao chiappe meng o'connor wang cheng liu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12000368_1 (countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_la__2_ VARCHAR) Question: how many countries sampled with year of publication being 2007 and ranking l.a. (2) being 7th [/INST] SELECT COUNT(countries_sampled) FROM table_12000368_1 WHERE year_of_publication = ""2007"" AND ranking_la__2_ = ""7th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1997759_1 (registration VARCHAR, first_flew VARCHAR) Question: what is the registration located on 31 january 1975 where first flew? [/INST] SELECT registration FROM table_1997759_1 WHERE first_flew = ""31 January 1975"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR, top_5 VARCHAR) Question: Name the least cuts for top-5 more than 2 with top 25 less than 6 and top 10 less than 11 [/INST] SELECT MIN(cuts_made) FROM table_name_90 WHERE top_10 < 11 AND top_5 > 2 AND top_25 < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR) Question: What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0? [/INST] SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (time VARCHAR, opponent VARCHAR) Question: What is the time when the opponent is phil collins? [/INST] SELECT time FROM table_name_86 WHERE opponent = ""phil collins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals? [/INST] SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (location VARCHAR, method VARCHAR) Question: Where was the method of tko? [/INST] SELECT location FROM table_name_34 WHERE method = ""tko"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE book_club (category VARCHAR, YEAR INTEGER) Question: List categories that have at least two books after year 1989. [/INST] SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR) Question: What is the location with enrollment of 316 and county is 68 Randolph? [/INST] SELECT location FROM table_name_21 WHERE _number___county = ""68 randolph"" AND enrollment = 316 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (gold INTEGER, bronze INTEGER) Question: Which Gold has a Bronze larger than 6? [/INST] SELECT MIN(gold) FROM table_name_34 WHERE bronze > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE publication (Price VARCHAR, Publisher VARCHAR) Question: Show the prices of publications whose publisher is either ""Person"" or ""Wiley"" [/INST] SELECT Price FROM publication WHERE Publisher = ""Person"" OR Publisher = ""Wiley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11900378_1 (doubles_champions VARCHAR, tournament VARCHAR) Question: How many doubles champions were there for the Serbia f6 Futures tournament? [/INST] SELECT COUNT(doubles_champions) FROM table_11900378_1 WHERE tournament = ""Serbia F6 Futures"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (attendance VARCHAR, final VARCHAR) Question: What was the attendance for the final quarter (1)? [/INST] SELECT attendance FROM table_name_97 WHERE final = ""quarter (1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26593762_3 (incoming_manager VARCHAR, team VARCHAR) Question: How many incoming managers did Burnley have? [/INST] SELECT COUNT(incoming_manager) FROM table_26593762_3 WHERE team = ""Burnley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (home_team VARCHAR, tie_no VARCHAR) Question: What was the Home team in Tie no 16? [/INST] SELECT home_team FROM table_name_90 WHERE tie_no = ""16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE county_public_safety (Case_burden VARCHAR, Population VARCHAR) Question: Show the case burden of counties in descending order of population. [/INST] SELECT Case_burden FROM county_public_safety ORDER BY Population DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR) Question: What is the home team when the opposition is wairarapa bush? [/INST] SELECT home_team FROM table_26847237_3 WHERE opposition = ""Wairarapa Bush"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR) Question: What is the size of the crowd for the home team of Footscray? [/INST] SELECT crowd FROM table_name_28 WHERE home_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (rank VARCHAR, nationality VARCHAR, time VARCHAR) Question: How many ranks have a ationality of canada, and a Time of dns? [/INST] SELECT COUNT(rank) FROM table_name_12 WHERE nationality = ""canada"" AND time = ""dns"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) Question: Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars. [/INST] SELECT T3.name, T2.title, T1.stars, T1.ratingDate FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID ORDER BY T3.name, T2.title, T1.stars "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11900773_5 (first_day_cover_cancellation VARCHAR, theme VARCHAR) Question: What was the first day cover cancellation for the University of Saskatchewan themed stamp? [/INST] SELECT first_day_cover_cancellation FROM table_11900773_5 WHERE theme = ""University of Saskatchewan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE student (fname VARCHAR, age VARCHAR, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) Question: Find the first name and age of students who are living in the dorms that do not have amenity TV Lounge. [/INST] SELECT T1.fname, T1.age FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE NOT T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge') "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (time VARCHAR, athlete VARCHAR) Question: What was Law Hiu Fung's time? [/INST] SELECT time FROM table_name_26 WHERE athlete = ""law hiu fung"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: what is the least laps when the driver is rolf stommelen and the grid is more than 18? [/INST] SELECT MIN(laps) FROM table_name_99 WHERE driver = ""rolf stommelen"" AND grid > 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (opponents VARCHAR, competition VARCHAR, score VARCHAR) Question: Who was the opponent at the League Cup competition with a score of 3-1? [/INST] SELECT opponents FROM table_name_91 WHERE competition = ""league cup"" AND score = ""3-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (mass VARCHAR, designation VARCHAR) Question: What is Mass, when Designation is Prognoz 2? [/INST] SELECT mass FROM table_name_54 WHERE designation = ""prognoz 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341718_14 (party VARCHAR, incumbent VARCHAR) Question: what is the party when the incumbent is sidney r. yates? [/INST] SELECT party FROM table_1341718_14 WHERE incumbent = ""Sidney R. Yates"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) Question: The game that had a record of 39-25, what was the score? [/INST] SELECT score FROM table_name_77 WHERE record = ""39-25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE WINE (YEAR VARCHAR, Price INTEGER, Score INTEGER) Question: What are the maximum price and score of wines in each year? [/INST] SELECT MAX(Price), MAX(Score), YEAR FROM WINE GROUP BY YEAR "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR) Question: What college did the player who was drafted by Calgary go to? [/INST] SELECT college FROM table_28059992_6 WHERE cfl_team = ""Calgary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR, player VARCHAR) Question: Which country is Brian Henninger from, who had a score larger than 69? [/INST] SELECT country FROM table_name_98 WHERE score > 69 AND player = ""brian henninger"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (date VARCHAR, year VARCHAR, location VARCHAR) Question: What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)? [/INST] SELECT date FROM table_name_46 WHERE year > 1978 AND location = ""memorial stadium (baltimore)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR) Question: What is the attendance in week 15? [/INST] SELECT attendance FROM table_name_25 WHERE week = ""15"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE genres (name VARCHAR) Question: List all different genre types. [/INST] SELECT DISTINCT name FROM genres
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE student (id VARCHAR, tot_cred VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) Question: Find the name of instructor who is the advisor of the student who has the highest number of total credits. [/INST] SELECT TOP 1 T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (volts VARCHAR, energy_to_weight_ratio VARCHAR) Question: How many volts has an energy-to-weight ratio of 54 kj/kg to 2.0v? [/INST] SELECT volts FROM table_name_44 WHERE energy_to_weight_ratio = ""54 kj/kg to 2.0v"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (place VARCHAR, to_par VARCHAR) Question: What is the Place of the Player with a To par of –1? [/INST] SELECT place FROM table_name_61 WHERE to_par = ""–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (rounds VARCHAR, chassis VARCHAR) Question: How many rounds have a chassis of thl2? [/INST] SELECT rounds FROM table_name_87 WHERE chassis = ""thl2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR) Question: What is the lowest number of dances with a less than 2 place and an average smaller than 27.5? [/INST] SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (competition VARCHAR, year INTEGER) Question: What was the competition earlier than 1987? [/INST] SELECT competition FROM table_name_42 WHERE year < 1987 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE documents (document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR) Question: Find the list of documents that are both in the most three popular type and have the most three popular structure. [/INST] SELECT TOP 3 * FROM (SELECT TOP 3 document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC) AS _l_0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (year INTEGER, points VARCHAR) Question: What is the earliest year for 9 points? [/INST] SELECT MIN(year) FROM table_name_79 WHERE points = 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR) Question: Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)? [/INST] SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (college_junior_club_team VARCHAR, position VARCHAR, nationality VARCHAR) Question: What college/junior/club team is a left wing from Canada? [/INST] SELECT college_junior_club_team FROM table_name_94 WHERE position = ""left wing"" AND nationality = ""canada"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (final VARCHAR, athlete VARCHAR) Question: What final was Farhad Rezaei in? [/INST] SELECT final FROM table_name_46 WHERE athlete = ""farhad rezaei"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (launched VARCHAR, territory VARCHAR, channel VARCHAR) Question: When did channel 83 in singapore launch? [/INST] SELECT launched FROM table_name_81 WHERE territory = ""singapore"" AND channel = 83 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR) Question: Which name has an authority of state? [/INST] SELECT name FROM table_name_13 WHERE authority = ""state"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_phone VARCHAR, building_manager VARCHAR) Question: Show the addresses and phones of all the buildings managed by ""Brenden"". [/INST] SELECT building_address, building_phone FROM Apartment_Buildings WHERE building_manager = ""Brenden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (location VARCHAR, record VARCHAR) Question: When his record was 15–1–1 (1) where did he fight? [/INST] SELECT location FROM table_name_82 WHERE record = ""15–1–1 (1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR) Question: Where did Hawthorn play as the home team? [/INST] SELECT venue FROM table_name_41 WHERE home_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR) Question: Tell me the score on april 27 with visitor of buffalo [/INST] SELECT score FROM table_name_8 WHERE visitor = ""buffalo"" AND date = ""april 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (remixed_by VARCHAR, version VARCHAR) Question: What's the Remixed by with a Version of Strings for Soul's Mix? [/INST] SELECT remixed_by FROM table_name_47 WHERE version = ""strings for soul's mix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14959246_2 (result VARCHAR, opponent VARCHAR) Question: What was the final score of the game against the Dallas Cowboys? [/INST] SELECT result FROM table_14959246_2 WHERE opponent = ""Dallas Cowboys"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (attendance INTEGER, opponent VARCHAR, week VARCHAR) Question: Opponent of at boston patriots, and a Week larger than 3 had what average attendance? [/INST] SELECT AVG(attendance) FROM table_name_54 WHERE opponent = ""at boston patriots"" AND week > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE city (Population INTEGER, District VARCHAR) Question: How many people live in Gelderland district? [/INST] SELECT SUM(Population) FROM city WHERE District = ""Gelderland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (rules VARCHAR, method VARCHAR) Question: WHich Rules has a Method of ko (punch)? [/INST] SELECT rules FROM table_name_26 WHERE method = ""ko (punch)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) Question: How many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1? [/INST] SELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (session VARCHAR, event VARCHAR) Question: The Fall Nationals has what sessions? [/INST] SELECT session FROM table_name_84 WHERE event = ""fall nationals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23670057_6 (player VARCHAR, height__m_ VARCHAR) Question: Name the player that is 1.85 m [/INST] SELECT player FROM table_23670057_6 WHERE height__m_ = ""1.85"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR) Question: Which entry has the highest laps of those with constructor Minardi - Fondmetal, driver Marc Gené, and a grid larger than 20? [/INST] SELECT MAX(laps) FROM table_name_10 WHERE constructor = ""minardi - fondmetal"" AND driver = ""marc gené"" AND grid > 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (athletes VARCHAR, rank VARCHAR) Question: Which Athletes have a Rank of bronze? [/INST] SELECT athletes FROM table_name_44 WHERE rank = ""bronze"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2490289_1 (year VARCHAR, pc_intro VARCHAR) Question: What year did fr-08: the product ( farbrausch ) win best pc intro? [/INST] SELECT year FROM table_2490289_1 WHERE pc_intro = ""FR-08: The Product ( Farbrausch )"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (country VARCHAR, career VARCHAR) Question: What Country has a Career of 1989–2004? [/INST] SELECT country FROM table_name_26 WHERE career = ""1989–2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23285849_10 (high_points VARCHAR, high_assists VARCHAR) Question: When chauncey billups (4) has the highest amount of assists who has the highest amount of points? [/INST] SELECT high_points FROM table_23285849_10 WHERE high_assists = ""Chauncey Billups (4)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR) Question: What is the Label of the CD released in Germany on June 6, 2005? [/INST] SELECT label FROM table_name_8 WHERE date = ""june 6, 2005"" AND region = ""germany"" AND format = ""cd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (hometown VARCHAR, height VARCHAR) Question: What is the hometown of the player which has a height of 6-0? [/INST] SELECT hometown FROM table_name_31 WHERE height = ""6-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16689920_1 (track VARCHAR, time VARCHAR) Question: At 1:48.16 what was the number of track time? [/INST] SELECT COUNT(track) FROM table_16689920_1 WHERE time = ""1:48.16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (loses INTEGER, position VARCHAR, points VARCHAR, goals_scored VARCHAR) Question: How many loses have points greater than 30, goals scored greater than 59, with a position greater than 5? [/INST] SELECT SUM(loses) FROM table_name_84 WHERE points > 30 AND goals_scored > 59 AND position > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (population INTEGER, type VARCHAR, region VARCHAR) Question: How many people have a vl type in a region greater than 3? [/INST] SELECT SUM(population) FROM table_name_49 WHERE type = ""vl"" AND region > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20107762_1 (team VARCHAR, ft_percentage VARCHAR) Question: Who is the team with the ft% of 77.6? [/INST] SELECT team FROM table_20107762_1 WHERE ft_percentage = ""77.6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR) Question: How many laps for martin brundle with a grid of less than 10? [/INST] SELECT COUNT(laps) FROM table_name_54 WHERE driver = ""martin brundle"" AND grid < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR) Question: What is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct? [/INST] SELECT COUNT(blank_ends) FROM table_name_57 WHERE stolen_ends = 17 AND skip = ""jennifer jones"" AND shot_pct > 83 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (fastest_laps INTEGER, poles INTEGER) Question: What was the average number of fastest laps with less than 0 poles? [/INST] SELECT AVG(fastest_laps) FROM table_name_5 WHERE poles < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_code VARCHAR) Question: What are the name and typical buying and selling prices of the products that have color described as ""yellow""? [/INST] SELECT t1.product_name, t1.typical_buying_price, t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = ""yellow"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1652224_5 (date_successor_seated VARCHAR, reason_for_change VARCHAR) Question: what is the date the successor seated because the person died august 17, 1954? [/INST] SELECT date_successor_seated FROM table_1652224_5 WHERE reason_for_change = ""Died August 17, 1954"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE instructor (dept_name VARCHAR, name VARCHAR) Question: Find the department name of the instructor whose name contains 'Soisalon'. [/INST] SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1973729_1 (location VARCHAR, institution VARCHAR) Question: Where is the Eastern Nazarene College located? [/INST] SELECT location FROM table_1973729_1 WHERE institution = ""Eastern Nazarene College"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (runs INTEGER, ovrs VARCHAR, wkts VARCHAR) Question: What is the sum of the runs when the wkts were bigger than 0 and ovrs were smaller than 2? [/INST] SELECT SUM(runs) FROM table_name_65 WHERE ovrs < 2 AND wkts > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR) Question: Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)? [/INST] SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = ""torpedo yaroslavl (rus)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE WINE (Winery VARCHAR) Question: How many wines are produced at Robert Biale winery? [/INST] SELECT COUNT(*) FROM WINE WHERE Winery = ""Robert Biale"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (year_built VARCHAR, church_name VARCHAR) Question: When was the Hopperstad Stavkyrkje built? [/INST] SELECT year_built FROM table_name_83 WHERE church_name = ""hopperstad stavkyrkje"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23465864_6 (rider VARCHAR, fri_28_aug VARCHAR) Question: Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph? [/INST] SELECT rider FROM table_23465864_6 WHERE fri_28_aug = ""24' 23.36 92.820mph"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20098479_1 (written_by VARCHAR, no_in_series VARCHAR) Question: Who wrote episode number 48 [/INST] SELECT written_by FROM table_20098479_1 WHERE no_in_series = 48 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (accompaniment VARCHAR, title VARCHAR) Question: what is the accompaniment when the title is stormy seas blues? [/INST] SELECT accompaniment FROM table_name_26 WHERE title = ""stormy seas blues"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (program VARCHAR, track_name VARCHAR) Question: What programs are there for the South Fork Dirt Riders track? [/INST] SELECT program FROM table_name_44 WHERE track_name = ""south fork dirt riders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (population INTEGER, town VARCHAR) Question: How many people live in Norton? [/INST] SELECT SUM(population) FROM table_name_1 WHERE town = ""norton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (code INTEGER, density__inh_km²_ VARCHAR, land_area__hectares_ VARCHAR) Question: How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28? [/INST] SELECT SUM(code) FROM table_name_24 WHERE density__inh_km²_ = 621.68 AND land_area__hectares_ > 75.28 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_protected VARCHAR) Question: What is the percentage of total area in the ecozone that the percentage protected is 8.06? [/INST] SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_protected = ""8.06"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, date VARCHAR) Question: What is the Label of the release on April 24, 2009 in Germany? [/INST] SELECT label FROM table_name_2 WHERE region = ""germany"" AND date = ""april 24, 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (country VARCHAR, score VARCHAR) Question: What is the country with a 70-74-69=213 score? [/INST] SELECT country FROM table_name_65 WHERE score = 70 - 74 - 69 = 213 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20928649_1 (date VARCHAR, record VARCHAR) Question: What game date had the record of 1-2? [/INST] SELECT date FROM table_20928649_1 WHERE record = ""1-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25200461_9 (population INTEGER, registered_voters VARCHAR) Question: If the registered voters is 66.8%, what is the minimum population? [/INST] SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = ""66.8%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (american_labor_ticket VARCHAR, democratic_ticket VARCHAR) Question: Which American Labor candidate ran against Democratic candidate Robert F. Wagner? [/INST] SELECT american_labor_ticket FROM table_name_51 WHERE democratic_ticket = ""robert f. wagner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (örebro VARCHAR, umeå VARCHAR) Question: What did Orebro score when Umea scored 2? [/INST] SELECT örebro FROM table_name_67 WHERE umeå = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (year_s__won VARCHAR, to_par VARCHAR, player VARCHAR) Question: Which Year(s) won has a To par smaller than 12, and a Player of john daly? [/INST] SELECT year_s__won FROM table_name_50 WHERE to_par < 12 AND player = ""john daly"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (genre VARCHAR, type VARCHAR, developer_s_ VARCHAR) Question: What type of 3D game did Valve Corporation release? [/INST] SELECT genre FROM table_name_4 WHERE type = ""3d"" AND developer_s_ = ""valve corporation"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (pendle INTEGER, burnley INTEGER) Question: Which Pendle has a Burnley smaller than 0? [/INST] SELECT SUM(pendle) FROM table_name_47 WHERE burnley < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR) Question: What is the Date of the Event with a Prize of $141,426? [/INST] SELECT date FROM table_name_92 WHERE prize = ""$141,426"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR) Question: What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points? [/INST] SELECT class FROM table_name_2 WHERE points < 206 AND chassis = ""audi r8"" AND entrant = ""adt champion racing"" AND rank = ""1st"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (country VARCHAR, score VARCHAR, player VARCHAR) Question: Which Country has a Score of 69, and a Player of mick soli? [/INST] SELECT country FROM table_name_92 WHERE score = 69 AND player = ""mick soli"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (pick__number VARCHAR, position VARCHAR, round VARCHAR) Question: What was the pick # for a center picked before round 6? [/INST] SELECT COUNT(pick__number) FROM table_name_87 WHERE position = ""center"" AND round < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR) Question: How many times was the background university student? [/INST] SELECT COUNT(result) FROM table_26263322_1 WHERE background = ""University Student"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_127511_1 (solidv4 VARCHAR, sequencer VARCHAR) Question: What is solidv4 when sequencer is data output per run? [/INST] SELECT solidv4 FROM table_127511_1 WHERE sequencer = ""Data output per run"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR) Question: What score resulted in a winner after 2008? [/INST] SELECT score FROM table_name_18 WHERE outcome = ""winner"" AND year > 2008 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20597634_3 (poll_source VARCHAR, scott_mcadams__d_ VARCHAR) Question: When 30% is scott mcadams (d) percentage how many poll sources are there? [/INST] SELECT COUNT(poll_source) FROM table_20597634_3 WHERE scott_mcadams__d_ = ""30%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (club VARCHAR, home_result VARCHAR, away_result VARCHAR) Question: Home result of 1–0, and a Away result of 0–1 involves what club? [/INST] SELECT club FROM table_name_56 WHERE home_result = ""1–0"" AND away_result = ""0–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE film (language_id VARCHAR, title VARCHAR); CREATE TABLE LANGUAGE (name VARCHAR, language_id VARCHAR) Question: Which language does the film AIRPORT POLLOCK use? List the language name. [/INST] SELECT T2.name FROM film AS T1 JOIN LANGUAGE AS T2 ON T1.language_id = T2.language_id WHERE T1.title = 'AIRPORT POLLOCK' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23528223_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who wrote the episode seen by 10.64 million people in the US? [/INST] SELECT written_by FROM table_23528223_2 WHERE us_viewers__millions_ = ""10.64"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (high_rebounds VARCHAR, date VARCHAR) Question: For the game played on November 29, who had the highest rebounds? [/INST] SELECT high_rebounds FROM table_name_73 WHERE date = ""november 29"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (goals_conceded INTEGER, draw VARCHAR, played VARCHAR) Question: Name the Goals Conceded which has a Draw of 0 and a Played larger than 0? [/INST] SELECT AVG(goals_conceded) FROM table_name_48 WHERE draw = 0 AND played > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (games INTEGER, name VARCHAR) Question: What is the number of games for Shaun Stonerook? [/INST] SELECT MIN(games) FROM table_name_86 WHERE name = ""shaun stonerook"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28750142_1 (jockey VARCHAR, name VARCHAR) Question: What is the name of the jockey for Pink Gin? [/INST] SELECT jockey FROM table_28750142_1 WHERE name = ""Pink Gin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (d_42_√ VARCHAR, d_44_√ VARCHAR) Question: Name the D 42 √ when it has D 44 √ of r 36 √ [/INST] SELECT d_42_√ FROM table_name_67 WHERE d_44_√ = ""r 36 √"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: what is the laps when the driver is tony rolt and the grid is less than 10? [/INST] SELECT SUM(laps) FROM table_name_99 WHERE driver = ""tony rolt"" AND grid < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR) Question: What is Result, when Date is 2003? [/INST] SELECT result FROM table_name_80 WHERE date = ""2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22654073_8 (score VARCHAR, record VARCHAR) Question: How many scores are associated with a record of 27-9? [/INST] SELECT COUNT(score) FROM table_22654073_8 WHERE record = ""27-9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, tour VARCHAR) Question: Who is the womens doubles on the tour french super series? [/INST] SELECT womens_doubles FROM table_27753492_2 WHERE tour = ""French Super Series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20928649_1 (record VARCHAR, cardinals_points VARCHAR) Question: What was the record for the game where the cardinals scored 7 points? [/INST] SELECT record FROM table_20928649_1 WHERE cardinals_points = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (wins VARCHAR, draws INTEGER) Question: What's the total wins when the draws are less than 0? [/INST] SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR) Question: When twente came in third place and ajax was the winner what are the seasons? [/INST] SELECT season FROM table_20867295_2 WHERE winner = ""Ajax"" AND third_place = ""Twente"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (championship VARCHAR, year VARCHAR, winning_score VARCHAR) Question: Which championship after 1985 had a winning score of –8 (68-72-69-71=280)? [/INST] SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (weight_class VARCHAR, time VARCHAR) Question: Which weight class had a time of 4:59? [/INST] SELECT weight_class FROM table_name_65 WHERE time = ""4:59"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_2 (party VARCHAR, incumbent VARCHAR) Question: What is the party affiliation of the incumbent Robert Cramer? [/INST] SELECT party FROM table_1805191_2 WHERE incumbent = ""Robert Cramer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (males_rank INTEGER, females___percentage_ VARCHAR, females_rank VARCHAR) Question: Which Males Rank is the highest one that has Females (%) smaller than 40, and Females Rank smaller than 22? [/INST] SELECT MAX(males_rank) FROM table_name_93 WHERE females___percentage_ < 40 AND females_rank < 22 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year INTEGER, from_album VARCHAR) Question: How many years were there albums by heat wave? [/INST] SELECT SUM(year) FROM table_name_84 WHERE from_album = ""heat wave"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (year INTEGER, town VARCHAR) Question: What was the earliest year that a structure was located in gray court, south carolina? [/INST] SELECT MIN(year) FROM table_name_63 WHERE town = ""gray court, south carolina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (home VARCHAR, record VARCHAR) Question: What home team has a record of 4-3? [/INST] SELECT home FROM table_name_7 WHERE record = ""4-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (locomotive VARCHAR, name VARCHAR) Question: What is the locomotive for the city of Benalla? [/INST] SELECT locomotive FROM table_name_44 WHERE name = ""city of benalla"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18424435_5 (us_air_date VARCHAR, directed_by VARCHAR) Question: How many air dates where directed by jim donovan? [/INST] SELECT COUNT(us_air_date) FROM table_18424435_5 WHERE directed_by = ""Jim Donovan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR) Question: on the span of 1992-2000, what was the conv ? [/INST] SELECT conv FROM table_name_19 WHERE span = ""1992-2000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (total_trips__am_pm_ VARCHAR, operated_by VARCHAR) Question: What trips are operated by Atlantic coast charters? [/INST] SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by = ""atlantic coast charters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (oklahoma VARCHAR, nebraska VARCHAR, year VARCHAR) Question: What is the oklahoma has Bush from Nebraska in year 2004? [/INST] SELECT oklahoma FROM table_name_41 WHERE nebraska = ""bush"" AND year = ""2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (opponent_in_the_final VARCHAR, tournament VARCHAR) Question: Who was the opponent during the tournament in Kuwait? [/INST] SELECT opponent_in_the_final FROM table_name_91 WHERE tournament = ""kuwait"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (foundation INTEGER, official_name_in_malay VARCHAR) Question: what was the foundation of Politeknik Pagoh? [/INST] SELECT AVG(foundation) FROM table_name_73 WHERE official_name_in_malay = ""politeknik pagoh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23239946_3 (driver VARCHAR, points VARCHAR) Question: How many drivers have 1942 points? [/INST] SELECT COUNT(driver) FROM table_23239946_3 WHERE points = 1942 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR) Question: What is the Record of the game on June 24? [/INST] SELECT record FROM table_name_23 WHERE date = ""june 24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE city (name VARCHAR, population INTEGER) Question: Return the names of cities that have a population between 160000 and 900000 . [/INST] SELECT name FROM city WHERE population BETWEEN 160000 AND 900000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (notes VARCHAR, status VARCHAR, location VARCHAR) Question: What are the Notes of the dinosaur, whose Status is nomen dubium, and whose Location is China? [/INST] SELECT notes FROM table_name_26 WHERE status = ""nomen dubium"" AND location = ""china"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11622496_1 (purse__$__ VARCHAR) Question: How much was the prize money for the 275000 purse? [/INST] SELECT 1 AS st_prize__$__ FROM table_11622496_1 WHERE purse__$__ = 275000
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR) Question: What was the record for the October 16 game? [/INST] SELECT record FROM table_27537518_4 WHERE date = ""October 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR) Question: Which film, directed by Dana Dorian, was nominated? [/INST] SELECT film FROM table_name_40 WHERE rank = ""nominated"" AND director_s_ = ""dana dorian"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, home VARCHAR, date VARCHAR) Question: What was teh score of the game where Toronto was the home team on January 28? [/INST] SELECT score FROM table_name_43 WHERE home = ""toronto"" AND date = ""january 28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120556_1 (area__acres__ VARCHAR, townland VARCHAR) Question: How many items appear in the area column when Glasvaunta is the townland? [/INST] SELECT COUNT(area__acres__) FROM table_30120556_1 WHERE townland = ""Glasvaunta"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (club VARCHAR, capacity VARCHAR) Question: Which club has a capacity of 25138? [/INST] SELECT club FROM table_name_4 WHERE capacity = ""25138"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2409041_3 (written_by VARCHAR, no_in_season VARCHAR) Question: Who wrote season 23? [/INST] SELECT written_by FROM table_2409041_3 WHERE no_in_season = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (verb VARCHAR) Question: What is the 2nd verb for chena? [/INST] SELECT 2 AS __f_ FROM table_name_7 WHERE verb = ""chena"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (rd__number VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) Question: What is the rd number where the reg GP is 0 and the pick is 150? [/INST] SELECT COUNT(rd__number) FROM table_name_24 WHERE reg_gp = 0 AND pick__number = 150 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28068063_2 (aggregate_score VARCHAR, winners VARCHAR) Question: What was the aggregate score for the match won by Viadana? [/INST] SELECT aggregate_score FROM table_28068063_2 WHERE winners = ""Viadana"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417741_1 (margin_of_victory VARCHAR, winner VARCHAR) Question: When hale irwin is the winner what is the margin of victory? [/INST] SELECT margin_of_victory FROM table_2417741_1 WHERE winner = ""Hale Irwin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (gameplan VARCHAR, roleplay VARCHAR) Question: Who is the GamePlan when Arabella Lazenby is the RolePlay actor? [/INST] SELECT gameplan FROM table_name_29 WHERE roleplay = ""arabella lazenby"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (elevation_groundstation INTEGER, slope_length VARCHAR, capacity_in_persons_hour VARCHAR, name_or_route VARCHAR) Question: Which elevation groundstation has a capacity in persons/hour larger than 820, and a Name or route of lager 1, and a slope length smaller than 336? [/INST] SELECT AVG(elevation_groundstation) FROM table_name_68 WHERE capacity_in_persons_hour > 820 AND name_or_route = ""lager 1"" AND slope_length < 336 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) Question: What was the score on March 3, 2008? [/INST] SELECT score FROM table_name_57 WHERE date = ""march 3, 2008"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (college_junior_club_team__league_ VARCHAR, player VARCHAR) Question: What College/junior/club team (league) did mitch fadden play for? [/INST] SELECT college_junior_club_team__league_ FROM table_name_14 WHERE player = ""mitch fadden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR) Question: Who had the highest rebounds of the game on April 7? [/INST] SELECT high_rebounds FROM table_name_15 WHERE date = ""april 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR) Question: When france had a rank larger than 2, what was their time? [/INST] SELECT time FROM table_name_94 WHERE rank > 2 AND country = ""france"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (status VARCHAR, route_of_administration VARCHAR, gene VARCHAR) Question: What is the statue of the aat gene, which has an intramuscular route of administration? [/INST] SELECT status FROM table_name_98 WHERE route_of_administration = ""intramuscular"" AND gene = ""aat"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (entrant VARCHAR, chassis VARCHAR) Question: Which entrant has a Dallara F398 chassis? [/INST] SELECT entrant FROM table_name_13 WHERE chassis = ""dallara f398"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (game_site VARCHAR, result VARCHAR) Question: What game site has a result of bye? [/INST] SELECT game_site FROM table_name_52 WHERE result = ""bye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (award VARCHAR, result VARCHAR, year VARCHAR) Question: Which Award has a Result of nominated, and a Year of 2003? [/INST] SELECT award FROM table_name_85 WHERE result = ""nominated"" AND year = 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22871239_9 (high_rebounds VARCHAR, arena_attendance VARCHAR) Question: Name the high rebounds for td garden 18,624 [/INST] SELECT high_rebounds FROM table_22871239_9 WHERE arena_attendance = ""TD Garden 18,624"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (record VARCHAR, game INTEGER) Question: Can you tell me the Record that has the Game smaller than 76? [/INST] SELECT record FROM table_name_61 WHERE game < 76 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR) Question: Name the region 4 for the complete fifth series [/INST] SELECT region_4 FROM table_1337525_1 WHERE complete_series = ""The Complete Fifth Series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (accolade VARCHAR, rank VARCHAR) Question: What's the accolade for the rank of 497? [/INST] SELECT accolade FROM table_name_23 WHERE rank = 497 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23619005_3 (position VARCHAR, cfl_team VARCHAR) Question: What was the position of the player from Saskatchewan Roughriders? [/INST] SELECT position FROM table_23619005_3 WHERE cfl_team = ""Saskatchewan Roughriders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR) Question: What is the away team score at the Windy Hill venue? [/INST] SELECT away_team AS score FROM table_name_8 WHERE venue = ""windy hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (date VARCHAR, home VARCHAR) Question: Which date had a home team of the Wizards? [/INST] SELECT date FROM table_name_15 WHERE home = ""wizards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (player_name VARCHAR, position VARCHAR, college VARCHAR) Question: Who was a defensive end at California? [/INST] SELECT player_name FROM table_name_93 WHERE position = ""defensive end"" AND college = ""california"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR) Question: What is the date for the winner Universitario after the 1943 season? [/INST] SELECT date FROM table_name_99 WHERE winner = ""universitario"" AND season > 1943 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (bronze VARCHAR, notes VARCHAR) Question: Who won Bronze with notes of 2.5km, 14controls? [/INST] SELECT bronze FROM table_name_60 WHERE notes = ""2.5km, 14controls"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR) Question: What was the attendance when Hawthorn played as the away team? [/INST] SELECT AVG(crowd) FROM table_name_54 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR) Question: Which year is the book title the ordinary? [/INST] SELECT year FROM table_20193855_2 WHERE book_title = ""The Ordinary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR) Question: What was the record as of September 1? [/INST] SELECT record FROM table_name_72 WHERE date = ""september 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR) Question: What is the density of 昌黎县? [/INST] SELECT density___km²_ FROM table_name_34 WHERE hanzi = ""昌黎县"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341522_41 (opponent VARCHAR, incumbent VARCHAR) Question: Who was in the election that was for incumbent bud shuster's seat? [/INST] SELECT opponent FROM table_1341522_41 WHERE incumbent = ""Bud Shuster"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_203802_2 (english_party_name VARCHAR) Question: What percent of the parliamentary election did the pensioners party receive [/INST] SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = ""Pensioners Party"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_148578_1 (yield__approximate_ VARCHAR, explosion VARCHAR) Question: What was the yield of the K-4 explosion? [/INST] SELECT yield__approximate_ FROM table_148578_1 WHERE explosion = ""K-4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (Id VARCHAR) Question: What is the 2011 value of the 2012 grand slam tournaments? [/INST] SELECT 2011 FROM table_name_10 WHERE 2012 = ""grand slam tournaments"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (album VARCHAR, label_and_cat_number VARCHAR) Question: Which album has a label and cat# full moon/warner 28628? [/INST] SELECT album FROM table_name_68 WHERE label_and_cat_number = ""full moon/warner 28628"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR) Question: Which Swimming has a Total larger than 35, and a Volleyball of 1? [/INST] SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (voted_yes VARCHAR, jurisdiction VARCHAR, voted_no VARCHAR) Question: What is the total number of yes votes in Newfoundland, which had less than 77,881 vote no? [/INST] SELECT COUNT(voted_yes) FROM table_name_49 WHERE jurisdiction = ""newfoundland"" AND voted_no < 77 OFFSET 881 ROWS "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE races (name VARCHAR) Question: List the names of all distinct races in reversed lexicographic order? [/INST] SELECT DISTINCT name FROM races ORDER BY name DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (grid INTEGER, driver VARCHAR) Question: What is the smallest grid for Ayrton Senna? [/INST] SELECT MIN(grid) FROM table_name_21 WHERE driver = ""ayrton senna"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (outcome VARCHAR, score VARCHAR) Question: Which Outcome has a Score of 6–2, 6–2? [/INST] SELECT outcome FROM table_name_20 WHERE score = ""6–2, 6–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (opponents VARCHAR, venue VARCHAR) Question: Who were the opposing team when playing in the Portugal venue? [/INST] SELECT opponents FROM table_name_49 WHERE venue = ""portugal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tie_no VARCHAR, score VARCHAR) Question: How many ties occurred with a score of 2–2? [/INST] SELECT tie_no FROM table_name_83 WHERE score = ""2–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (jobbik VARCHAR, fidesz VARCHAR, others VARCHAR) Question: What is the Jobbik percentage with a Fidesz of 61% and others of 2%? [/INST] SELECT jobbik FROM table_name_41 WHERE fidesz = ""61%"" AND others = ""2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR) Question: What is the Time/Retired for the BMW Sauber, and Nick Heidfeld? [/INST] SELECT time_retired FROM table_name_80 WHERE constructor = ""bmw sauber"" AND driver = ""nick heidfeld"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (week INTEGER, result VARCHAR) Question: When is the last week that has a result of a w 34-21? [/INST] SELECT MAX(week) FROM table_name_10 WHERE result = ""w 34-21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (partner VARCHAR, opponent VARCHAR) Question: Name the partner with opponent of michaëlla krajicek eleni daniilidou [/INST] SELECT partner FROM table_name_20 WHERE opponent = ""michaëlla krajicek eleni daniilidou"" "
"[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_name_81 WHERE college_junior_club_team = ""toronto marlboros (oha)"" AND pick__number = ""32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (venue VARCHAR, result VARCHAR) Question: Where was the game with a result of won 5-0? [/INST] SELECT venue FROM table_name_25 WHERE result = ""won 5-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR) Question: Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages. [/INST] SELECT COUNT(T2.Language), T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (city_of_license VARCHAR, erp_kw VARCHAR, station VARCHAR) Question: What is the City of license that has a ERP kW more than 4.5 and w23dr-d? [/INST] SELECT city_of_license FROM table_name_45 WHERE erp_kw > 4.5 AND station = ""w23dr-d"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (runners_up VARCHAR, winners VARCHAR, years_runner_up VARCHAR) Question: How many runners up for the team with under 1 win and a Years runner-up of 1985 , 1996? [/INST] SELECT runners_up FROM table_name_9 WHERE winners < 1 AND years_runner_up = ""1985 , 1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (player VARCHAR, to_par VARCHAR) Question: What is the name of the player that has a To par of –1? [/INST] SELECT player FROM table_name_27 WHERE to_par = ""–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (home VARCHAR, visitor VARCHAR) Question: What is the home team when the visiting team is the Mavericks? [/INST] SELECT home FROM table_name_26 WHERE visitor = ""mavericks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (ethnic_group VARCHAR, buddhist VARCHAR) Question: Name the ethnic group with a buddhist of 0.19% [/INST] SELECT ethnic_group FROM table_name_94 WHERE buddhist = ""0.19%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR) Question: What was the away teams score when they played Carlton? [/INST] SELECT away_team AS score FROM table_name_19 WHERE home_team = ""carlton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR) Question: What opponent in the final has October 9, 2005 as the date? [/INST] SELECT opponent_in_the_final FROM table_name_69 WHERE date = ""october 9, 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (total INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the Total of kyrgyzstan with a Silver smaller than 0? [/INST] SELECT AVG(total) FROM table_name_97 WHERE nation = ""kyrgyzstan"" AND silver < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team playing the home team North Melbourne? [/INST] SELECT away_team FROM table_name_88 WHERE home_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR) Question: What is the NHL team that has a team (League) of Mississauga Icedogs (ohl)? [/INST] SELECT nhl_team FROM table_name_59 WHERE college_junior_club_team__league_ = ""mississauga icedogs (ohl)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (margin_of_victory VARCHAR, date VARCHAR) Question: What is the Margin of victory on oct 5, 1997? [/INST] SELECT margin_of_victory FROM table_name_21 WHERE date = ""oct 5, 1997"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR) Question: How many timeslots received a rating of 5.7? [/INST] SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = ""5.7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (player VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR) Question: Which Player has a Pick smaller than 11, and a Position of rhp, and a Team of new york mets? [/INST] SELECT player FROM table_name_6 WHERE pick < 11 AND position = ""rhp"" AND team = ""new york mets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR) Question: What is the home team's score in the game played at glenferrie oval? [/INST] SELECT home_team AS score FROM table_name_40 WHERE venue = ""glenferrie oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR) Question: What's the number of starts in the year with 19.3 average finish? [/INST] SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = ""19.3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR) Question: Which Attendance has an Opponent of phillies, and a Record of 30-33? [/INST] SELECT SUM(attendance) FROM table_name_34 WHERE opponent = ""phillies"" AND record = ""30-33"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE csu_fees (campusfee INTEGER) Question: Find the count of universities whose campus fee is greater than the average campus fee. [/INST] SELECT COUNT(*) FROM csu_fees WHERE campusfee > (SELECT AVG(campusfee) FROM csu_fees)
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16494599_2 (player VARCHAR, school_club_team VARCHAR) Question: How many players went to depaul? [/INST] SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = ""DePaul"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, tyre VARCHAR) Question: On what date did Mike Hawthorn have the fastest lap for the E Tyre of the Silverstone Circuit? [/INST] SELECT date FROM table_name_36 WHERE fastest_lap = ""mike hawthorn"" AND tyre = ""e"" AND circuit = ""silverstone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) Question: Name the total number of total with silver of 6, bronze more than 5 and gold less than 4 [/INST] SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (wins INTEGER, rank INTEGER) Question: On average, how many wins have a rank lower than 1? [/INST] SELECT AVG(wins) FROM table_name_14 WHERE rank < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: Name the 2010 for 2012 grand slam tournaments [/INST] SELECT 2010 FROM table_name_38 WHERE 2012 = ""grand slam tournaments"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR) Question: Result of w 16-10* o.t. had what attendance? [/INST] SELECT attendance FROM table_name_27 WHERE result = ""w 16-10* o.t."" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25735_1 (competition VARCHAR, winner VARCHAR) Question: Which competition did the toronto city saints win? [/INST] SELECT competition FROM table_25735_1 WHERE winner = ""Toronto City Saints"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR, rank VARCHAR) Question: How many wins had less than 91 points in 25th rank? [/INST] SELECT wins FROM table_name_44 WHERE points < 91 AND rank = ""25th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11964047_7 (visitor VARCHAR, leading_scorer VARCHAR) Question: Which visitors have a leading scorer of roy : 25 [/INST] SELECT visitor FROM table_11964047_7 WHERE leading_scorer = ""Roy : 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (russian VARCHAR) Question: What is the Russian word for the Greek word greek? [/INST] SELECT russian FROM table_name_70 WHERE ""greek"" = ""greek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (to_par VARCHAR, player VARCHAR) Question: What is Mike Souchak's to par score? [/INST] SELECT to_par FROM table_name_70 WHERE player = ""mike souchak"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (played INTEGER, against VARCHAR, lost VARCHAR) Question: What was the highest number of games played when they had over 14 against and 3 losses? [/INST] SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR, titles_won_at_point_of_lead VARCHAR) Question: At which tournament did william renshaw begin his lead when he had won 7 titles? [/INST] SELECT tournament_at_which_lead_began FROM table_23408094_14 WHERE player = ""William Renshaw"" AND titles_won_at_point_of_lead = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (song VARCHAR, draw VARCHAR, place VARCHAR, points VARCHAR) Question: Which song has a place greater than 7, more than 13 points, and draw of 5? [/INST] SELECT song FROM table_name_39 WHERE place > 7 AND points > 13 AND draw = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (date VARCHAR, away_team VARCHAR) Question: On what date the footscray's away game? [/INST] SELECT date FROM table_name_81 WHERE away_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (mult VARCHAR, sspec_number VARCHAR) Question: Spec number of slj6d(b1)slj6f(b1) has what mult.? [/INST] SELECT mult FROM table_name_85 WHERE sspec_number = ""slj6d(b1)slj6f(b1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668405_17 (district VARCHAR, candidates VARCHAR) Question: What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%? [/INST] SELECT district FROM table_2668405_17 WHERE candidates = ""Leven Powell (F) 63.8% Roger West (DR) 36.4%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR) Question: Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6? [/INST] SELECT MAX(conceded) FROM table_name_39 WHERE points > 17 AND team = ""guaraní"" AND losses < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR) Question: What party is Sanford Bishop a member of? [/INST] SELECT party FROM table_1341522_13 WHERE incumbent = ""Sanford Bishop"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, number_ VARCHAR, _name VARCHAR) Question: What is the date with identifying number of No. 37817? [/INST] SELECT date FROM table_name_86 WHERE number_ & _name = ""no. 37817"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (goals INTEGER, minutes VARCHAR) Question: What was the highest number of goals when 2428 minutes were played? [/INST] SELECT MAX(goals) FROM table_name_91 WHERE minutes = 2428 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (written_by VARCHAR, episode__number VARCHAR) Question: Who is the author of Episode 38 (16)? [/INST] SELECT written_by FROM table_name_2 WHERE episode__number = ""38 (16)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (party VARCHAR, left_office VARCHAR) Question: What is the party of the minister who left office on 26 November 2002? [/INST] SELECT party FROM table_name_3 WHERE left_office = ""26 november 2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR) Question: What machine did susan jenness trophy earn the trophy? [/INST] SELECT machine FROM table_name_75 WHERE trophy = ""susan jenness trophy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (player VARCHAR, school_club_team VARCHAR) Question: Who is the Player for School/Club Team Illinois? [/INST] SELECT player FROM table_name_22 WHERE school_club_team = ""illinois"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (name VARCHAR, usgs_map VARCHAR) Question: Which name has a USGS Map of clear lake? [/INST] SELECT name FROM table_name_85 WHERE usgs_map = ""clear lake"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28498999_4 (country VARCHAR, player VARCHAR) Question: What country is charley hoffman from? [/INST] SELECT country FROM table_28498999_4 WHERE player = ""Charley Hoffman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (away_captain VARCHAR, venue VARCHAR, home_captain VARCHAR) Question: Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? [/INST] SELECT away_captain FROM table_name_21 WHERE venue = ""melbourne cricket ground"" AND home_captain = ""joe darling"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (total INTEGER, silver VARCHAR, rank VARCHAR) Question: What is the total when silver is more than 3, and rank is 2? [/INST] SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR) Question: What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle? [/INST] SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = ""Brown Snake Eagle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) Question: What is the chassis for a 1952 officine alfieri maserati with an entrant? [/INST] SELECT chassis FROM table_name_92 WHERE entrant = ""officine alfieri maserati"" AND year = 1952 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR) Question: What's the February for the game against the Montreal Canadiens? [/INST] SELECT SUM(february) FROM table_name_88 WHERE opponent = ""montreal canadiens"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes? [/INST] SELECT title FROM table_23799653_1 WHERE directed_by = ""Laura Innes"" AND us_viewers__millions_ = ""9.63"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16570286_2 (matches VARCHAR, player VARCHAR) Question: How many numbers were recorded under matches with Arthur Morris? [/INST] SELECT COUNT(matches) FROM table_16570286_2 WHERE player = ""Arthur Morris"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076595_1 (location_s_ VARCHAR, control VARCHAR, type VARCHAR) Question: What are the public schools with a master's university? [/INST] SELECT location_s_ FROM table_2076595_1 WHERE control = ""Public"" AND type = ""Master's university"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (capacity INTEGER, club VARCHAR) Question: What is the largest capacity for the stadium for Treviso club? [/INST] SELECT MAX(capacity) FROM table_name_44 WHERE club = ""treviso"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE MATCH (venue VARCHAR, match_id VARCHAR, competition VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, match_id VARCHAR) Question: What is the venue of the competition ""1994 FIFA World Cup qualification"" hosted by ""Nanjing ( Jiangsu )""? [/INST] SELECT T3.venue FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city JOIN MATCH AS T3 ON T2.match_id = T3.match_id WHERE T1.city = ""Nanjing ( Jiangsu )"" AND T3.competition = ""1994 FIFA World Cup qualification"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE follows (f1 VARCHAR) Question: Find the number of followers for each user. [/INST] SELECT COUNT(*) FROM follows GROUP BY f1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE assignedto (scientist VARCHAR); CREATE TABLE scientists (name VARCHAR, ssn VARCHAR) Question: Find the name of scientists who are assigned to some project. [/INST] SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist = T2.ssn "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR) Question: What number in season is the episode directed by Gene Stupnitsky? [/INST] SELECT no_in_season FROM table_17482534_1 WHERE directed_by = ""Gene Stupnitsky"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (place_of_birth VARCHAR, committee VARCHAR, district VARCHAR) Question: Where was the delegate belonging to the Judiciary committee of district 43 born? [/INST] SELECT place_of_birth FROM table_name_24 WHERE committee = ""judiciary"" AND district = 43 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (away_team VARCHAR, ground VARCHAR) Question: Who was the away team at the Football Park match? [/INST] SELECT away_team FROM table_name_18 WHERE ground = ""football park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (genre VARCHAR, english_title__chinese_title_ VARCHAR) Question: Which Genre has an English title (Chinese title) of the romance of the white hair maiden 白髮魔女傳? [/INST] SELECT genre FROM table_name_92 WHERE english_title__chinese_title_ = ""the romance of the white hair maiden 白髮魔女傳"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR) Question: What is the overall pick number that Derrick Harvey was when he was picked in a round after round 1? [/INST] SELECT MIN(overall) FROM table_name_26 WHERE name = ""derrick harvey"" AND round > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (sunlight_hours INTEGER, city_town VARCHAR, days_with_frost VARCHAR) Question: What is the lowest number of sunlight hours, and number of days with frost, more than 30, for the city of Ourense? [/INST] SELECT MIN(sunlight_hours) FROM table_name_98 WHERE city_town = ""ourense"" AND days_with_frost > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (champions VARCHAR, year VARCHAR, runners_up VARCHAR) Question: Who won after 1999 with changwon lg sakers as runners-up? [/INST] SELECT champions FROM table_name_47 WHERE year > 1999 AND runners_up = ""changwon lg sakers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (poles INTEGER, season VARCHAR, wins VARCHAR, position VARCHAR) Question: What is the average Poles, when Wins is 0, when Position is ""nc"", and when Season is before 2004? [/INST] SELECT AVG(poles) FROM table_name_65 WHERE wins = 0 AND position = ""nc"" AND season < 2004 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10470082_6 (title VARCHAR, storyteller VARCHAR, director VARCHAR) Question: What is the name of the episode told by Kiki and directed by Will Dixon? [/INST] SELECT title FROM table_10470082_6 WHERE storyteller = ""Kiki"" AND director = ""Will Dixon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15905399_1 (active VARCHAR, iin_ranges VARCHAR) Question: Is the iin range 4 active? [/INST] SELECT active FROM table_15905399_1 WHERE iin_ranges = ""4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27914606_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR) Question: what is the number of the episode in the season that had 7.19 millions of north american viewers? [/INST] SELECT season__number FROM table_27914606_1 WHERE us_viewers__millions_ = ""7.19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals? [/INST] SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = ""austria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) Question: Name the womens doubles when mixed doubles is potten ruth scott [/INST] SELECT womens_doubles FROM table_14903881_1 WHERE mixed_doubles = ""Potten Ruth Scott"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (event VARCHAR, position VARCHAR, year VARCHAR) Question: What is Event, when Position is 6th, and when Year is after 2006? [/INST] SELECT event FROM table_name_97 WHERE position = ""6th"" AND year > 2006 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (days_held VARCHAR, current_champion_s_ VARCHAR) Question: Name the days for current champions of dean ambrose [/INST] SELECT days_held FROM table_name_33 WHERE current_champion_s_ = ""dean ambrose"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (year INTEGER, points INTEGER) Question: What is the latest year with less than 0 points? [/INST] SELECT MAX(year) FROM table_name_54 WHERE points < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (matches VARCHAR, name VARCHAR, rank VARCHAR) Question: What was the total number of matches for Nat Lofthouse, ranking higher than 7? [/INST] SELECT COUNT(matches) FROM table_name_55 WHERE name = ""nat lofthouse"" AND rank > 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the average Gold when silver is more than 2, and bronze is more than 1 [/INST] SELECT AVG(gold) FROM table_name_59 WHERE silver > 2 AND bronze > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR) Question: How many episodes have a series number of 35? [/INST] SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Opening_Hours VARCHAR, How_to_Get_There VARCHAR) Question: What are the names and opening hours of the tourist attractions that can be accessed by bus or walk? [/INST] SELECT Name, Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = ""bus"" OR How_to_Get_There = ""walk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11604804_5 (founded INTEGER, nickname VARCHAR) Question: What is the founding of parsu cimmarons? [/INST] SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = ""ParSU Cimmarons"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR) Question: who is the opponent on 18 january 1993? [/INST] SELECT opponent FROM table_name_23 WHERE date = ""18 january 1993"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (Id VARCHAR) Question: what is the listing for 1999 when 1990 is more than 0, 2003 is 3, 2007 is more than 1 and 1996 is more than 0? [/INST] SELECT SUM(1999) FROM table_name_27 WHERE 1990 > 0 AND 2003 = 3 AND 2007 > 1 AND 1996 > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (indicia VARCHAR, end_month VARCHAR) Question: Which Indicia has anEnd month in feb-75? [/INST] SELECT indicia FROM table_name_52 WHERE end_month = ""feb-75"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (goals INTEGER, years VARCHAR) Question: What was the highest number of goals for 1922–1935? [/INST] SELECT MAX(goals) FROM table_name_18 WHERE years = ""1922–1935"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR) Question: What was the date of the game with a score of W 106-100? [/INST] SELECT date FROM table_name_2 WHERE score = ""w 106-100"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, capital VARCHAR) Question: Nagua has the area (km²) of? [/INST] SELECT area__km²_ FROM table_1888051_1 WHERE capital = ""Nagua"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29436007_1 (written_by VARCHAR, no_in_season VARCHAR) Question: Who wrote episode 23 of the season? [/INST] SELECT written_by FROM table_29436007_1 WHERE no_in_season = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (film_title_used_in_nomination VARCHAR, language VARCHAR, country VARCHAR) Question: Name the film title that is spanish from peru [/INST] SELECT film_title_used_in_nomination FROM table_name_78 WHERE language = ""spanish"" AND country = ""peru"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (game VARCHAR, record VARCHAR) Question: What is the Game number when the Rangers have a Record of 25-24-11? [/INST] SELECT COUNT(game) FROM table_name_18 WHERE record = ""25-24-11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR) Question: How many numbers in series were for the number in season of 8? [/INST] SELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed the episode that has 3x6752 listed as the production code? [/INST] SELECT directed_by FROM table_22347090_4 WHERE production_code = ""3X6752"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21756039_1 (year VARCHAR, overall VARCHAR) Question: In which year is the overall 29-4? [/INST] SELECT year FROM table_21756039_1 WHERE overall = ""29-4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR) Question: What was the 2006 population count of the local government area where Coober Pedy is located? [/INST] SELECT pop_2006 FROM table_23685890_2 WHERE major_town = ""Coober Pedy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (played INTEGER, lost VARCHAR, points VARCHAR) Question: How many games were played when the loss is less than 5 and points greater than 41? [/INST] SELECT SUM(played) FROM table_name_85 WHERE lost < 5 AND points > 41 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (year INTEGER, program_title VARCHAR, score VARCHAR) Question: What was the latest year placement for Taboo with a score smaller than 96.125? [/INST] SELECT MAX(year) FROM table_name_50 WHERE program_title = ""taboo"" AND score < 96.125 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR) Question: What tyre has a chassis of p57 p61? [/INST] SELECT tyre FROM table_name_85 WHERE chassis = ""p57 p61"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (years_for_jazz VARCHAR, player VARCHAR) Question: What years did Troy Hudson play for the Jazz? [/INST] SELECT years_for_jazz FROM table_name_29 WHERE player = ""troy hudson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR) Question: What is the total amount of trees when district is leninsky? [/INST] SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = ""Leninsky"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (losses VARCHAR, geelong_fl VARCHAR, wins VARCHAR) Question: How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins? [/INST] SELECT COUNT(losses) FROM table_name_23 WHERE geelong_fl = ""newtown & chilwell"" AND wins > 11 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Type_Of_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR); CREATE TABLE Restaurant_Type (Id VARCHAR) Question: How many restaurant is the Sandwich type restaurant? [/INST] SELECT COUNT(*) FROM Restaurant JOIN Type_Of_Restaurant ON Restaurant.ResID = Type_Of_Restaurant.ResID JOIN Restaurant_Type ON Type_Of_Restaurant.ResTypeID = Restaurant_Type.ResTypeID GROUP BY Type_Of_Restaurant.ResTypeID HAVING Restaurant_Type.ResTypeName = 'Sandwich'
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_44 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) Question: What was the dominant religion in 2002 in lokve? [/INST] SELECT dominant_religion__2002_ FROM table_2562572_44 WHERE settlement = ""Lokve"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) Question: On April 28, what was the average number of people attending? [/INST] SELECT AVG(attendance) FROM table_name_6 WHERE date = ""april 28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR) Question: What was attendance on March 11, 1995? [/INST] SELECT MIN(attendance) FROM table_20745746_1 WHERE date = ""March 11, 1995"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (away_team VARCHAR) Question: What was Melbourne's away team score? [/INST] SELECT away_team AS score FROM table_name_20 WHERE away_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR) Question: Which class has a peak named fountains fell south top? [/INST] SELECT class FROM table_name_31 WHERE peak = ""fountains fell south top"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR) Question: Which Record has a High points of hoffman (16)? [/INST] SELECT record FROM table_name_58 WHERE high_points = ""hoffman (16)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR) Question: What is the lowest attendance for week 2? [/INST] SELECT MIN(attendance) FROM table_name_50 WHERE week = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE matches (winner_name VARCHAR, winner_rank_points VARCHAR) Question: Find the name and rank points of the winner who won the most times. [/INST] SELECT TOP 1 winner_name, winner_rank_points FROM matches GROUP BY winner_name ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR) Question: What label has the 817 catalog? [/INST] SELECT label FROM table_name_92 WHERE catalog_number = ""817"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (races VARCHAR, top_5 VARCHAR, avg_start VARCHAR) Question: What is the number of races having top 5s over 2 and average starts of 6.5? [/INST] SELECT races FROM table_name_51 WHERE top_5 > 2 AND avg_start = 6.5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR) Question: Which Res has an Event of UFC 122? [/INST] SELECT res FROM table_name_40 WHERE event = ""ufc 122"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (tournament VARCHAR) Question: Which tournament had 2r in 2010? [/INST] SELECT tournament FROM table_name_60 WHERE 2010 = ""2r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR) Question: Who was the entrant for Louis Chiron with a Chassis of T26C? [/INST] SELECT entrant FROM table_name_95 WHERE driver = ""louis chiron"" AND chassis = ""t26c"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR) Question: In what Games did Patrick Etolu compete? [/INST] SELECT games FROM table_name_60 WHERE name = ""patrick etolu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14623167_1 (branding VARCHAR, physical VARCHAR) Question: Name the number of branding for 31 physical [/INST] SELECT COUNT(branding) FROM table_14623167_1 WHERE physical = 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR) Question: Count the Number of electorates (2009) that has a District of fatehpur and jahanabad? [/INST] SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = ""fatehpur"" AND name = ""jahanabad"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (authority VARCHAR, name VARCHAR) Question: What is the Whakamaru school's authority? [/INST] SELECT authority FROM table_name_32 WHERE name = ""whakamaru school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR) Question: On which track did Takashi Kogure hold pole position? [/INST] SELECT track FROM table_name_86 WHERE pole_position = ""takashi kogure"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15887683_5 (n° VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR) Question: What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package? [/INST] SELECT n° FROM table_15887683_5 WHERE package_option = ""Sky Cinema"" AND content = ""cinema"" AND television_service = ""Sky Cinema"" + 24 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) Question: What is the rank of Manuel Cortina Martínez? [/INST] SELECT rank FROM table_name_46 WHERE athletes = ""manuel cortina martínez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR) Question: who is the the high rebounds with high assbeingts being scottie pippen (9) [/INST] SELECT high_rebounds FROM table_13480122_5 WHERE high_assists = ""Scottie Pippen (9)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (incumbent VARCHAR, district VARCHAR) Question: Who was the incumbent in the 20th district? [/INST] SELECT incumbent FROM table_name_16 WHERE district = ""20th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (cbs_airdate VARCHAR, episode VARCHAR, airdate__usa_ VARCHAR) Question: What is the CBS airdate of the episode with a number under 70 with a USA airdate of 1 April 2005? [/INST] SELECT cbs_airdate FROM table_name_26 WHERE episode < 70 AND airdate__usa_ = ""1 april 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (round INTEGER, method VARCHAR) Question: What round was the fight won or loss by a decision? [/INST] SELECT MIN(round) FROM table_name_4 WHERE method = ""decision"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (date VARCHAR, surface VARCHAR, score VARCHAR) Question: What day was the surface clay and the score 6–1, 6–4? [/INST] SELECT date FROM table_name_23 WHERE surface = ""clay"" AND score = ""6–1, 6–4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (bask INTEGER, soft VARCHAR, total VARCHAR) Question: Which Bask has Soft of 18, and a Total larger than 35? [/INST] SELECT AVG(bask) FROM table_name_17 WHERE soft = ""18"" AND total > 35 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR) Question: What is the finish of Mclaren chassis? [/INST] SELECT finish FROM table_name_7 WHERE chassis = ""mclaren"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR) Question: Which power output had a Build date of 1951–1956? [/INST] SELECT power_output FROM table_name_23 WHERE build_date = ""1951–1956"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR) Question: Who was the winning team for circuit zolder? [/INST] SELECT winning_team FROM table_name_46 WHERE circuit = ""circuit zolder"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (built_by VARCHAR, name VARCHAR) Question: Which Built by has a Name of northern jaeger? [/INST] SELECT built_by FROM table_name_44 WHERE name = ""northern jaeger"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (Id VARCHAR) Question: Tell me the 2008 of 2001 olympic games [/INST] SELECT 2008 FROM table_name_69 WHERE 2011 = ""olympic games"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR) Question: In which category did Nick Jonas win at the Kids' Choice Awards Mexico? [/INST] SELECT category FROM table_name_9 WHERE recipient_s_ = ""nick jonas"" AND award = ""kids' choice awards mexico"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR) Question: What was the handicap when the prize money was 120s? [/INST] SELECT handicap FROM table_2896329_1 WHERE prize_money = ""120s"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) Question: How many cards does customer Art Turcotte have? [/INST] SELECT COUNT(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = ""Art"" AND T2.customer_last_name = ""Turcotte"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR) Question: Where is the Stadium of Gortakeegan located? [/INST] SELECT location FROM table_name_91 WHERE stadium = ""gortakeegan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (opponent VARCHAR, loss VARCHAR) Question: Which opponent has a loss of erickson (8-19)? [/INST] SELECT opponent FROM table_name_46 WHERE loss = ""erickson (8-19)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR, venue VARCHAR) Question: What is Result, when Date is ""June 11, 1994"", and when Venue is ""Miami, United States""? [/INST] SELECT result FROM table_name_58 WHERE date = ""june 11, 1994"" AND venue = ""miami, united states"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (pick INTEGER, name VARCHAR, round VARCHAR) Question: Which Pick has a Name of ed hickerson, and a Round smaller than 10? [/INST] SELECT SUM(pick) FROM table_name_56 WHERE name = ""ed hickerson"" AND round < 10 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER) Question: Name the least clock rate mhz [/INST] SELECT MIN(clock_rate__mhz_) FROM table_142573_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1745843_10 (part_1 VARCHAR, verb_meaning VARCHAR) Question: How many verbs mean to grow, to produce [/INST] SELECT COUNT(part_1) FROM table_1745843_10 WHERE verb_meaning = ""to grow, to produce"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (date VARCHAR, catalogue VARCHAR) Question: What was Catalogue tojp 60121-22's Date? [/INST] SELECT date FROM table_name_67 WHERE catalogue = ""tojp 60121-22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR) Question: What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)? [/INST] SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = ""abc"" AND channel___tv___rf__ = ""9 (22)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR) Question: What episode has average ratings of 7.4%? [/INST] SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = ""7.4%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (english_title VARCHAR, director VARCHAR) Question: What is the English title of the film Directed by Jayme Monjardim? [/INST] SELECT english_title FROM table_name_21 WHERE director = ""jayme monjardim"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR) Question: The episode titled ""Epiphany"" received what scripted show ranking? [/INST] SELECT MIN(scripted_show_ranking) FROM table_22170495_7 WHERE title = ""Epiphany"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (name VARCHAR, pressure VARCHAR) Question: Which name has a pressure of 985hpa (29.09inhg)? [/INST] SELECT name FROM table_name_56 WHERE pressure = ""985hpa (29.09inhg)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1193568_1 (province VARCHAR, member VARCHAR) Question: what's the province where member is dingley brittin category:articles with hcards [/INST] SELECT province FROM table_1193568_1 WHERE member = ""Dingley Brittin Category:Articles with hCards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1108394_6 (brooklyn VARCHAR, manhattan VARCHAR) Question: What was the total in Brooklyn when Manhattan was 3,139? [/INST] SELECT brooklyn FROM table_1108394_6 WHERE manhattan = ""3,139"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (name VARCHAR, location VARCHAR) Question: What is the name of the building at Aston? [/INST] SELECT name FROM table_name_59 WHERE location = ""aston"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR) Question: What date had a result of 8-0? [/INST] SELECT date FROM table_name_40 WHERE result = ""8-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (capacity INTEGER, stadium VARCHAR) Question: What is the highest capacity of the tsentral stadium (batumi)? [/INST] SELECT MAX(capacity) FROM table_name_95 WHERE stadium = ""tsentral stadium (batumi)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (year INTEGER, winner VARCHAR) Question: How many years did caroline lubrez win? [/INST] SELECT SUM(year) FROM table_name_19 WHERE winner = ""caroline lubrez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (cash_on_hand VARCHAR, after_debt VARCHAR) Question: How much cash was on hand after debt of $82,741? [/INST] SELECT cash_on_hand FROM table_name_93 WHERE after_debt = ""$82,741"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR) Question: What date did the away team Mansfield Town play? [/INST] SELECT date FROM table_name_56 WHERE away_team = ""mansfield town"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR) Question: What nation was Pageos 1 from? [/INST] SELECT nation FROM table_2150068_1 WHERE satellite = ""PAGEOS 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR) Question: What is the record for the away leg in round 1 and aggregate 2-0? [/INST] SELECT away_leg FROM table_2214582_1 WHERE round = 1 AND aggregate = ""2-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (date_sent VARCHAR, constellation VARCHAR) Question: What date sent has cancer as the constellation? [/INST] SELECT date_sent FROM table_name_29 WHERE constellation = ""cancer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (source VARCHAR, date VARCHAR, race_winners VARCHAR, gp_winner VARCHAR) Question: What source has a race winner of ben adriaenssen / ben van den bogaart, and the gp winner of ben adriaenssen / ben van den bogaart, for the date of 1 april? [/INST] SELECT source FROM table_name_8 WHERE race_winners = ""ben adriaenssen / ben van den bogaart"" AND gp_winner = ""ben adriaenssen / ben van den bogaart"" AND date = ""1 april"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (opponent_in_the_final VARCHAR, date VARCHAR) Question: Who is the opponent in the final on 24 November 2008? [/INST] SELECT opponent_in_the_final FROM table_name_43 WHERE date = ""24 november 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14102379_4 (attendance INTEGER, stadium VARCHAR) Question: what is the minimum attendance with stadium being cotton bowl [/INST] SELECT MIN(attendance) FROM table_14102379_4 WHERE stadium = ""Cotton Bowl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) Question: Score of 2–3 ot on what date? [/INST] SELECT date FROM table_name_76 WHERE score = ""2–3 ot"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) Question: What is Fleet Number(s), when Wheel Arrangement is ""2-6-0"", and when Class is ""Z""? [/INST] SELECT fleet_number_s_ FROM table_name_98 WHERE wheel_arrangement = ""2-6-0"" AND class = ""z"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE body_builder (Id VARCHAR) Question: Show all information about each body builder. [/INST] SELECT * FROM body_builder
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR) Question: Which class starts after 1939 and has a road number smaller than 3508? [/INST] SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Rooms (decor VARCHAR, basePrice INTEGER) Question: Find the number of rooms with price higher than 120 for different decor. [/INST] SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (away_captain VARCHAR, venue VARCHAR) Question: What is the name of the away captain when the game was at Adelaide Oval? [/INST] SELECT away_captain FROM table_name_5 WHERE venue = ""adelaide oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR) Question: Name the writers for 46 in series [/INST] SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (label VARCHAR, catalog VARCHAR) Question: Name the label with catalog of mhcl-20005 [/INST] SELECT label FROM table_name_88 WHERE catalog = ""mhcl-20005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, company VARCHAR) Question: What are the profits in billions for Berkshire Hathaway? [/INST] SELECT profits__billion_$_ FROM table_1682026_6 WHERE company = ""Berkshire Hathaway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) Question: What was the lowest re-elected result for Sylvester C. Smith? [/INST] SELECT MIN(first_elected) FROM table_name_47 WHERE result = ""re-elected"" AND incumbent = ""sylvester c. smith"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR) Question: Who was the Builder for the locomotive that has a works number of 323? [/INST] SELECT builder FROM table_name_92 WHERE works_number = ""323"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR) Question: Which away team has a Tie no of 14? [/INST] SELECT away_team FROM table_name_67 WHERE tie_no = ""14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR) Question: What is the name of constituency 5? [/INST] SELECT name FROM table_name_50 WHERE constituency_number = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (space_agency VARCHAR, name VARCHAR) Question: Which space agency launched the herschel space observatory? [/INST] SELECT space_agency FROM table_name_17 WHERE name = ""herschel space observatory"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2077192_2 (phonetic_greek VARCHAR, french VARCHAR) Question: How many Phonetic Greek words translate to grenouille in French? [/INST] SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE french = ""grenouille"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (draws INTEGER, goals_against VARCHAR, losses VARCHAR) Question: What is the total draw count with 52 goals and less than 15 losses? [/INST] SELECT SUM(draws) FROM table_name_38 WHERE goals_against = 52 AND losses < 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year VARCHAR, chassis VARCHAR) Question: How many years was the chassis a Coloni C3? [/INST] SELECT COUNT(year) FROM table_name_51 WHERE chassis = ""coloni c3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR) Question: What date did Paul Goldstein play the final? [/INST] SELECT date FROM table_name_69 WHERE opponent_in_the_final = ""paul goldstein"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (round VARCHAR, pick VARCHAR, name VARCHAR) Question: How many rounds have a Pick smaller than 10, and a Name of larry hendershot? [/INST] SELECT COUNT(round) FROM table_name_70 WHERE pick < 10 AND name = ""larry hendershot"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (venue VARCHAR, runs VARCHAR) Question: Where was the venue that had 274 runs? [/INST] SELECT venue FROM table_name_29 WHERE runs = ""274"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14302582_1 (home_attendance INTEGER, competition VARCHAR) Question: What was the lowest home attendance for the southern derby? [/INST] SELECT MIN(home_attendance) FROM table_14302582_1 WHERE competition = ""Southern Derby"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (tries INTEGER, club VARCHAR, points VARCHAR) Question: Name the fewest tries for leicester tigers with points less than 207 [/INST] SELECT MIN(tries) FROM table_name_6 WHERE club = ""leicester tigers"" AND points < 207 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (points_for VARCHAR, club VARCHAR) Question: How many pints does the Cambrian Welfare RFC have? [/INST] SELECT points_for FROM table_name_50 WHERE club = ""cambrian welfare rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR) Question: Which award category was the film series The Wire nominated for after 2005? [/INST] SELECT category FROM table_name_20 WHERE result = ""nominated"" AND film_or_series = ""the wire"" AND year > 2005 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (result VARCHAR, bowl_game VARCHAR) Question: What result has 1947 sun bowl as the bowl game? [/INST] SELECT result FROM table_name_81 WHERE bowl_game = ""1947 sun bowl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (d_45_o VARCHAR, d_46_o VARCHAR) Question: Name the D 45 O with D 46 O of r 31 √ [/INST] SELECT d_45_o FROM table_name_97 WHERE d_46_o = ""r 31 √"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (year INTEGER, to_par VARCHAR) Question: Which Year is the lowest one that has a To par of –1? [/INST] SELECT MIN(year) FROM table_name_93 WHERE to_par = ""–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR) Question: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003? [/INST] SELECT out_of FROM table_name_31 WHERE source = ""united nations"" AND rank > 47 AND year < 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_176529_2 (official_name VARCHAR, area_km_2 VARCHAR) Question: What is the name of the place where area is 578.28 square km? [/INST] SELECT official_name FROM table_176529_2 WHERE area_km_2 = ""578.28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25355501_2 (november_3 VARCHAR, january_15_16 VARCHAR) Question: How many entries are shown for november 3 when january 15-16 is 141? [/INST] SELECT COUNT(november_3) FROM table_25355501_2 WHERE january_15_16 = ""141"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (space_crusade VARCHAR, english VARCHAR) Question: Name the space crusade when the english is of finnish [/INST] SELECT space_crusade FROM table_name_7 WHERE english = ""finnish"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (november INTEGER, game INTEGER) Question: What is the sum of November, when Game is greater than 23? [/INST] SELECT SUM(november) FROM table_name_40 WHERE game > 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (overall INTEGER, college VARCHAR, pick__number VARCHAR) Question: What is the overall number of the player from Utah with a pick # higher than 7? [/INST] SELECT SUM(overall) FROM table_name_54 WHERE college = ""utah"" AND pick__number < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (score VARCHAR, loss VARCHAR) Question: Which score has a Loss of hiller (22–15–1)? [/INST] SELECT score FROM table_name_12 WHERE loss = ""hiller (22–15–1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR) Question: What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg? [/INST] SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = ""210kg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (date VARCHAR, goal VARCHAR) Question: Tell me the date of goal 5 [/INST] SELECT date FROM table_name_5 WHERE goal = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26250199_1 (theme VARCHAR, episode VARCHAR) Question: In episode Top 16 (8 Men), what are the themes? [/INST] SELECT theme FROM table_26250199_1 WHERE episode = ""Top 16 (8 Men)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR) Question: What is the Australian open in 2010? [/INST] SELECT australian_open FROM table_name_71 WHERE year = 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (position INTEGER, draws INTEGER) Question: What is the sum of the position with less than 0 draws? [/INST] SELECT SUM(position) FROM table_name_39 WHERE draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140099_6 (report VARCHAR, winning_driver VARCHAR) Question: What is the report for the race that Mike Spence won. [/INST] SELECT report FROM table_1140099_6 WHERE winning_driver = ""Mike Spence"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR) Question: How many tries for are for 473 points for? [/INST] SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = ""473"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27969432_4 (us_viewers__in_millions_ VARCHAR, no_in_season VARCHAR) Question: How many viewers in millions were there for episode 4 of this season? [/INST] SELECT COUNT(us_viewers__in_millions_) FROM table_27969432_4 WHERE no_in_season = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR) Question: When did they play against Wales? [/INST] SELECT date FROM table_name_41 WHERE opponent = ""wales"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR) Question: What is the lowest value for Draws, when Losses is ""0"", and when Byes is greater than 4? [/INST] SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) Question: What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th? [/INST] SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = ""mv agusta"" AND rank = ""10th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1368649_9 (grand_final_dual_television_commentator VARCHAR, year_s_ VARCHAR) Question: How many grand final dual television commentators were there in 1961? [/INST] SELECT COUNT(grand_final_dual_television_commentator) FROM table_1368649_9 WHERE year_s_ = 1961 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (record VARCHAR, score VARCHAR) Question: What is the Record of the game with a Score of 107–108? [/INST] SELECT record FROM table_name_85 WHERE score = ""107–108"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (date VARCHAR, home VARCHAR, visitor VARCHAR) Question: What is the date of the game with pittsburgh as the home team and boston as the visitor team? [/INST] SELECT date FROM table_name_32 WHERE home = ""pittsburgh"" AND visitor = ""boston"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (name VARCHAR, price VARCHAR) Question: Select the name and price of all products with a price larger than or equal to $180, and sort first by price (in descending order), and then by name (in ascending order). [/INST] SELECT name, price FROM products WHERE price >= 180 ORDER BY price DESC, name "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20887670_1 (affiliation VARCHAR, colors VARCHAR) Question: what is the affiliation of the colors maroon and white? [/INST] SELECT affiliation FROM table_20887670_1 WHERE colors = ""Maroon and White"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, pick__number VARCHAR) Question: Name the college/junior club team for pick number 63 [/INST] SELECT college_junior_club_team FROM table_1473672_4 WHERE pick__number = 63 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR) Question: Which Nation has a Bronze smaller than 1, and a Total larger than 1, and a Silver of 1? [/INST] SELECT nation FROM table_name_82 WHERE bronze < 1 AND total > 1 AND silver = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (class VARCHAR, laps INTEGER) Question: Which class has laps under 77? [/INST] SELECT class FROM table_name_85 WHERE laps < 77 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (race_winner VARCHAR, circuit VARCHAR) Question: Who won the race circuit of sachsenring? [/INST] SELECT race_winner FROM table_name_47 WHERE circuit = ""sachsenring"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (rank INTEGER, time___sec__ VARCHAR) Question: What is the rank for the person with time 11.14? [/INST] SELECT AVG(rank) FROM table_name_54 WHERE time___sec__ = 11.14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR) Question: What office is Jon Huntsman a candidate for? [/INST] SELECT office FROM table_20246201_9 WHERE candidate = ""Jon Huntsman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (event VARCHAR, time VARCHAR) Question: What Event's Time is 4:01.00? [/INST] SELECT event FROM table_name_4 WHERE time = ""4:01.00"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (score_final INTEGER, score_qualifying VARCHAR) Question: What was her lowest final score with a qualifying score of 74.075? [/INST] SELECT MIN(score_final) FROM table_name_7 WHERE score_qualifying = 74.075 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (week INTEGER, result VARCHAR) Question: Which Week has a Result of l 41-14? [/INST] SELECT MIN(week) FROM table_name_89 WHERE result = ""l 41-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (tournament VARCHAR, career_sr VARCHAR) Question: What tournament has 0 / 5 as career SR and A as 1983? [/INST] SELECT tournament FROM table_name_71 WHERE career_sr = ""0 / 5"" AND 1983 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE FLIGHTS (Airline VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR) Question: How many 'United Airlines' flights go to Airport 'ASY'? [/INST] SELECT COUNT(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = ""United Airlines"" AND T2.DestAirport = ""ASY"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (name VARCHAR, rank VARCHAR, year VARCHAR) Question: I want the name for rank less than 6 and year more than 1974 [/INST] SELECT name FROM table_name_75 WHERE rank < 6 AND year > 1974 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR) Question: What is the title of episode number 9-10? [/INST] SELECT title FROM table_27832075_2 WHERE episode__number = ""9-10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR) Question: What is the first year that Mario Lemieux from Canada won playing center? [/INST] SELECT MIN(year) FROM table_name_21 WHERE country = ""canada"" AND position = ""center"" AND player = ""mario lemieux"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (captain_s_ VARCHAR, competition VARCHAR) Question: Who is the captain of the 2012 NRL season competition? [/INST] SELECT captain_s_ FROM table_name_75 WHERE competition = ""2012 nrl season"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER) Question: What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? [/INST] SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (total INTEGER, a_score VARCHAR, position VARCHAR, b_score VARCHAR) Question: What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6? [/INST] SELECT AVG(total) FROM table_name_89 WHERE position < 4 AND b_score > 9.125 AND a_score < 6.6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, no_of_communes VARCHAR) Question: What's the area of the voivodenship with 51 communes? [/INST] SELECT area_km²__1998_ FROM table_11656578_2 WHERE no_of_communes = 51 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE song (artist_name VARCHAR); CREATE TABLE artist (country VARCHAR, artist_name VARCHAR) Question: Find the country of origin for the artist who made the least number of songs? [/INST] SELECT TOP 1 T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (team_1 VARCHAR, team_2 VARCHAR) Question: what is team 1 when team 2 is gazélec ajaccio (d3)? [/INST] SELECT team_1 FROM table_name_6 WHERE team_2 = ""gazélec ajaccio (d3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (lyrics__l____music__m_ VARCHAR, draw VARCHAR) Question: What are the Lyrics (l) / Music (m) when the draw was 5? [/INST] SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR) Question: Who is the opponent of the game that had a record of 24-26-4? [/INST] SELECT opponent FROM table_name_50 WHERE record = ""24-26-4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR) Question: who is the the mens singles with mens doubles being kaj lindfors kaj osterberg [/INST] SELECT mens_singles FROM table_13857700_1 WHERE mens_doubles = ""Kaj Lindfors Kaj Osterberg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR) Question: What was the Surface in the match with a Score of 7–5, 6–7, 4–6? [/INST] SELECT surface FROM table_name_40 WHERE score = ""7–5, 6–7, 4–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_199666_1 (wireless_lan VARCHAR, process_technology VARCHAR, centrino VARCHAR) Question: What Wireless LAN had a process technology of 90nm and a Carmel centrino? [/INST] SELECT wireless_lan FROM table_199666_1 WHERE process_technology = ""90nm"" AND centrino = ""Carmel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (score VARCHAR, visitor VARCHAR) Question: What was the score when Minnesota visited? [/INST] SELECT score FROM table_name_86 WHERE visitor = ""minnesota"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (location VARCHAR, coach VARCHAR, founded VARCHAR) Question: Where is the club that was founded in 1946 located that has an unknown coach? [/INST] SELECT location FROM table_name_45 WHERE coach = ""unknown"" AND founded = 1946 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR, score VARCHAR) Question: On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)? [/INST] SELECT surface FROM table_name_24 WHERE partner = ""david martin"" AND score = ""4–6, 6–7 (4-7)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR) Question: Name the award for candida scott knight [/INST] SELECT award FROM table_name_78 WHERE director_s_ = ""candida scott knight"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR) Question: Which Home team score has an Away team of st kilda? [/INST] SELECT home_team AS score FROM table_name_2 WHERE away_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (active_pixels VARCHAR, model VARCHAR) Question: What are the active pixels of the cantare model? [/INST] SELECT active_pixels FROM table_name_10 WHERE model = ""cantare"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (bronze INTEGER, total INTEGER) Question: What is the lowest number of bronze medals for a nation with fewer than 1 total medal? [/INST] SELECT MIN(bronze) FROM table_name_87 WHERE total < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Rooms (RoomId VARCHAR, maxOccupancy VARCHAR); CREATE TABLE Reservations (Room VARCHAR, Adults VARCHAR, Kids VARCHAR) Question: List how many times the number of people in the room reached the maximum occupancy of the room. The number of people include adults and kids. [/INST] SELECT COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE T2.maxOccupancy = T1.Adults + T1.Kids "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1818471_1 (afinsa VARCHAR, value VARCHAR) Question: How many different numbers for Afinsa when value is 5p? [/INST] SELECT COUNT(afinsa) FROM table_1818471_1 WHERE value = ""5P"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR) Question: What is the Length of retirement of the President with an Age at inauguration of 70years, 53days? [/INST] SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = ""70years, 53days"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27734769_8 (score VARCHAR, team VARCHAR) Question: What is the score when the team is milwaukee? [/INST] SELECT score FROM table_27734769_8 WHERE team = ""Milwaukee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (icao VARCHAR, iata VARCHAR) Question: What is the ICAO when the IATA shows mfm? [/INST] SELECT icao FROM table_name_2 WHERE iata = ""mfm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR) Question: Which Venue is on 2004-07-24? [/INST] SELECT venue FROM table_name_68 WHERE date = ""2004-07-24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (hometown VARCHAR, college VARCHAR) Question: What is the hometown for a college in Wisconsin? [/INST] SELECT hometown FROM table_name_43 WHERE college = ""wisconsin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (silver INTEGER, rank VARCHAR, gold VARCHAR) Question: Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0? [/INST] SELECT MAX(silver) FROM table_name_71 WHERE rank = ""19"" AND gold > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (height_ft__m_ VARCHAR, floors VARCHAR, year VARCHAR) Question: How tall is the building built in 1985 with 22 floors? [/INST] SELECT height_ft__m_ FROM table_name_44 WHERE floors = 22 AND year = 1985 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (fleet_number VARCHAR, year VARCHAR) Question: What is fleet number for the year of 19xx? [/INST] SELECT fleet_number FROM table_name_62 WHERE year = ""19xx"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on July 27? [/INST] SELECT opponent FROM table_name_44 WHERE date = ""july 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (pl_gp VARCHAR, reg_gp INTEGER) Question: What is the total PI GP that a Reg GP has larger than 3? [/INST] SELECT COUNT(pl_gp) FROM table_name_79 WHERE reg_gp > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (kickoff___et__ VARCHAR, game_site VARCHAR) Question: What is the kickoff time for the game that was at Ralph Wilson Stadium? [/INST] SELECT kickoff___et__ FROM table_name_92 WHERE game_site = ""ralph wilson stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (catalog VARCHAR, region VARCHAR) Question: Which catalog value has a region of world? [/INST] SELECT catalog FROM table_name_34 WHERE region = ""world"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ROLES (role_name VARCHAR, role_description VARCHAR, role_code VARCHAR) Question: What are the name and description for role code ""MG""? [/INST] SELECT role_name, role_description FROM ROLES WHERE role_code = ""MG"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR) Question: what's the fuel delivery where power is hp (kw) @6500 rpm [/INST] SELECT fuel_delivery FROM table_11167610_1 WHERE power = ""hp (kW) @6500 rpm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR) Question: What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ? [/INST] SELECT weight FROM table_name_31 WHERE club = ""uralochka zlatoust"" AND date_of_birth = ""1981-02-24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (round VARCHAR, college VARCHAR) Question: How many total rounds has lehigh as the college? [/INST] SELECT COUNT(round) FROM table_name_90 WHERE college = ""lehigh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (home VARCHAR, points INTEGER) Question: Which home team has higher than 92 points? [/INST] SELECT home FROM table_name_14 WHERE points > 92 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (partner VARCHAR, score VARCHAR) Question: Who was Silva's Partner in the match with a Score of 6–3, 7–6 (7–3)? [/INST] SELECT partner FROM table_name_64 WHERE score = ""6–3, 7–6 (7–3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (player VARCHAR, place VARCHAR, score VARCHAR) Question: What T9 Place Player had a Score of 73-67-74-71=285? [/INST] SELECT player FROM table_name_92 WHERE place = ""t9"" AND score = 73 - 67 - 74 - 71 = 285 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR) Question: What date did Lanny Wadkins (6) win? [/INST] SELECT date FROM table_name_12 WHERE winner = ""lanny wadkins (6)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (theme VARCHAR, year VARCHAR, issue_price VARCHAR) Question: What theme is associated with a year before 2006 and Issue Price of $25.22? [/INST] SELECT theme FROM table_name_14 WHERE year < 2006 AND issue_price = ""$25.22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (club VARCHAR, position VARCHAR, goals_against VARCHAR, goal_difference VARCHAR) Question: What club has less than 60 goals against, a goal difference smaller than 1, and a position of 8? [/INST] SELECT club FROM table_name_73 WHERE goals_against < 60 AND goal_difference < 1 AND position = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (country VARCHAR, to_par VARCHAR, player VARCHAR) Question: What is the country of player lee trevino, who has a to par of +2? [/INST] SELECT country FROM table_name_32 WHERE to_par = ""+2"" AND player = ""lee trevino"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (pick INTEGER, position VARCHAR, round VARCHAR, school_club_team VARCHAR) Question: Which Pick has a Round larger than 1, a School/Club Team of alcorn state, and a Position of defensive back? [/INST] SELECT SUM(pick) FROM table_name_88 WHERE round > 1 AND school_club_team = ""alcorn state"" AND position = ""defensive back"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28140141_1 (artist VARCHAR, show VARCHAR) Question: How many artists were there for the show thoroughly modern millie? [/INST] SELECT COUNT(artist) FROM table_28140141_1 WHERE show = ""Thoroughly Modern Millie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14465871_1 (cmdexe___commandcom VARCHAR, unix_shell VARCHAR) Question: What are all values of CMD.EXE / COMMAND.COM for the unix shell echo? [/INST] SELECT cmdexe___commandcom FROM table_14465871_1 WHERE unix_shell = ""echo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, card_type_code VARCHAR) Question: Show the customer ids and firstname without a credit card. [/INST] SELECT customer_id, customer_first_name FROM Customers EXCEPT SELECT T1.customer_id, T2.customer_first_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE card_type_code = ""Credit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (team VARCHAR, games VARCHAR) Question: What is the team name that as games of 7? [/INST] SELECT team FROM table_name_32 WHERE games = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (week INTEGER, attendance VARCHAR) Question: What the total of Week with attendance of 53,147 [/INST] SELECT SUM(week) FROM table_name_70 WHERE attendance = ""53,147"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (team VARCHAR, points_against VARCHAR) Question: WHich Team that has Points against of 43? [/INST] SELECT team FROM table_name_17 WHERE points_against = 43 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR) Question: Name the highest Parallel Bars of the united states with a Vault smaller than 63.85? [/INST] SELECT MAX(parallel_bars) FROM table_name_61 WHERE country = ""united states"" AND vault < 63.85 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent that led to a 10-13 record? [/INST] SELECT opponent FROM table_name_38 WHERE record = ""10-13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (build_date VARCHAR, prr_class VARCHAR) Question: What is the build date of the model with PRR Class brs24? [/INST] SELECT build_date FROM table_name_56 WHERE prr_class = ""brs24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (surface VARCHAR, partnering VARCHAR, date VARCHAR) Question: Name the surface for paul goldstein and date of october 2, 2006 [/INST] SELECT surface FROM table_name_79 WHERE partnering = ""paul goldstein"" AND date = ""october 2, 2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23316034_23 (dismissals INTEGER, player VARCHAR) Question: Name the least dismissals for sammy carter [/INST] SELECT MIN(dismissals) FROM table_23316034_23 WHERE player = ""Sammy Carter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (school_club_team VARCHAR, player VARCHAR) Question: What school does John Crotty play for? [/INST] SELECT school_club_team FROM table_name_35 WHERE player = ""john crotty"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR) Question: How many counties have 2 as the total, 0 as the city with a town less than 1? [/INST] SELECT SUM(county) FROM table_name_54 WHERE total = 2 AND city = 0 AND town < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (delivery VARCHAR, quantity VARCHAR, standing VARCHAR) Question: Which deliver has 16 and a standing more than 128? [/INST] SELECT delivery FROM table_name_93 WHERE quantity = 16 AND standing > 128 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (title VARCHAR, no_in_series VARCHAR) Question: What is the title of Melsrose Place episode number 168? [/INST] SELECT title FROM table_name_90 WHERE no_in_series = 168 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25200461_9 (other VARCHAR, city VARCHAR) Question: What is the other is the city is Los Gatos? [/INST] SELECT other FROM table_25200461_9 WHERE city = ""Los Gatos"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (losing_bonus VARCHAR, club VARCHAR) Question: What's the losing bonus of Crumlin RFC? [/INST] SELECT losing_bonus FROM table_name_21 WHERE club = ""crumlin rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (to_par INTEGER, score VARCHAR) Question: What is the average to par for a score of 78-67-73=218? [/INST] SELECT AVG(to_par) FROM table_name_2 WHERE score = 78 - 67 - 73 = 218 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (date VARCHAR, venue VARCHAR) Question: When has a Venue of Adelaide Oval? [/INST] SELECT date FROM table_name_94 WHERE venue = ""adelaide oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (nationality VARCHAR, round VARCHAR, college VARCHAR) Question: What is the nationality of the round 4 draft selection who played college ball at oklahoma? [/INST] SELECT nationality FROM table_name_33 WHERE round = 4 AND college = ""oklahoma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1233808_2 (record VARCHAR, opponent VARCHAR) Question: What records are hit where the opponent is Aylesbury United? [/INST] SELECT record FROM table_1233808_2 WHERE opponent = ""Aylesbury United"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Templates (template_type_code VARCHAR) Question: How many templates have template type code CV? [/INST] SELECT COUNT(*) FROM Templates WHERE template_type_code = ""CV"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR) Question: How many years have a final score of 6–3, 6–2? [/INST] SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = ""6–3, 6–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR) Question: What is the country of the player with a score of 69-74-71=214? [/INST] SELECT country FROM table_name_23 WHERE score = 69 - 74 - 71 = 214 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) Question: Find the name, checking balance and savings balance of all accounts in the bank sorted by their total checking and savings balance in descending order. [/INST] SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (suburb VARCHAR, date_first_settled_as_a_suburb VARCHAR) Question: Which Suburb was First Settled as a Suburb in 1962? [/INST] SELECT suburb FROM table_name_54 WHERE date_first_settled_as_a_suburb = 1962 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE votes (vote_id VARCHAR, phone_number VARCHAR, state VARCHAR) Question: List the vote ids, phone numbers and states of all votes. [/INST] SELECT vote_id, phone_number, state FROM votes "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (russian VARCHAR, avoirdupois_value VARCHAR) Question: What Russian has an Avoirdupois value of 0.686 gr? [/INST] SELECT russian FROM table_name_16 WHERE avoirdupois_value = ""0.686 gr"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18183850_12 (score VARCHAR, opponent_team VARCHAR) Question: What was the score when the opposing team was from Belgium? [/INST] SELECT score FROM table_18183850_12 WHERE opponent_team = ""Belgium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (record VARCHAR, result VARCHAR, date VARCHAR) Question: what is the record when the result is win on 2004-06-26? [/INST] SELECT record FROM table_name_96 WHERE result = ""win"" AND date = ""2004-06-26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (country VARCHAR, to_par VARCHAR, score VARCHAR) Question: What is the country that the player is from with +3 to par and score of 74-73=147? [/INST] SELECT country FROM table_name_30 WHERE to_par = ""+3"" AND score = 74 - 73 = 147 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (points INTEGER, november VARCHAR) Question: How many points are there on november 7? [/INST] SELECT MAX(points) FROM table_name_94 WHERE november = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (series_sorted VARCHAR, released VARCHAR) Question: what is the series sorted when the released is may 2012? [/INST] SELECT series_sorted FROM table_name_73 WHERE released = ""may 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (years VARCHAR, name VARCHAR) Question: What year was the name mount roskill grammar school? [/INST] SELECT years FROM table_name_35 WHERE name = ""mount roskill grammar school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) Question: How many times was w. arthur winstead first elected? [/INST] SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = ""W. Arthur Winstead"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (year VARCHAR, finish VARCHAR) Question: What year had the Finish of 12? [/INST] SELECT year FROM table_name_65 WHERE finish = ""12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (city VARCHAR, iata VARCHAR) Question: Where has an IATA of BVA? [/INST] SELECT city FROM table_name_69 WHERE iata = ""bva"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (loss VARCHAR, date VARCHAR) Question: Who recorded the loss on august 7? [/INST] SELECT loss FROM table_name_98 WHERE date = ""august 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (tournament VARCHAR, year VARCHAR) Question: I want the tournament for 1889 [/INST] SELECT tournament FROM table_name_76 WHERE year = 1889 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12828723_3 (tries_against VARCHAR, tries_for VARCHAR) Question: what's the tries against with tries for being 47 [/INST] SELECT tries_against FROM table_12828723_3 WHERE tries_for = ""47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29546218_3 (skip__club_ VARCHAR, pf VARCHAR) Question: What is the total mumber of skip (club) entries when the pf is 40? [/INST] SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (game INTEGER, december VARCHAR, points VARCHAR, opponent VARCHAR) Question: Which Game has Points of 53, and an Opponent of @ minnesota north stars, and a December larger than 30? [/INST] SELECT AVG(game) FROM table_name_6 WHERE points = 53 AND opponent = ""@ minnesota north stars"" AND december > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (wins INTEGER, year VARCHAR, points VARCHAR, class VARCHAR, team VARCHAR) Question: What is the highest wins that has 350cc as the class, yamaha for the team, with points less than 37, and a year after 1979? [/INST] SELECT MAX(wins) FROM table_name_7 WHERE class = ""350cc"" AND team = ""yamaha"" AND points < 37 AND year > 1979 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR) Question: What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16? [/INST] SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = ""36.16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_191105_2 (performed_by VARCHAR, subject VARCHAR) Question: When interjection is the subject how many performers are there? [/INST] SELECT COUNT(performed_by) FROM table_191105_2 WHERE subject = ""interjection"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, pick VARCHAR) Question: What is the lowest round for an overall pick of 349 with a pick number in the round over 11? [/INST] SELECT MIN(round) FROM table_name_28 WHERE overall = 349 AND pick > 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR, date VARCHAR) Question: What was the attendance for the game held on September 18, 1994, with a week less than 5? [/INST] SELECT attendance FROM table_name_25 WHERE week < 5 AND date = ""september 18, 1994"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (rank INTEGER, third VARCHAR, winners VARCHAR) Question: Which Rank has a Third of 2, and Winners smaller than 2? [/INST] SELECT AVG(rank) FROM table_name_98 WHERE third = 2 AND winners < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (position VARCHAR, drawn VARCHAR, difference VARCHAR) Question: What is the Position when the Drawn is less than 2, with a Difference of 2? [/INST] SELECT position FROM table_name_65 WHERE drawn < ""2"" AND difference = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27882867_4 (location_attendance VARCHAR, game VARCHAR) Question: Name the location attendance for 3 game [/INST] SELECT location_attendance FROM table_27882867_4 WHERE game = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (poles VARCHAR, season VARCHAR, points VARCHAR) Question: Which pole has a Season of 2009 and points of test driver? [/INST] SELECT poles FROM table_name_90 WHERE season = 2009 AND points = ""test driver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13241993_3 (part_2 VARCHAR, part_1 VARCHAR) Question: What was the air date of part 2 of the episode whose part 1 was aired on January 31, 2008? [/INST] SELECT part_2 FROM table_13241993_3 WHERE part_1 = ""January 31, 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14345690_4 (famous_for VARCHAR, finished VARCHAR) Question: Name who was famous for finished in 9th [/INST] SELECT famous_for FROM table_14345690_4 WHERE finished = ""9th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (pumpers INTEGER, cars VARCHAR) Question: what is the highest pumpers when cars is 5? [/INST] SELECT MAX(pumpers) FROM table_name_78 WHERE cars = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR) Question: Name the ptor-austronesian for father [/INST] SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = ""father"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (set_1 VARCHAR, total VARCHAR) Question: What is the Set 1 of the 45:40 Total? [/INST] SELECT set_1 FROM table_name_73 WHERE total = ""45:40"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR) Question: What home team played an away team of melbourne? [/INST] SELECT home_team FROM table_name_28 WHERE away_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR) Question: How many Bangladeshi citizens are there in the borough ranked at number 7? [/INST] SELECT MIN(bangladeshi_population) FROM table_19149550_9 WHERE rank = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (country VARCHAR, score VARCHAR) Question: Which Country has a Score of 69-74=143? [/INST] SELECT country FROM table_name_66 WHERE score = 69 - 74 = 143 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR) Question: Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes? [/INST] SELECT perth FROM table_name_56 WHERE gold_coast = ""yes"" AND sydney = ""yes"" AND melbourne = ""yes"" AND adelaide = ""yes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (country VARCHAR, notes VARCHAR, rank VARCHAR) Question: What country has a rank of 3 and notes of r? [/INST] SELECT country FROM table_name_97 WHERE notes = ""r"" AND rank = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, no_x__g_kwh_ VARCHAR) Question: What's the HC for the standard with NO x of 7.0 g/kWh? [/INST] SELECT hc__g_kwh_ FROM table_2780146_6 WHERE no_x__g_kwh_ = ""7.0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) Question: Who played against the away team hereford united? [/INST] SELECT home_team FROM table_name_16 WHERE away_team = ""hereford united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR) Question: What are the arriving date and the departing date of all the dogs? [/INST] SELECT date_arrived, date_departed FROM Dogs "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, percent_of_slovenes_1991 VARCHAR) Question: What are the slovenian names of the villages that had 16.7% of slovenes in 1991? [/INST] SELECT village__slovenian_ FROM table_10797463_1 WHERE percent_of_slovenes_1991 = ""16.7%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui? [/INST] SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = ""Ogu and Mampato in Rapa Nui"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR) Question: Which Halang has a Rera of ʒo²? [/INST] SELECT halang FROM table_name_6 WHERE rera = ""ʒo²"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR) Question: How many games does the player with 1 (0) finals and a w-league of 28 (1) have? [/INST] SELECT games FROM table_name_12 WHERE finals = ""1 (0)"" AND w_league = ""28 (1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (episode INTEGER, performer_1 VARCHAR, performer_4 VARCHAR) Question: What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4? [/INST] SELECT SUM(episode) FROM table_name_25 WHERE performer_1 = ""jim sweeney"" AND performer_4 = ""mike mcshane"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2610582_2 (branding VARCHAR, callsign VARCHAR) Question: What is the branding of the callsign DWCI-TV? [/INST] SELECT branding FROM table_2610582_2 WHERE callsign = ""DWCI-TV"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR) Question: Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team? [/INST] SELECT stage__winner_ FROM table_name_42 WHERE sprint_classification = ""mark cavendish"" AND team_classification = ""garmin-chipotle-h30"" AND young_classification = ""mark cavendish"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (wins VARCHAR, player VARCHAR, rank VARCHAR) Question: How many wins for mike hill ranked below 4? [/INST] SELECT COUNT(wins) FROM table_name_49 WHERE player = ""mike hill"" AND rank < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (tracks VARCHAR, density VARCHAR) Question: How many tracks have a single density? [/INST] SELECT COUNT(tracks) FROM table_name_93 WHERE density = ""single"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (record VARCHAR, event VARCHAR) Question: What is the record at the UW: Ultimate Fight Minnesota? [/INST] SELECT record FROM table_name_48 WHERE event = ""uw: ultimate fight minnesota"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR) Question: What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households? [/INST] SELECT MIN(female) FROM table_name_66 WHERE district = ""hiroo 1-chōme"" AND number_of_households > 1 OFFSET 666 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR) Question: what models are produced where the plant is scarborough? [/INST] SELECT models_produced FROM table_250309_1 WHERE plant = ""Scarborough"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR, loss VARCHAR) Question: What date was the score 5-2 with a loss of sele (3-2)? [/INST] SELECT date FROM table_name_17 WHERE score = ""5-2"" AND loss = ""sele (3-2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR) Question: What is the Competition On 26 jan 2005 [/INST] SELECT competition FROM table_name_43 WHERE date = ""26 jan 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, age INTEGER) Question: Who is the oldest person? [/INST] SELECT name FROM Person WHERE age = (SELECT MAX(age) FROM person) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (name VARCHAR, gain VARCHAR, gp_gs VARCHAR, loss VARCHAR, avg_g VARCHAR) Question: which Name has a Loss larger than 2, and a Avg/G larger than -16, and a GP-GS of 11–7, and a Gain larger than 86? [/INST] SELECT name FROM table_name_23 WHERE loss > 2 AND avg_g > -16 AND gp_gs = ""11–7"" AND gain > 86 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (position VARCHAR, player VARCHAR) Question: What position for chris moreno? [/INST] SELECT position FROM table_name_18 WHERE player = ""chris moreno"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1949994_8 (premiere_air_dates VARCHAR, start_date VARCHAR) Question: What were the television air dates for the series that had a production start date of June 16? [/INST] SELECT premiere_air_dates FROM table_1949994_8 WHERE start_date = ""June 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (mixed_doubles VARCHAR, year VARCHAR) Question: Which mixed doubles was featured in 2006? [/INST] SELECT mixed_doubles FROM table_name_93 WHERE year = 2006 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR) Question: In 1946, what is the Runner(s)-up of the Women's Western Open Championship? [/INST] SELECT runner_s__up FROM table_name_60 WHERE championship = ""women's western open"" AND year = 1946 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (institution VARCHAR, location VARCHAR) Question: What institution is located in athens, ga, us? [/INST] SELECT institution FROM table_name_55 WHERE location = ""athens, ga, us"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (player VARCHAR, pba_team VARCHAR) Question: Who is the player with the PBA team of Barangay Ginebra Kings? [/INST] SELECT player FROM table_name_11 WHERE pba_team = ""barangay ginebra kings"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (location VARCHAR, district VARCHAR) Question: What is the location of the salem district? [/INST] SELECT location FROM table_name_16 WHERE district = ""salem district"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (exit_date VARCHAR, transfer_fee VARCHAR, to_club VARCHAR) Question: What is the exit date of the player transferred to Reggina for free? [/INST] SELECT exit_date FROM table_name_19 WHERE transfer_fee = ""free"" AND to_club = ""reggina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (height_ft___m VARCHAR, year VARCHAR, name VARCHAR) Question: What is the height that has a year after 1983 and is named Phoenix Tower? [/INST] SELECT height_ft___m FROM table_name_28 WHERE year > 1983 AND name = ""phoenix tower"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR) Question: What NFL team was the player with pick number 28 drafted to? [/INST] SELECT nfl_team FROM table_20996923_25 WHERE pick__number = 28 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (top_10 INTEGER, events VARCHAR, top_5 VARCHAR) Question: What is the average number of top-10s for events under 57 and 0 top-5s? [/INST] SELECT AVG(top_10) FROM table_name_6 WHERE events < 57 AND top_5 < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (score VARCHAR, to_par VARCHAR, player VARCHAR) Question: What is the score of player brian watts, who has a to par of 5? [/INST] SELECT score FROM table_name_5 WHERE to_par = 5 AND player = ""brian watts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) Question: What was the amount of laps for the vehicle manufactured by honda with a grid of 9? [/INST] SELECT laps FROM table_name_34 WHERE manufacturer = ""honda"" AND grid = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (year INTEGER, nominee VARCHAR, result VARCHAR) Question: What was the earliest year that Indonesian Idol won? [/INST] SELECT MIN(year) FROM table_name_74 WHERE nominee = ""indonesian idol"" AND result = ""won"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (score VARCHAR, winner VARCHAR, attendance VARCHAR) Question: What is the Score when the winner was suntory sungoliath, and the number attendance was n/a? [/INST] SELECT score FROM table_name_86 WHERE winner = ""suntory sungoliath"" AND attendance = ""n/a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (stadium VARCHAR, club VARCHAR) Question: In which stadium does Club Pro Patria play? [/INST] SELECT stadium FROM table_name_43 WHERE club = ""pro patria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR, country VARCHAR) Question: What is Place, when Score is less than 67, and when Country is South Africa? [/INST] SELECT place FROM table_name_32 WHERE score < 67 AND country = ""south africa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21756039_1 (maac VARCHAR, overall VARCHAR) Question: What is the maac when the overall is 26-8? [/INST] SELECT maac FROM table_21756039_1 WHERE overall = ""26-8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18424435_4 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed the episode with a production code of 301? [/INST] SELECT directed_by FROM table_18424435_4 WHERE production_code = 301 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (time VARCHAR, lane VARCHAR, heat VARCHAR, nationality VARCHAR) Question: What is Hungary's time with a heat higher than 2 and two lanes? [/INST] SELECT time FROM table_name_45 WHERE heat > 2 AND nationality = ""hungary"" AND lane = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (height VARCHAR, weight VARCHAR, year VARCHAR, position VARCHAR) Question: What is the Height of the Sophomore Guard weighing 185? [/INST] SELECT height FROM table_name_54 WHERE year = ""sophomore"" AND position = ""guard"" AND weight = 185 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1507852_1 (category VARCHAR, attribute VARCHAR) Question: How many categories are there when the attribute is ""onreset""? [/INST] SELECT COUNT(category) FROM table_1507852_1 WHERE attribute = ""onreset"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR) Question: What is the score for the team that has a record of 80-64? [/INST] SELECT score FROM table_name_43 WHERE record = ""80-64"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR) Question: Where was 2010 tournament where the United States received the silver? [/INST] SELECT venue FROM table_name_18 WHERE silver = ""united states"" AND year = 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR) Question: What is % of All, when Dennis Kucinich is ""5%""? [/INST] SELECT _percentage_of_all FROM table_name_52 WHERE dennis_kucinich = ""5%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) Question: What's the number of the 1.0.9 release version? [/INST] SELECT COUNT(version) FROM table_28540539_2 WHERE release = ""1.0.9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (extra INTEGER, meeting VARCHAR, year VARCHAR) Question: What is the highest extra total before 2003 at the Meeting of all africa games? [/INST] SELECT MAX(extra) FROM table_name_51 WHERE meeting = ""all africa games"" AND year < 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) Question: At what venue was the away team Fitzroy? [/INST] SELECT venue FROM table_name_19 WHERE away_team = ""fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (gold VARCHAR, bronze INTEGER) Question: Hold many gold had more than 16 bronzes? [/INST] SELECT COUNT(gold) FROM table_name_72 WHERE bronze > 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (females VARCHAR, males VARCHAR) Question: Name the females when males are 1 548 [/INST] SELECT females FROM table_name_60 WHERE males = ""1 548"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (date VARCHAR, label VARCHAR) Question: The release from Simply Vinyl label was on what date? [/INST] SELECT date FROM table_name_91 WHERE label = ""simply vinyl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR) Question: What party is John McHugh a member of? [/INST] SELECT party FROM table_1341453_34 WHERE incumbent = ""John McHugh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR) Question: Did Flamengo play in the Recopa Sudamericana in 1998 [/INST] SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = ""Flamengo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR) Question: What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878? [/INST] SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = ""1914"" AND separating_sheep_ & goats = ""during christ's presence"" AND judgmentof_religion = ""1878"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR) Question: When 14 is the match number how many usa teams are there? [/INST] SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25518547_3 (mls_team VARCHAR, affiliation VARCHAR) Question: How many teams drafted players from the University of Maryland? [/INST] SELECT COUNT(mls_team) FROM table_25518547_3 WHERE affiliation = ""University of Maryland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR) Question: Who took the loss on May 20? [/INST] SELECT loss FROM table_name_52 WHERE date = ""may 20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1773908_3 (down__up_to_kbit_s_ INTEGER, provider VARCHAR) Question: What is download bandwith where the provider is deutsche telekom ag? [/INST] SELECT MAX(down__up_to_kbit_s_) FROM table_1773908_3 WHERE provider = ""Deutsche Telekom AG"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) Question: Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen [/INST] SELECT constructor FROM table_name_57 WHERE grid > 4 AND driver = ""heinz-harald frentzen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (germans VARCHAR, slovaks VARCHAR) Question: How many values for Germans occurs when value for Slovaks is 0.11%? [/INST] SELECT COUNT(germans) FROM table_2374338_2 WHERE slovaks = ""0.11%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (place VARCHAR, score VARCHAR) Question: Name the Place with a Score of 72-68=140? [/INST] SELECT place FROM table_name_83 WHERE score = 72 - 68 = 140 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (producer VARCHAR, production_cost VARCHAR) Question: What is the name of the producer that produced a film with a production cost of $1,000,000? [/INST] SELECT producer FROM table_name_71 WHERE production_cost = ""$1,000,000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent when the Seattle Seahawks had a record of 8-7? [/INST] SELECT opponent FROM table_name_87 WHERE record = ""8-7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR) Question: Name the founded for school closed in 2005 [/INST] SELECT founded FROM table_262505_1 WHERE current_conference = ""school closed in 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (pick__number VARCHAR, college VARCHAR) Question: Which 2006 cfl draft pick played college ball at Idaho state? [/INST] SELECT pick__number FROM table_name_91 WHERE college = ""idaho state"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (Id VARCHAR) Question: What 1997, has qf as a 1994, and 1r as a 1999? [/INST] SELECT 1997 FROM table_name_6 WHERE 1994 = ""qf"" AND 1999 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR) Question: what's the score against crusaders [/INST] SELECT score FROM table_21256068_3 WHERE opponent = ""Crusaders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (winner VARCHAR, stage VARCHAR) Question: What was Stage SS2's Winner? [/INST] SELECT winner FROM table_name_86 WHERE stage = ""ss2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16570286_2 (highest_score VARCHAR, innings VARCHAR, player VARCHAR) Question: What was the score when Donald Bradman in 9 innings? [/INST] SELECT highest_score FROM table_16570286_2 WHERE innings = 9 AND player = ""Donald Bradman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR) Question: Give me the result for a format saying album with 1994 as the year. [/INST] SELECT result_s_ FROM table_name_91 WHERE format_s_ = ""album"" AND year = 1994 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (year_named VARCHAR, diameter__km_ VARCHAR) Question: What was the year when the diameter was 729 km? [/INST] SELECT year_named FROM table_name_59 WHERE diameter__km_ = 729 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE workshop (Date VARCHAR, Venue VARCHAR) Question: Show the date and venue of each workshop in ascending alphabetical order of the venue. [/INST] SELECT Date, Venue FROM workshop ORDER BY Venue "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR) Question: Which mlb team is located in maryland? [/INST] SELECT team FROM table_name_95 WHERE state_province = ""maryland"" AND league = ""mlb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR) Question: Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954? [/INST] SELECT competition FROM table_name_50 WHERE result = ""w"" AND score = ""2-0"" AND date = ""may 9, 1954"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20592988_1 (condition VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR) Question: In what conditions are both the platelet count and prothrombin time unaffected? [/INST] SELECT condition FROM table_20592988_1 WHERE platelet_count = ""Unaffected"" AND prothrombin_time = ""Unaffected"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30058355_5 (rank INTEGER) Question: What's the best rank possible? [/INST] SELECT MIN(rank) FROM table_30058355_5
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR) Question: What points for have 30 as the game, and 73 as the total points? [/INST] SELECT points_for FROM table_name_92 WHERE games = ""30"" AND total_points = ""73"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (round INTEGER, position VARCHAR, overall VARCHAR) Question: What was the sum of the rounds for the player who had a position of LS and an overall draft pick bigger than 230? [/INST] SELECT SUM(round) FROM table_name_10 WHERE position = ""ls"" AND overall > 230 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120761_1 (barony VARCHAR, townland VARCHAR) Question: How many baronies is Maulnagrough a part of? [/INST] SELECT COUNT(barony) FROM table_30120761_1 WHERE townland = ""Maulnagrough"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (state VARCHAR, representative VARCHAR) Question: Which state does Jimmy Quillen represent? [/INST] SELECT state FROM table_name_32 WHERE representative = ""jimmy quillen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tries_against VARCHAR, tries_for VARCHAR) Question: What is Tries Against, when Tries For is 20? [/INST] SELECT tries_against FROM table_name_22 WHERE tries_for = ""20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE county (Population INTEGER) Question: Return the maximum and minimum population among all counties. [/INST] SELECT MAX(Population), MIN(Population) FROM county "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (score VARCHAR, to_par VARCHAR, player VARCHAR) Question: What is the Score of the Round with Player Aaron Baddeley having a To par of +2? [/INST] SELECT score FROM table_name_61 WHERE to_par = ""+2"" AND player = ""aaron baddeley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (hole VARCHAR, country VARCHAR, player VARCHAR) Question: How many holes did Mike Reid from United States have? [/INST] SELECT hole FROM table_name_75 WHERE country = ""united states"" AND player = ""mike reid"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR) Question: What away team has tottenham hotspur as the home team? [/INST] SELECT away_team FROM table_name_67 WHERE home_team = ""tottenham hotspur"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR) Question: Who is the lowest ranked player from the United States that has less than 3 Wins? [/INST] SELECT MIN(rank) FROM table_name_59 WHERE country = ""united states"" AND wins < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR) Question: What record was set when the result/game was montreal 20 @ ottawa 10? [/INST] SELECT type_of_record FROM table_21436373_8 WHERE result_games = ""Montreal 20 @ Ottawa 10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18481791_3 (title VARCHAR, no_in_series VARCHAR) Question: What is the title of series 23? [/INST] SELECT title FROM table_18481791_3 WHERE no_in_series = 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) Question: Name the island with age ma of 1.0 [/INST] SELECT island FROM table_name_73 WHERE age___ma__ = ""1.0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR) Question: What is Driver Howden Ganley's Time/Retired? [/INST] SELECT time_retired FROM table_name_75 WHERE driver = ""howden ganley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (date VARCHAR, winning_score VARCHAR) Question: What is the Date of the Tournament with a Winning score of −9 (65-71-68-67=271)? [/INST] SELECT date FROM table_name_55 WHERE winning_score = −9(65 - 71 - 68 - 67 = 271) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) Question: Who proceeded to the quarter final when the london irish were eliminated from competition? [/INST] SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = ""London Irish"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (money___£__ VARCHAR, player VARCHAR) Question: How much money has been won by Stephen Ames? [/INST] SELECT money___£__ FROM table_name_46 WHERE player = ""stephen ames"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (score VARCHAR, tie_no VARCHAR) Question: Which Score has a Tie no of 1? [/INST] SELECT score FROM table_name_22 WHERE tie_no = ""1"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Has_allergy (Allergy VARCHAR) Question: Which allergy has most number of students affected? [/INST] SELECT TOP 1 Allergy FROM Has_allergy GROUP BY Allergy ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR) Question: When interplanet janet is the episode title who is the music by? [/INST] SELECT music_by FROM table_191105_3 WHERE episode_title = ""Interplanet Janet"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE user_profiles (name VARCHAR, email VARCHAR) Question: Find the names of users whose emails contain ‘superstar’ or ‘edu’. [/INST] SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR) Question: What is the maximum lost with points 1 more than 58 and 66 goals against? [/INST] SELECT MAX(lost) FROM table_name_9 WHERE points_1 > 58 AND goals_against = 66 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (place VARCHAR, country VARCHAR, player VARCHAR) Question: What was United States place when the player was Fred Couples? [/INST] SELECT place FROM table_name_26 WHERE country = ""united states"" AND player = ""fred couples"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHAR) Question: What products are available at store named ""Miramichi""? [/INST] SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = ""Miramichi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (nba_draft VARCHAR, school VARCHAR) Question: What is the NBA Draft for the School Bishop O'Connell High School? [/INST] SELECT nba_draft FROM table_name_10 WHERE school = ""bishop o'connell high school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available VARCHAR) Question: Return the unique name for stations that have ever had 7 bikes available. [/INST] SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1481865_1 (number_of_episode VARCHAR, title__english_ VARCHAR) Question: What is the episode number where the English title is Pilot? [/INST] SELECT number_of_episode FROM table_1481865_1 WHERE title__english_ = ""Pilot"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22903426_1 (scm_system VARCHAR, windows_builders VARCHAR) Question: Name the number of scm system for nant, visual studio [/INST] SELECT COUNT(scm_system) FROM table_22903426_1 WHERE windows_builders = ""NAnt, Visual Studio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (equatorial_diameter VARCHAR, body VARCHAR) Question: What is the Equatorial diameter of the Body: ceres? [/INST] SELECT equatorial_diameter FROM table_name_33 WHERE body = ""ceres"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (title VARCHAR, released VARCHAR) Question: What CD was released in 2009? [/INST] SELECT title FROM table_name_64 WHERE released = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (customer_details VARCHAR) Question: Find the names of customers whose name contains ""Diana"". [/INST] SELECT customer_details FROM customers WHERE customer_details LIKE ""%Diana%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR) Question: Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)? [/INST] SELECT MAX(earnings___) AS $__ FROM table_name_72 WHERE player = ""corey pavin"" AND rank > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (rank_points VARCHAR, total VARCHAR, score_points VARCHAR) Question: What were the rank points when the score was 7 and the total was 15? [/INST] SELECT rank_points FROM table_name_59 WHERE total = ""15"" AND score_points = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (play_offs INTEGER, fa_cup INTEGER) Question: What are the average play-offs that have an FA Cup greater than 3? [/INST] SELECT AVG(play_offs) FROM table_name_9 WHERE fa_cup > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17607663_1 (date_withdrawn VARCHAR, secr_no VARCHAR) Question: What is the withdraw date for secr no. 771? [/INST] SELECT date_withdrawn FROM table_17607663_1 WHERE secr_no = 771 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (record VARCHAR, opponent VARCHAR) Question: What is the team's record in games against the Hartford Whalers? [/INST] SELECT record FROM table_name_52 WHERE opponent = ""hartford whalers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE furniture_manufacte (Furniture_ID VARCHAR, manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR); CREATE TABLE furniture (Furniture_ID VARCHAR, num_of_component INTEGER) Question: Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components. [/INST] SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component < 6 INTERSECT SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component > 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (partner VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) Question: Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6–3, 6–7 (5–7) , 7–6 (7–5)? [/INST] SELECT partner FROM table_name_53 WHERE surface = ""clay"" AND score_in_the_final = ""6–3, 6–7 (5–7) , 7–6 (7–5)"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE CONTINENTS (Id VARCHAR) Question: How many continents are there? [/INST] SELECT COUNT(*) FROM CONTINENTS
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, result VARCHAR) Question: what was the attendance at the home venue with result w 3-1? [/INST] SELECT MAX(attendance) FROM table_name_99 WHERE venue = ""home"" AND result = ""w 3-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18594107_2 (wins INTEGER, conceded VARCHAR) Question: How many wins have conceded as 18? [/INST] SELECT MAX(wins) FROM table_18594107_2 WHERE conceded = 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR) Question: In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins? [/INST] SELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club = ""real oviedo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (icao VARCHAR, iata VARCHAR) Question: What is the ICAO when the IATA shows cts? [/INST] SELECT icao FROM table_name_72 WHERE iata = ""cts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (team VARCHAR, grid VARCHAR, points VARCHAR) Question: If a team has a grid of over 8 with less than 4 points, what's the team name? [/INST] SELECT team FROM table_name_31 WHERE grid > 8 AND points < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (series VARCHAR, release_date VARCHAR) Question: What series has 1935-07-13 as the release date? [/INST] SELECT series FROM table_name_12 WHERE release_date = ""1935-07-13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR) Question: What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance? [/INST] SELECT record FROM table_name_42 WHERE decision = ""backstrom"" AND attendance > 18 OFFSET 568 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) Question: What year has a result of 3 in the venue of Jarama. [/INST] SELECT MIN(year) FROM table_name_25 WHERE result = ""3"" AND venue = ""jarama"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR) Question: What is the weight with a denomination that is ten paise? [/INST] SELECT weight FROM table_name_53 WHERE denomination = ""ten paise"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23235679_1 (written_by VARCHAR, no_in_series VARCHAR) Question: Name who wrote number 88 [/INST] SELECT written_by FROM table_23235679_1 WHERE no_in_series = 88 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (against VARCHAR, venue VARCHAR, date VARCHAR) Question: What is Against, when Venue is ""Twickenham , London"", and when Date is ""04/03/2000""? [/INST] SELECT against FROM table_name_55 WHERE venue = ""twickenham , london"" AND date = ""04/03/2000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (platform_s_ VARCHAR, game VARCHAR) Question: Which platforms can you play Portal 2 on? [/INST] SELECT platform_s_ FROM table_name_88 WHERE game = ""portal 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (team VARCHAR, date VARCHAR) Question: What team played on November 28? [/INST] SELECT team FROM table_name_37 WHERE date = ""november 28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (points VARCHAR, year INTEGER) Question: How many points are there later than 1992? [/INST] SELECT COUNT(points) FROM table_name_12 WHERE year > 1992 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (player VARCHAR, years_for_grizzlies VARCHAR) Question: Which Player has Years for Grizzlies of 2002-2003? [/INST] SELECT player FROM table_name_48 WHERE years_for_grizzlies = ""2002-2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR) Question: What was the away team for the match that had a time of 18:30? [/INST] SELECT away_team FROM table_name_45 WHERE time = ""18:30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (name VARCHAR, spouse VARCHAR) Question: Tell me the name of the person married to frederick ix [/INST] SELECT name FROM table_name_71 WHERE spouse = ""frederick ix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR) Question: Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the? [/INST] SELECT production_number FROM table_name_52 WHERE director = ""friz freleng"" AND title = ""wacky worm, the"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR) Question: What episode number in the series was directed by John Behring? [/INST] SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = ""John Behring"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR) Question: What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14? [/INST] SELECT name FROM table_name_13 WHERE season = ""2010-2011"" AND acquisition_via = ""free agency"" AND number = ""14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23114705_3 (original_air_date VARCHAR, written_by VARCHAR) Question: If the episode was written by Tim Balme, what was the original air date? [/INST] SELECT original_air_date FROM table_23114705_3 WHERE written_by = ""Tim Balme"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR) Question: What is the reviewer id of Daniel Lewis? [/INST] SELECT rID FROM Reviewer WHERE name = ""Daniel Lewis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (laps INTEGER, time_retired VARCHAR) Question: What is the average number of laps associated with a Time/Retired of +1:14.801? [/INST] SELECT AVG(laps) FROM table_name_78 WHERE time_retired = ""+1:14.801"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR) Question: What year was the Beaudesert suburb club founded [/INST] SELECT founded FROM table_name_95 WHERE suburb = ""beaudesert"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR) Question: Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold? [/INST] SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = ""bulgaria"" AND bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (killed INTEGER, perpetrator VARCHAR) Question: What is the lowest Killed, when Perpetrator is ""Sherrill, Patrick Henry , 44""? [/INST] SELECT MIN(killed) FROM table_name_93 WHERE perpetrator = ""sherrill, patrick henry , 44"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (time VARCHAR, group VARCHAR, race VARCHAR) Question: What was the time for the G2 group at the Hobartville Stakes? [/INST] SELECT time FROM table_name_62 WHERE group = ""g2"" AND race = ""hobartville stakes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (opposition VARCHAR, competition VARCHAR, venue VARCHAR) Question: Who is the opposition on the division 1 game at Stamford Bridge? [/INST] SELECT opposition FROM table_name_64 WHERE competition = ""division 1"" AND venue = ""stamford bridge"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) Question: At what venue was South Melbourne the home team? [/INST] SELECT venue FROM table_name_87 WHERE home_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23214055_2 (district VARCHAR, others VARCHAR) Question: Name the district for others being 18.3 [/INST] SELECT district FROM table_23214055_2 WHERE others = ""18.3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (date INTEGER, other_details VARCHAR) Question: What's the date for Details of 1000 copies? [/INST] SELECT MIN(date) FROM table_name_74 WHERE other_details = ""1000 copies"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (class VARCHAR, wins VARCHAR, year VARCHAR) Question: In 1992, what class has higher wins than 0? [/INST] SELECT class FROM table_name_58 WHERE wins > 0 AND year = 1992 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE weather (cloud_cover VARCHAR, zip_code VARCHAR) Question: What is the 3 most common cloud cover rates in the region of zip code 94107? [/INST] SELECT TOP 3 cloud_cover FROM weather WHERE zip_code = 94107 GROUP BY cloud_cover ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (launched VARCHAR, spacecraft VARCHAR) Question: What launched has mariner 4 as the spacecraft? [/INST] SELECT launched FROM table_name_17 WHERE spacecraft = ""mariner 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year INTEGER, points INTEGER) Question: Name the highest year with points more than 0 [/INST] SELECT MAX(year) FROM table_name_90 WHERE points > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (played INTEGER, goals_against VARCHAR, lost VARCHAR, drawn VARCHAR) Question: How many played when lost is more than 17, drawn is 15 and goals against is less than 75? [/INST] SELECT AVG(played) FROM table_name_85 WHERE lost > 17 AND drawn = 15 AND goals_against < 75 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, body_length_mm VARCHAR) Question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body Length/mm larger than 18.4? [/INST] SELECT MIN(body_width_mm) FROM table_name_48 WHERE lead_pitch_mm < 0.55 AND body_length_mm > 18.4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (round VARCHAR, song VARCHAR) Question: What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你? [/INST] SELECT round FROM table_name_18 WHERE song = ""陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21378339_5 (artist VARCHAR, panel_points VARCHAR) Question: Name the number of artists for panel points being 5 [/INST] SELECT COUNT(artist) FROM table_21378339_5 WHERE panel_points = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (tournament VARCHAR, year VARCHAR, venue VARCHAR) Question: What was the tournament that happened in 1974 in gothenburg , sweden? [/INST] SELECT tournament FROM table_name_84 WHERE year = 1974 AND venue = ""gothenburg , sweden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25346763_1 (Major VARCHAR, year_opened VARCHAR) Question: Is the facility opened in 1968 a major facility? [/INST] SELECT Major AS facility FROM table_25346763_1 WHERE year_opened = ""1968"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR) Question: What is the part 2 entry for class 3a? [/INST] SELECT part_2 FROM table_name_36 WHERE class = ""3a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR) Question: what's the first elected with incumbent being joseph d. early [/INST] SELECT first_elected FROM table_1341604_22 WHERE incumbent = ""Joseph D. Early"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1206114_2 (comments VARCHAR, vendor_and_type VARCHAR) Question: What are the comments when the vendor and type is alcatel-lucent routers? [/INST] SELECT comments FROM table_1206114_2 WHERE vendor_and_type = ""Alcatel-Lucent routers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (home_team VARCHAR, crowd INTEGER) Question: What home team has had a crowd bigger than 20,000? [/INST] SELECT home_team FROM table_name_95 WHERE crowd > 20 OFFSET 000 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (authors VARCHAR, unit VARCHAR, name VARCHAR) Question: What authors have clarno formation as the unit, actinidia oregonensis as the name? [/INST] SELECT authors FROM table_name_55 WHERE unit = ""clarno formation"" AND name = ""actinidia oregonensis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2861364_1 (under_president VARCHAR, executed_person VARCHAR) Question: under which president was gunther volz executed? [/INST] SELECT under_president FROM table_2861364_1 WHERE executed_person = ""Gunther Volz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (package_option VARCHAR, television_service VARCHAR, country VARCHAR, content VARCHAR) Question: What was the option from Italy with general television content, and the Cielo television service? [/INST] SELECT package_option FROM table_name_84 WHERE country = ""italy"" AND content = ""general television"" AND television_service = ""cielo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (name VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR) Question: What is the name of the player with a transfer window in summer, an undisclosed transfer fee, and is moving from brussels? [/INST] SELECT name FROM table_name_15 WHERE transfer_window = ""summer"" AND transfer_fee = ""undisclosed"" AND moving_from = ""brussels"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (competition VARCHAR, score VARCHAR, venue VARCHAR) Question: What competition resulted in 2-0 score, hosted in Amman? [/INST] SELECT competition FROM table_name_23 WHERE score = ""2-0"" AND venue = ""amman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24910733_1 (directed_by VARCHAR, written_by VARCHAR) Question: Who is the director when the writter is Andrea Newman? [/INST] SELECT directed_by FROM table_24910733_1 WHERE written_by = ""Andrea Newman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14962287_1 (years VARCHAR, other_a VARCHAR) Question: which years had other a of 8 (1)? [/INST] SELECT years FROM table_14962287_1 WHERE other_a = ""8 (1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (place INTEGER, song VARCHAR) Question: What is the average Place, when Song is ""Dis Oui""? [/INST] SELECT AVG(place) FROM table_name_14 WHERE song = ""dis oui"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (drawn VARCHAR, tries_for VARCHAR) Question: What was the amount of draws where a club had 51 tries for? [/INST] SELECT drawn FROM table_name_19 WHERE tries_for = ""51"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_20 (player VARCHAR, years_for_rockets VARCHAR) Question: what is the total number of player where years for rockets is 1975-79 [/INST] SELECT COUNT(player) FROM table_11734041_20 WHERE years_for_rockets = ""1975-79"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (downstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR) Question: What's the downstream rate for the Itu g.992.2 having a version of ADSL? [/INST] SELECT downstream_rate FROM table_name_2 WHERE version = ""adsl"" AND standard_name = ""itu g.992.2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (party VARCHAR, class VARCHAR, state VARCHAR) Question: What party is class 1 in wisconsin? [/INST] SELECT party FROM table_name_99 WHERE class = 1 AND state = ""wisconsin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR) Question: How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'? [/INST] SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = ""this convention, Work in Fishing Convention"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR) Question: How many draws feature artist wendy fierce? [/INST] SELECT SUM(draw) FROM table_name_18 WHERE artist = ""wendy fierce"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20010140_9 (record VARCHAR, game VARCHAR) Question: What was the record after game 20? [/INST] SELECT record FROM table_20010140_9 WHERE game = 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (loss VARCHAR, record VARCHAR) Question: Name the loss with record of 38-53 [/INST] SELECT loss FROM table_name_48 WHERE record = ""38-53"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (type VARCHAR, transfer_fee VARCHAR) Question: What is the type when £120,000 is the transfer fee? [/INST] SELECT type FROM table_name_49 WHERE transfer_fee = ""£120,000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (date VARCHAR, record VARCHAR) Question: What was the date of the game when the record was 53–104? [/INST] SELECT date FROM table_name_89 WHERE record = ""53–104"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (home_team VARCHAR, venue VARCHAR) Question: What is the Home team score for the Venue named Glenferrie Oval? [/INST] SELECT home_team AS score FROM table_name_31 WHERE venue = ""glenferrie oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (matches_w_l VARCHAR, placing VARCHAR) Question: Placing of 3 had what match w-l? [/INST] SELECT matches_w_l FROM table_name_20 WHERE placing = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (final_score VARCHAR, stadium VARCHAR) Question: What is the final score of the game at lambeau field? [/INST] SELECT final_score FROM table_name_21 WHERE stadium = ""lambeau field"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21350934_2 (result VARCHAR, round VARCHAR) Question: What is the result of the qf round? [/INST] SELECT result FROM table_21350934_2 WHERE round = ""QF"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR) Question: what is the score for the 2010 world cup qualifying? [/INST] SELECT score FROM table_name_1 WHERE competition = ""2010 world cup qualifying"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16384596_4 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed the episode with the production code 209? [/INST] SELECT directed_by FROM table_16384596_4 WHERE production_code = 209 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_123462_2 (_number_of_seats_won VARCHAR, _number_of_total_votes VARCHAR) Question: How many times was the # of total votes 2582322? [/INST] SELECT COUNT(_number_of_seats_won) FROM table_123462_2 WHERE _number_of_total_votes = 2582322 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28194879_1 (_number VARCHAR, production_code VARCHAR) Question: What is the number in season of the episode whose production code is pabf05? [/INST] SELECT _number FROM table_28194879_1 WHERE production_code = ""PABF05"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_5 (player VARCHAR, position VARCHAR) Question: What players played the position of left tackle? [/INST] SELECT player FROM table_14342592_5 WHERE position = ""Left tackle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17294353_1 (attendance INTEGER, opponent VARCHAR) Question: Of the times the Broncos played the Cincinnati Bengals, what was the highest attendance? [/INST] SELECT MAX(attendance) FROM table_17294353_1 WHERE opponent = ""Cincinnati Bengals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (opponent VARCHAR, competition VARCHAR, score VARCHAR) Question: At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)? [/INST] SELECT opponent FROM table_name_7 WHERE competition = ""vfl reserves"" AND score = ""18.6 (114) - 21.14 (140)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR) Question: Name the number of new adherents per year for confucianism [/INST] SELECT COUNT(new_adherents_per_year) FROM table_28137918_5 WHERE religion = ""Confucianism"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27862483_4 (opponent VARCHAR, score VARCHAR) Question: How many games did UCLA's baseball team win with a score 7-6 during May of 2010? [/INST] SELECT COUNT(opponent) FROM table_27862483_4 WHERE score = ""7-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) Question: What country does charles coody play for? [/INST] SELECT country FROM table_name_21 WHERE player = ""charles coody"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR) Question: Who was the home team when the record was 27–14–6? [/INST] SELECT home FROM table_name_15 WHERE record = ""27–14–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR) Question: What country has a less than 136.1 total and a 0.02 solar? [/INST] SELECT country FROM table_name_38 WHERE total < 136.1 AND solar = 0.02 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26416704_2 (district INTEGER, incumbent VARCHAR) Question: What is the highest numbred district that has brian w. thomas as an incumbent? [/INST] SELECT MAX(district) FROM table_26416704_2 WHERE incumbent = ""Brian W. Thomas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (episode__number INTEGER, episode_name VARCHAR) Question: What is the average episode # with a name of the origin of Donnie (part 1)? [/INST] SELECT AVG(episode__number) FROM table_name_75 WHERE episode_name = ""the origin of donnie (part 1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (record__conf_ VARCHAR, conference VARCHAR) Question: What is the recorded conference that was a Wac Conference? [/INST] SELECT record__conf_ FROM table_name_73 WHERE conference = ""wac"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE cinema (Id VARCHAR) Question: How many cinema do we have? [/INST] SELECT COUNT(*) FROM cinema
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (republican VARCHAR, margin_of_error VARCHAR, sample_size VARCHAR, democrat VARCHAR) Question: Who was the republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6? [/INST] SELECT republican FROM table_name_47 WHERE sample_size > 1087 AND democrat = ""hillary clinton"" AND margin_of_error = 2.6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (circuit VARCHAR, date VARCHAR, class VARCHAR) Question: On what circuit is there a class gts-2 race that takes place on May 27? [/INST] SELECT circuit FROM table_name_68 WHERE date = ""may 27"" AND class = ""gts-2"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28005160_2 (sponsorship INTEGER) Question: What is the last year a sponsorship ended? [/INST] SELECT MAX(sponsorship) AS Ended FROM table_28005160_2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR) Question: Which Score has a Date of 13 april 1997? [/INST] SELECT score FROM table_name_50 WHERE date = ""13 april 1997"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11793221_2 (commander VARCHAR, wounded VARCHAR) Question: Who were the commanders when 8 off 0 men were wounded? [/INST] SELECT commander FROM table_11793221_2 WHERE wounded = ""8 off 0 men"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (notes VARCHAR, date VARCHAR) Question: Which Notes have a Date of 2008-01-27? [/INST] SELECT notes FROM table_name_21 WHERE date = ""2008-01-27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (event VARCHAR, year VARCHAR, result VARCHAR) Question: In which event before 2001 did the athlete place 16th? [/INST] SELECT event FROM table_name_96 WHERE year < 2001 AND result = ""16th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR) Question: What's the result when the Carolina Panthers were the opponent? [/INST] SELECT result FROM table_name_86 WHERE opponent = ""carolina panthers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (sport VARCHAR, date VARCHAR) Question: What sport was played on February 25, 2011? [/INST] SELECT sport FROM table_name_21 WHERE date = ""february 25, 2011"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29090919_1 (home_team VARCHAR, away_team VARCHAR) Question: How many scores were there for the home team when the away team was fitzroy? [/INST] SELECT COUNT(home_team) AS score FROM table_29090919_1 WHERE away_team = ""Fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR) Question: what is the date when the opponent is real juventud? [/INST] SELECT date FROM table_name_90 WHERE opponent = ""real juventud"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14288212_1 (first_played INTEGER, team VARCHAR) Question: In what year did Italy begin playing? [/INST] SELECT MIN(first_played) FROM table_14288212_1 WHERE team = ""Italy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (lost VARCHAR, points VARCHAR) Question: What is the number of lost with 2 points? [/INST] SELECT COUNT(lost) FROM table_name_70 WHERE points = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (official_name VARCHAR, census_ranking VARCHAR) Question: What is the name of the place that has a census ranking of 1,229 of 5,008? [/INST] SELECT official_name FROM table_name_63 WHERE census_ranking = ""1,229 of 5,008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21781578_2 (original_air_date VARCHAR, season_no VARCHAR) Question: What was the original air date for season number 2? [/INST] SELECT original_air_date FROM table_21781578_2 WHERE season_no = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR) Question: Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy? [/INST] SELECT AVG(bronze) FROM table_name_97 WHERE gold < 16 AND rank = ""10"" AND nation = ""italy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR) Question: Who was the female contestant on the Original season of Fresh Meat? [/INST] SELECT player FROM table_18974269_1 WHERE original_season = ""Fresh Meat"" AND gender = ""Female"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year INTEGER, player VARCHAR) Question: What year was the player David Rose? [/INST] SELECT SUM(year) FROM table_name_97 WHERE player = ""david rose"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_13 (result VARCHAR, district VARCHAR) Question: What was the result of the Georgia 8 district? [/INST] SELECT result FROM table_19753079_13 WHERE district = ""Georgia 8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27374740_2 (_number INTEGER, viewers__m_ VARCHAR) Question: how many maximum # when viewers (m) is 8.01 [/INST] SELECT MAX(_number) FROM table_27374740_2 WHERE viewers__m_ = ""8.01"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (player VARCHAR, school_club_team VARCHAR) Question: Which player is from Dartmouth? [/INST] SELECT player FROM table_name_41 WHERE school_club_team = ""dartmouth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR) Question: The entrepreneur Layla Bennett was featured in which episode? [/INST] SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = ""layla bennett"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR) Question: What is the census ranking when the area is 78.67 ? [/INST] SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = ""78.67"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Employee (salary INTEGER) Question: How many employees have salary between 100000 and 200000? [/INST] SELECT COUNT(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR) Question: What were the shots below par when the winning score was 69-66-69-64=268? [/INST] SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 - 69 - 64 = 268 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (attendance INTEGER, home_team VARCHAR) Question: What is the lowest Attendance when the home team was slough town? [/INST] SELECT MIN(attendance) FROM table_name_62 WHERE home_team = ""slough town"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR) Question: What is the sum of week(s) with an attendance of 30,751? [/INST] SELECT SUM(week) FROM table_name_77 WHERE attendance = 30 OFFSET 751 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (security_forces VARCHAR, civilians VARCHAR) Question: Name the security forces with civilians of 67 [/INST] SELECT security_forces FROM table_name_15 WHERE civilians = ""67"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (discovery___publication_of_name VARCHAR, species VARCHAR) Question: Tell me the discovery/publicatio of name for h.heidelbergensis [/INST] SELECT discovery___publication_of_name FROM table_name_78 WHERE species = ""h.heidelbergensis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15635768_1 (printer VARCHAR, place_of_issue VARCHAR) Question: Who was the printer of Estes Park, Colorado? [/INST] SELECT printer FROM table_15635768_1 WHERE place_of_issue = ""Estes Park, Colorado"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (silver VARCHAR, bronze INTEGER) Question: What is the number of silver when bronze is less than 0? [/INST] SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (prod_code VARCHAR, episode_title VARCHAR) Question: What is the production code fore the episode titled, life's no fun anymore? [/INST] SELECT prod_code FROM table_name_16 WHERE episode_title = ""life's no fun anymore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR, civil_parish VARCHAR) Question: In what barony are both the townland Dawstown and the civil parish Matehy located? [/INST] SELECT barony FROM table_30120566_1 WHERE townland = ""Dawstown"" AND civil_parish = ""Matehy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR) Question: What is the average earnings of a United States player who had a score of 72-68-74-72=286? [/INST] SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = ""united states"" AND score = 72 - 68 - 74 - 72 = 286 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR) Question: What is the score of the game attended by 25,034? [/INST] SELECT score FROM table_name_85 WHERE attendance = ""25,034"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR) Question: Who wins the clive churchill medal when the losing team is the sydney roosters in 2010? [/INST] SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = ""sydney roosters"" AND season = 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR) Question: How many points were scored against with a losing bonus of 1 for Blaenavon RFC? [/INST] SELECT points_against FROM table_name_67 WHERE losing_bonus = ""1"" AND club = ""blaenavon rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (tie_no VARCHAR, date VARCHAR) Question: Which Tie number was played on 9 January 1956? [/INST] SELECT tie_no FROM table_name_69 WHERE date = ""9 january 1956"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year VARCHAR) Question: Name the lowest 2008 for guizhou when 2005 is less than 31 [/INST] SELECT MIN(2008) FROM table_name_45 WHERE year = ""guizhou"" AND 2005 < 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (party VARCHAR, mayor VARCHAR) Question: Which party is Ettore Romoli from? [/INST] SELECT party FROM table_name_99 WHERE mayor = ""ettore romoli"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR) Question: Who was the winner of Stage 12 with a Points Classification of Francesco Moser? [/INST] SELECT winner FROM table_name_85 WHERE points_classification = ""francesco moser"" AND stage = ""12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (result VARCHAR, attendance VARCHAR) Question: What was the result of the game attended by 54,110? [/INST] SELECT result FROM table_name_73 WHERE attendance = ""54,110"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (opponent_in_the_final VARCHAR, partner VARCHAR) Question: What Opponent in the final had a Partner of Gastón Etlis? [/INST] SELECT opponent_in_the_final FROM table_name_76 WHERE partner = ""gastón etlis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR) Question: Which Game Site has a Date of october 17, 1999? [/INST] SELECT game_site FROM table_name_1 WHERE date = ""october 17, 1999"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28967275_2 (original_air_date VARCHAR, episode__number VARCHAR) Question: What is the original airdate of episode #31? [/INST] SELECT original_air_date FROM table_28967275_2 WHERE episode__number = 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (week_12_nov_19 VARCHAR, week_13_nov_26 VARCHAR) Question: What happened in week 12 when week 13 resulted in Tennessee (9-1)? [/INST] SELECT week_12_nov_19 FROM table_name_20 WHERE week_13_nov_26 = ""tennessee (9-1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (year VARCHAR, open_cup VARCHAR) Question: How many years did Real Colorado Foxes make it to the Open Cup 1st Round? [/INST] SELECT COUNT(year) FROM table_name_9 WHERE open_cup = ""1st round"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR) Question: Pick # of 203 went to which college? [/INST] SELECT college FROM table_name_16 WHERE pick__number = 203 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15823956_1 (region_1 VARCHAR, series VARCHAR) Question: What is the region 1 date for series 4 [/INST] SELECT region_1 FROM table_15823956_1 WHERE series = ""4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR) Question: What is Case Suffix (Case), when English Meaning is ""to Georgia, in Georgia""? [/INST] SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = ""to georgia, in georgia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) Question: What rider is on an aprilia that went under 18 laps with a grid total of 17? [/INST] SELECT rider FROM table_name_14 WHERE manufacturer = ""aprilia"" AND laps < 18 AND grid = 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR) Question: What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902? [/INST] SELECT date_of_birth FROM table_name_66 WHERE begin_date = ""april 24, 1902"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR) Question: What is the smallest point total when the grid is larger than 5 and the time/retired is fire? [/INST] SELECT MIN(points) FROM table_name_52 WHERE grid > 5 AND time_retired = ""fire"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (service VARCHAR, age_at_first_step VARCHAR) Question: The astronaut who was 37y 8m 4d when making a first step on the moon was in which service? [/INST] SELECT service FROM table_name_65 WHERE age_at_first_step = ""37y 8m 4d"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2343740_1 (original_air_date VARCHAR, episode_number VARCHAR) Question: On what date did episode 2 air? [/INST] SELECT original_air_date FROM table_2343740_1 WHERE episode_number = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27733909_7 (high_rebounds VARCHAR, date VARCHAR) Question: Name the number of high rebounds for january 5 [/INST] SELECT COUNT(high_rebounds) FROM table_27733909_7 WHERE date = ""January 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27782699_3 (date_of_appointment VARCHAR, replaced_by VARCHAR) Question: On what date did Kim Fogh replace the previous manager? [/INST] SELECT date_of_appointment FROM table_27782699_3 WHERE replaced_by = ""Kim Fogh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_8 (player VARCHAR, nhl_team VARCHAR) Question: Name the player for chicago black hawks [/INST] SELECT player FROM table_1473672_8 WHERE nhl_team = ""Chicago Black Hawks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (team VARCHAR, qual_1 VARCHAR) Question: What is Team, when Qual 1 is 1:16.417? [/INST] SELECT team FROM table_name_70 WHERE qual_1 = ""1:16.417"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR) Question: Which Time has a Set 3 of 24–26, and a Score of 0–3? [/INST] SELECT time FROM table_name_68 WHERE set_3 = ""24–26"" AND score = ""0–3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (fsb___ht__mhz_ VARCHAR, southbridge VARCHAR) Question: What is the FSB / HT (MHz) when the Southbridge is amd-8131 amd-8132? [/INST] SELECT fsb___ht__mhz_ FROM table_name_50 WHERE southbridge = ""amd-8131 amd-8132"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (western_title VARCHAR, pinyin VARCHAR) Question: What is the western title of the pinyin new chāojí mǎlìōu xiōngdì? [/INST] SELECT western_title FROM table_name_92 WHERE pinyin = ""new chāojí mǎlìōu xiōngdì"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (crowd VARCHAR, round VARCHAR) Question: What was the attendance at Round 9? [/INST] SELECT COUNT(crowd) FROM table_name_59 WHERE round = ""round 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR) Question: When 1985-2007 yamaha v-max honda vfr800 is the example what is the engine is it? [/INST] SELECT engine FROM table_22915134_2 WHERE example = ""1985-2007 Yamaha V-Max Honda VFR800"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (grand_slam VARCHAR, winner VARCHAR, year VARCHAR, round VARCHAR) Question: What is the grand slam in 1987, when round shows first round, and Ivan Lendl won? [/INST] SELECT grand_slam FROM table_name_35 WHERE year = 1987 AND round = ""first round"" AND winner = ""ivan lendl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE station (LOCATION VARCHAR, number_of_platforms INTEGER, total_passengers INTEGER) Question: Show all locations and the total number of platforms and passengers for all train stations in each location. [/INST] SELECT LOCATION, SUM(number_of_platforms), SUM(total_passengers) FROM station GROUP BY LOCATION "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Video_games (gtype VARCHAR, gname VARCHAR) Question: What is the type of video game Call of Destiny. [/INST] SELECT gtype FROM Video_games WHERE gname = ""Call of Destiny"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR) Question: Who won that game on 24 July 2010? [/INST] SELECT result FROM table_name_26 WHERE date = ""24 july 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (fastest_time__s_ VARCHAR, athlete VARCHAR) Question: What is the fastest time for athlete Jason Smyth? [/INST] SELECT fastest_time__s_ FROM table_name_40 WHERE athlete = ""jason smyth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (crowd INTEGER, venue VARCHAR) Question: What is the smallest Crowd number for the Venue named Princes Park? [/INST] SELECT MIN(crowd) FROM table_name_96 WHERE venue = ""princes park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22673956_1 (type VARCHAR, track VARCHAR) Question: How many types of tracks are there on the Phoenix International raceway? [/INST] SELECT COUNT(type) FROM table_22673956_1 WHERE track = ""Phoenix International Raceway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (rank VARCHAR, gold VARCHAR, silver VARCHAR) Question: What is the rank of the games that had 9 gold and 9 silvers? [/INST] SELECT rank FROM table_name_47 WHERE gold = ""9"" AND silver = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, constituency_no VARCHAR) Question: How many Lok Sabha are in the one with 216 constituents? [/INST] SELECT lok_sabha FROM table_29785324_5 WHERE constituency_no = 216 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (state VARCHAR, location VARCHAR) Question: Which state is the location of 39.1178°n 106.4454°w in? [/INST] SELECT state FROM table_name_55 WHERE location = ""39.1178°n 106.4454°w"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE country (name VARCHAR, area VARCHAR, population VARCHAR, Country_ID VARCHAR); CREATE TABLE roller_coaster (Country_ID VARCHAR, speed INTEGER) Question: What are the country names, area and population which has both roller coasters with speed higher [/INST] SELECT T1.name, T1.area, T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID WHERE T2.speed > 60 INTERSECT SELECT T1.name, T1.area, T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID WHERE T2.speed < 55 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (county_team VARCHAR, club_team_s_ VARCHAR) Question: What country team had Thurles Sarsfields? [/INST] SELECT county_team FROM table_name_8 WHERE club_team_s_ = ""thurles sarsfields"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224672_2 (type VARCHAR, term_ended VARCHAR) Question: What branch of government was the term that ended on January 3, 2001? [/INST] SELECT type FROM table_224672_2 WHERE term_ended = ""January 3, 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (heat INTEGER, mark VARCHAR) Question: With a Mark of 46.47, What is the lowest Heat? [/INST] SELECT MIN(heat) FROM table_name_57 WHERE mark = ""46.47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR) Question: Which team has fewer than 4 rounds for Jan Van Breda Kolff? [/INST] SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = ""jan van breda kolff"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (attendance INTEGER, score VARCHAR) Question: What was the the total top attendance with a score of 0 – 4? [/INST] SELECT MAX(attendance) FROM table_name_93 WHERE score = ""0 – 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR) Question: What is the status of Norris? [/INST] SELECT status FROM table_name_31 WHERE name = ""norris"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11839306_2 (track VARCHAR) Question: How long is track number 8? [/INST] SELECT track AS time FROM table_11839306_2 WHERE track = 8
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (rank VARCHAR, rider VARCHAR) Question: What ran has noel patterson as the rider? [/INST] SELECT rank FROM table_name_40 WHERE rider = ""noel patterson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR) Question: How many entries for start of stage occur in the year 2006? [/INST] SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = ""2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (record VARCHAR, result VARCHAR) Question: Name the record with result of w 13-11 [/INST] SELECT record FROM table_name_51 WHERE result = ""w 13-11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR, enroll_grade VARCHAR) Question: What is the first name of students enrolled in class ACCT-211 and got grade C? [/INST] SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T2.stu_num = T3.stu_num WHERE T1.crs_code = 'ACCT-211' AND T2.enroll_grade = 'C' "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26448179_4 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) Question: How many air dates had 3.2 million viewers? [/INST] SELECT COUNT(original_air_date) FROM table_26448179_4 WHERE us_viewers__millions_ = ""3.2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14058433_3 (losing_bonus VARCHAR, club VARCHAR) Question: How many losing points does Llandudno RFC have? [/INST] SELECT losing_bonus FROM table_14058433_3 WHERE club = ""Llandudno RFC"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR) Question: Which home team had an away team of Reading? [/INST] SELECT home_team FROM table_name_37 WHERE away_team = ""reading"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products_booked (product_id VARCHAR) Question: What is the id of the product that is booked for 3 times? [/INST] SELECT product_id FROM products_booked GROUP BY product_id HAVING COUNT(*) = 3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (tallangatta_dfl VARCHAR, against VARCHAR, losses VARCHAR) Question: What is the Tallangatta DFL losses greater than 2 and an against greater than 1013 [/INST] SELECT tallangatta_dfl FROM table_name_49 WHERE against > 1013 AND losses > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE invoices (billing_country VARCHAR, total INTEGER) Question: A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size. [/INST] SELECT TOP 8 billing_country, SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (part_4 VARCHAR, part_2 VARCHAR) Question: What is Part 4, when Part 2 is ""hljóp""? [/INST] SELECT part_4 FROM table_name_65 WHERE part_2 = ""hljóp"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (record VARCHAR, visitor VARCHAR) Question: What is the record when St. Louis is the visitor? [/INST] SELECT record FROM table_name_56 WHERE visitor = ""st. louis"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (product_id VARCHAR); CREATE TABLE Order_items (product_id VARCHAR) Question: How many products were not included in any order? [/INST] SELECT COUNT(*) FROM products WHERE NOT product_id IN (SELECT product_id FROM Order_items)
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (total INTEGER, gold INTEGER) Question: Which Total has a Gold smaller than 0? [/INST] SELECT SUM(total) FROM table_name_29 WHERE gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (product_details VARCHAR) Question: Find the detail of products whose detail contains the word ""Latte"" or the word ""Americano"" [/INST] SELECT product_details FROM products WHERE product_details LIKE ""%Latte%"" OR product_details LIKE ""%Americano%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (college VARCHAR, overall VARCHAR, name VARCHAR) Question: what is the college for keenan robinson when overall is more than 102? [/INST] SELECT college FROM table_name_55 WHERE overall > 102 AND name = ""keenan robinson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_4 (production_code INTEGER, original_air_date VARCHAR) Question: What was the production code for the episode that debuted October 1, 1993? [/INST] SELECT MAX(production_code) FROM table_2468961_4 WHERE original_air_date = ""October 1, 1993"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR) Question: what's the software executable space protection with dbeingtribution being gentoo [/INST] SELECT software_executable_space_protection FROM table_1357052_6 WHERE distribution = ""Gentoo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (partner VARCHAR, score_in_the_final VARCHAR) Question: Who was the partner for the match with a score in the final of 4–6, 6–7? [/INST] SELECT partner FROM table_name_31 WHERE score_in_the_final = ""4–6, 6–7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (pick INTEGER, school VARCHAR, round VARCHAR) Question: What is the lowest pick from the Furman School that is a round smaller than 8? [/INST] SELECT MIN(pick) FROM table_name_83 WHERE school = ""furman"" AND round < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) Question: WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18? [/INST] SELECT score FROM table_name_80 WHERE date = ""november 18"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (country VARCHAR, score VARCHAR) Question: What country did the player with the score line 73-74-72-64=283 from? [/INST] SELECT country FROM table_name_65 WHERE score = 73 - 74 - 72 - 64 = 283 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR) Question: tries against correct as of 2007-10-15 has what tries for? [/INST] SELECT tries_for FROM table_name_31 WHERE tries_against = ""correct as of 2007-10-15"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28562675_3 (austria VARCHAR, netherlands VARCHAR, belgium VARCHAR) Question: What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Waterloo LL Brussels? [/INST] SELECT austria FROM table_28562675_3 WHERE netherlands = ""Brunssum/Schinnen LL Brunssum"" AND belgium = ""SHAPE and Waterloo LL Brussels"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR) Question: How tall is the basket ball player lior eliyahu in meters? [/INST] SELECT height__m_ FROM table_23670057_4 WHERE player = ""Lior Eliyahu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24856090_1 (english_title VARCHAR, hk_viewers VARCHAR) Question: What is the English title of the episode with 1.92 million Hong Kong viewers? [/INST] SELECT english_title FROM table_24856090_1 WHERE hk_viewers = ""1.92 million"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (hometown VARCHAR, college VARCHAR) Question: What is the hometown of the player who went to college at USC? [/INST] SELECT hometown FROM table_name_33 WHERE college = ""usc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR) Question: What is Player, when Figures is source: . last updated: 28 june 2007.? [/INST] SELECT player FROM table_name_52 WHERE figures = ""source: . last updated: 28 june 2007."" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10284385_1 (date_of_birth VARCHAR, representative VARCHAR) Question: How many birthdays does Earl Hanley Beshlin have? [/INST] SELECT COUNT(date_of_birth) FROM table_10284385_1 WHERE representative = ""Earl Hanley Beshlin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27435931_1 (continent VARCHAR, country VARCHAR) Question: what is the continent in which the country russia is listed? [/INST] SELECT continent FROM table_27435931_1 WHERE country = ""Russia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR) Question: How many Universities were founded in Tacoma, Washington? [/INST] SELECT COUNT(founded) FROM table_16078390_2 WHERE location = ""Tacoma, Washington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14962287_2 (years VARCHAR, fa_cup VARCHAR) Question: How many separate values for Years are associated with FA Cup of 5? [/INST] SELECT COUNT(years) FROM table_14962287_2 WHERE fa_cup = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR) Question: What is the total number of rounds of the player with a pick of 20? [/INST] SELECT COUNT(round) FROM table_name_87 WHERE pick = 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, name_in_polish VARCHAR) Question: Tell me the population for gubernia łomżyńska [/INST] SELECT population, _in_thousands, __1905__ FROM table_name_79 WHERE name_in_polish = ""gubernia łomżyńska"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (player VARCHAR, hometown_school VARCHAR, pick VARCHAR, position VARCHAR) Question: Which player was picked before 13, in a P position, and is from Georgia Tech? [/INST] SELECT player FROM table_name_98 WHERE pick < 13 AND position = ""p"" AND hometown_school = ""georgia tech"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20774360_2 (regular_season_record__w_l_ VARCHAR, standing VARCHAR) Question: Name the regular season record for standing 11th [/INST] SELECT regular_season_record__w_l_ FROM table_20774360_2 WHERE standing = ""11th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR) Question: What Elimination number is listed againt Eliminated by Sonjay Dutt? [/INST] SELECT elimination FROM table_name_87 WHERE eliminated_by = ""sonjay dutt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR) Question: Who is the team that played away team watford? [/INST] SELECT home_team FROM table_name_9 WHERE away_team = ""watford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1183842_1 (founded INTEGER, enrollment VARCHAR) Question: If the enrollment is 3584, what's the largest founded? [/INST] SELECT MAX(founded) FROM table_1183842_1 WHERE enrollment = 3584 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248940_10 (high_rebounds VARCHAR, record VARCHAR) Question: How many people had high rebounds during the game with a record of 34-32? [/INST] SELECT COUNT(high_rebounds) FROM table_23248940_10 WHERE record = ""34-32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR) Question: Name the average gold for czech republic and bronze less than 1 when total is less than 14 [/INST] SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = ""czech republic"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (heat INTEGER, lane VARCHAR, quart VARCHAR) Question: When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT? [/INST] SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR) Question: What is the D43 associated with a D41 of r 21? [/INST] SELECT d_43 FROM table_name_44 WHERE d_41 = ""r 21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (pilot VARCHAR, date VARCHAR) Question: Who is the pilot on September 27, 1972? [/INST] SELECT pilot FROM table_name_42 WHERE date = ""september 27, 1972"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23184448_4 (field_goals INTEGER, player VARCHAR) Question: Name the field goals for alexis yackley [/INST] SELECT MAX(field_goals) FROM table_23184448_4 WHERE player = ""Alexis Yackley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (president VARCHAR, head_coach VARCHAR) Question: Who is the President of the team that has the Head Coach Mark Wakeling? [/INST] SELECT president FROM table_name_37 WHERE head_coach = ""mark wakeling"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27378582_1 (founded INTEGER, nickname VARCHAR) Question: Name the most founded for bison [/INST] SELECT MAX(founded) FROM table_27378582_1 WHERE nickname = ""Bison"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (field_goals VARCHAR, extra_points VARCHAR, points VARCHAR, touchdowns VARCHAR) Question: How many Field goals have Points larger than 5, and Touchdowns larger than 2, and an Extra points smaller than 0? [/INST] SELECT COUNT(field_goals) FROM table_name_33 WHERE points > 5 AND touchdowns > 2 AND extra_points < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (result VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR) Question: What is the result for the distance of 10f, and a winner or 2nd of Lampra? [/INST] SELECT result FROM table_name_30 WHERE distance = ""10f"" AND winner_or_2nd = ""lampra"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR) Question: Find the first names and offices of all instructors who have taught some course and the course description and the department name. [/INST] SELECT T2.emp_fname, T4.prof_office, T3.crs_description, T5.dept_name FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num JOIN department AS T5 ON T4.dept_code = T5.dept_code "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (points INTEGER, year INTEGER) Question: Which line after 1959 had the highest amount of points? [/INST] SELECT MAX(points) FROM table_name_92 WHERE year > 1959 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (team_1 VARCHAR) Question: What was the 1st leg score for the match with Lesotho as team 1? [/INST] SELECT 1 AS st_leg FROM table_name_14 WHERE team_1 = ""lesotho"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (year VARCHAR, location VARCHAR) Question: What is Year, when Location is Philadelphia Municipal Stadium? [/INST] SELECT year FROM table_name_89 WHERE location = ""philadelphia municipal stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR) Question: What's the L3 Cache that has a standard power I/O? [/INST] SELECT l3_cache FROM table_name_63 WHERE i_o_bus = ""standard power"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24307126_3 (assets_2013__bil$_ VARCHAR, rank_2013 VARCHAR) Question: Name the assets when the rank is 1435 [/INST] SELECT assets_2013__bil$_ FROM table_24307126_3 WHERE rank_2013 = 1435 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16815824_1 (round2 VARCHAR, team VARCHAR) Question: What is the score for round 2 for team Toshiba? [/INST] SELECT COUNT(round2) FROM table_16815824_1 WHERE team = ""team Toshiba"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21100348_10 (period VARCHAR, average VARCHAR) Question: During what period was the career average 44.10? [/INST] SELECT period FROM table_21100348_10 WHERE average = ""44.10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) Question: What is the Year of Kodansha Novels' Tokyo Nightmare? [/INST] SELECT year FROM table_name_80 WHERE first_publisher = ""kodansha novels"" AND english_title = ""tokyo nightmare"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341423_21 (first_elected INTEGER) Question: What is the lowest first elected? [/INST] SELECT MIN(first_elected) FROM table_1341423_21
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (horizontal_bar VARCHAR, parallel_bars VARCHAR, pommel_horse VARCHAR, position VARCHAR) Question: What is the horizontal bar score with a pommel horse of n/a, and the position is less than 27, and the parallel bars score is 15.800? [/INST] SELECT horizontal_bar FROM table_name_18 WHERE pommel_horse = ""n/a"" AND position < 27 AND parallel_bars = ""15.800"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (position VARCHAR, college VARCHAR) Question: what is the position of the player from florida? [/INST] SELECT position FROM table_name_63 WHERE college = ""florida"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13050822_2 (length VARCHAR, stage VARCHAR) Question: Name the length for stage ss22 [/INST] SELECT length FROM table_13050822_2 WHERE stage = ""SS22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (time VARCHAR, date VARCHAR) Question: What Time has Date of May 9? [/INST] SELECT time FROM table_name_84 WHERE date = ""may 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (round INTEGER, time VARCHAR) Question: What is the total number of Round that has a Time of 6:04? [/INST] SELECT SUM(round) FROM table_name_85 WHERE time = ""6:04"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR) Question: Show the official names of the cities that have hosted more than one competition. [/INST] SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) Question: Who left a position on 24 January? [/INST] SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = ""24 January"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17103729_8 (location_attendance VARCHAR, score VARCHAR) Question: Name the location of 64-74 [/INST] SELECT location_attendance FROM table_17103729_8 WHERE score = ""64-74"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (silver VARCHAR, year VARCHAR) Question: Who won silver in 1982? [/INST] SELECT silver FROM table_name_15 WHERE year = 1982 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (top_5 INTEGER, events INTEGER) Question: What are the least Top-5 finish when the events are greater than 18? [/INST] SELECT MIN(top_5) FROM table_name_82 WHERE events > 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR) Question: What is the lowest number of draws of the NTFA Div 2 Lilydale? [/INST] SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = ""lilydale"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR) Question: What was the outcome of the tournament in Edinburgh? [/INST] SELECT outcome FROM table_name_82 WHERE tournament = ""edinburgh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1849243_1 (broadcast_date VARCHAR, archive VARCHAR) Question: What is the broadcast date of the 16mm t/r episode? [/INST] SELECT broadcast_date FROM table_1849243_1 WHERE archive = ""16mm t/r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR) Question: Name the title that aired on 5 august 1967 [/INST] SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = ""5 August 1967"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR) Question: What is the lowest attendance when footscray is the away team? [/INST] SELECT MIN(crowd) FROM table_name_61 WHERE away_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR) Question: What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of —? [/INST] SELECT senior_status FROM table_name_22 WHERE reason_for_termination = ""death"" AND chief_judge = ""—"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (score VARCHAR, home_team VARCHAR) Question: Which score has a Home Team of saskatoon accelerators? [/INST] SELECT score FROM table_name_61 WHERE home_team = ""saskatoon accelerators"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29295463_9 (quarterfinalists VARCHAR, champion VARCHAR) Question: Who were the quarter-finalists in the event where the champion was Terry Moor 3-6, 7-6, 6-2? [/INST] SELECT quarterfinalists FROM table_29295463_9 WHERE champion = ""Terry Moor 3-6, 7-6, 6-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR) Question: What is the Type for l. publilius philo vulscus? [/INST] SELECT type FROM table_name_31 WHERE name = ""l. publilius philo vulscus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR) Question: What is the name in the UK, with a release date of December 1966? [/INST] SELECT name FROM table_name_24 WHERE location = ""uk"" AND release_date = ""december 1966"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (save VARCHAR, date VARCHAR) Question: Who had a save on September 2? [/INST] SELECT save FROM table_name_49 WHERE date = ""september 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27588823_2 (callsign VARCHAR, location VARCHAR) Question: How many call signs does the location masinloc, zambales have? [/INST] SELECT COUNT(callsign) FROM table_27588823_2 WHERE location = ""Masinloc, Zambales"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR) Question: Name the opponent for august 26 [/INST] SELECT opponent FROM table_name_99 WHERE date = ""august 26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (location_attendance VARCHAR, game VARCHAR) Question: What is the location and attendance of game 1? [/INST] SELECT location_attendance FROM table_name_95 WHERE game = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) Question: Which date has a score of 2-1? [/INST] SELECT date FROM table_name_6 WHERE score = ""2-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (tournament VARCHAR) Question: What is the info for the year 2010, for the Australian Open tournament? [/INST] SELECT 2010 FROM table_name_33 WHERE tournament = ""australian open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (events_played INTEGER, cuts_made INTEGER) Question: What is the sum of Events played when the cuts made is less than 0? [/INST] SELECT SUM(events_played) FROM table_name_82 WHERE cuts_made < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (county VARCHAR, ihsaa_class VARCHAR, location VARCHAR) Question: What is the county with an AA IHSAA class in ferdinand? [/INST] SELECT county FROM table_name_90 WHERE ihsaa_class = ""aa"" AND location = ""ferdinand"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (country VARCHAR, score VARCHAR) Question: What is the country with a 68-73-69=210 score? [/INST] SELECT country FROM table_name_91 WHERE score = 68 - 73 - 69 = 210 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (opponent VARCHAR, site_stadium VARCHAR) Question: Who was the opponent at Lindsey Nelson Stadium? [/INST] SELECT opponent FROM table_name_73 WHERE site_stadium = ""lindsey nelson stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (round VARCHAR, club VARCHAR) Question: What is the round of club bečej? [/INST] SELECT round FROM table_name_38 WHERE club = ""bečej"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR) Question: Find the names and number of works of all artists who have at least one English songs. [/INST] SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = ""english"" GROUP BY T2.artist_name HAVING COUNT(*) >= 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (proto_germanic VARCHAR, old_english VARCHAR) Question: What's the Proto-Germanic when the Old English is /d/? [/INST] SELECT proto_germanic FROM table_name_3 WHERE old_english = ""/d/"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (title VARCHAR, japan VARCHAR) Question: Tell me the title for japan august 23, 2012 [/INST] SELECT title FROM table_name_30 WHERE japan = ""august 23, 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (series VARCHAR, season VARCHAR) Question: What was the series in season 2009? [/INST] SELECT series FROM table_name_61 WHERE season = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (name VARCHAR, date VARCHAR, ownership VARCHAR, condition VARCHAR) Question: What is the Name of the private Castle of the 16th century which is occupied? [/INST] SELECT name FROM table_name_26 WHERE ownership = ""private"" AND condition = ""occupied"" AND date = ""16th century"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR) Question: Who drove the car with a grid of 7? [/INST] SELECT driver FROM table_name_38 WHERE grid = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR) Question: What is the total number of points when the grade was A? [/INST] SELECT SUM(points) FROM table_name_31 WHERE grade = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (third_place VARCHAR, fifth_place VARCHAR) Question: Who was third place when Fran Dieli was fifth place? [/INST] SELECT third_place FROM table_name_78 WHERE fifth_place = ""fran dieli"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (authority VARCHAR, roll VARCHAR, area VARCHAR) Question: What's the authority when the roll is less than 234 for the massey east area? [/INST] SELECT authority FROM table_name_79 WHERE roll < 234 AND area = ""massey east"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18821196_1 (status VARCHAR, weekly_schedule VARCHAR) Question: What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm? [/INST] SELECT status FROM table_18821196_1 WHERE weekly_schedule = ""Monday to Thursday @ 11:00 pm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1691800_2 (income_class VARCHAR, area__km²_ VARCHAR) Question: what is the income class for area 75? [/INST] SELECT income_class FROM table_1691800_2 WHERE area__km²_ = 75 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR, Rank VARCHAR); CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR) Question: Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot. [/INST] SELECT T3.Pilot_name, T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID ORDER BY T3.Rank "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22447251_2 (height VARCHAR, contestant VARCHAR) Question: How tall is contestant Alexandra Díaz Bello? [/INST] SELECT height FROM table_22447251_2 WHERE contestant = ""Alexandra Díaz Bello"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) Question: On what date was the Blue Jays record 60-56? [/INST] SELECT date FROM table_name_25 WHERE record = ""60-56"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR) Question: What is the example with the associative type? [/INST] SELECT example FROM table_name_56 WHERE type = ""associative"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18904831_5 (record VARCHAR, high_rebounds VARCHAR) Question: What was the record of the game in which Dydek (10) did the most high rebounds? [/INST] SELECT record FROM table_18904831_5 WHERE high_rebounds = ""Dydek (10)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (club_province VARCHAR, player VARCHAR) Question: Which Club/province has a Player of david penalva? [/INST] SELECT club_province FROM table_name_41 WHERE player = ""david penalva"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (syracuse VARCHAR, buffalo VARCHAR, albany VARCHAR) Question: What is Syracuse, when Buffalo is Oatka Creek Shale, and when Albany is Berne? [/INST] SELECT syracuse FROM table_name_90 WHERE buffalo = ""oatka creek shale"" AND albany = ""berne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR) Question: Name the lowest Round with Opponent of rolando delgado? [/INST] SELECT MIN(round) FROM table_name_18 WHERE opponent = ""rolando delgado"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (week INTEGER, result VARCHAR) Question: What week number saw a w 31-16 result? [/INST] SELECT MIN(week) FROM table_name_21 WHERE result = ""w 31-16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (to_par VARCHAR, score VARCHAR) Question: Name the to par for score of 69-73-68-70=280 [/INST] SELECT to_par FROM table_name_84 WHERE score = 69 - 73 - 68 - 70 = 280 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (event VARCHAR, opponent VARCHAR) Question: In what event is the opponent Joe Nameth? [/INST] SELECT event FROM table_name_25 WHERE opponent = ""joe nameth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (crowd INTEGER, away_team VARCHAR) Question: What was the crowd when the away team was hawthorn? [/INST] SELECT MIN(crowd) FROM table_name_72 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE wedding (male_id VARCHAR, female_id VARCHAR, year INTEGER); CREATE TABLE people (name VARCHAR, people_id VARCHAR) Question: Show the pair of male and female names in all weddings after year 2014 [/INST] SELECT T2.name, T3.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id WHERE T1.year > 2014 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (us_krag_jørgensen_m1892 VARCHAR, norwegian_krag_jørgensen_m1894 VARCHAR) Question: What is the US Krag-Jørgensen M1892 when the Norwegian Krag-Jørgensen M1894 is 126.8cm? [/INST] SELECT us_krag_jørgensen_m1892 FROM table_name_87 WHERE norwegian_krag_jørgensen_m1894 = ""126.8cm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (ship VARCHAR, hull_no VARCHAR) Question: Name the ship with hull number of aor-6 [/INST] SELECT ship FROM table_name_89 WHERE hull_no = ""aor-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (result VARCHAR, attendance VARCHAR) Question: Tell me the result for attendance of 54,462 [/INST] SELECT result FROM table_name_32 WHERE attendance = ""54,462"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (loss VARCHAR, score VARCHAR) Question: Which Loss has a Score of 6–5? [/INST] SELECT loss FROM table_name_20 WHERE score = ""6–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR) Question: Name the number of episodes that jim barnes wrote for 1.82 million viewers [/INST] SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = ""Jim Barnes"" AND us_viewers__million_ = ""1.82"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29141354_7 (first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR) Question: When was the episode with Amy Williams as Andrew and Jack's guest broadcast? [/INST] SELECT first_broadcast FROM table_29141354_7 WHERE andrew_and_jacks_guest = ""Amy Williams"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (weight VARCHAR, power VARCHAR, name VARCHAR) Question: Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc? [/INST] SELECT weight FROM table_name_98 WHERE power = ""kw (hp) at 1,800rpm"" AND name = ""9 nc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (game INTEGER, record VARCHAR) Question: What is the highest game with a 3-2 record? [/INST] SELECT MAX(game) FROM table_name_79 WHERE record = ""3-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR) Question: Find the names of schools that have some students playing in goalie and mid positions. [/INST] SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (total INTEGER, year_s__won VARCHAR) Question: Which Total has a Year(s) won of 1991? [/INST] SELECT MIN(total) FROM table_name_9 WHERE year_s__won = ""1991"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (money___ INTEGER, player VARCHAR) Question: What is the highest Money ( £ ), when Player is ""Peter Hedblom""? [/INST] SELECT MAX(money___) AS £__ FROM table_name_95 WHERE player = ""peter hedblom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_20 (longitude VARCHAR, township VARCHAR) Question: What longitude is tatman township? [/INST] SELECT longitude FROM table_18600760_20 WHERE township = ""Tatman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (club VARCHAR, league VARCHAR, established VARCHAR) Question: What Club Established in 2010 has a League of MHL? [/INST] SELECT club FROM table_name_13 WHERE league = ""mhl"" AND established = 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: What is the lowest Laps for mike spence, with a Grid smaller than 8? [/INST] SELECT MIN(laps) FROM table_name_36 WHERE driver = ""mike spence"" AND grid < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (chest VARCHAR, supplier VARCHAR) Question: Which Chest is Supplied by Gilbert? [/INST] SELECT chest FROM table_name_28 WHERE supplier = ""gilbert"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (runners_up INTEGER, champions INTEGER) Question: What is the sum of Runners-Up, when Champions is greater than 5? [/INST] SELECT SUM(runners_up) FROM table_name_2 WHERE champions > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE stock (Device_ID VARCHAR); CREATE TABLE device (Carrier VARCHAR, Device_ID VARCHAR) Question: Show the carriers of devices in stock at more than one shop. [/INST] SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (name VARCHAR, headquarters VARCHAR) Question: what is the name of the netherlands head quarters [/INST] SELECT name FROM table_name_68 WHERE headquarters = ""the netherlands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR) Question: What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner? [/INST] SELECT city___state FROM table_name_87 WHERE winner = ""russell ingall larry perkins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR) Question: What was the Winning Score when Betsy Rawls was the Runner(s)-up? [/INST] SELECT winning_score FROM table_name_96 WHERE runner_s__up = ""betsy rawls"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (title_playoff INTEGER, league VARCHAR, super_cup VARCHAR) Question: What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0? [/INST] SELECT MIN(title_playoff) FROM table_name_42 WHERE league > 3 AND super_cup < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (location VARCHAR, college_or_campus_name VARCHAR) Question: What Location has a College or Campus Name of anna university - tharamani campus? [/INST] SELECT location FROM table_name_81 WHERE college_or_campus_name = ""anna university - tharamani campus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11630008_3 (original_air_date VARCHAR, series_no VARCHAR) Question: What was the airdate of 21 series number? [/INST] SELECT original_air_date FROM table_11630008_3 WHERE series_no = 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (title_playoff INTEGER, total VARCHAR, league VARCHAR) Question: What is the lowest Title Playoff, when Total is less than 3, and when League is greater than ""2""? [/INST] SELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 2 "
"[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 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR) Question: Which player has 69 as the score? [/INST] SELECT player FROM table_name_52 WHERE score = 69 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR) Question: What is the result F_A on 17 December 2002? [/INST] SELECT result_f_a FROM table_name_60 WHERE date = ""17 december 2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27988382_1 (production_code VARCHAR, no_in_season VARCHAR) Question: How many production codes had a total number in the season of 8? [/INST] SELECT COUNT(production_code) FROM table_27988382_1 WHERE no_in_season = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (grid INTEGER, time_retired VARCHAR, manufacturer VARCHAR) Question: WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER? [/INST] SELECT MAX(grid) FROM table_name_72 WHERE time_retired = ""accident"" AND manufacturer = ""honda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (Id VARCHAR) Question: What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R? [/INST] SELECT 2002 FROM table_name_3 WHERE 1994 = ""a"" AND 1989 = ""nme"" AND 1999 = ""2r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE campuses (campus VARCHAR, YEAR VARCHAR) Question: Find all the campuses opened in 1958. [/INST] SELECT campus FROM campuses WHERE YEAR = 1958 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR) Question: Show ids for all templates not used by any document. [/INST] SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (record VARCHAR, date VARCHAR) Question: Which Record has a Date of december 17? [/INST] SELECT record FROM table_name_99 WHERE date = ""december 17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR) Question: How many counties have a place name of Macedonia? [/INST] SELECT COUNT(county_ies__) AS ""a_"" FROM table_249512_2 WHERE place_name = ""Macedonia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341930_5 (result VARCHAR, first_elected VARCHAR) Question: What is the result for first elected in 1944 [/INST] SELECT result FROM table_1341930_5 WHERE first_elected = 1944 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (no_3 VARCHAR, no_7 VARCHAR, no_4 VARCHAR) Question: What is No. 3, when No. 7 is Abigail, and when No. 4 is Ava? [/INST] SELECT no_3 FROM table_name_79 WHERE no_7 = ""abigail"" AND no_4 = ""ava"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: Who is the republican Incumbent for Pennsylvania 9? [/INST] SELECT incumbent FROM table_name_10 WHERE party = ""republican"" AND district = ""pennsylvania 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR) Question: What is To par, when Player is ""Jesper Parnevik""? [/INST] SELECT to_par FROM table_name_47 WHERE player = ""jesper parnevik"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR) Question: Find the total savings balance of all accounts except the account with name ‘Brown’. [/INST] SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR) Question: What was the team's record on August 4? [/INST] SELECT record FROM table_name_8 WHERE date = ""august 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (gold VARCHAR, nation VARCHAR, total VARCHAR) Question: How many golds have denmark as the nation, with a total less than 1? [/INST] SELECT COUNT(gold) FROM table_name_86 WHERE nation = ""denmark"" AND total < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR) Question: Name the money for pádraig harrington [/INST] SELECT money___£__ FROM table_name_56 WHERE player = ""pádraig harrington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341604_39 (party VARCHAR, district VARCHAR) Question: What's the winning party in the Pennsylvania 6 district? [/INST] SELECT party FROM table_1341604_39 WHERE district = ""Pennsylvania 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR) Question: Which February has a Game of 40? [/INST] SELECT february FROM table_name_91 WHERE game = 40 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14960574_6 (french_voice_actor VARCHAR, spanish_voice_actor VARCHAR) Question: Name the french actor with javier romano [/INST] SELECT COUNT(french_voice_actor) FROM table_14960574_6 WHERE spanish_voice_actor = ""Javier Romano"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR) Question: What is the sambalpuri saree with a samaleswari temple as sambalpuri language? [/INST] SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = ""samaleswari temple"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (points INTEGER, fl VARCHAR, year VARCHAR, races VARCHAR) Question: What is the sum of points in 2010 when the driver had more than 14 races and an F.L. of less than 0? [/INST] SELECT SUM(points) FROM table_name_8 WHERE year = 2010 AND races > 14 AND fl < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR) Question: What was the ratings for episode 11? [/INST] SELECT ratings__kanto_ FROM table_26591434_1 WHERE episode = 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR) Question: Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold? [/INST] SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = ""ld hold"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (tournament VARCHAR) Question: WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED? [/INST] SELECT 2011 FROM table_name_48 WHERE tournament = ""tournaments played"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR) Question: Can you give me the age of the Virtues of Wisdom? [/INST] SELECT approximate_age FROM table_name_47 WHERE virtues = ""wisdom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (silver INTEGER, bronze VARCHAR, gold VARCHAR, total VARCHAR) Question: Gold of 1, and a Total smaller than 4, and a Bronze smaller than 0 has the lowest silver? [/INST] SELECT MIN(silver) FROM table_name_19 WHERE gold = 1 AND total < 4 AND bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR) Question: How many different results are there for the season with a 4-3 conference record? [/INST] SELECT COUNT(result) FROM table_20319085_2 WHERE conference_record = ""4-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (away_captain VARCHAR, date VARCHAR) Question: Which Away captain has a Date of 26,27,28,29 december 1998? [/INST] SELECT away_captain FROM table_name_12 WHERE date = ""26,27,28,29 december 1998"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (song VARCHAR, label VARCHAR, album VARCHAR) Question: Which song had Central Station as a label and whose album was Various - Wild Nights 4? [/INST] SELECT song FROM table_name_33 WHERE label = ""central station"" AND album = ""various - wild nights 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR) Question: Ben Hogan with a score larger than 66 had a place listed of what? [/INST] SELECT place FROM table_name_77 WHERE score > 66 AND player = ""ben hogan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (time__behind VARCHAR, jockey VARCHAR) Question: What is the Time/ Behind, when Jockey is ""Jose Lezcano""? [/INST] SELECT time__behind FROM table_name_44 WHERE jockey = ""jose lezcano"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (uni_number VARCHAR, surname VARCHAR) Question: Which Uni # has a Surname of ough? [/INST] SELECT uni_number FROM table_name_40 WHERE surname = ""ough"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (name VARCHAR, price VARCHAR) Question: Select the names and the prices of all the products in the store. [/INST] SELECT name, price FROM products "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (margin_of_victory VARCHAR, winning_score VARCHAR) Question: When the Winning score is 68-65-65-68=266, what is the Margin of victory? [/INST] SELECT margin_of_victory FROM table_name_59 WHERE winning_score = 68 - 65 - 65 - 68 = 266 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (venue VARCHAR, home_team VARCHAR) Question: Where does the home team fitzroy play? [/INST] SELECT venue FROM table_name_78 WHERE home_team = ""fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR) Question: Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of joseph g. glass? [/INST] SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = ""(none)"" AND socialist_ticket = ""joseph g. glass"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (pick VARCHAR, player VARCHAR) Question: How many teams picked Jason Webb? [/INST] SELECT COUNT(pick) FROM table_name_62 WHERE player = ""jason webb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (engine VARCHAR, rounds VARCHAR, driver VARCHAR) Question: Name the engine with rounds of 7 with geki driver [/INST] SELECT engine FROM table_name_57 WHERE rounds = ""7"" AND driver = ""geki"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (winning_score VARCHAR, runner_up VARCHAR, year VARCHAR) Question: Name the winning score for jim barnes and year of 1924 [/INST] SELECT winning_score FROM table_name_24 WHERE runner_up = ""jim barnes"" AND year = 1924 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (results VARCHAR, incumbent VARCHAR) Question: What are the results for Bill Shuster? [/INST] SELECT results FROM table_name_71 WHERE incumbent = ""bill shuster"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (team VARCHAR, sponsor VARCHAR, tire VARCHAR, chassis VARCHAR) Question: Which team has Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola? [/INST] SELECT team FROM table_name_48 WHERE tire = ""firestone"" AND chassis = ""reynard 95i"" AND sponsor = ""motorola"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (closed__as_a_rl_stadium_ INTEGER, country VARCHAR) Question: What is the earliest closed year in the country of france? [/INST] SELECT MIN(closed__as_a_rl_stadium_) FROM table_name_94 WHERE country = ""france"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR) Question: When 22 is the tries for what is the lost? [/INST] SELECT lost FROM table_17941032_1 WHERE tries_for = ""22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (team VARCHAR, machine VARCHAR, points VARCHAR) Question: What is the Team with a Machine that is nsr250 and has Points of 8? [/INST] SELECT team FROM table_name_39 WHERE machine = ""nsr250"" AND points = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (name VARCHAR, bullet VARCHAR, base VARCHAR) Question: Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)? [/INST] SELECT name FROM table_name_86 WHERE bullet = ""10.57 (.416)"" AND base = ""14.96 (.589)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR) Question: What is the city where the number is 47? [/INST] SELECT city_district__stadtteil_ FROM table_10992_3 WHERE no = ""47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR) Question: What is on the reverse side of the ₩500 coin? [/INST] SELECT reverse FROM table_298883_5 WHERE value = ""₩500"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (surface VARCHAR, opponents_in_the_final VARCHAR) Question: What is Surface, when Opponents In The Final is ""Christophe Rochus Olivier Rochus""? [/INST] SELECT surface FROM table_name_66 WHERE opponents_in_the_final = ""christophe rochus olivier rochus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR) Question: Which players college was Baylor? [/INST] SELECT player FROM table_name_82 WHERE college = ""baylor"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR) Question: How many events have each participants attended? List the participant id, type and the number. [/INST] SELECT T1.Participant_ID, T1.Participant_Type_Code, COUNT(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_ID "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position VARCHAR, pick VARCHAR) Question: Which position had a pick of 50? [/INST] SELECT position FROM table_name_35 WHERE pick = 50 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_percentage VARCHAR) Question: How many numbers were recorded under McCain when Obama had 27.2% voters? [/INST] SELECT COUNT(mccain_number) FROM table_20693870_1 WHERE obama_percentage = ""27.2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE player (Team VARCHAR, Age VARCHAR) Question: Find the team of the player of the highest age. [/INST] SELECT TOP 1 Team FROM player ORDER BY Age DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (college VARCHAR, pick__number VARCHAR, position VARCHAR) Question: Which College has a Pick # larger than 30, and a Position of ol? [/INST] SELECT college FROM table_name_22 WHERE pick__number > 30 AND position = ""ol"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17058116_7 (score VARCHAR, game VARCHAR) Question: What is the score of game 46 [/INST] SELECT score FROM table_17058116_7 WHERE game = 46 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE school (school VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR) Question: Show the school name and driver name for all school buses. [/INST] SELECT T2.school, T3.name FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN driver AS T3 ON T1.driver_id = T3.driver_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (points_1 VARCHAR, lost VARCHAR) Question: WHAT POINTS 1 HAD A 22 LOST? [/INST] SELECT points_1 FROM table_name_88 WHERE lost = 22 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22011138_7 (team VARCHAR) Question: If the team is Rubio ñú, what is the 08 points? [/INST] SELECT 08 AS _pts FROM table_22011138_7 WHERE team = ""Rubio Ñú"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR) Question: What is the local mission that has ambassador as the local position, and a mission of suriname? [/INST] SELECT Local AS mission FROM table_name_13 WHERE local_position = ""ambassador"" AND mission = ""suriname"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (time_retired VARCHAR, driver VARCHAR) Question: What is the time/retired for damon hill? [/INST] SELECT time_retired FROM table_name_36 WHERE driver = ""damon hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) Question: On what game sites are there where the team record is 0–5? [/INST] SELECT game_site FROM table_25380472_2 WHERE team_record = ""0–5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR) Question: What is the lowest total that has 1992 as the year (s) won? [/INST] SELECT MIN(total) FROM table_name_81 WHERE year_s__won = ""1992"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (highest INTEGER, average VARCHAR, capacity VARCHAR) Question: What's the highest with a capacity of greater than 4,000 and an average of 615? [/INST] SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15187735_6 (segment_a VARCHAR, segment_c VARCHAR) Question: What is the Segment A for when Segment C is s Sailboard? [/INST] SELECT segment_a FROM table_15187735_6 WHERE segment_c = ""s Sailboard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: What is the top grid that laps less than 66 and a retried engine? [/INST] SELECT MAX(grid) FROM table_name_28 WHERE time_retired = ""engine"" AND laps < 66 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (gold INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) Question: How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3? [/INST] SELECT SUM(gold) FROM table_name_78 WHERE bronze < 2 AND silver = 0 AND rank > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR) Question: When was Color of green last issued? [/INST] SELECT MAX(first_issued) FROM table_name_26 WHERE color = ""green"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (Id VARCHAR) Question: What is the categorization in 2012 when it was A in 2008 and 1R in 2011? [/INST] SELECT 2012 FROM table_name_13 WHERE 2008 = ""a"" AND 2011 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (venue VARCHAR, away_team VARCHAR) Question: Where was the game against the away team Footscray held? [/INST] SELECT venue FROM table_name_49 WHERE away_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (location VARCHAR, years_member VARCHAR) Question: What Location has Years Member of 1963–1968? [/INST] SELECT location FROM table_name_24 WHERE years_member = ""1963–1968"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20107762_1 (assists VARCHAR, mins VARCHAR) Question: What is the amount of assists when mins is 744:27? [/INST] SELECT assists FROM table_20107762_1 WHERE mins = ""744:27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11464746_1 (house_name VARCHAR, colours VARCHAR) Question: How many houses are green? [/INST] SELECT COUNT(house_name) FROM table_11464746_1 WHERE colours = ""Green"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668243_19 (party VARCHAR, incumbent VARCHAR) Question: What is the party of Joseph Vance? [/INST] SELECT party FROM table_2668243_19 WHERE incumbent = ""Joseph Vance"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (date VARCHAR, home_team VARCHAR) Question: What is the date of the game where St Kilda is the home team? [/INST] SELECT date FROM table_name_9 WHERE home_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR) Question: What player has +21 as the to par? [/INST] SELECT player FROM table_name_36 WHERE to_par = ""+21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) Question: Name the most events with cuts made more than 6 and top 25 more than 30 [/INST] SELECT MAX(events) FROM table_name_92 WHERE cuts_made > 6 AND top_25 > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25572068_1 (circuit VARCHAR, series VARCHAR) Question: What circuit was the FR3.5 11 series on? [/INST] SELECT circuit FROM table_25572068_1 WHERE series = ""FR3.5 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, player VARCHAR) Question: Where is john daly of united states from? [/INST] SELECT place FROM table_name_77 WHERE country = ""united states"" AND player = ""john daly"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16642_1 (islam VARCHAR, ethnicity VARCHAR) Question: When tajik is the ethnicity what is islam? [/INST] SELECT islam FROM table_16642_1 WHERE ethnicity = ""Tajik"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14139408_1 (pts VARCHAR, position VARCHAR) Question: what's the pts with position being nc [/INST] SELECT pts FROM table_14139408_1 WHERE position = ""NC"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Ref_locations (location_code VARCHAR, location_name VARCHAR) Question: List all location codes and location names. [/INST] SELECT location_code, location_name FROM Ref_locations "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (swimsuit INTEGER, state VARCHAR, average VARCHAR) Question: What is the lowest swimsuit score a contestant from Rhode Island with an average larger than 9.235 has? [/INST] SELECT MIN(swimsuit) FROM table_name_66 WHERE state = ""rhode island"" AND average > 9.235 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR) Question: What date was the game played at the venue of Hrazdan Stadium, Yerevan, Armenia? [/INST] SELECT date FROM table_name_70 WHERE venue = ""hrazdan stadium, yerevan, armenia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR) Question: What is the name of the shop that is hiring the largest number of employees? [/INST] SELECT TOP 1 t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (date VARCHAR, winning_score VARCHAR) Question: Which Date has a Winning score of −9 (70-64-70=203)? [/INST] SELECT date FROM table_name_19 WHERE winning_score = −9(70 - 64 - 70 = 203) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: What is the country of the player with playoff money and a score of 66-67-70-67=270? [/INST] SELECT country FROM table_name_73 WHERE money___$__ = ""playoff"" AND score = 66 - 67 - 70 - 67 = 270 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (tyre VARCHAR, engine_† VARCHAR, driver VARCHAR) Question: what is the tyre when the engine is asiatech at02 and the driver is alex yoong? [/INST] SELECT tyre FROM table_name_47 WHERE engine_† = ""asiatech at02"" AND driver = ""alex yoong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_40 (party VARCHAR, incumbent VARCHAR) Question: What party is thomas foglietta from? [/INST] SELECT party FROM table_1341472_40 WHERE incumbent = ""Thomas Foglietta"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (score VARCHAR, points VARCHAR, opponent VARCHAR) Question: What is the score of the game with 22 points and the capitals as the opponent? [/INST] SELECT score FROM table_name_37 WHERE points = 22 AND opponent = ""capitals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (position VARCHAR, competition VARCHAR, year VARCHAR) Question: Before 1979, what position was the European Indoor Championships? [/INST] SELECT position FROM table_name_78 WHERE competition = ""european indoor championships"" AND year < 1979 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE program (name VARCHAR, origin VARCHAR) Question: find the names of programs whose origin is not in Beijing. [/INST] SELECT name FROM program WHERE origin <> 'Beijing' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (Id VARCHAR) Question: What is the 2011 value that has a 2r in 2008 and a 4r in 2012? [/INST] SELECT 2011 FROM table_name_62 WHERE 2008 = ""2r"" AND 2012 = ""4r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR) Question: Who was the visitor when the score was 136–120? [/INST] SELECT visitor FROM table_name_78 WHERE score = ""136–120"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (first_elected INTEGER, incumbent VARCHAR) Question: What is the first elected for Jo Bonner? [/INST] SELECT MIN(first_elected) FROM table_name_12 WHERE incumbent = ""jo bonner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) Question: What is the country of the player whose score is 71-69-70-69=279? [/INST] SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR) Question: Who scored 74-70-67=211 and placed t5? [/INST] SELECT player FROM table_name_6 WHERE place = ""t5"" AND score = 74 - 70 - 67 = 211 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR) Question: What is the Total of Set 2 of 24:22? [/INST] SELECT total FROM table_name_86 WHERE set_2 = ""24:22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_169955_1 (sign_of_zodiac VARCHAR, tamil_calendar VARCHAR) Question: Name the sign of zodiac for chithirai [/INST] SELECT sign_of_zodiac FROM table_169955_1 WHERE tamil_calendar = ""Chithirai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170961_2 (population INTEGER, census_ranking VARCHAR) Question: At census ranking 1,184 of 5,008, what was the minimum population? [/INST] SELECT MIN(population) FROM table_170961_2 WHERE census_ranking = ""1,184 of 5,008"" "
"[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 is the result foe October 12, 2005? [/INST] SELECT result FROM table_name_75 WHERE date = ""october 12, 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (venue VARCHAR, home_team VARCHAR) Question: What is Home team Venue for the hawthorn team? [/INST] SELECT venue FROM table_name_58 WHERE home_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR) Question: Who was the incumbent when ran william b. oliver (d) unopposed? [/INST] SELECT incumbent FROM table_1346118_2 WHERE candidates = ""William B. Oliver (D) Unopposed"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (Id VARCHAR) Question: Which 2006 has a 2007 of A? [/INST] SELECT 2006 FROM table_name_98 WHERE 2007 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR) Question: How many Picks have a Position of kicker, and an Overall smaller than 137? [/INST] SELECT SUM(pick__number) FROM table_name_59 WHERE position = ""kicker"" AND overall < 137 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (first_leg VARCHAR, opposition VARCHAR) Question: What was the first leg score against Real Sociedad? [/INST] SELECT first_leg FROM table_name_66 WHERE opposition = ""real sociedad"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1773908_3 (provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR) Question: How many providers are there where the resale category is yes and bandwith is up is 1024? [/INST] SELECT COUNT(provider) FROM table_1773908_3 WHERE resale = ""yes"" AND up__up_to_kbit_s_ = 1024 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25380472_2 (date VARCHAR, final_score VARCHAR) Question: On what dates was the final score of the game L 14–24? [/INST] SELECT date FROM table_25380472_2 WHERE final_score = ""L 14–24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR) Question: What is the percentage of registered voters in which the d-r spread is +10.4%? [/INST] SELECT registered_voters FROM table_27003223_4 WHERE d_r_spread = ""+10.4%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17001658_5 (high_assists VARCHAR, team VARCHAR) Question: Who had the most assists and how many did they have in the game against Miami? [/INST] SELECT high_assists FROM table_17001658_5 WHERE team = ""Miami"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: What is the grid associated witha Time/Retired of +8.180 secs, and under 47 laps? [/INST] SELECT SUM(grid) FROM table_name_80 WHERE time_retired = ""+8.180 secs"" AND laps < 47 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10470082_5 (no VARCHAR, _number VARCHAR) Question: how many have the number 8 [/INST] SELECT COUNT(no) FROM table_10470082_5 WHERE _number = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (points INTEGER, points_for VARCHAR, points_against VARCHAR) Question: What are the least amount of points that have points for greater than 438, and points against greater than 943? [/INST] SELECT MIN(points) FROM table_name_6 WHERE points_for > 438 AND points_against > 943 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_53 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) Question: How many dominant religions were in the settlement that had a population of 17105? [/INST] SELECT COUNT(dominant_religion__2002_) FROM table_2562572_53 WHERE population__2011_ = 17105 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (college_junior_club_team VARCHAR, position VARCHAR) Question: Which team has a right wing position listed? [/INST] SELECT college_junior_club_team FROM table_name_8 WHERE position = ""right wing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR) Question: What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface? [/INST] SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = ""4–6, 1–6"" AND surface = ""clay"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (source_model VARCHAR, architecture VARCHAR) Question: Which Source model has a 16-bit* Architecture? [/INST] SELECT source_model FROM table_name_27 WHERE architecture = ""16-bit*"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_240936_2 (region_4__australia_ VARCHAR, region_1__us_ VARCHAR) Question: What is the region 4 (Aus) date associated with a region 1 (US) date of January 16, 2007? [/INST] SELECT region_4__australia_ FROM table_240936_2 WHERE region_1__us_ = ""January 16, 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (runs VARCHAR, opponent VARCHAR) Question: Which Run has an Opponent of Canterbury? [/INST] SELECT runs FROM table_name_52 WHERE opponent = ""canterbury"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) Question: What are the the approximate translations when the Morphological Category is 1st. plur. perfect? [/INST] SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = ""1st. plur. perfect"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR) Question: What was the result of the election of incumbent john shelley? [/INST] SELECT result FROM table_1341973_6 WHERE incumbent = ""John Shelley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, winning_score VARCHAR) Question: Which date was the Winning Score 72-66-67-71=276? [/INST] SELECT date FROM table_name_87 WHERE winning_score = 72 - 66 - 67 - 71 = 276 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (runner_s__up VARCHAR, year VARCHAR) Question: What are the Runner(s)-up of the 1972 Championship? [/INST] SELECT runner_s__up FROM table_name_41 WHERE year = ""1972"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR) Question: How many entries are shown for entered at 21:09? [/INST] SELECT COUNT(entered) FROM table_29692554_2 WHERE time = ""21:09"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28846752_4 (runs INTEGER, highest_score VARCHAR) Question: How many runs are there when the highest score is 228*? [/INST] SELECT MIN(runs) FROM table_28846752_4 WHERE highest_score = ""228*"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19998428_3 (san_julián_municipality___percentage_ VARCHAR, san_antonio_de_lomerío_municipality___percentage_ VARCHAR) Question: If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality? [/INST] SELECT COUNT(san_julián_municipality___percentage_) FROM table_19998428_3 WHERE san_antonio_de_lomerío_municipality___percentage_ = ""5.480"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR) Question: In what venue does Footscray play? [/INST] SELECT venue FROM table_name_16 WHERE home_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_49 (first_elected INTEGER, district VARCHAR) Question: what being the minimum first elected with district being washington 7 [/INST] SELECT MIN(first_elected) FROM table_1341472_49 WHERE district = ""Washington 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10701133_1 (title VARCHAR, original_air_date VARCHAR) Question: What is the title when original air date is may15,2008? [/INST] SELECT title FROM table_10701133_1 WHERE original_air_date = ""May15,2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (time VARCHAR, team VARCHAR, rider VARCHAR) Question: What was the time for Peter Berwick of Team Suzuki? [/INST] SELECT time FROM table_name_75 WHERE team = ""suzuki"" AND rider = ""peter berwick"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (round INTEGER, position VARCHAR, player VARCHAR) Question: What is the highest Round that has a Position of Tackle and the Player Fred Neilsen? [/INST] SELECT MAX(round) FROM table_name_91 WHERE position = ""tackle"" AND player = ""fred neilsen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (Id VARCHAR) Question: What is the 2012 value with 1r in 2010 and 2r in 2006? [/INST] SELECT 2012 FROM table_name_13 WHERE 2010 = ""1r"" AND 2006 = ""2r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (tournament VARCHAR) Question: Name the 2012 for us open [/INST] SELECT 2012 FROM table_name_36 WHERE tournament = ""us open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR) Question: what is the year when then organisation is star awards, the result is won and the nominated work title is n/a? [/INST] SELECT year FROM table_name_98 WHERE organisation = ""star awards"" AND result = ""won"" AND nominated_work_title = ""n/a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR) Question: what is the minimum highest position with artbeingt being paul evans [/INST] SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = ""Paul Evans"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR) Question: Where was the game played on 2004-06-23? [/INST] SELECT venue FROM table_name_43 WHERE date = ""2004-06-23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR) Question: Name the joined for the wolfpack women's nickname [/INST] SELECT joined FROM table_10577579_3 WHERE women’s_nickname = ""Wolfpack"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR) Question: How many pageants were margaret ann awitan bayot the delegate of? [/INST] SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate = ""Margaret Ann Awitan Bayot"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11585313_1 (number INTEGER, name VARCHAR) Question: What amount of times is the name, Bok De Korver listed? [/INST] SELECT MAX(number) FROM table_11585313_1 WHERE name = ""Bok de Korver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR) Question: What was the earliest release for Pathogen directed by Sharon Gosling? [/INST] SELECT MIN(release) FROM table_name_81 WHERE director = ""sharon gosling"" AND title = ""pathogen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14984078_1 (date VARCHAR, week VARCHAR) Question: What was the game date in week 13? [/INST] SELECT date FROM table_14984078_1 WHERE week = 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (game INTEGER, date VARCHAR, attendance VARCHAR) Question: What average game was held on february 24 and has an attendance smaller than 16,541? [/INST] SELECT AVG(game) FROM table_name_7 WHERE date = ""february 24"" AND attendance < 16 OFFSET 541 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (constructor VARCHAR, engine VARCHAR, driver VARCHAR) Question: Who built Warren Booth's car with the Cosworth DFV V8 engine? [/INST] SELECT constructor FROM table_name_88 WHERE engine = ""cosworth dfv v8"" AND driver = ""warren booth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR) Question: What is the week 32 result when week 33 is 31.9%? [/INST] SELECT week_32 FROM table_23680576_3 WHERE week_33 = ""31.9%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR) Question: Find the name and id of the good with the highest average rank. [/INST] SELECT TOP 1 T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1539201_1 (july VARCHAR) Question: Name the julys [/INST] SELECT july FROM table_1539201_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR) Question: Show the name, phone, and payment method code for all customers in descending order of customer number. [/INST] SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (venue VARCHAR, result VARCHAR) Question: What is the Venue of the Competition with a Result of 2–2 (d)? [/INST] SELECT venue FROM table_name_36 WHERE result = ""2–2 (d)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (population INTEGER, county VARCHAR, number_of_households VARCHAR) Question: What is the highest population for Baraga County with less than 3,444 households? [/INST] SELECT MAX(population) FROM table_name_96 WHERE county = ""baraga"" AND number_of_households < 3 OFFSET 444 ROWS "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30008638_1 (miss_air INTEGER) Question: What is the least amount of Miss Airs any country has had? [/INST] SELECT MIN(miss_air) FROM table_30008638_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17344582_11 (location_attendance VARCHAR, series VARCHAR) Question: List all location attendance for series 1-1. [/INST] SELECT location_attendance FROM table_17344582_11 WHERE series = ""1-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR) Question: Name the championship for peter mcnamara [/INST] SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = ""Peter McNamara"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (result_f___a VARCHAR, date VARCHAR) Question: What is the result F-A of the game on 6 march 1993? [/INST] SELECT result_f___a FROM table_name_95 WHERE date = ""6 march 1993"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, stage VARCHAR) Question: What is the intergiro classification of stage 21? [/INST] SELECT intergiro_classification FROM table_12261926_2 WHERE stage = 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year VARCHAR, award VARCHAR) Question: What year has american music awards? [/INST] SELECT COUNT(year) FROM table_name_97 WHERE award = ""american music awards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248910_6 (high_points VARCHAR, team VARCHAR) Question: Who scored the highest points and how much against the raptors? [/INST] SELECT high_points FROM table_23248910_6 WHERE team = ""Raptors"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR) Question: What was the name of the couple if the number of dances is 6? [/INST] SELECT couple FROM table_23662272_4 WHERE number_of_dances = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR) Question: With a Date of 22 July, what is the Winning team? [/INST] SELECT winning_team FROM table_name_43 WHERE date = ""22 july"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tyres VARCHAR, year INTEGER) Question: What were the Tyres after 1984? [/INST] SELECT tyres FROM table_name_22 WHERE year > 1984 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (most_laps_led VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR) Question: What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti? [/INST] SELECT most_laps_led FROM table_name_28 WHERE winning_team = ""chip ganassi racing"" AND fastest_lap = ""marco andretti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (player VARCHAR, place VARCHAR, score VARCHAR) Question: Who placed t5 and had a score of 70-72=142? [/INST] SELECT player FROM table_name_45 WHERE place = ""t5"" AND score = 70 - 72 = 142 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (marginal_ordinary_income_tax_rate VARCHAR, head_of_household VARCHAR) Question: Name the marginal ordinary income tax rate that has a head of household of $372,951+ [/INST] SELECT marginal_ordinary_income_tax_rate FROM table_name_40 WHERE head_of_household = ""$372,951+"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26336060_19 (date INTEGER, mintage VARCHAR, km_number VARCHAR) Question: What is the maximum date for a mintage of 150 and a KM number of S66? [/INST] SELECT MAX(date) FROM table_26336060_19 WHERE mintage = 150 AND km_number = ""S66"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12261926_2 (general_classification VARCHAR, winner VARCHAR) Question: What is the general classification with the winner being evgeni berzin? [/INST] SELECT COUNT(general_classification) FROM table_12261926_2 WHERE winner = ""Evgeni Berzin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR) Question: Which Series has a Site of ames and a Sport of w gymnastics? [/INST] SELECT series FROM table_name_13 WHERE site = ""ames"" AND sport = ""w gymnastics"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR) Question: what is the power when the city of license is belleville? [/INST] SELECT power FROM table_name_71 WHERE city_of_license = ""belleville"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (colour_commentator_s_ VARCHAR, network VARCHAR, year VARCHAR) Question: On CBC, who was the colour commentator in 1987? [/INST] SELECT colour_commentator_s_ FROM table_name_24 WHERE network = ""cbc"" AND year = 1987 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21269143_1 (attendance VARCHAR, round VARCHAR) Question: Name the attendace for 23 round [/INST] SELECT attendance FROM table_21269143_1 WHERE round = ""23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER) Question: How many runners had placings over 8? [/INST] SELECT COUNT(runners) FROM table_name_34 WHERE placing > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR) Question: Name the date for faro [/INST] SELECT date FROM table_name_33 WHERE location = ""faro"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (against INTEGER, status VARCHAR, opposing_teams VARCHAR) Question: What is the against for the opposing team of Wales with the status of Five Nations? [/INST] SELECT AVG(against) FROM table_name_52 WHERE status = ""five nations"" AND opposing_teams = ""wales"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR) Question: What background does the person from New york, New york, have? [/INST] SELECT background FROM table_1289860_2 WHERE hometown = ""New York, New York"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR) Question: What Date has a Home listed as Calgary? [/INST] SELECT date FROM table_name_48 WHERE home = ""calgary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23981771_1 (song_title VARCHAR, artist VARCHAR) Question: What is the song for Dixie Chicks? [/INST] SELECT song_title FROM table_23981771_1 WHERE artist = ""Dixie Chicks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (name VARCHAR, grid VARCHAR, laps VARCHAR, points VARCHAR) Question: What is the name of the driver who went 46 laps had less than 9 points and had a grid number under 12? [/INST] SELECT name FROM table_name_81 WHERE laps = 46 AND points < 9 AND grid < 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25730123_2 (field_goals INTEGER, player VARCHAR) Question: What were the least amount of field goals when Frederick L. Conklin played? [/INST] SELECT MIN(field_goals) FROM table_25730123_2 WHERE player = ""Frederick L. Conklin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, county VARCHAR) Question: what is the unemployment rate for wayne county? [/INST] SELECT unemployment_rate FROM table_22815568_13 WHERE county = ""Wayne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (high_points VARCHAR, game VARCHAR) Question: What are the high points from a game of 30? [/INST] SELECT high_points FROM table_name_59 WHERE game = 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (pick VARCHAR, position VARCHAR, name VARCHAR) Question: What pick had a wide receiver named johnny holloway? [/INST] SELECT pick FROM table_name_66 WHERE position = ""wide receiver"" AND name = ""johnny holloway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (result VARCHAR, original_title VARCHAR) Question: What is Result, when Original Title is ""Qala""? [/INST] SELECT result FROM table_name_38 WHERE original_title = ""qala"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (round VARCHAR, record VARCHAR) Question: How many rounds was the fight when the record was 4-0? [/INST] SELECT COUNT(round) FROM table_name_74 WHERE record = ""4-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR) Question: Name the most middle schools for 2005-2006 [/INST] SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year = ""2005-2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (nationality VARCHAR, heat VARCHAR, rank VARCHAR) Question: Which Nationality has a Heat smaller than 2, and a Rank of 15? [/INST] SELECT nationality FROM table_name_16 WHERE heat < 2 AND rank = 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR) Question: Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1? [/INST] SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19312274_2 (total VARCHAR, last_current_driver_s_ VARCHAR) Question: how many total where last/current driver(s) is narain karthikeyan ( 2010 ) [/INST] SELECT COUNT(total) FROM table_19312274_2 WHERE last_current_driver_s_ = ""Narain Karthikeyan ( 2010 )"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (label VARCHAR, region VARCHAR, catalog VARCHAR) Question: What label has the netherlands as the region, and magik muzik 802-1 as the catalog? [/INST] SELECT label FROM table_name_83 WHERE region = ""netherlands"" AND catalog = ""magik muzik 802-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (original_name VARCHAR, language VARCHAR, country VARCHAR) Question: What was the original name of the Spanish song in Spain? [/INST] SELECT original_name FROM table_name_71 WHERE language = ""spanish"" AND country = ""spain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (country VARCHAR, score VARCHAR) Question: Which Country has a Score of 71-74-70=215? [/INST] SELECT country FROM table_name_37 WHERE score = 71 - 74 - 70 = 215 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (_percentage_won INTEGER, lost INTEGER) Question: What is the largest % Won with a Lost smaller than 0? [/INST] SELECT MAX(_percentage_won) FROM table_name_89 WHERE lost < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) Question: What city of license has A as a class, and cbec-fm as the identifier? [/INST] SELECT city_of_license FROM table_name_86 WHERE class = ""a"" AND identifier = ""cbec-fm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (position VARCHAR, pick VARCHAR, round VARCHAR) Question: What is position of the player with a pick number greater than 315 and a round of 30? [/INST] SELECT position FROM table_name_51 WHERE pick > 315 AND round = 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2886617_3 (nationality VARCHAR, position VARCHAR, college_junior_club_team VARCHAR) Question: Which nationality has left wing as the position and college/junior/team is portland winterhawks (whl)? [/INST] SELECT nationality FROM table_2886617_3 WHERE position = ""Left Wing"" AND college_junior_club_team = ""Portland Winterhawks (WHL)"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21602734_1 (division INTEGER) Question: What is the highest number of divisions mentioned? [/INST] SELECT MAX(division) FROM table_21602734_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12807904_3 (won VARCHAR, try_bonus VARCHAR) Question: HOW MANY GAMES HAD A WIN WITH A BONUS OF 11 [/INST] SELECT won FROM table_12807904_3 WHERE try_bonus = ""11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (source_model VARCHAR, release_date VARCHAR) Question: Which Source model has a Release date of 1992-04-06? [/INST] SELECT source_model FROM table_name_97 WHERE release_date = ""1992-04-06"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR) Question: Which Lead has a Skip of mike mcewen? [/INST] SELECT lead FROM table_name_73 WHERE skip = ""mike mcewen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (opponent VARCHAR, location VARCHAR, round VARCHAR) Question: Who was the opponent in London, England in a round less than 2? [/INST] SELECT opponent FROM table_name_62 WHERE location = ""london, england"" AND round < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26166836_1 (location VARCHAR, road_race VARCHAR) Question: In which city was the berlin marathon? [/INST] SELECT location FROM table_26166836_1 WHERE road_race = ""Berlin Marathon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2387461_1 (games_played VARCHAR, points_per_game VARCHAR) Question: How many games played have 4.7 points per game? [/INST] SELECT COUNT(games_played) FROM table_2387461_1 WHERE points_per_game = ""4.7"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE visitor (age INTEGER) Question: How many visitors below age 30 are there? [/INST] SELECT COUNT(*) FROM visitor WHERE age < 30
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR) Question: Who was the GTO winning team when the TO winning team was #84 Camaro? [/INST] SELECT gto_winning_team FROM table_13642023_2 WHERE to_winning_team = ""#84 Camaro"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR) Question: Which country is ranked 24? [/INST] SELECT country FROM table_name_57 WHERE rank = ""24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) Question: How many rebounds per game did he have at the 2003 eurobasket? [/INST] SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = ""2003 EuroBasket"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR) Question: Among deaths 106 000 how many is crude rate. [/INST] SELECT crude_death_rate FROM table_21258_1 WHERE deaths = ""106 000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE club_rank (Silver INTEGER) Question: What are the maximum and minimum number of silver medals for clubs. [/INST] SELECT MAX(Silver), MIN(Silver) FROM club_rank "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (name VARCHAR, prize VARCHAR) Question: Who won the event with a top prize of $2,434,061? [/INST] SELECT name FROM table_name_28 WHERE prize = ""$2,434,061"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (rd__number VARCHAR, pick__number INTEGER) Question: How many rounds exist for picks under 5? [/INST] SELECT COUNT(rd__number) FROM table_name_21 WHERE pick__number < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (rank INTEGER, gold INTEGER) Question: What is the average rank for nations with fewer than 0 gold medals? [/INST] SELECT AVG(rank) FROM table_name_86 WHERE gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR) Question: What is the Venue with a Date with 14 april 2002? [/INST] SELECT venue FROM table_name_57 WHERE date = ""14 april 2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR) Question: What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander? [/INST] SELECT date FROM table_name_81 WHERE fastest_lap = ""james winslow"" AND race = 1 AND winning_driver = ""leanne tander"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (rank VARCHAR, athlete VARCHAR, total VARCHAR) Question: how many times is the athlete jin di and the total less than 118? [/INST] SELECT COUNT(rank) FROM table_name_77 WHERE athlete = ""jin di"" AND total < 118 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (week VARCHAR, attendance VARCHAR) Question: Which week's game was attended by 33,057 people? [/INST] SELECT week FROM table_name_48 WHERE attendance = ""33,057"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (Id VARCHAR) Question: What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? [/INST] SELECT 2009 FROM table_name_98 WHERE 2008 = ""a"" AND 2012 = ""1r"" AND 2010 = ""q2"" AND 2011 = ""2r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (name VARCHAR, red_list VARCHAR, species_authority VARCHAR) Question: Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804? [/INST] SELECT name FROM table_name_20 WHERE red_list > 0 AND species_authority = ""balaenoptera acutorostrata lacépède, 1804"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR, player VARCHAR) Question: What is the lowest PI GP when the Reg GP is 1, Murray Bannerman is the Player, and the Pick # is under 58? [/INST] SELECT MIN(pl_gp) FROM table_name_53 WHERE reg_gp = 1 AND player = ""murray bannerman"" AND pick__number < 58 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (part_4 VARCHAR, class VARCHAR) Question: what is part 4 when the class is 5? [/INST] SELECT part_4 FROM table_name_37 WHERE class = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) Question: What is the home team score for kardinia park? [/INST] SELECT home_team AS score FROM table_name_56 WHERE venue = ""kardinia park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (position VARCHAR, player VARCHAR, goals VARCHAR, points VARCHAR) Question: Mike Forshaw had 0 goals and 28 points. What is his position? [/INST] SELECT position FROM table_name_74 WHERE goals = 0 AND points = 28 AND player = ""mike forshaw"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR) Question: How many years was the chassis a lotus-ford 38/7? [/INST] SELECT COUNT(year) FROM table_181892_4 WHERE chassis = ""Lotus-Ford 38/7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (nationality VARCHAR, pick VARCHAR, player VARCHAR) Question: What is the nationality of player corey fienhage, who has a pick less than 104? [/INST] SELECT nationality FROM table_name_2 WHERE pick < 104 AND player = ""corey fienhage"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (attendance INTEGER, h___a VARCHAR, date VARCHAR) Question: What is the average attendance for the date of 7 November 2007 with an H/A of H? [/INST] SELECT AVG(attendance) FROM table_name_38 WHERE h___a = ""h"" AND date = ""7 november 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (record VARCHAR, week INTEGER) Question: What's the record after week 16? [/INST] SELECT record FROM table_name_80 WHERE week > 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (pick__number INTEGER, player VARCHAR) Question: What is Rhett Mclane's highest pick number? [/INST] SELECT MAX(pick__number) FROM table_name_94 WHERE player = ""rhett mclane"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) Question: What is Runner(s)-Up, when Margin of Victory is 1 Stroke, and when Tournament is Joburg Open 1? [/INST] SELECT runner_s__up FROM table_name_51 WHERE margin_of_victory = ""1 stroke"" AND tournament = ""joburg open 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (bronze INTEGER, nation VARCHAR, total VARCHAR) Question: Tell me the lowest bronze for panama and total larger than 8 [/INST] SELECT MIN(bronze) FROM table_name_84 WHERE nation = ""panama"" AND total > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15056103_1 (playoffs VARCHAR, regular_season VARCHAR) Question: What was the playoff result when they finished 5th, north in the regular sesason? [/INST] SELECT playoffs FROM table_15056103_1 WHERE regular_season = ""5th, North"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (to_par INTEGER, player VARCHAR, place VARCHAR, score VARCHAR) Question: What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147? [/INST] SELECT MAX(to_par) FROM table_name_83 WHERE place = ""t7"" AND score = 73 - 74 = 147 AND player = ""len mattiace"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (customer_name VARCHAR) Question: Find the name of all customers whose name contains ""Alex"". [/INST] SELECT customer_name FROM customers WHERE customer_name LIKE ""%Alex%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (lost INTEGER, goals_for VARCHAR, drawn VARCHAR, position VARCHAR) Question: What is the highest lost with a drawn more than 11, a position lower than 17 and more than 61 goals? [/INST] SELECT MAX(lost) FROM table_name_75 WHERE drawn > 11 AND position < 17 AND goals_for > 61 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR) Question: Which opponent had the result of W 24-14? [/INST] SELECT opponent FROM table_name_64 WHERE result = ""w 24-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_17 (vote_percentage VARCHAR, couple VARCHAR) Question: For couple Todd and Susie, what was the vote percentage? [/INST] SELECT vote_percentage FROM table_19744915_17 WHERE couple = ""Todd and Susie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (overall INTEGER, downhill VARCHAR, season VARCHAR) Question: What is the lowest overall score prior to 1992 with a downhill score of 1? [/INST] SELECT MIN(overall) FROM table_name_57 WHERE downhill = ""1"" AND season < 1992 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (round VARCHAR, tournament VARCHAR, winner VARCHAR, year VARCHAR) Question: What is Round, when Winner is ""Ivanovic"", when Year is less than 2008, and when Tournament is ""Paris""? [/INST] SELECT round FROM table_name_60 WHERE winner = ""ivanovic"" AND year < 2008 AND tournament = ""paris"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15887683_10 (ppv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR) Question: Name the ppv for sky famiglia and dar 16:9 for mtv dance [/INST] SELECT ppv FROM table_15887683_10 WHERE package_option = ""Sky Famiglia"" AND dar = ""16:9"" AND television_service = ""MTV Dance"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (home_team VARCHAR, away_team VARCHAR) Question: What home team has Richmond listed as their Away team? [/INST] SELECT home_team FROM table_name_69 WHERE away_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (hdtv VARCHAR, content VARCHAR) Question: What is the HDTV of the Music Content Channel? [/INST] SELECT hdtv FROM table_name_60 WHERE content = ""music"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_256286_14 (_percentage_yes VARCHAR, yes_votes VARCHAR) Question: Name the % yes for yes votes for 78961 [/INST] SELECT _percentage_yes FROM table_256286_14 WHERE yes_votes = 78961 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (location VARCHAR, objectnumber VARCHAR) Question: Which Location has an ObjectNumber of 2005-7698? [/INST] SELECT location FROM table_name_71 WHERE objectnumber = ""2005-7698"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (place VARCHAR, country VARCHAR, score VARCHAR) Question: What place in the United States having a score of 67-75-68=210? [/INST] SELECT place FROM table_name_10 WHERE country = ""united states"" AND score = 67 - 75 - 68 = 210 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (crowd INTEGER, away_team VARCHAR) Question: How big was the crowd at the game the away team geelong played at? [/INST] SELECT SUM(crowd) FROM table_name_31 WHERE away_team = ""geelong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR) Question: What is the score from September 15 that has the Indians as the opponent? [/INST] SELECT score FROM table_name_35 WHERE opponent = ""indians"" AND date = ""september 15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, score VARCHAR) Question: What is the Country of the Player with a To par of +1 and a Score of 72-71=143? [/INST] SELECT country FROM table_name_99 WHERE to_par = ""+1"" AND score = 72 - 71 = 143 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR) Question: What date was the game at Williams-Brice stadium • Columbia, SC? [/INST] SELECT date FROM table_name_75 WHERE site = ""williams-brice stadium • columbia, sc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR) Question: what's the game with record being 29–3 [/INST] SELECT game FROM table_13480122_5 WHERE record = ""29–3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR) Question: What is the result at the Masters for the player who finished R16 at the PGA Ch.? [/INST] SELECT masters FROM table_1506950_9 WHERE pga_ch = ""R16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, road_team VARCHAR, result VARCHAR) Question: WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT? [/INST] SELECT date FROM table_name_86 WHERE road_team = ""boston"" AND result = ""126-105"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR) Question: Name the into service for dh2 [/INST] SELECT into_service FROM table_29002641_1 WHERE number = ""DH2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR) Question: What was the attendance for the North Melbourne's home game? [/INST] SELECT crowd FROM table_name_31 WHERE home_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (season VARCHAR, year VARCHAR) Question: Which Season has a Year of 2005–06? [/INST] SELECT season FROM table_name_63 WHERE year = ""2005–06"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (authors VARCHAR, name VARCHAR) Question: Which writer is named mongolbittacus? [/INST] SELECT authors FROM table_name_62 WHERE name = ""mongolbittacus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17326036_7 (date VARCHAR, high_rebounds VARCHAR) Question: What was the date when Troy Murphy (15), got high rebounds? [/INST] SELECT date FROM table_17326036_7 WHERE high_rebounds = ""Troy Murphy (15)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (location VARCHAR, size VARCHAR) Question: What location was the campus that has a size of 245 acres? [/INST] SELECT location FROM table_name_86 WHERE size = ""245 acres"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (arkansas VARCHAR, alabama VARCHAR) Question: Who is the Arkansas player associated with Ken Stabler? [/INST] SELECT arkansas FROM table_name_22 WHERE alabama = ""ken stabler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (surpassed_by VARCHAR, year VARCHAR, period VARCHAR) Question: I need the surpassed for years before 1925 and period of 6 years [/INST] SELECT surpassed_by FROM table_name_57 WHERE year < 1925 AND period = ""6 years"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR) Question: Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2? [/INST] SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = ""Tears for Fears"" AND artist_2 = ""Eric Prydz"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR) Question: How many years did BBC One rank 20th? [/INST] SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = ""20th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (round INTEGER, pick__number VARCHAR, overall VARCHAR) Question: What was the first Round with a Pick # greater than 1 and 140 Overall? [/INST] SELECT MIN(round) FROM table_name_43 WHERE pick__number > 1 AND overall > 140 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (loss VARCHAR, date VARCHAR) Question: What Loss is recorded for the Date June 2? [/INST] SELECT loss FROM table_name_56 WHERE date = ""june 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (record VARCHAR, date VARCHAR) Question: What is the Record with a Date with december 9? [/INST] SELECT record FROM table_name_97 WHERE date = ""december 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (matches VARCHAR, goals VARCHAR) Question: How many matches had 360 goals? [/INST] SELECT matches FROM table_name_31 WHERE goals = 360 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1184344_1 (name VARCHAR) Question: What was the 1845 disposal for sussex? [/INST] SELECT 1845 AS _disposal FROM table_1184344_1 WHERE name = ""Sussex"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (nationality VARCHAR, player VARCHAR) Question: What nationality is Larry McMorran? [/INST] SELECT nationality FROM table_name_59 WHERE player = ""larry mcmorran"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (round VARCHAR, opponent VARCHAR) Question: In which round was Dustin Hazelett the opponent? [/INST] SELECT round FROM table_name_63 WHERE opponent = ""dustin hazelett"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (method VARCHAR, round VARCHAR, record VARCHAR) Question: Which Method has a Round of 1, and a Record of 4–2? [/INST] SELECT method FROM table_name_37 WHERE round = 1 AND record = ""4–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR) Question: What is the amount of 000s from 1996? [/INST] SELECT SUM(total__000s_) FROM table_name_20 WHERE year = ""1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR) Question: Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester? [/INST] SELECT year FROM table_name_4 WHERE position = ""2nd"" AND notes = ""-63kg"" AND venue = ""manchester"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26454128_4 (Adjusted INTEGER, country VARCHAR) Question: What is the most adjusted points for Great Britain? [/INST] SELECT MAX(Adjusted) AS points FROM table_26454128_4 WHERE country = ""Great Britain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (winning_team VARCHAR, circuit VARCHAR) Question: Who was the winning team at the Homestead-Miami Speedway? [/INST] SELECT winning_team FROM table_name_74 WHERE circuit = ""homestead-miami speedway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (kickoff_time VARCHAR, week VARCHAR) Question: What is the kickoff time for the game in week of 17? [/INST] SELECT kickoff_time FROM table_name_92 WHERE week = 17 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2127933_3 (year INTEGER) Question: What is the earliest year? [/INST] SELECT MIN(year) FROM table_2127933_3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Rooms (bedType VARCHAR, basePrice INTEGER) Question: What is the average base price of different bed type? List bed type and average base price. [/INST] SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE TEACHERS (gender VARCHAR, last_name VARCHAR) Question: What is the gender of the teacher with last name ""Medhurst""? [/INST] SELECT gender FROM TEACHERS WHERE last_name = ""Medhurst"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (tournament VARCHAR) Question: WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS? [/INST] SELECT 2010 FROM table_name_93 WHERE 2012 = ""2r"" AND tournament = ""miami masters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR) Question: What was Olga Govortsova's score when she played on a clay surface on 19 May 2008? [/INST] SELECT score FROM table_name_11 WHERE surface = ""clay"" AND date = ""19 may 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR) Question: How many students enrolled in 2005 at New Hampshire Institute of Art? [/INST] SELECT enrollment__2005_ FROM table_2076490_1 WHERE school = ""New Hampshire Institute of Art"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (location_attendance VARCHAR, score VARCHAR) Question: What is Location/Attendance, when Score is ""4-5 (OT)""? [/INST] SELECT location_attendance FROM table_name_2 WHERE score = ""4-5 (ot)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (location VARCHAR, opponent VARCHAR) Question: Where did they play against Clemson? [/INST] SELECT location FROM table_name_8 WHERE opponent = ""clemson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29778616_1 (intro_date VARCHAR, price VARCHAR) Question: How many intro dates have the price of 686€? [/INST] SELECT COUNT(intro_date) FROM table_29778616_1 WHERE price = ""686€"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (to_par INTEGER, total INTEGER) Question: Which To par is the highest one that has a Total smaller than 148? [/INST] SELECT MAX(to_par) FROM table_name_89 WHERE total < 148 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (match_score VARCHAR) Question: What is the ""Pick The Winners"" score when the Match score was illawarra 19 souths 0? [/INST] SELECT ""pick_the_winners"" AS _score FROM table_name_70 WHERE match_score = ""illawarra 19 souths 0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (away_team VARCHAR) Question: When South Melbourne was the Away Team, what was their score? [/INST] SELECT away_team AS score FROM table_name_49 WHERE away_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (venue VARCHAR, date VARCHAR) Question: What is Venue, when Date is ""2003-08-13""? [/INST] SELECT venue FROM table_name_72 WHERE date = ""2003-08-13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (rank VARCHAR, games VARCHAR, team VARCHAR, points VARCHAR) Question: What's the rank of the Tau Cerámica that has 377 points and more than 21 games? [/INST] SELECT COUNT(rank) FROM table_name_62 WHERE team = ""tau cerámica"" AND points = 377 AND games > 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (attendance VARCHAR, record VARCHAR) Question: How many people attended the game whose score was 1-1? [/INST] SELECT attendance FROM table_name_62 WHERE record = ""1-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (telugu_తెలుగు VARCHAR, kannada_ಕನ್ನಡ VARCHAR) Question: Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ? [/INST] SELECT telugu_తెలుగు FROM table_name_87 WHERE kannada_ಕನ್ನಡ = ""chitra ಚಿತ್ತ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR) Question: What is the death date of the archbishop who was ordained as bishop April 26, 1927? [/INST] SELECT died FROM table_1656555_1 WHERE ordained_bishop = ""April 26, 1927"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1875157_2 (starts INTEGER, winnings VARCHAR) Question: How many starts were there when the winnings are $690,321? [/INST] SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = ""$690,321"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE orders (order_id VARCHAR, date_order_placed VARCHAR) Question: What is the id of the most recent order? [/INST] SELECT TOP 1 order_id FROM orders ORDER BY date_order_placed DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) Question: Name the population for 2011 for српска црња [/INST] SELECT population__2011_ FROM table_2562572_37 WHERE cyrillic_name_other_names = ""Српска Црња"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (winning_constructor VARCHAR, name VARCHAR) Question: Who was the winning constructor of the Grand Prix Du Salon ? [/INST] SELECT winning_constructor FROM table_name_24 WHERE name = ""grand prix du salon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22496374_1 (home_town VARCHAR, high_school VARCHAR) Question: What is the hometown of the players from alvin high school? [/INST] SELECT home_town FROM table_22496374_1 WHERE high_school = ""Alvin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (precincts VARCHAR, g_hager VARCHAR) Question: Which Precincts has a G. Hager of 2,260 (15%)? [/INST] SELECT precincts FROM table_name_88 WHERE g_hager = ""2,260 (15%)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (money_requested__ INTEGER, first_aired VARCHAR) Question: how much money was requested on the show which aired on 4 september 2011? [/INST] SELECT SUM(money_requested__) AS £_ FROM table_name_87 WHERE first_aired = ""4 september 2011"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12284476_8 (denomination VARCHAR, year VARCHAR, reverse VARCHAR) Question: what's the denomination with year being 2008 and reverse being football [/INST] SELECT denomination FROM table_12284476_8 WHERE year = 2008 AND reverse = ""Football"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) Question: What year joined had an enrollment less than 438 and an AA as the IHSAA Class? [/INST] SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = ""aa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13605170_2 (national_origin VARCHAR, retired VARCHAR, in_service VARCHAR) Question: What is the origin of aircraft in service in 1943 and retired in 1954? [/INST] SELECT national_origin FROM table_13605170_2 WHERE retired = ""1954"" AND in_service = ""1943"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (tournament VARCHAR) Question: Which Tournament has a 2009 of q1, and a 2008 of 1r? [/INST] SELECT tournament FROM table_name_28 WHERE 2009 = ""q1"" AND 2008 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (engine VARCHAR, chassis VARCHAR) Question: What engine did the porsche 718 chassis use? [/INST] SELECT engine FROM table_name_52 WHERE chassis = ""porsche 718"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) Question: When was the game when North Melbourne was the home team? [/INST] SELECT date FROM table_name_35 WHERE home_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262476_3 (founded INTEGER, institution VARCHAR) Question: When was alfred university founded? [/INST] SELECT MAX(founded) FROM table_262476_3 WHERE institution = ""Alfred University"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR) Question: Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma? [/INST] SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = ""montezuma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (venue VARCHAR, home_team VARCHAR) Question: Where does Melbourne play home games? [/INST] SELECT venue FROM table_name_13 WHERE home_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (site VARCHAR, date VARCHAR) Question: What is the Site when the date is 11/11/1950? [/INST] SELECT site FROM table_name_37 WHERE date = ""11/11/1950"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21515673_2 (rr1_pts VARCHAR, team_name VARCHAR) Question: How many points does Swedish America's Cup Challenge have for rr1? [/INST] SELECT COUNT(rr1_pts) FROM table_21515673_2 WHERE team_name = ""Swedish America's Cup Challenge"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (ergative VARCHAR, nominative VARCHAR) Question: Mis-i is the nominative of what ergative? [/INST] SELECT ergative FROM table_name_48 WHERE nominative = ""mis-i"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140085_2 (race VARCHAR, fastest_lap VARCHAR) Question: what is the race where the fastest lap is by jean-pierre jarier? [/INST] SELECT race FROM table_1140085_2 WHERE fastest_lap = ""Jean-Pierre Jarier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (exit VARCHAR, kilometer_no__rizal_park_basis_ VARCHAR) Question: What is the exit at kilometer (Rizal Park-basis) 164? [/INST] SELECT exit FROM table_name_57 WHERE kilometer_no__rizal_park_basis_ = ""164"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14460085_3 (played INTEGER, team VARCHAR) Question: What is the lowest number of games played for deportivo español? [/INST] SELECT MIN(played) FROM table_14460085_3 WHERE team = ""Deportivo Español"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR) Question: When the under-11 was Aly Abou El Einen, who was the under-13? [/INST] SELECT under_13 FROM table_26368963_1 WHERE under_11 = ""Aly Abou El Einen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR) Question: How many scores did Goodman give to ""samba / young hearts run free"", which was in second place? [/INST] SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = ""Second place"" AND dance_song = ""Samba / Young Hearts Run Free"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE school (Denomination VARCHAR) Question: Show the denomination shared by more than one school. [/INST] SELECT Denomination FROM school GROUP BY Denomination HAVING COUNT(*) > 1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (pop__2010_ INTEGER, latitude VARCHAR, water__sqmi_ VARCHAR) Question: What was the population fo the township with a Latitude of 48.853051, and a Water (sqmi) smaller than 0.9590000000000001? [/INST] SELECT MAX(pop__2010_) FROM table_name_85 WHERE latitude = 48.853051 AND water__sqmi_ < 0.9590000000000001 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (second VARCHAR, nation VARCHAR) Question: When did France come in second? [/INST] SELECT second FROM table_name_54 WHERE nation = ""france"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) Question: I want the driver for ferrari who made Laps less than 26 and grids more than 9 [/INST] SELECT driver FROM table_name_69 WHERE grid > 9 AND laps < 26 AND constructor = ""ferrari"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR) Question: What spacecraft was launched from the LC34 launch complex? [/INST] SELECT spacecraft FROM table_179174_2 WHERE launch_complex = ""LC34"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR) Question: What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total? [/INST] SELECT marcin_dołęga___pol__ FROM table_name_76 WHERE world_record = ""olympic record"" AND snatch = ""total"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR) Question: Which Bronze has a Total larger than 7 and a Silver of 3, and a Games of summer, and a Gold of 5? [/INST] SELECT bronze FROM table_name_65 WHERE total > 7 AND silver = 3 AND games = ""summer"" AND gold = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (loss INTEGER, name VARCHAR, long VARCHAR) Question: What is the lowest Loss for the player named total that has a long greater than 55? [/INST] SELECT MIN(loss) FROM table_name_95 WHERE name = ""total"" AND long > 55 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR) Question: Name the traditional for population 74779 [/INST] SELECT traditional FROM table_1638437_2 WHERE population = 74779 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (rank VARCHAR, years_until_mandatory_retirement VARCHAR) Question: what rank has years until mandatory retirement of 6 years? [/INST] SELECT rank FROM table_name_55 WHERE years_until_mandatory_retirement = ""6 years"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (home VARCHAR, record VARCHAR) Question: Who was the home team when the record was 2-3? [/INST] SELECT home FROM table_name_38 WHERE record = ""2-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR) Question: Name the score for 2015 afc asian cup qualification [/INST] SELECT score FROM table_name_73 WHERE competition = ""2015 afc asian cup qualification"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: Tell me the average total for guatemala and bronze less than 2 [/INST] SELECT AVG(total) FROM table_name_32 WHERE nation = ""guatemala"" AND bronze < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 32–34? [/INST] SELECT loss FROM table_name_52 WHERE record = ""32–34"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR) Question: Which IHSAA Class has a Location of brazil? [/INST] SELECT ihsaa_class FROM table_name_96 WHERE location = ""brazil"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR) Question: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors? [/INST] SELECT rank FROM table_name_90 WHERE year > 1971 AND floors < 35 AND height_ft__m_ = ""19.0 477 (145)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR) Question: How is the marriage of who became queen on 30 October 1816 husband's accession? [/INST] SELECT marriage FROM table_name_84 WHERE became_queen = ""30 october 1816 husband's accession"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (year VARCHAR, chassis VARCHAR) Question: Which year did Ray Crawford the Kurtis Kraft 500g chassis? [/INST] SELECT year FROM table_name_70 WHERE chassis = ""kurtis kraft 500g"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (height_ft___m__ VARCHAR, floors VARCHAR) Question: Which height, in meters, has 36 floors? [/INST] SELECT height_ft___m__ FROM table_name_93 WHERE floors = 36 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (total INTEGER, data_processing_and_exploitation VARCHAR, management_and_support VARCHAR) Question: What is the lowest total data processing and exploitation of 00 0,228, and a management and support larger than 1,7? [/INST] SELECT MIN(total) FROM table_name_72 WHERE data_processing_and_exploitation = ""00 0,228"" AND management_and_support > 1 OFFSET 7 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, headquarters VARCHAR) Question: What are the assets for company who's headquarters are located in Brazil? [/INST] SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = ""Brazil"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (runner_s__up VARCHAR, date VARCHAR) Question: Which Runner(s)-up has a Date of may 19, 1973? [/INST] SELECT runner_s__up FROM table_name_21 WHERE date = ""may 19, 1973"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (opponent VARCHAR, year VARCHAR) Question: Who is the opponent in 1976? [/INST] SELECT opponent FROM table_name_98 WHERE year = 1976 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR, document_description VARCHAR) Question: List document IDs, document names, and document descriptions for all documents. [/INST] SELECT document_id, document_name, document_description FROM Documents "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (tie_no VARCHAR, away_team VARCHAR) Question: What is the Tie no of the Port Vale Away game? [/INST] SELECT tie_no FROM table_name_56 WHERE away_team = ""port vale"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR) Question: On what date did the result leave the team with a record of 46-34? [/INST] SELECT date FROM table_name_4 WHERE record = ""46-34"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14407512_4 (nationality VARCHAR) Question: What was the length of the jumper representing FIN, in meters? [/INST] SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = ""FIN"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (make VARCHAR, pos INTEGER) Question: Which Make has a Pos larger than 9? [/INST] SELECT make FROM table_name_33 WHERE pos > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (kicker VARCHAR, yards VARCHAR, opponent VARCHAR) Question: Yards larger than 52, and a Opponent of san francisco 49ers is what kicker? [/INST] SELECT kicker FROM table_name_5 WHERE yards > 52 AND opponent = ""san francisco 49ers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR) Question: What is the record of the game on February 25, 2008? [/INST] SELECT record FROM table_name_59 WHERE date = ""february 25, 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR) Question: College of san diego state, and a Pick # smaller than 30 has what lowest overall? [/INST] SELECT MIN(overall) FROM table_name_46 WHERE college = ""san diego state"" AND pick__number < 30 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (document_id VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR) Question: What are the ids of documents which don't have expense budgets? [/INST] SELECT document_id FROM Documents EXCEPT SELECT document_id FROM Documents_with_expenses
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (date VARCHAR, visitor VARCHAR, record VARCHAR) Question: What date was the visitor chicago black hawks, and a Record of 1-1? [/INST] SELECT date FROM table_name_12 WHERE visitor = ""chicago black hawks"" AND record = ""1-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (career_win_loss VARCHAR) Question: What is Career Win-Loss, when 2002 is ""A"", and when 2001 is ""4R""? [/INST] SELECT career_win_loss FROM table_name_70 WHERE 2002 = ""a"" AND 2001 = ""4r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27501971_2 (premio VARCHAR, categoría VARCHAR) Question: How many premio are there when ""Artist of the Year"" was the categoria? [/INST] SELECT COUNT(premio) FROM table_27501971_2 WHERE categoría = ""Artist of the Year"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (loss INTEGER, long INTEGER) Question: What is the highest loss with a long more than 61? [/INST] SELECT MAX(loss) FROM table_name_1 WHERE long > 61 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR) Question: How many times is a score for stolen ends recorded for France? [/INST] SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, player VARCHAR) Question: What school did Alexander Korobolin go to? [/INST] SELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = ""alexander korobolin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (nation VARCHAR, syndicate VARCHAR, yacht VARCHAR) Question: Which nation has the America 3 Foundation syndicate and the jayhawk yacht? [/INST] SELECT nation FROM table_name_81 WHERE syndicate = ""america 3 foundation"" AND yacht = ""jayhawk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (name VARCHAR, pos VARCHAR, club VARCHAR) Question: What is the name of the player from club Circolo Nautico Posillipo and a position of D? [/INST] SELECT name FROM table_name_95 WHERE pos = ""d"" AND club = ""circolo nautico posillipo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (number_of_contestants VARCHAR, cycle VARCHAR) Question: What is Number of Contestants, when Cycle is 4? [/INST] SELECT number_of_contestants FROM table_name_81 WHERE cycle = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE event (venue VARCHAR, name VARCHAR, Event_Attendance VARCHAR) Question: List the event venues and names that have the top 2 most number of people attended. [/INST] SELECT TOP 2 venue, name FROM event ORDER BY Event_Attendance DESC "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261941_1 (founded INTEGER) Question: When was the earliest founded university? [/INST] SELECT MIN(founded) FROM table_261941_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR) Question: Who directed the episode that aired on September 25, 1967? [/INST] SELECT director FROM table_25800134_12 WHERE airdate = ""September 25, 1967"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (växjö VARCHAR, karlstad VARCHAR) Question: What did Vaxjo score when Karlstad scored 1? [/INST] SELECT växjö FROM table_name_53 WHERE karlstad = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (goals INTEGER, position VARCHAR, points VARCHAR) Question: Tell me the lowest goals for second row and points more than 12 [/INST] SELECT MIN(goals) FROM table_name_63 WHERE position = ""second row"" AND points > 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (fs VARCHAR, sp VARCHAR, places VARCHAR, points VARCHAR) Question: Name the total number of SP+FS for places of 60 and points more than 151.66 [/INST] SELECT COUNT(sp) + fs FROM table_name_28 WHERE places = 60 AND points > 151.66 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) Question: What is the highest number of wins with a goal difference less than 4 at the Villarreal CF and more than 38 played? [/INST] SELECT MAX(wins) FROM table_name_82 WHERE goal_difference < 4 AND club = ""villarreal cf"" AND played > 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE locations (country_id VARCHAR) Question: display the country ID and number of cities for each country. [/INST] SELECT country_id, COUNT(*) FROM locations GROUP BY country_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21330550_2 (location VARCHAR, time VARCHAR) Question: Which location has a time of 9:30pm? [/INST] SELECT location FROM table_21330550_2 WHERE time = ""9:30PM"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1404984_1 (station_ownership VARCHAR, network VARCHAR) Question: How many stations own Bounce TV? [/INST] SELECT COUNT(station_ownership) FROM table_1404984_1 WHERE network = ""Bounce TV"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR) Question: What was the Attendance on Week 10? [/INST] SELECT attendance FROM table_name_34 WHERE week = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR) Question: Who is the candidate for the district Arkansas 2? [/INST] SELECT candidates FROM table_1342218_5 WHERE district = ""Arkansas 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (time VARCHAR, jockey VARCHAR) Question: What was the race time of the horse with jockey Ramon Dominguez? [/INST] SELECT time FROM table_name_73 WHERE jockey = ""ramon dominguez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2267465_1 (laps VARCHAR, race_time VARCHAR) Question: How many laps have a 3:34:26 race time? [/INST] SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = ""3:34:26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (college VARCHAR, name VARCHAR) Question: Which College has a Name of hardy brown? [/INST] SELECT college FROM table_name_93 WHERE name = ""hardy brown"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR) Question: What was his record in 1987? [/INST] SELECT record FROM table_name_79 WHERE date = ""1987"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24066938_1 (area_km_2 VARCHAR, member_state VARCHAR) Question: What is the area of Austria's territory in square kilometers? [/INST] SELECT area_km_2 FROM table_24066938_1 WHERE member_state = ""Austria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (laps INTEGER, team VARCHAR, points VARCHAR) Question: Name the sum of laps for mi-jack conquest racing and points less than 11 [/INST] SELECT SUM(laps) FROM table_name_19 WHERE team = ""mi-jack conquest racing"" AND points < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR) Question: What is the qualification for rank of 29 in 1957? [/INST] SELECT qual FROM table_name_70 WHERE rank = ""29"" AND year = ""1957"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30008638_1 (total INTEGER) Question: What is the highest total for any country/territory? [/INST] SELECT MAX(total) FROM table_30008638_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR) Question: What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4? [/INST] SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = ""diesel"" AND floor_type = ""high"" AND bicycle_capacity† < 3 AND quantity = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (stadium VARCHAR) Question: What is the 2007-08 season at Stadio Silvio Piola? [/INST] SELECT 2007 AS _08_season FROM table_name_75 WHERE stadium = ""stadio silvio piola"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR) Question: Can you tell me the highest Game that has the Opponent of atlanta hawks? [/INST] SELECT MAX(game) FROM table_name_56 WHERE opponent = ""atlanta hawks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (away_team VARCHAR) Question: What is the score of the Geelong away team? [/INST] SELECT away_team AS score FROM table_name_18 WHERE away_team = ""geelong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10295819_1 (singles_w_l VARCHAR, player VARCHAR) Question: What is the Singles W-L for the players named Laurynas Grigelis? [/INST] SELECT singles_w_l FROM table_10295819_1 WHERE player = ""Laurynas Grigelis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (death VARCHAR, birth VARCHAR) Question: When did the person born on 6 january 1655 die? [/INST] SELECT death FROM table_name_34 WHERE birth = ""6 january 1655"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (tournament VARCHAR, partner VARCHAR) Question: Which tournament features the partner julian knowle? [/INST] SELECT tournament FROM table_name_93 WHERE partner = ""julian knowle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (runner_s__up VARCHAR, margin VARCHAR) Question: Who was the runner-up when the margin was 1 stroke? [/INST] SELECT runner_s__up FROM table_name_1 WHERE margin = ""1 stroke"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR) Question: Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock [/INST] SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = ""#16 Trans Ocean Motors"" AND circuit = ""Castle Rock"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (win__number INTEGER, year VARCHAR, points VARCHAR) Question: What is the lowest Win #, when Year is ""2011-12"", and when Points is less than 97? [/INST] SELECT MIN(win__number) FROM table_name_27 WHERE year = ""2011-12"" AND points < 97 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (attendance INTEGER, venue VARCHAR, result VARCHAR) Question: what was the attendance for a home venue and a w 3-0 result? [/INST] SELECT AVG(attendance) FROM table_name_34 WHERE venue = ""home"" AND result = ""w 3-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (win__percentage VARCHAR) Question: What is 2012 that has a winning % of 67%? [/INST] SELECT 2012 FROM table_name_60 WHERE win__percentage = ""67%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2603017_2 (b___bishop VARCHAR, ab___angry_boar VARCHAR) Question: what is b - bishop where ab - angry boar is vw - vertical wolf? [/INST] SELECT b___bishop FROM table_2603017_2 WHERE ab___angry_boar = ""VW - Vertical Wolf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (place VARCHAR, to_par VARCHAR, score VARCHAR) Question: What is the Place of the Player with a To par of –10 and a Score of 67-67-66=200? [/INST] SELECT place FROM table_name_89 WHERE to_par = ""–10"" AND score = 67 - 67 - 66 = 200 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (record VARCHAR, event VARCHAR, method VARCHAR) Question: What is Record, when Event is ""Independent Event"", and when Method is ""Submission (Peruvian Necktie)""? [/INST] SELECT record FROM table_name_2 WHERE event = ""independent event"" AND method = ""submission (peruvian necktie)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (games VARCHAR, position VARCHAR) Question: How many games were played by the player at FB? [/INST] SELECT COUNT(games) AS ↑ FROM table_name_18 WHERE position = ""fb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR) Question: Who won the race on wednesday, august 27? [/INST] SELECT winner FROM table_name_18 WHERE date = ""wednesday, august 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1566850_9 (centerfold_model VARCHAR) Question: Who was asked 20 questions in the issue where the centerfold is Marliece Andrada? [/INST] SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = ""Marliece Andrada"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR) Question: Which event lasted 1 round and included an opponent of Dan Spychalski? [/INST] SELECT event FROM table_name_36 WHERE round = ""1"" AND opponent = ""dan spychalski"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17060277_6 (date VARCHAR, high_assists VARCHAR) Question: Which date did Chris Duhon (13) receive high assists? [/INST] SELECT date FROM table_17060277_6 WHERE high_assists = ""Chris Duhon (13)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the sum of the golds of the nation with 5 total and less than 0 bronze medals? [/INST] SELECT SUM(gold) FROM table_name_18 WHERE total = 5 AND bronze < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR) Question: What competition did they have 1 lost, 3 draws, and played 9 games? [/INST] SELECT competition FROM table_name_17 WHERE lost = ""1"" AND drew = ""3"" AND played = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (long VARCHAR, loss VARCHAR, avg_g VARCHAR) Question: What is the total number of Long with a Av/g of 124.9 but Loss greater than 0? [/INST] SELECT COUNT(long) FROM table_name_3 WHERE loss > 0 AND avg_g = 124.9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (no_result INTEGER, year VARCHAR, wins VARCHAR) Question: What is the smallest no result when the year was 2012 and there were more than 10 wins? [/INST] SELECT MIN(no_result) FROM table_name_57 WHERE year = ""2012"" AND wins > 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR) Question: Which Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii? [/INST] SELECT schwaben FROM table_name_15 WHERE oberbayern = ""fc bayern munich ii"" AND mittelfranken = ""1. fc nuremberg ii"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (game INTEGER, high_assists VARCHAR) Question: What is the highest Game, when High Assists is ""Hedo Türkoğlu (7)""? [/INST] SELECT MAX(game) FROM table_name_86 WHERE high_assists = ""hedo türkoğlu (7)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE stadium (name VARCHAR, capacity VARCHAR) Question: Find the name of the stadium that has the maximum capacity. [/INST] SELECT TOP 1 name FROM stadium ORDER BY capacity DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (catalogue VARCHAR, song_title VARCHAR) Question: What catalogue is the song It's Now or Never? [/INST] SELECT catalogue FROM table_name_86 WHERE song_title = ""it's now or never"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) Question: What was the district Incumbent Julius Kahn was in that was smaller than 1906? [/INST] SELECT district FROM table_name_74 WHERE first_elected < 1906 AND incumbent = ""julius kahn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (races VARCHAR, series VARCHAR, wins VARCHAR) Question: Which Race has the Toyota Racing Series New Zealand and 0 wins? [/INST] SELECT races FROM table_name_99 WHERE series = ""toyota racing series new zealand"" AND wins = ""0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (decision VARCHAR, series VARCHAR, visitor VARCHAR, score VARCHAR) Question: Which Decision has a Visitor of calgary, a Score of 2 – 1, and a Series of 4 – 3? [/INST] SELECT decision FROM table_name_5 WHERE visitor = ""calgary"" AND score = ""2 – 1"" AND series = ""4 – 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (total__000s_ VARCHAR, germany VARCHAR) Question: What was the amount of 000s when Germany had 16.6? [/INST] SELECT total__000s_ FROM table_name_35 WHERE germany = 16.6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (winners VARCHAR) Question: Who came in 3rd when Nicolai Klindt won? [/INST] SELECT 3 AS rd_place FROM table_name_2 WHERE winners = ""nicolai klindt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (extra_points INTEGER, player VARCHAR, field_goals VARCHAR) Question: Which Extra points is the highest one that has a Player of herman everhardus, and a Field goals larger than 0? [/INST] SELECT MAX(extra_points) FROM table_name_97 WHERE player = ""herman everhardus"" AND field_goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1322914_1 (windows VARCHAR, title VARCHAR) Question: Is icewind dale available for windows [/INST] SELECT windows FROM table_1322914_1 WHERE title = ""Icewind Dale"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (attempts INTEGER, rank VARCHAR, start VARCHAR, yds_att VARCHAR) Question: How many attempts did the player ranking with a number higher than 1, who started after 1997 and had yds/att of 5 have? [/INST] SELECT SUM(attempts) FROM table_name_66 WHERE start > 1997 AND yds_att = 5 AND rank > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (podiums VARCHAR, f_laps VARCHAR, points VARCHAR) Question: What listing for Podiums has 0 F/laps and 39 points? [/INST] SELECT podiums FROM table_name_38 WHERE f_laps = ""0"" AND points = ""39"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR) Question: Which Country has a Place of t1? [/INST] SELECT country FROM table_name_38 WHERE place = ""t1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (country VARCHAR, content VARCHAR) Question: What Country's content is Televendite? [/INST] SELECT country FROM table_name_32 WHERE content = ""televendite"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (visitor VARCHAR, date VARCHAR) Question: Who was the visiting team on January 27? [/INST] SELECT visitor FROM table_name_24 WHERE date = ""january 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15621965_8 (no INTEGER, player VARCHAR) Question: What jersey number did Al Harrington wear [/INST] SELECT MAX(no) FROM table_15621965_8 WHERE player = ""Al Harrington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15780718_8 (high_assists VARCHAR, game VARCHAR) Question: Who scored the most assists in game 59? [/INST] SELECT high_assists FROM table_15780718_8 WHERE game = 59 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR) Question: What date has 2:48 as the time? [/INST] SELECT date FROM table_name_48 WHERE time = ""2:48"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR) Question: Name the surface against monaco [/INST] SELECT surface FROM table_22853654_9 WHERE against = ""Monaco"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (constructor VARCHAR, driver VARCHAR) Question: What is the name of the company that constructed the vehicle for Timo Glock? [/INST] SELECT constructor FROM table_name_15 WHERE driver = ""timo glock"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (june VARCHAR, november VARCHAR) Question: Who is the June playmate with the November playmate Lorraine Olivia? [/INST] SELECT june FROM table_name_3 WHERE november = ""lorraine olivia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (country VARCHAR, city VARCHAR) Question: What country has the city, Sydney? [/INST] SELECT country FROM table_name_99 WHERE city = ""sydney"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1601792_4 (site VARCHAR, television_station VARCHAR) Question: What site(s) for tv station tv3? [/INST] SELECT site FROM table_1601792_4 WHERE television_station = ""TV3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15190346_2 (_number INTEGER, attendance VARCHAR) Question: What is the number of the bowl game when attendance was 79,280? [/INST] SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = ""79,280"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (group VARCHAR, race VARCHAR) Question: with race of ranvet stakes what is the group? [/INST] SELECT group FROM table_name_12 WHERE race = ""ranvet stakes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (attendance VARCHAR, tie_no VARCHAR) Question: How many attended the game when the score was tie at 4? [/INST] SELECT attendance FROM table_name_65 WHERE tie_no = ""4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) Question: Name the date for result of eng by 23 runs [/INST] SELECT date FROM table_name_24 WHERE result = ""eng by 23 runs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR) Question: What was the outcome of the game played on 19-Sep-2006? [/INST] SELECT outcome FROM table_name_68 WHERE date = ""19-sep-2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR) Question: If played is 22 and the tries against are 43, what are the points? [/INST] SELECT points_for FROM table_name_30 WHERE played = ""22"" AND tries_against = ""43"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (innings INTEGER, sr VARCHAR, balls_faced VARCHAR) Question: What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced? [/INST] SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (pos VARCHAR, date_from VARCHAR) Question: What is Pos., when Date From is ""28 August 2008""? [/INST] SELECT pos FROM table_name_8 WHERE date_from = ""28 august 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (original_title VARCHAR, director VARCHAR) Question: Name the original title directed by luis buñuel [/INST] SELECT original_title FROM table_name_85 WHERE director = ""luis buñuel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (team__number1 VARCHAR, team__number2 VARCHAR) Question: Who was the first team when the second team was Kalise Gran Canaria? [/INST] SELECT team__number1 FROM table_name_71 WHERE team__number2 = ""kalise gran canaria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12272590_2 (season VARCHAR, best_supported_club VARCHAR) Question: How many season did sportfreunde siegen win best supported club? [/INST] SELECT COUNT(season) FROM table_12272590_2 WHERE best_supported_club = ""Sportfreunde Siegen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (timeslot VARCHAR, calls VARCHAR) Question: Tell me the timeslot for calls of whyn [/INST] SELECT timeslot FROM table_name_74 WHERE calls = ""whyn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR) Question: Where the grid is under 19, the time finished was logged as received outside assistance, what's the total number of laps? [/INST] SELECT COUNT(laps) FROM table_name_15 WHERE time_retired = ""received outside assistance"" AND grid < 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (rowers VARCHAR, time VARCHAR) Question: Who were the rowers who had a time of 7:39.70? [/INST] SELECT rowers FROM table_name_18 WHERE time = ""7:39.70"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (rank INTEGER, country VARCHAR) Question: What is the highest rank of a player from Ethiopia? [/INST] SELECT MAX(rank) FROM table_name_8 WHERE country = ""ethiopia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR) Question: Which athlete played at the Birmingham venue? [/INST] SELECT athlete FROM table_name_32 WHERE venue = ""birmingham"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24521345_1 (conductor VARCHAR, work_title VARCHAR) Question: Who is the conductor for Rusalka? [/INST] SELECT conductor FROM table_24521345_1 WHERE work_title = ""Rusalka"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (lost VARCHAR, losing_bonus VARCHAR, club VARCHAR) Question: What is Lost, when Losing Bonus is ""3"", and when Club is ""Bettws RFC""? [/INST] SELECT lost FROM table_name_64 WHERE losing_bonus = ""3"" AND club = ""bettws rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (year INTEGER, attendance VARCHAR) Question: When was the earliest year when the attendance was 77,254? [/INST] SELECT MIN(year) FROM table_name_41 WHERE attendance = 77 OFFSET 254 ROWS "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1875157_1 (top_10 INTEGER) Question: What is the lowest number of top 10 finishes [/INST] SELECT MIN(top_10) FROM table_1875157_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (sspec_number VARCHAR, model_number VARCHAR) Question: What is sSpec Number, when Model Number is Atom N475? [/INST] SELECT sspec_number FROM table_name_68 WHERE model_number = ""atom n475"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (bronze_medals VARCHAR, silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR) Question: Name the total number of bronze medals when gold medals was 2, total medals more than 4 and silver medals less than 5 [/INST] SELECT COUNT(bronze_medals) FROM table_name_87 WHERE gold_medals = 2 AND total_medals > 4 AND silver_medals < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR) Question: Name the highest Decile for roll more than 325 and area of warkworth [/INST] SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = ""warkworth"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR) Question: What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330? [/INST] SELECT release_price___usd__ FROM table_name_32 WHERE model_number = ""pentium dual-core t2330"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR) Question: What is the sum of goals when the league cup goals are 4 and the FA cup goals are 0? [/INST] SELECT total FROM table_name_79 WHERE league_cup_goals = ""4"" AND fa_cup_goals = ""0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR) Question: What was the record at the game with a score of 21-16? [/INST] SELECT record FROM table_name_77 WHERE score = ""21-16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20236726_2 (lms_no VARCHAR, serial_no VARCHAR) Question: Name the lms number for serial number being 372 [/INST] SELECT lms_no FROM table_20236726_2 WHERE serial_no = 372 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR) Question: What is the total number of top fives when casey mears had more than 1 poles and top tens less than 9? [/INST] SELECT SUM(top_fives) FROM table_name_54 WHERE poles > 1 AND top_tens < 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR) Question: What was the home for season 1949-50? [/INST] SELECT home FROM table_name_79 WHERE season = ""1949-50"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (fraction VARCHAR, parentheses VARCHAR) Question: What fraction has parentheses of 0.(3)? [/INST] SELECT fraction FROM table_name_58 WHERE parentheses = ""0.(3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR) Question: Where is the peak Pico Basilé located? [/INST] SELECT location FROM table_name_15 WHERE peak = ""pico basilé"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (number_of_seats INTEGER, leader VARCHAR) Question: What is Jillian Evans highest number of seats? [/INST] SELECT MAX(number_of_seats) FROM table_name_45 WHERE leader = ""jillian evans"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR) Question: How many votes did Jeannemarie Devolites Davis get in 1995-Special? [/INST] SELECT votes FROM table_name_90 WHERE opponent = ""jeannemarie devolites davis"" AND year = ""1995-special"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (pos VARCHAR, height VARCHAR, date_of_birth VARCHAR) Question: What is Pos., when Height is ""m (ft 10in)"", and when Date of Birth is ""1983-05-29""? [/INST] SELECT pos FROM table_name_45 WHERE height = ""m (ft 10in)"" AND date_of_birth = ""1983-05-29"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR) Question: which athlete played against Queensland? [/INST] SELECT player FROM table_name_17 WHERE opponent = ""queensland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: What's the lowest total when there's less than 16 bronze and more than 6 silver? [/INST] SELECT MIN(total) FROM table_name_13 WHERE bronze < 16 AND silver > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (pick INTEGER, player VARCHAR) Question: What is Joselito Escobar's Pick number? [/INST] SELECT SUM(pick) FROM table_name_96 WHERE player = ""joselito escobar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11960407_5 (date VARCHAR, game VARCHAR) Question: What is the date of Game 50? [/INST] SELECT date FROM table_11960407_5 WHERE game = 50 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR) Question: Where was the game with the attendance of 54,436? [/INST] SELECT game_site FROM table_name_99 WHERE attendance = ""54,436"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR) Question: Show times of elimination of wrestlers with days held more than 50. [/INST] SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18894744_5 (high_rebounds VARCHAR, record VARCHAR) Question: Name the high rebounds for record 7-1 [/INST] SELECT high_rebounds FROM table_18894744_5 WHERE record = ""7-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (date VARCHAR, away_team VARCHAR) Question: What is the Date of the Crystal Palace Away game? [/INST] SELECT date FROM table_name_33 WHERE away_team = ""crystal palace"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR) Question: What is every year premiered when Behzat Uighur is main presenter? [/INST] SELECT year_premiered FROM table_24224647_2 WHERE main_presenter = ""Behzat Uighur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR) Question: Which AFC cup does Kenji Arai have? [/INST] SELECT afc_cup FROM table_name_43 WHERE name = ""kenji arai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (rank INTEGER, opposition VARCHAR, total VARCHAR) Question: What is the average rank of the match where offaly was the opposition and the total was greater than 9? [/INST] SELECT AVG(rank) FROM table_name_5 WHERE opposition = ""offaly"" AND total > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) Question: How many laps did riccardo patrese do when he had a time/retird of + 1 lap? [/INST] SELECT COUNT(laps) FROM table_name_96 WHERE time_retired = ""+ 1 lap"" AND driver = ""riccardo patrese"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (duration VARCHAR, actor VARCHAR) Question: How long did Joyce Jacobs portray her character on her show? [/INST] SELECT duration FROM table_name_83 WHERE actor = ""joyce jacobs"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (record VARCHAR, points VARCHAR, opponent VARCHAR) Question: What is the record when they play the canucks and have under 98 points? [/INST] SELECT record FROM table_name_61 WHERE points < 98 AND opponent = ""canucks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date_of_inauguration VARCHAR, length_of_retirement VARCHAR) Question: What is the date of the inauguration with a Length of retirement of 00,624 days? [/INST] SELECT date_of_inauguration FROM table_name_78 WHERE length_of_retirement = ""00,624 days"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (outcome VARCHAR, partner VARCHAR, opponents VARCHAR) Question: What is Outcome, when Partner is ""Byron Black"", and when Opponents is ""Goran Ivanišević Brian Macphie""? [/INST] SELECT outcome FROM table_name_94 WHERE partner = ""byron black"" AND opponents = ""goran ivanišević brian macphie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (marriage VARCHAR, death VARCHAR) Question: What is the marriage date for the Habsburg-Lorraine house member who died 29 December 1829? [/INST] SELECT marriage FROM table_name_67 WHERE death = ""29 december 1829"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (scorers VARCHAR, round VARCHAR) Question: Who were the scorers in round 3? [/INST] SELECT scorers FROM table_name_83 WHERE round = ""round 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2508633_2 (player VARCHAR, nfl_team VARCHAR) Question: Name the player for new orleans saints [/INST] SELECT player FROM table_2508633_2 WHERE nfl_team = ""New Orleans Saints"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (position VARCHAR, vehicle VARCHAR, year VARCHAR) Question: What position did the BMW vehicle made in 2006 hold? [/INST] SELECT position FROM table_name_89 WHERE vehicle = ""bmw"" AND year = 2006 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (nosawa_rongai VARCHAR, block_a VARCHAR) Question: Name the NOSAWA Rongai for petey williams [/INST] SELECT nosawa_rongai FROM table_name_97 WHERE block_a = ""petey williams"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11951237_2 (title VARCHAR, original_air_date VARCHAR) Question: How many episodes originally aired on August 31, 1995? [/INST] SELECT COUNT(title) FROM table_11951237_2 WHERE original_air_date = ""August 31, 1995"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (opponent VARCHAR, result VARCHAR, week VARCHAR, attendance VARCHAR) Question: What is the Opponent at the game with an Attendance of 64,900 in Week prior to 15 with a Result of L 38-31? [/INST] SELECT opponent FROM table_name_86 WHERE week < 15 AND attendance = ""64,900"" AND result = ""l 38-31"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (type VARCHAR, quantity VARCHAR) Question: WHAT IS THE TYPE WITH 124? [/INST] SELECT type FROM table_name_56 WHERE quantity = ""124"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (game INTEGER, record VARCHAR) Question: Which Game has a Record of 27–30? [/INST] SELECT SUM(game) FROM table_name_99 WHERE record = ""27–30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (attendance VARCHAR, loss VARCHAR) Question: What's the attendance of the game where there was a Loss of Yates (3-2)? [/INST] SELECT attendance FROM table_name_37 WHERE loss = ""yates (3-2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, location_attendance VARCHAR) Question: WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE? [/INST] SELECT score FROM table_name_17 WHERE game > 47 AND location_attendance = ""rose garden 20,250"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (ground VARCHAR, match VARCHAR) Question: Which ground is match 4 held on? [/INST] SELECT ground FROM table_name_49 WHERE match = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR) Question: Which position is number 16? [/INST] SELECT position FROM table_name_7 WHERE number = 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR) Question: What is the total of electors when the share of votes was 11,0%? [/INST] SELECT SUM(electors) FROM table_name_70 WHERE share_of_votes = ""11,0%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (jockey VARCHAR, horse VARCHAR) Question: What is Jockey, when Horse is ""Eight Belles""? [/INST] SELECT jockey FROM table_name_74 WHERE horse = ""eight belles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (Id VARCHAR) Question: What was the value in 2006 when 2003 was not held and 2012 was A? [/INST] SELECT 2006 FROM table_name_40 WHERE 2003 = ""not held"" AND 2012 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (district VARCHAR, result VARCHAR, first_elected VARCHAR) Question: Which District has a Result of Re-elected and a First Elected of 1898? [/INST] SELECT district FROM table_name_95 WHERE result = ""re-elected"" AND first_elected = 1898 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (year INTEGER, result VARCHAR) Question: In what Year was the Result of the game 16-14? [/INST] SELECT MAX(year) FROM table_name_81 WHERE result = ""16-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE players (first_name VARCHAR, last_name VARCHAR, hand VARCHAR, birth_date VARCHAR) Question: List the first and last name of all players who are left / L hand in the order of birth date. [/INST] SELECT first_name, last_name FROM players WHERE hand = 'L' ORDER BY birth_date "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (population VARCHAR, county VARCHAR) Question: What is the Population of Sargent County? [/INST] SELECT population FROM table_name_38 WHERE county = ""sargent"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (location_attendance VARCHAR, date VARCHAR) Question: What is Location Attendance, when Date is ""December 30""? [/INST] SELECT location_attendance FROM table_name_63 WHERE date = ""december 30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (score_in_final VARCHAR, date VARCHAR) Question: What was the Score in Final on February 19, 1989? [/INST] SELECT score_in_final FROM table_name_59 WHERE date = ""february 19, 1989"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (crowd INTEGER, home_team VARCHAR) Question: What was the smallest crowd size for the home team at St Kilda? [/INST] SELECT MIN(crowd) FROM table_name_80 WHERE home_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355408_5 (high_assists VARCHAR, game VARCHAR) Question: Name the high assists for 29 game [/INST] SELECT high_assists FROM table_17355408_5 WHERE game = 29 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE event (name VARCHAR, YEAR VARCHAR) Question: What is the name of the event that happened in the most recent year? [/INST] SELECT TOP 1 name FROM event ORDER BY YEAR DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (title VARCHAR, lyricist_s_ VARCHAR, arranger_s_ VARCHAR) Question: What is the title of the track with lyricist ROZ and arranger Yongmin Lee? [/INST] SELECT title FROM table_name_17 WHERE lyricist_s_ = ""roz"" AND arranger_s_ = ""yongmin lee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR) Question: What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one? [/INST] SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR) Question: What was the age of the member of the United States House of Representatives that began their term on May 7, 1886? [/INST] SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = ""may 7, 1886"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Customers (customer_status_code VARCHAR, cell_mobile_phone_number VARCHAR, email_address VARCHAR, first_name VARCHAR, last_name VARCHAR) Question: What is the status code, mobile phone number and email address of customer with last name as Kohler or first name as Marina? [/INST] SELECT customer_status_code, cell_mobile_phone_number, email_address FROM Customers WHERE first_name = ""Marina"" OR last_name = ""Kohler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (nett_gross VARCHAR, year VARCHAR) Question: What is the total count of net gross in 1957? [/INST] SELECT COUNT(nett_gross) FROM table_name_90 WHERE year = 1957 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR) Question: What is the highest number of goals against when the number of goals were 55 and the difference was +24? [/INST] SELECT MAX(goals_against) FROM table_name_94 WHERE goals_for > 55 AND goal_difference = ""+24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (mission VARCHAR, apogee VARCHAR) Question: Which Mission has a Apogee of 705 km? [/INST] SELECT mission FROM table_name_3 WHERE apogee = ""705 km"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR) Question: Daily Empress Indy Silverstone took place on which round? [/INST] SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = ""Daily Empress Indy Silverstone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25668203_2 (most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR) Question: Who had the most laps led in monterey, california when scott rarick won the race? [/INST] SELECT most_laps_led FROM table_25668203_2 WHERE location = ""Monterey, California"" AND winning_driver = ""Scott Rarick"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (source_of_wealth VARCHAR, value VARCHAR) Question: What source of wealth has a value of £5726m? [/INST] SELECT source_of_wealth FROM table_name_51 WHERE value = ""£5726m"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (meet VARCHAR, date VARCHAR) Question: what is the meet when the date is 3 august 2012? [/INST] SELECT meet FROM table_name_67 WHERE date = ""3 august 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23958917_1 (stacks VARCHAR, unit_capacity__2009_ VARCHAR) Question: Name the number of stacks for 1 & 2 235 mw 3 & 4 88.2 mw [/INST] SELECT COUNT(stacks) FROM table_23958917_1 WHERE unit_capacity__2009_ = ""1 & 2 235 MW 3 & 4 88.2 MW"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR) Question: Name the race caller for jim mckay and howard cosell [/INST] SELECT race_caller FROM table_22514845_5 WHERE s_host = ""Jim McKay"" AND reporters = ""Howard Cosell"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (date VARCHAR, week VARCHAR) Question: What date was the week 6 game played on? [/INST] SELECT date FROM table_name_80 WHERE week = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (wins VARCHAR, position VARCHAR, conceded VARCHAR) Question: What is the number of wins when position was larger than 6, and conceded was smaller than 19? [/INST] SELECT COUNT(wins) FROM table_name_90 WHERE position > 6 AND conceded < 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR) Question: What township is located at longitude -99.287270? [/INST] SELECT township FROM table_18600760_9 WHERE longitude = ""-99.287270"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR) Question: Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)? [/INST] SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29836557_2 (mls_team VARCHAR, player VARCHAR) Question: What MLS team picked Babayele Sodade? [/INST] SELECT mls_team FROM table_29836557_2 WHERE player = ""Babayele Sodade"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR) Question: Show the average room count of the apartments that have booking status code ""Provisional"". [/INST] SELECT AVG(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = ""Provisional"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341586_39 (first_elected INTEGER, incumbent VARCHAR) Question: what is the maximum first elected with incumbent being gus yatron [/INST] SELECT MAX(first_elected) FROM table_1341586_39 WHERE incumbent = ""Gus Yatron"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR) Question: What is the air date the had atlasphere for event 1 before episode 11? [/INST] SELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = ""atlasphere"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (result VARCHAR, game VARCHAR) Question: Game of game 5 had what result? [/INST] SELECT result FROM table_name_83 WHERE game = ""game 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (earnings_per_share__ VARCHAR, net_profit__us_$m_ VARCHAR, year_to_april VARCHAR) Question: Name the number of Earnings per share (¢) which has a Net profit (US $m) larger than 66, and a Year to April smaller than 2010? [/INST] SELECT COUNT(earnings_per_share__) AS ¢_ FROM table_name_38 WHERE net_profit__us_$m_ > 66 AND year_to_april < 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) Question: What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59? [/INST] SELECT name FROM table_name_56 WHERE district = ""nagpur"" AND reserved_for___sc___st__none_ = ""none"" AND constituency_number = ""59"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19283982_4 (_number_of_seats_to_be_won VARCHAR, _percentage_of_popular_vote VARCHAR) Question: Name the number of seats to be won being % of popular vote at 6.88% [/INST] SELECT _number_of_seats_to_be_won FROM table_19283982_4 WHERE _percentage_of_popular_vote = ""6.88%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29160596_1 (top_mc VARCHAR, year_inducted VARCHAR, peak_ranking VARCHAR) Question: List all the MCs with peak ranking of 6 who were inducted in 2007. [/INST] SELECT top_mc FROM table_29160596_1 WHERE year_inducted = 2007 AND peak_ranking = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (result VARCHAR, group VARCHAR, film_series VARCHAR, year VARCHAR) Question: What was the result for Thirst in 2010 at the Green Globe Film Awards? [/INST] SELECT result FROM table_name_91 WHERE film_series = ""thirst"" AND year = 2010 AND group = ""green globe film awards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_16 (player VARCHAR, school_club_team_country VARCHAR) Question: What are the players that attented long beach state? [/INST] SELECT player FROM table_11734041_16 WHERE school_club_team_country = ""Long Beach State"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (unit VARCHAR, location VARCHAR, authors VARCHAR) Question: What unit is located in China and has Zhou Zhang as an author? [/INST] SELECT unit FROM table_name_53 WHERE location = ""china"" AND authors = ""zhou zhang"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1574968_1 (creator VARCHAR, viewer VARCHAR) Question: Who is the creator when the view happens to gddm, afp viewer? [/INST] SELECT creator FROM table_1574968_1 WHERE viewer = ""GDDM, AFP viewer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (gold VARCHAR, rank VARCHAR) Question: How many gold medals for the nation ranked 6? [/INST] SELECT gold FROM table_name_19 WHERE rank = ""6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (to_par INTEGER, total VARCHAR, year_s__won VARCHAR) Question: What is the lowest To par, when Total is greater than 148, and when Year(s) Won is ""1959 , 1968 , 1974""? [/INST] SELECT MIN(to_par) FROM table_name_97 WHERE total < 148 AND year_s__won = ""1959 , 1968 , 1974"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (away_team VARCHAR) Question: What is essendon's away team score? [/INST] SELECT away_team AS score FROM table_name_1 WHERE away_team = ""essendon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR) Question: Name the least podiums for 2009 [/INST] SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22941863_19 (team_classification VARCHAR, stage VARCHAR) Question: If the stage is 9, what is the team classification name? [/INST] SELECT team_classification FROM table_22941863_19 WHERE stage = 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) Question: What is the name of the customer that made the order with the largest quantity? [/INST] SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (score VARCHAR, player VARCHAR) Question: What was Raymond Floyd's score? [/INST] SELECT score FROM table_name_58 WHERE player = ""raymond floyd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (college VARCHAR, pick VARCHAR, team VARCHAR) Question: What college was picked later than 122 by the Boston Patriots? [/INST] SELECT college FROM table_name_88 WHERE pick > 122 AND team = ""boston patriots"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR) Question: What was the rank when then time was 7:52.53? [/INST] SELECT MIN(rank) FROM table_name_10 WHERE time = ""7:52.53"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, record VARCHAR) Question: On which Date was there a record of 11-8? [/INST] SELECT date FROM table_name_37 WHERE record = ""11-8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (japan VARCHAR, title VARCHAR) Question: Tell me japan for jigsaw land: japan graffiti [/INST] SELECT japan FROM table_name_14 WHERE title = ""jigsaw land: japan graffiti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (winner VARCHAR, finalist VARCHAR) Question: Who was the winner of fc grün-weiß wolfen? [/INST] SELECT winner FROM table_name_58 WHERE finalist = ""fc grün-weiß wolfen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR) Question: What was the date of the game on week 7? [/INST] SELECT date FROM table_name_49 WHERE week = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19864214_3 (pitcher VARCHAR, seasons VARCHAR) Question: who was the pitcher in seasons 1982, 1984, 1985, 1987, 1988, 1989 [/INST] SELECT pitcher FROM table_19864214_3 WHERE seasons = ""1982, 1984, 1985, 1987, 1988, 1989"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, city___municipality VARCHAR) Question: What is the number of 1991 populations named Bečej? [/INST] SELECT COUNT(population__1991_) FROM table_2562572_2 WHERE city___municipality = ""Bečej"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (replaced_by VARCHAR, outgoing_manager VARCHAR) Question: Who replaced István Sándor? [/INST] SELECT replaced_by FROM table_name_58 WHERE outgoing_manager = ""istván sándor"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, centerfold_model VARCHAR) Question: When has a Centerfold model of pilar lastra? [/INST] SELECT date FROM table_name_95 WHERE centerfold_model = ""pilar lastra"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (marriage VARCHAR, spouse VARCHAR) Question: On waht date did Antoinette Jeanne Yvonne Boegner get married? [/INST] SELECT marriage FROM table_name_28 WHERE spouse = ""antoinette jeanne yvonne boegner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tournament VARCHAR, runner_s__up VARCHAR) Question: What races were Chi-Chi Rodriguez the runner-up in? [/INST] SELECT tournament FROM table_name_22 WHERE runner_s__up = ""chi-chi rodriguez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (crowd VARCHAR, venue VARCHAR) Question: What was the attendance when the VFL played Lake Oval? [/INST] SELECT COUNT(crowd) FROM table_name_44 WHERE venue = ""lake oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tournament VARCHAR) Question: Which tournament had a 2R categorization in 2009 and SF in 2010? [/INST] SELECT tournament FROM table_name_83 WHERE 2009 = ""2r"" AND 2010 = ""sf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13477468_3 (original_air_date VARCHAR, directed_by VARCHAR) Question: What is the original air date of the episode directed by Jeff Melman? [/INST] SELECT original_air_date FROM table_13477468_3 WHERE directed_by = ""Jeff Melman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (overall INTEGER, round VARCHAR, player VARCHAR) Question: What is the highest overall for a round larger than 8 for pavol demitra? [/INST] SELECT MAX(overall) FROM table_name_40 WHERE round > 8 AND player = ""pavol demitra"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR) Question: What was the Opponent on August 31, 1997? [/INST] SELECT opponent FROM table_name_15 WHERE date = ""august 31, 1997"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2897457_1 (position VARCHAR, player VARCHAR) Question: What position does Olaf Kolzig play? [/INST] SELECT position FROM table_2897457_1 WHERE player = ""Olaf Kolzig"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (matches_as_champion INTEGER, title_last_held VARCHAR, rank VARCHAR) Question: Which Matches is on 24 march 1963 with a Rank larger than 44? [/INST] SELECT MAX(matches_as_champion) FROM table_name_6 WHERE title_last_held = ""24 march 1963"" AND rank > 44 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR) Question: What is the visiting team of the game with the home team Grizzlies on 13 November 2007? [/INST] SELECT visitor FROM table_name_77 WHERE home = ""grizzlies"" AND date = ""13 november 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR) Question: What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane? [/INST] SELECT traffic_direction FROM table_name_8 WHERE west = ""2nd avenue"" AND _number_of_lanes = ""1"" AND street = ""64th street"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (episode VARCHAR, airdate__usa_ VARCHAR) Question: Which episode aired in the USA on 20 May 2005? [/INST] SELECT episode FROM table_name_75 WHERE airdate__usa_ = ""20 may 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (population INTEGER, county VARCHAR) Question: When the county is Carroll what is the lowest population? [/INST] SELECT MIN(population) FROM table_name_50 WHERE county = ""carroll"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (drawn INTEGER, difference VARCHAR) Question: Which Drawn has a Difference of 14? [/INST] SELECT AVG(drawn) FROM table_name_58 WHERE difference = ""14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (pick INTEGER, position VARCHAR) Question: What was the highest guard picked? [/INST] SELECT MAX(pick) FROM table_name_50 WHERE position = ""guard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (position VARCHAR, player VARCHAR) Question: What position does Karl Singer play? [/INST] SELECT position FROM table_name_22 WHERE player = ""karl singer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341577_10 (result VARCHAR, incumbent VARCHAR) Question: what's result with incumbent being connie mack [/INST] SELECT result FROM table_1341577_10 WHERE incumbent = ""Connie Mack"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (province VARCHAR, icao VARCHAR) Question: Name the Province with ICAO of zbcf? [/INST] SELECT province FROM table_name_60 WHERE icao = ""zbcf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR) Question: On which date was the venue at Windy Hill? [/INST] SELECT date FROM table_name_61 WHERE venue = ""windy hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (outcome VARCHAR, venue VARCHAR) Question: What was the outcome for the India Open? [/INST] SELECT outcome FROM table_name_34 WHERE venue = ""india open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR) Question: Who were the quarterfinalists for the runner-ups of mike de palmer gary donnelly? [/INST] SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = ""Mike De Palmer Gary Donnelly"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25764073_3 (episode__number INTEGER, writer_s_ VARCHAR) Question: Name the least episode number for anne brooksbank and vicki madden [/INST] SELECT MIN(episode__number) FROM table_25764073_3 WHERE writer_s_ = ""Anne Brooksbank and Vicki Madden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15780049_8 (date VARCHAR, team VARCHAR) Question: Name the date for sacramento [/INST] SELECT date FROM table_15780049_8 WHERE team = ""Sacramento"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when the away team was Bristol Rovers? [/INST] SELECT home_team FROM table_name_1 WHERE away_team = ""bristol rovers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR) Question: Name the total number of series sorted for when released is april 2010 [/INST] SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = ""April 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18788823_5 (date_of_appointment VARCHAR, team VARCHAR) Question: What date did the Milton Keynes Dons appoint? [/INST] SELECT date_of_appointment FROM table_18788823_5 WHERE team = ""Milton Keynes Dons"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, series VARCHAR) Question: Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)? [/INST] SELECT uk_co_presenter FROM table_14345690_15 WHERE co_presenter = ""Joe Swash"" AND series = ""Eleven (2011)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR) Question: What opponent has 8-10 as the record? [/INST] SELECT opponent FROM table_name_76 WHERE record = ""8-10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR) Question: When western michigan is the tournament winner how many conferences are there? [/INST] SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = ""Western Michigan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (points VARCHAR, lost VARCHAR) Question: Name the points with lost of 19 [/INST] SELECT points FROM table_name_96 WHERE lost = ""19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10321124_1 (COUNT VARCHAR, escherichia VARCHAR) Question: how many ↓ function / genus → with escherichia being espd [/INST] SELECT COUNT AS ↓_function___genus_→ FROM table_10321124_1 WHERE escherichia = ""EspD"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (coverage VARCHAR, launched VARCHAR) Question: What is the coverage of the station that was launched on 22 January 1996? [/INST] SELECT coverage FROM table_name_83 WHERE launched = ""22 january 1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (elimination VARCHAR, team VARCHAR) Question: Which Elimination Move is listed at Elimination 8 for Team Batista? [/INST] SELECT elimination AS Move FROM table_name_90 WHERE team = ""team batista"" AND elimination = ""8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2933761_1 (occupation VARCHAR, name VARCHAR) Question: What is Joan Leaven's occupation? [/INST] SELECT occupation FROM table_2933761_1 WHERE name = ""Joan Leaven"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (series VARCHAR, production_number VARCHAR) Question: What is the Series of the Filmography with a Production Number of M-4-15? [/INST] SELECT series FROM table_name_37 WHERE production_number = ""m-4-15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (couple VARCHAR, dance VARCHAR, score VARCHAR) Question: Which couple danced a jive and received a score of 21 (6, 7, 8)? [/INST] SELECT couple FROM table_name_98 WHERE dance = ""jive"" AND score = ""21 (6, 7, 8)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (score VARCHAR, record VARCHAR) Question: What is the Score of the game with a Record of 12–12? [/INST] SELECT score FROM table_name_93 WHERE record = ""12–12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: Which years did the player from Providence play for the Grizzlies as small forward? [/INST] SELECT years_for_grizzlies FROM table_name_96 WHERE position = ""small forward"" AND school_club_team = ""providence"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR) Question: What was the result of Samuel Smith's race? [/INST] SELECT result FROM table_2668329_11 WHERE incumbent = ""Samuel Smith"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342379_20 (district VARCHAR, incumbent VARCHAR) Question: How many districts does john j. douglass represent? [/INST] SELECT COUNT(district) FROM table_1342379_20 WHERE incumbent = ""John J. Douglass"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (front_row_starts INTEGER, driver VARCHAR) Question: What was the highest front row starts for Alain Prost? [/INST] SELECT MAX(front_row_starts) FROM table_name_52 WHERE driver = ""alain prost"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) Question: Which Number of electorates (2009) has 188 Constituents? [/INST] SELECT number_of_electorates__2009_ FROM table_name_93 WHERE constituency_number = ""188"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (outcome VARCHAR, opponent_in_the_final VARCHAR) Question: What is the Outcome when çağla büyükakçay was the opponent in the final? [/INST] SELECT outcome FROM table_name_73 WHERE opponent_in_the_final = ""çağla büyükakçay"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (canadian_kennel_club_toy_dogs_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR) Question: What is the Canadian Kennel Club Toy Dogs Group with the australian silky terrier as the Australian National Kennel Council Toy Dogs Group breed? [/INST] SELECT canadian_kennel_club_toy_dogs_group FROM table_name_49 WHERE australian_national_kennel_council_toy_dogs_group = ""australian silky terrier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (score VARCHAR, record VARCHAR) Question: WHAT SCORE HAD A RECORD OF 1-1? [/INST] SELECT score FROM table_name_42 WHERE record = ""1-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (capacity INTEGER, stadium VARCHAR) Question: What is the highest capacity that has stadio marcello torre as the stadium? [/INST] SELECT MAX(capacity) FROM table_name_80 WHERE stadium = ""stadio marcello torre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (week_5 VARCHAR, week_2 VARCHAR) Question: Who is week 5 if week 2 is Jenna Jordan? [/INST] SELECT week_5 FROM table_name_68 WHERE week_2 = ""jenna jordan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27734577_11 (date VARCHAR, team VARCHAR) Question: What date did the Hawks play against Boston? [/INST] SELECT date FROM table_27734577_11 WHERE team = ""Boston"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE student (stuid VARCHAR, age INTEGER); CREATE TABLE has_pet (stuid VARCHAR) Question: Find number of pets owned by students who are older than 20. [/INST] SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid WHERE T1.age > 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (qual VARCHAR, rank VARCHAR, year VARCHAR) Question: What is the qual for rank 18 in 1964? [/INST] SELECT qual FROM table_name_44 WHERE rank = ""18"" AND year = ""1964"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27743641_2 (lmp2_winning_driver VARCHAR, lmp1_winning_team VARCHAR) Question: Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing? [/INST] SELECT lmp2_winning_driver FROM table_27743641_2 WHERE lmp1_winning_team = ""No. 20 Oryx Dyson Racing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR) Question: Which Attendance has a Date of december 22, 1985, and a Week smaller than 16? [/INST] SELECT SUM(attendance) FROM table_name_65 WHERE date = ""december 22, 1985"" AND week < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1889619_5 (total_footage_remaining_from_missing_episodes__mm VARCHAR, story_no VARCHAR, source VARCHAR) Question: When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)? [/INST] SELECT total_footage_remaining_from_missing_episodes__mm AS :ss_ FROM table_1889619_5 WHERE story_no = ""018"" AND source = ""Private individual"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (segment_c VARCHAR, segment_b VARCHAR) Question: When segment B is s pineapple, what is the segment C? [/INST] SELECT segment_c FROM table_name_92 WHERE segment_b = ""s pineapple"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR) Question: What is the Year won for the player with a To par of 8? [/INST] SELECT year_s__won FROM table_name_70 WHERE to_par = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, firefox VARCHAR) Question: If Firefox is 30.45%, what is the other Mozilla amount? [/INST] SELECT other_mozilla FROM table_1876262_10 WHERE firefox = ""30.45%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (british VARCHAR, australian VARCHAR) Question: What is the British for the Australian ɔ? [/INST] SELECT british FROM table_name_93 WHERE australian = ""ɔ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR) Question: Which team has the points category of test driver? [/INST] SELECT team FROM table_name_74 WHERE points = ""test driver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, goal VARCHAR) Question: What was the date of the game with 6 goals? [/INST] SELECT date FROM table_name_61 WHERE goal = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR) Question: Who is the regular season winner for the Ivy League conference? [/INST] SELECT regular_season_winner FROM table_21091982_3 WHERE conference = ""Ivy League"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE STUDENT (Fname VARCHAR, Age INTEGER) Question: Find the first names of students with age above 22. [/INST] SELECT Fname FROM STUDENT WHERE Age > 22 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (airport VARCHAR, iata VARCHAR) Question: What Airport's IATA is SEA? [/INST] SELECT airport FROM table_name_56 WHERE iata = ""sea"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR) Question: What's the transfer distance (km) larger than 36.5, at the station of guangximen? [/INST] SELECT transfers FROM table_name_16 WHERE distance__km_ > 36.5 AND station_name = ""guangximen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0? [/INST] SELECT MAX(bronze) FROM table_name_18 WHERE silver < 1 AND nation = ""belgium (bel)"" AND gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (LNER VARCHAR, class VARCHAR) Question: What LNER Class has a Class of 6db? [/INST] SELECT LNER AS class FROM table_name_31 WHERE class = ""6db"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_120778_2 (voted_no INTEGER, percent_no VARCHAR) Question: what is the minimum voted no where percent no is 56.6 [/INST] SELECT MIN(voted_no) FROM table_120778_2 WHERE percent_no = ""56.6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (Id VARCHAR) Question: Which 2007 has a 2008 of 0 / 4? [/INST] SELECT 2007 FROM table_name_90 WHERE 2008 = ""0 / 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR) Question: What division has finalist playoffs and was 3rd round Open Cup? [/INST] SELECT division FROM table_name_73 WHERE playoffs = ""finalist"" AND open_cup = ""3rd round"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR) Question: What is the smallest Silver value associated with teams having more than 0 gold, 0 bronze, and a rank of 14? [/INST] SELECT MIN(silver) FROM table_name_75 WHERE bronze = 0 AND rank = 14 AND gold > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (player VARCHAR, long VARCHAR, avg VARCHAR) Question: Which player has a long of less than 15 and an average of 6 yards. [/INST] SELECT player FROM table_name_73 WHERE long < 15 AND avg = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE stadium (home_games INTEGER) Question: What are the maximum, minimum and average home games each stadium held? [/INST] SELECT MAX(home_games), MIN(home_games), AVG(home_games) FROM stadium "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (runner_s__up VARCHAR, winning_score VARCHAR) Question: Who was the runner(s)-up when the winning score was –13 (75-68-68=211)? [/INST] SELECT runner_s__up FROM table_name_77 WHERE winning_score = –13(75 - 68 - 68 = 211) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (britain__2013_ VARCHAR, us__2013_ VARCHAR) Question: What was Britain's (2013) birthstone when the U.S (2013) birthstone was ruby? [/INST] SELECT britain__2013_ FROM table_name_1 WHERE us__2013_ = ""ruby"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (location VARCHAR, opponent VARCHAR) Question: What is the Location of the match against Bob Stines? [/INST] SELECT location FROM table_name_36 WHERE opponent = ""bob stines"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR) Question: What number pick was Bill Athey? [/INST] SELECT pick__number FROM table_name_70 WHERE name = ""bill athey"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR) Question: Find the name of customers who do not have an saving account. [/INST] SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = 'saving' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (player VARCHAR, college VARCHAR) Question: Who was the draft pick that went to college at Oral Roberts? [/INST] SELECT player FROM table_name_44 WHERE college = ""oral roberts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (march VARCHAR, august VARCHAR) Question: Who is the March playmate with an August playmate Gianna Amore? [/INST] SELECT march FROM table_name_53 WHERE august = ""gianna amore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (record VARCHAR, week VARCHAR) Question: For the game that was played on week 2, what is the record? [/INST] SELECT record FROM table_name_24 WHERE week = 2 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16034882_5 (position INTEGER) Question: Name the least position [/INST] SELECT MIN(position) FROM table_16034882_5
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (status VARCHAR, name VARCHAR) Question: What is the Status of Mexborough? [/INST] SELECT status FROM table_name_83 WHERE name = ""mexborough"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) Question: When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final? [/INST] SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = ""3–6, 6–4, 3–6, 4–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR) Question: What round was on 11/11/1992? [/INST] SELECT round FROM table_name_91 WHERE date = ""11/11/1992"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (earpads VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR) Question: What earpads do the headphones with driver-matched dB over 0.05 and MSRP of $79 have? [/INST] SELECT earpads FROM table_name_49 WHERE driver_matched_db > 0.05 AND us_msrp = ""$79"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (canadian_championship VARCHAR, concacaf_champions_league VARCHAR) Question: What Canadian Championship had CONCACAF Champions League of semifinals? [/INST] SELECT canadian_championship FROM table_name_6 WHERE concacaf_champions_league = ""semifinals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (chassis VARCHAR, year VARCHAR, engine VARCHAR, points VARCHAR) Question: What kind of Chassis supports a Maserati Straight-6 engine with Points greater than 0 and built in the year 1955? [/INST] SELECT chassis FROM table_name_93 WHERE engine = ""maserati straight-6"" AND points > 0 AND year = 1955 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20745759_1 (record VARCHAR, date VARCHAR) Question: Name the record for january 18, 1997 [/INST] SELECT record FROM table_20745759_1 WHERE date = ""January 18, 1997"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR) Question: how many district with incumbent being david delano glover [/INST] SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = ""David Delano Glover"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, height VARCHAR) Question: What is the product with the highest height? Give me the catalog entry name. [/INST] SELECT TOP 1 catalog_entry_name FROM catalog_contents ORDER BY height DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (location VARCHAR, opponent VARCHAR) Question: Where is the location where Scott Junk was the opponent? [/INST] SELECT location FROM table_name_89 WHERE opponent = ""scott junk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR) Question: What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823? [/INST] SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = ""valverde"" AND area > 823 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30047613_12 (streak VARCHAR, date VARCHAR) Question: in april 13 what was the streak [/INST] SELECT streak FROM table_30047613_12 WHERE date = ""April 13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (directed_by VARCHAR, episode__number VARCHAR) Question: What is Directed By, when Episode # is 7? [/INST] SELECT directed_by FROM table_name_18 WHERE episode__number = 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR) Question: What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins? [/INST] SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = ""lambros athanassoulas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (gdp__ppp__per_capita_2012_eu27_ VARCHAR, _100 VARCHAR, gdp_2012_millions_of_euro VARCHAR) Question: What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900? [/INST] SELECT gdp__ppp__per_capita_2012_eu27_ = _100 FROM table_name_27 WHERE gdp_2012_millions_of_euro = ""309,900"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR, time VARCHAR) Question: What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? [/INST] SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = ""+18.366"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (lost INTEGER, goals_scored VARCHAR, place VARCHAR) Question: What the lost in place less than 3 and having more than 63 goals scored? [/INST] SELECT SUM(lost) FROM table_name_87 WHERE goals_scored > 63 AND place < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (round VARCHAR, time VARCHAR) Question: What is the total number of rounds at 5:36? [/INST] SELECT COUNT(round) FROM table_name_29 WHERE time = ""5:36"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (english_country_name VARCHAR, english_capital_name VARCHAR) Question: What is the English name of the country that has Ramallah as its capital? [/INST] SELECT english_country_name FROM table_name_59 WHERE english_capital_name = ""ramallah"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (money___$__ VARCHAR, player VARCHAR) Question: How much money did David Toms get? [/INST] SELECT money___$__ FROM table_name_16 WHERE player = ""david toms"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (court_surface VARCHAR, tournament VARCHAR) Question: what is the court surface when the tournament is paris masters? [/INST] SELECT court_surface FROM table_name_47 WHERE tournament = ""paris masters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR) Question: what is the title of the episode daphne field wrote? [/INST] SELECT title FROM table_2626495_1 WHERE written_by = ""Daphne Field"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (street_address VARCHAR, name VARCHAR) Question: What's the address of the union bank of California tower? [/INST] SELECT street_address FROM table_name_27 WHERE name = ""union bank of california tower"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (japanese VARCHAR, prefecture VARCHAR) Question: WHich Japanese has a Prefecture of iwate? [/INST] SELECT japanese FROM table_name_99 WHERE prefecture = ""iwate"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (venue VARCHAR, opponent VARCHAR, round VARCHAR) Question: What venue did Melbourne Storm played in Rd 7, 2006? [/INST] SELECT venue FROM table_name_68 WHERE opponent = ""melbourne storm"" AND round = ""rd 7, 2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (english_title VARCHAR, year VARCHAR, country VARCHAR) Question: What is the English title for 1984 from Sweden? [/INST] SELECT english_title FROM table_name_68 WHERE year = 1984 AND country = ""sweden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employees (department_id VARCHAR, salary VARCHAR, commission_pct VARCHAR) Question: display all the information of employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40. [/INST] SELECT * FROM employees WHERE salary BETWEEN 8000 AND 12000 AND commission_pct <> ""null"" OR department_id <> 40 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10361230_1 (college VARCHAR, player_name VARCHAR) Question: What college did Bill Cappleman go to? [/INST] SELECT college FROM table_10361230_1 WHERE player_name = ""Bill Cappleman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR) Question: How many total viewers have April 21, 2010 as the original airing on channel 4? [/INST] SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = ""April 21, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (frequency VARCHAR, call_sign VARCHAR) Question: Which Frequency has a Call sign of kcse? [/INST] SELECT frequency FROM table_name_93 WHERE call_sign = ""kcse"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14630796_1 (class_a VARCHAR, class_aAAA VARCHAR, Carthage VARCHAR) Question: Name the class a for carthage [/INST] SELECT class_a FROM table_14630796_1 WHERE class_aAAA = Carthage "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR) Question: What was John Jones's pick#? [/INST] SELECT SUM(pick) FROM table_name_30 WHERE player = ""john jones"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR) Question: Which Pick has a Year larger than 1983, and a Player name of brian jozwiak? [/INST] SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = ""brian jozwiak"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (_number_of_candidates INTEGER, general_election VARCHAR, result VARCHAR, _number_of_seats_won VARCHAR) Question: What is the # of candidates of liberal majority with 51 wins and larger number of 2008 in general elections? [/INST] SELECT AVG(_number_of_candidates) FROM table_name_81 WHERE result = ""liberal majority"" AND _number_of_seats_won = 51 AND general_election > 2008 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (rank VARCHAR, ø_pts VARCHAR, games VARCHAR) Question: What was the rank for 1.26 Ø-Pts in game 1458? [/INST] SELECT COUNT(rank) FROM table_name_86 WHERE ø_pts > 1.26 AND games = 1458 "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (original_team VARCHAR, result VARCHAR) Question: What is the original team that was Hired by Trump (5-19-2005)? [/INST] SELECT original_team FROM table_name_84 WHERE result = ""hired by trump (5-19-2005)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (effic INTEGER, avg_g VARCHAR) Question: What is the lowest effic with a 58.9 avg/g? [/INST] SELECT MIN(effic) FROM table_name_58 WHERE avg_g = 58.9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR) Question: WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%? [/INST] SELECT val_de_marne FROM table_name_18 WHERE seine_saint_denis = ""2.7%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17386066_2 (result VARCHAR, date VARCHAR) Question: What was the result of the game that was played on Nov. 26, 1972? [/INST] SELECT result FROM table_17386066_2 WHERE date = ""Nov. 26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2015453_1 (res VARCHAR, team__number2 VARCHAR) Question: What was the res for the game against Payam? [/INST] SELECT res FROM table_2015453_1 WHERE team__number2 = ""Payam"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (kickoff_time VARCHAR, date VARCHAR) Question: What was the kickoff time for the December 14, 2003 game? [/INST] SELECT kickoff_time FROM table_name_82 WHERE date = ""december 14, 2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) Question: What is the score when the Tie no is replay, and the away team is York City? [/INST] SELECT score FROM table_name_43 WHERE tie_no = ""replay"" AND away_team = ""york city"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents_with_expenses (document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR) Question: What are the ids of documents with letter 's' in the name with any expense budgets. [/INST] SELECT T1.document_id FROM Documents AS T1 JOIN Documents_with_expenses AS T2 ON T1.document_id = T2.document_id WHERE T1.document_name LIKE '%s%' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (season INTEGER, super_g VARCHAR) Question: What is the oldest season that had a listed Super G score of 33? [/INST] SELECT MIN(season) FROM table_name_34 WHERE super_g = ""33"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR) Question: What date is the Victoria Park venue? [/INST] SELECT date FROM table_name_3 WHERE venue = ""victoria park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR) Question: When was the game before week 15 with the result of bye? [/INST] SELECT date FROM table_name_26 WHERE week < 15 AND result = ""bye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16028499_2 (result VARCHAR, week VARCHAR) Question: What was the result of week 2? [/INST] SELECT result FROM table_16028499_2 WHERE week = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15463188_17 (number VARCHAR, school_club_team VARCHAR) Question: How many school/club teams have a player named Manuel Luis Quezon? [/INST] SELECT COUNT(number) FROM table_15463188_17 WHERE school_club_team = ""Manuel Luis Quezon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (engine VARCHAR, chassis VARCHAR, rank VARCHAR) Question: What engine was used by the teams that used a Lola b02/00 chassis and ranked 1st? [/INST] SELECT engine FROM table_name_45 WHERE chassis = ""lola b02/00"" AND rank = ""1st"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (state VARCHAR, electorate VARCHAR) Question: Which State has an Electorate of West Sydney? [/INST] SELECT state FROM table_name_74 WHERE electorate = ""west sydney"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (attendance VARCHAR, week VARCHAR) Question: What is Attendance, when Week is 5? [/INST] SELECT attendance FROM table_name_95 WHERE week = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR) Question: what player matched up with 9 [/INST] SELECT player FROM table_name_78 WHERE matches = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2168295_1 (population__2011_ VARCHAR, headquarters VARCHAR) Question: What is the 2011 population if the headquarters is Chittorgarh? [/INST] SELECT population__2011_ FROM table_2168295_1 WHERE headquarters = ""Chittorgarh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (against VARCHAR, draws INTEGER) Question: What's the total against when the draws are more than 0? [/INST] SELECT COUNT(against) FROM table_name_30 WHERE draws > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR) Question: Which lead had a season of 2009-10? [/INST] SELECT lead FROM table_name_40 WHERE season = ""2009-10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Companies (name VARCHAR, Headquarters VARCHAR) Question: What are the names of companies whose headquarters are not ""USA""? [/INST] SELECT name FROM Companies WHERE Headquarters <> 'USA' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR) Question: Which club plays soccer in the nwsl? [/INST] SELECT club FROM table_name_61 WHERE sport = ""soccer"" AND league = ""nwsl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR) Question: What is the Score that has a Winnipeg Jets as Visitor on april 7? [/INST] SELECT score FROM table_name_10 WHERE visitor = ""winnipeg jets"" AND date = ""april 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR) Question: When did the Titans play the Houston Texans at LP Field before Week 13? [/INST] SELECT date FROM table_name_68 WHERE week < 13 AND game_site = ""lp field"" AND opponent = ""houston texans"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (wins INTEGER, year VARCHAR, points VARCHAR) Question: How many wins did the team, which had more than 110 points, have in 1989? [/INST] SELECT SUM(wins) FROM table_name_13 WHERE year = 1989 AND points > 110 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (road_number VARCHAR, year INTEGER) Question: How many road numbers are before 1922? [/INST] SELECT COUNT(road_number) FROM table_name_18 WHERE year < 1922 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (played INTEGER, points VARCHAR) Question: How many games were played where exactly 15 points were scored? [/INST] SELECT SUM(played) FROM table_name_34 WHERE points = 15 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_256286_14 (no_votes INTEGER) Question: Name the most no votes [/INST] SELECT MAX(no_votes) FROM table_256286_14
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR) Question: Which visiting team wound up with a final score of 18-40? [/INST] SELECT visiting_team FROM table_name_77 WHERE final_score = ""18-40"" "
"[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 tie_no = ""4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR) Question: What is the number of rounds that took place for the fight that lasted 6:21? [/INST] SELECT COUNT(round) FROM table_name_1 WHERE time = ""6:21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (location VARCHAR, res VARCHAR, event VARCHAR) Question: In which location did he win the Superbrawl 16 event? [/INST] SELECT location FROM table_name_57 WHERE res = ""win"" AND event = ""superbrawl 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (std_saps VARCHAR, opt_saps VARCHAR) Question: What is the total number of Std SAPs with 0-11 Opt SAPS? [/INST] SELECT COUNT(std_saps) FROM table_name_55 WHERE opt_saps = ""0-11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (time INTEGER, lane VARCHAR, rank VARCHAR) Question: Name the sum of time for lane of 1 and rank less than 8 [/INST] SELECT SUM(time) FROM table_name_17 WHERE lane = 1 AND rank < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (mintage VARCHAR, theme VARCHAR, issue_price VARCHAR) Question: What is the mintage of the coin with a Toronto Maple Leafs theme and an issue price below 24.95? [/INST] SELECT mintage FROM table_name_76 WHERE theme = ""toronto maple leafs"" AND issue_price < 24.95 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR) Question: Who is the away captain for Kingsmead? [/INST] SELECT away_captain FROM table_name_81 WHERE venue = ""kingsmead"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR) Question: How many episodes are directed by Jamie Payne? [/INST] SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = ""Jamie Payne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (current_conference VARCHAR, nickname VARCHAR) Question: The River Hawks belonged to what current conference? [/INST] SELECT current_conference FROM table_name_6 WHERE nickname = ""river hawks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR) Question: How many teams won more than 2 silver medals and fewer than 2 Bronze medals? [/INST] SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1090916_2 (location VARCHAR, status VARCHAR) Question: What is the location when the status is in service as coaching stock? [/INST] SELECT location FROM table_1090916_2 WHERE status = ""In service as coaching stock"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (model_number VARCHAR, socket VARCHAR) Question: What model number uses standard voltage socket? [/INST] SELECT model_number FROM table_name_48 WHERE socket = ""standard voltage"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619053_7 (high_points VARCHAR, record VARCHAR) Question: Who ihad the highest points and what was the number when the record was 11-40? [/INST] SELECT high_points FROM table_13619053_7 WHERE record = ""11-40"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2501754_4 (episode__number INTEGER, viewing_figures_millions VARCHAR, prod_code VARCHAR) Question: What is the lowest episode number with 6.19 million viewers and a production code of icec487y? [/INST] SELECT MIN(episode__number) FROM table_2501754_4 WHERE viewing_figures_millions = ""6.19"" AND prod_code = ""ICEC487Y"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (director VARCHAR, title VARCHAR) Question: Who directed Teenage Mutant Ninja Turtles? [/INST] SELECT director FROM table_name_81 WHERE title = ""teenage mutant ninja turtles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23285761_11 (high_assists VARCHAR, date VARCHAR) Question: Who has the high assists when April 26 is the date? [/INST] SELECT high_assists FROM table_23285761_11 WHERE date = ""April 26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR) Question: What is the total number of Entered when the eliminated number is 3? [/INST] SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (surface VARCHAR, tournament VARCHAR) Question: What was the playing surface for the Tournament of Great Britain F16? [/INST] SELECT surface FROM table_name_44 WHERE tournament = ""great britain f16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Visit_Details VARCHAR, Tourist_ID VARCHAR) Question: What are the visit date and details of the visitor whose detail is 'Vincent'? [/INST] SELECT T2.Visit_Date, T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID = T2.Tourist_ID WHERE T1.Tourist_Details = ""Vincent"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR) Question: Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6? [/INST] SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = ""995 (303)"" AND std_rank > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) Question: Which Away team has Carlton for it's Home team? [/INST] SELECT away_team FROM table_name_96 WHERE home_team = ""carlton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (college VARCHAR, pick__number VARCHAR) Question: What college is draft pick #327 from? [/INST] SELECT college FROM table_name_80 WHERE pick__number = ""327"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) Question: What is the team 1 with cementarnica as team 2? [/INST] SELECT team_1 FROM table_name_20 WHERE team_2 = ""cementarnica"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (grid INTEGER, driver VARCHAR) Question: What is the top grid that is driven by martin brundle? [/INST] SELECT MAX(grid) FROM table_name_78 WHERE driver = ""martin brundle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR) Question: Which player who weighs 210 plays for the Reno Bighorns? [/INST] SELECT player FROM table_name_68 WHERE weight = 210 AND team = ""reno bighorns"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) Question: What was the opponent in the 2008–09 season, with a final score of 2–3 l? [/INST] SELECT opponent FROM table_name_58 WHERE season = ""2008–09"" AND final_score = ""2–3 l"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (away_team VARCHAR) Question: What was Geelong's score when they were the away team? [/INST] SELECT away_team AS score FROM table_name_62 WHERE away_team = ""geelong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR) Question: What was the result of the game in halifax? [/INST] SELECT result FROM table_name_34 WHERE city = ""halifax"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (player VARCHAR, overs VARCHAR) Question: Tell me the player with overs of 87.4 [/INST] SELECT player FROM table_name_91 WHERE overs = ""87.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (engine VARCHAR, points VARCHAR) Question: What is the engine for the car with 3 points? [/INST] SELECT engine FROM table_name_6 WHERE points = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2167226_3 (date VARCHAR, tournament VARCHAR) Question: What is the date for the tournament McDonald's wpga championship? [/INST] SELECT date FROM table_2167226_3 WHERE tournament = ""McDonald's WPGA Championship"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (launches_to_date VARCHAR, version VARCHAR, ccbs VARCHAR) Question: What is the total Launches to date with a Version of 541, and CCBs smaller than 1? [/INST] SELECT COUNT(launches_to_date) FROM table_name_8 WHERE version = ""541"" AND ccbs < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24027047_1 (area__km²__2011 VARCHAR, administrative_division VARCHAR) Question: What was the area in km2 in 2011 for the Narsingdi District? [/INST] SELECT area__km²__2011 * * FROM table_24027047_1 WHERE administrative_division = ""Narsingdi District"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11680175_1 (bötzow VARCHAR, vehlefanz VARCHAR) Question: What was the number for Bötzow where Vehlefanz is 1.800? [/INST] SELECT bötzow FROM table_11680175_1 WHERE vehlefanz = ""1.800"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22344463_2 (weight VARCHAR, name VARCHAR) Question: What is the weight is the name is Stuart Craig? [/INST] SELECT weight FROM table_22344463_2 WHERE name = ""Stuart Craig"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (against INTEGER, points VARCHAR, lost VARCHAR) Question: What is the lowest against value with less than 9 points and more than 6 lost? [/INST] SELECT MIN(against) FROM table_name_29 WHERE points < 9 AND lost > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25938117_1 (winner VARCHAR, date VARCHAR) Question: Name the winner for jan 24 [/INST] SELECT winner FROM table_25938117_1 WHERE date = ""Jan 24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) Question: What's the quantity preserved when the fleet number was 700? [/INST] SELECT quantity_preserved FROM table_name_57 WHERE fleet_number_s_ = ""700"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR) Question: What is the Catalog with a Date that is february 20, 2002? [/INST] SELECT catalog FROM table_name_89 WHERE date = ""february 20, 2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23950611_2 (rank__all__2012 VARCHAR, name VARCHAR) Question: What was the Forbers rank (all companies) in 2012 for cenovus energy? [/INST] SELECT rank__all__2012 FROM table_23950611_2 WHERE name = ""Cenovus Energy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR) Question: Who is every name for time(cet) of 09:03? [/INST] SELECT name FROM table_21536557_2 WHERE time__cet_ = ""09:03"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR) Question: Name the common name for furcifer pardalis [/INST] SELECT common_name FROM table_175442_1 WHERE scientific_name = ""Furcifer pardalis"" "
"[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 Black Category:Articles With hCards? [/INST] SELECT position FROM table_name_50 WHERE nationality = ""united states"" AND jersey_number_s_ = ""12"" AND player = ""tom black category:articles with hcards"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14631909_1 (original_title VARCHAR, english_title VARCHAR) Question: What is the original title of europe for dummies? [/INST] SELECT original_title FROM table_14631909_1 WHERE english_title = ""Europe for Dummies"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18618707_1 (geographical_regions VARCHAR, contestant VARCHAR) Question: When cristina peña garzon is the contestant what is the geographical region? [/INST] SELECT geographical_regions FROM table_18618707_1 WHERE contestant = ""Cristina Peña Garzon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: How many laps did innes ireland drive with a grid higher than 11? [/INST] SELECT SUM(laps) FROM table_name_29 WHERE driver = ""innes ireland"" AND grid > 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR) Question: What was the date when Geelong was the home team? [/INST] SELECT date FROM table_name_49 WHERE home_team = ""geelong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (gold INTEGER, silver VARCHAR, rank VARCHAR) Question: Which Gold has a Total larger than 3, a Rank of total, and a Silver larger than 8? [/INST] SELECT AVG(gold) FROM table_name_60 WHERE ""total"" > 3 AND rank = ""total"" AND silver > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (goals_against INTEGER, points VARCHAR, goal_difference VARCHAR) Question: What is the lowest goals against value for a team with 83 points and a difference over 50? [/INST] SELECT MIN(goals_against) FROM table_name_31 WHERE points = 83 AND goal_difference > 50 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342480_6 (extra_points INTEGER, position VARCHAR) Question: Name the most extra points for right tackle [/INST] SELECT MAX(extra_points) FROM table_14342480_6 WHERE position = ""Right tackle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR) Question: What institution had 6 wins and a current streak of won 2? [/INST] SELECT institution FROM table_1672976_2 WHERE wins = 6 AND current_streak = ""Won 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (rest_mass_mev___c_2 VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR) Question: When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2? [/INST] SELECT rest_mass_mev___c_2 FROM table_name_58 WHERE makeup = ""u s s"" AND spin___parity___j_p = ""3⁄2 +"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employee (emp_num VARCHAR, emp_lname VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR) Question: What is department name and office for the professor whose last name is Heffington? [/INST] SELECT T3.dept_name, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T1.emp_lname = 'Heffington' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR) Question: What was the home team score at Glenferrie Oval? [/INST] SELECT home_team AS score FROM table_name_10 WHERE venue = ""glenferrie oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (ncbi_accession_number__mrna_protein_ VARCHAR, protein_identity VARCHAR) Question: What NCBI Accession Number (mRNA/Protein) has a Protein Identity of 69%? [/INST] SELECT ncbi_accession_number__mrna_protein_ FROM table_name_99 WHERE protein_identity = ""69%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR) Question: Name the least season number for two marriage proposals [/INST] SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = ""Two marriage proposals"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2402864_1 (open_cup VARCHAR, year VARCHAR) Question: What was the Open Cup results for the year 2003? [/INST] SELECT open_cup FROM table_2402864_1 WHERE year = 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17516967_1 (preliminary VARCHAR, state VARCHAR) Question: Name the preliminary for north carolina [/INST] SELECT preliminary FROM table_17516967_1 WHERE state = ""North Carolina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (game_site VARCHAR, week VARCHAR) Question: What was the game site for week 14? [/INST] SELECT game_site FROM table_name_87 WHERE week = ""14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (stadium VARCHAR, date VARCHAR) Question: What stadium was the game held at on December 23, 2001? [/INST] SELECT stadium FROM table_name_2 WHERE date = ""december 23, 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (week_13_nov_30 VARCHAR, week_11_nov_16 VARCHAR) Question: What is the week 13 Nov 30 standing with USC (7-3) on week 11 Nov 16? [/INST] SELECT week_13_nov_30 FROM table_name_36 WHERE week_11_nov_16 = ""usc (7-3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17103645_10 (location_attendance VARCHAR, score VARCHAR) Question: Name the location attendance for score of 65-72 [/INST] SELECT location_attendance FROM table_17103645_10 WHERE score = ""65-72"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR) Question: Who played the home team at Windy Hill? [/INST] SELECT home_team FROM table_name_3 WHERE venue = ""windy hill"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (stadium VARCHAR, visiting_team VARCHAR, date VARCHAR) Question: Where was the game on September 12 played when the Dallas Cowboys was the visiting team? [/INST] SELECT stadium FROM table_name_26 WHERE visiting_team = ""dallas cowboys"" AND date = ""september 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR) Question: Name the george bush for ronald reagan of 43% [/INST] SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = ""43%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR) Question: What date was the match against carlisle united? [/INST] SELECT date FROM table_name_65 WHERE away_team = ""carlisle united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (races INTEGER, points VARCHAR, season VARCHAR, podiums VARCHAR, wins VARCHAR) Question: What is the sum of Races, when Podiums is less than 3, when Wins is 0, when Season is after 2001, and when Points is 32? [/INST] SELECT SUM(races) FROM table_name_82 WHERE podiums < 3 AND wins = 0 AND season > 2001 AND points = ""32"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR) Question: What is the home team with the ny rangers as the visitor team? [/INST] SELECT home FROM table_name_16 WHERE visitor = ""ny rangers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (venue VARCHAR, winner VARCHAR) Question: where did marie-laure taya win? [/INST] SELECT venue FROM table_name_90 WHERE winner = ""marie-laure taya"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR) Question: On what date was the match higher than 8 on ground A against Guiseley? [/INST] SELECT date FROM table_name_2 WHERE match > 8 AND ground = ""a"" AND opponent = ""guiseley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16976547_2 (vote VARCHAR, eliminated VARCHAR) Question: Name the vote for gigit [/INST] SELECT vote FROM table_16976547_2 WHERE eliminated = ""Gigit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR) Question: Which Name was in the Year 2001? [/INST] SELECT name FROM table_name_32 WHERE year = ""2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (drawn VARCHAR, club VARCHAR) Question: How many draws are for the club senghenydd rfc? [/INST] SELECT drawn FROM table_name_5 WHERE club = ""senghenydd rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR) Question: What Date had a Result of draw, and a Venue of lord's? [/INST] SELECT date FROM table_name_28 WHERE result = ""draw"" AND venue = ""lord's"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140088_6 (race_name VARCHAR, circuit VARCHAR) Question: What race was held at Oulton Park? [/INST] SELECT race_name FROM table_1140088_6 WHERE circuit = ""Oulton Park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13018116_1 (played VARCHAR, pts_agst VARCHAR) Question: What is the number of played when points against 645? [/INST] SELECT COUNT(played) FROM table_13018116_1 WHERE pts_agst = 645 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR, Lname VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR) Question: Show total hours per week and number of games played for student David Shieber. [/INST] SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.Fname = ""David"" AND T2.Lname = ""Shieber"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR) Question: How many total wins does Ballarat FL of East point have when the against is greater than 1000? [/INST] SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = ""east point"" AND against > 1000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23385853_1 (rally_base VARCHAR, rally_name VARCHAR) Question: Name the rally base for rallye de france alsace [/INST] SELECT rally_base FROM table_23385853_1 WHERE rally_name = ""Rallye de France Alsace"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (finish VARCHAR, laps INTEGER) Question: Name the finish with Laps more than 200 [/INST] SELECT finish FROM table_name_17 WHERE laps > 200 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19523142_5 (group_12 VARCHAR, group_9 VARCHAR) Question: Who played in group 12 when Group 9 played psid jombang? [/INST] SELECT group_12 FROM table_19523142_5 WHERE group_9 = ""PSID Jombang"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (player VARCHAR, score VARCHAR) Question: Who scored 69-71=140? [/INST] SELECT player FROM table_name_75 WHERE score = 69 - 71 = 140 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (venue VARCHAR, result VARCHAR) Question: What is the Venue with a Result that is lost? [/INST] SELECT venue FROM table_name_40 WHERE result = ""lost"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR) Question: What type of settlemen is Krušedol Selo? [/INST] SELECT type FROM table_2562572_50 WHERE settlement = ""Krušedol Selo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR) Question: Which home team plays at VFL Park? [/INST] SELECT home_team FROM table_name_36 WHERE venue = ""vfl park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (overs VARCHAR, ground VARCHAR, opponent VARCHAR) Question: How many overs occurred at Waca Ground against Queensland? [/INST] SELECT overs FROM table_name_31 WHERE ground = ""waca ground"" AND opponent = ""queensland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (opponent VARCHAR, date VARCHAR) Question: Which opponent has a date 21 jul 2007? [/INST] SELECT opponent FROM table_name_3 WHERE date = ""21 jul 2007"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR) Question: What is the rank of the country with total more than 3 and more than 6 silver? [/INST] SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (Id VARCHAR) Question: what is 2010 when 2006 is 3r? [/INST] SELECT 2010 FROM table_name_24 WHERE 2006 = ""3r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1965650_9 (position VARCHAR, college_junior_club_team VARCHAR) Question: When kitchener rangers (oha) is the college, junior, or club team what is the position? [/INST] SELECT position FROM table_1965650_9 WHERE college_junior_club_team = ""Kitchener Rangers (OHA)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR, home VARCHAR, visitor VARCHAR) Question: Which date has a Home of washington, a Visitor of florida, and a Record of 8-15-2? [/INST] SELECT date FROM table_name_78 WHERE home = ""washington"" AND visitor = ""florida"" AND record = ""8-15-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year INTEGER, date VARCHAR) Question: What is the average year of the games with the date December 26? [/INST] SELECT AVG(year) FROM table_name_84 WHERE date = ""december 26"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR) Question: Which tie did Huddersfield Town play as an away team? [/INST] SELECT tie_no FROM table_name_87 WHERE away_team = ""huddersfield town"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Birth_Date VARCHAR, Birth_Place VARCHAR, People_ID VARCHAR) Question: What are the birth date and birth place of the body builder with the highest total points? [/INST] SELECT TOP 1 T2.Birth_Date, T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (markatal INTEGER, municipality VARCHAR, inhabitants_per_km² VARCHAR) Question: What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79? [/INST] SELECT MAX(markatal) FROM table_name_69 WHERE municipality = ""leirvík"" AND inhabitants_per_km² > 79 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (races INTEGER, pole VARCHAR, season VARCHAR, flaps VARCHAR, podiums VARCHAR) Question: WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1? [/INST] SELECT SUM(races) FROM table_name_93 WHERE flaps = 0 AND podiums > 0 AND season = ""2008"" AND pole < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR) Question: Who is the player with a 75-68-70=213 score? [/INST] SELECT player FROM table_name_79 WHERE score = 75 - 68 - 70 = 213 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR) Question: What is the sum of people per km2 for the sandoy region with an area of 112.1? [/INST] SELECT SUM(people_per_km²) FROM table_name_41 WHERE regions = ""sandoy"" AND area = 112.1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (away_team VARCHAR) Question: What is the Away team score for Away team North Melbourne? [/INST] SELECT away_team AS score FROM table_name_13 WHERE away_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (long INTEGER, yards VARCHAR, avg_g VARCHAR) Question: What is the sum for the long that has 926 yards and an avg/g less than 84.2? [/INST] SELECT SUM(long) FROM table_name_47 WHERE yards = 926 AND avg_g < 84.2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR) Question: When did St Kilda play a home game? [/INST] SELECT date FROM table_name_91 WHERE home_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR) Question: What was the home team that played at Corio Oval? [/INST] SELECT home_team FROM table_name_15 WHERE venue = ""corio oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (class VARCHAR, year INTEGER) Question: What is the Class after 1986? [/INST] SELECT class FROM table_name_13 WHERE year > 1986 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (games VARCHAR, goals VARCHAR, rank VARCHAR) Question: How many games have 23 goals with a rank greater than 9? [/INST] SELECT COUNT(games) FROM table_name_62 WHERE goals = 23 AND rank > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10621256_1 (player VARCHAR, n_o VARCHAR) Question: what's the player where 50 is 2 and n/o is 0 [/INST] SELECT player FROM table_10621256_1 WHERE 50 = 2 AND n_o = 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (fc_matches VARCHAR, location VARCHAR) Question: What FC Match was played in Darlington? [/INST] SELECT fc_matches FROM table_name_52 WHERE location = ""darlington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (Leading VARCHAR, opponent VARCHAR, record VARCHAR) Question: Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16? [/INST] SELECT Leading AS scorer FROM table_name_59 WHERE opponent = ""@ seattle"" AND record = ""14-16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (gp_gs VARCHAR, effic VARCHAR, avg_g VARCHAR) Question: How many gp-gs have 121.70 as an effic and an avg/g less than 218.7? [/INST] SELECT COUNT(gp_gs) FROM table_name_41 WHERE effic = ""121.70"" AND avg_g < 218.7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE addresses (state_province_county VARCHAR) Question: Show each state and the number of addresses in each state. [/INST] SELECT state_province_county, COUNT(*) FROM addresses GROUP BY state_province_county "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (agg VARCHAR, team_2 VARCHAR) Question: What was the aggregate for the match with a team 2 of Kenya? [/INST] SELECT agg FROM table_name_60 WHERE team_2 = ""kenya"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR) Question: What was the score for the December 11 game against the Ottawa Senators? [/INST] SELECT score FROM table_name_52 WHERE visitor = ""ottawa senators"" AND date = ""december 11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) Question: Who played as the away team when they played at Brunswick Street Oval? [/INST] SELECT away_team FROM table_name_73 WHERE venue = ""brunswick street oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341423_38 (candidates VARCHAR, incumbent VARCHAR) Question: How many candidates were there in the district won by Joe Hoeffel? [/INST] SELECT COUNT(candidates) FROM table_1341423_38 WHERE incumbent = ""Joe Hoeffel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (pursuit VARCHAR, event VARCHAR) Question: Name the pursuit for 1994 lillehammer [/INST] SELECT pursuit FROM table_name_43 WHERE event = ""1994 lillehammer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (result VARCHAR, competition VARCHAR) Question: What was the result of the UEFA Euro 2008 Qualifying competition? [/INST] SELECT result FROM table_name_97 WHERE competition = ""uefa euro 2008 qualifying"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (date VARCHAR, result VARCHAR) Question: What is the date when the result was l 37-3? [/INST] SELECT date FROM table_name_77 WHERE result = ""l 37-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR) Question: How many were in the crowd when there was a game at Junction Oval? [/INST] SELECT SUM(crowd) FROM table_name_88 WHERE venue = ""junction oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (college_junior_club_team VARCHAR, pick__number VARCHAR) Question: Which College/junior/club team has a Pick # of 1? [/INST] SELECT college_junior_club_team FROM table_name_27 WHERE pick__number = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (constructor VARCHAR, year VARCHAR, driver VARCHAR) Question: What was the constructor of the car that Achille Varzi drove before 1937? [/INST] SELECT constructor FROM table_name_2 WHERE year < 1937 AND driver = ""achille varzi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (surface VARCHAR, week VARCHAR) Question: what is the surface for the week of october 25? [/INST] SELECT surface FROM table_name_51 WHERE week = ""october 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (score VARCHAR, country VARCHAR) Question: What is Score, when Country is ""Scotland""? [/INST] SELECT score FROM table_name_47 WHERE country = ""scotland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (points VARCHAR, entrant VARCHAR) Question: How many points did the Tyrrell Racing Organisation have? [/INST] SELECT points FROM table_name_27 WHERE entrant = ""tyrrell racing organisation"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (week INTEGER, attendance VARCHAR) Question: Attendance of 60,671 had what average week? [/INST] SELECT AVG(week) FROM table_name_9 WHERE attendance = 60 OFFSET 671 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team that played against hawthorn? [/INST] SELECT home_team FROM table_name_65 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23915_4 (translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR) Question: What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə? [/INST] SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = ""ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (agg VARCHAR, team_2 VARCHAR) Question: When Partizan is Team 2, what is the Agg? [/INST] SELECT agg FROM table_name_47 WHERE team_2 = ""partizan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (premiere VARCHAR, channel VARCHAR) Question: When was the premiere on the TVB Jade Channel? [/INST] SELECT premiere FROM table_name_86 WHERE channel = ""tvb jade"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) Question: What is the dominant religion in степановићево during 2002? [/INST] SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = ""Степановићево"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (team VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR) Question: WHAT TEAM HAS 12TH TABLE POSITION AND REPLACED BY OVE PEDERSEN? [/INST] SELECT team FROM table_name_98 WHERE position_in_table = ""12th"" AND replaced_by = ""ove pedersen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (drawn VARCHAR, played VARCHAR, lost VARCHAR, goal_difference VARCHAR) Question: How many Drawn have a Lost smaller than 25, and a Goal Difference of +7, and a Played larger than 34? [/INST] SELECT COUNT(drawn) FROM table_name_4 WHERE lost < 25 AND goal_difference = ""+7"" AND played > 34 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (tries_against VARCHAR, try_bonus VARCHAR) Question: With a Try Bonus of 8, what is the Tries Against? [/INST] SELECT tries_against FROM table_name_47 WHERE try_bonus = ""8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) Question: Which Wins have a Goal Difference larger than 12, and a Club of granada cf, and Played larger than 30? [/INST] SELECT AVG(wins) FROM table_name_91 WHERE goal_difference > 12 AND club = ""granada cf"" AND played > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR) Question: When pointers are the nickname what is the type? [/INST] SELECT type FROM table_262495_1 WHERE nickname = ""Pointers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (december INTEGER, opponent VARCHAR, game VARCHAR) Question: What is the sum of the dates in december that were against the atlanta flames before game 40? [/INST] SELECT SUM(december) FROM table_name_88 WHERE opponent = ""atlanta flames"" AND game < 40 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (value VARCHAR, type VARCHAR) Question: What value has negative infinity? [/INST] SELECT value FROM table_name_82 WHERE type = ""negative infinity"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (away_team VARCHAR, venue VARCHAR) Question: What away team played at Western Oval? [/INST] SELECT away_team FROM table_name_75 WHERE venue = ""western oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (score VARCHAR, attendance VARCHAR) Question: What was the score when 2441 people were in attendance? [/INST] SELECT score FROM table_name_17 WHERE attendance = 2441 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (venue VARCHAR, year VARCHAR, position VARCHAR) Question: What was the venue before 2006, with the position of 10th? [/INST] SELECT venue FROM table_name_26 WHERE year < 2006 AND position = ""10th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (notes VARCHAR, bronze VARCHAR) Question: What is Notes, when Bronze is ""Pasi Ikonen""? [/INST] SELECT notes FROM table_name_20 WHERE bronze = ""pasi ikonen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR) Question: When did they play the swindon wildcats away? [/INST] SELECT date FROM table_name_14 WHERE venue = ""away"" AND opponent = ""swindon wildcats"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16275828_4 (program VARCHAR, location VARCHAR) Question: What programs were held in charleston, illinois? [/INST] SELECT program FROM table_16275828_4 WHERE location = ""Charleston, Illinois"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR) Question: The candidate with Riding of st. john's south—mount pearl is what gender? [/INST] SELECT gender FROM table_name_3 WHERE riding = ""st. john's south—mount pearl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR) Question: what is the average fa cup goals when the fa cup apps is 0, total goals is less than 1 and position is df? [/INST] SELECT AVG(fa_cup_goals) FROM table_name_80 WHERE fa_cup_apps = ""0"" AND total_goals < 1 AND position = ""df"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (latitude INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) Question: what is the lowest latitude for the land sqmi less than 32.696 and a water sqmi less than 0 [/INST] SELECT MIN(latitude) FROM table_name_97 WHERE land___sqmi__ < 32.696 AND water__sqmi_ < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (date VARCHAR, label VARCHAR, catalog VARCHAR) Question: What is the date for the Nebula Label, and a nebdjx029 catalog? [/INST] SELECT date FROM table_name_93 WHERE label = ""nebula"" AND catalog = ""nebdjx029"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, opponents VARCHAR) Question: What Date has Opponents of sun shengnan han xinyun? [/INST] SELECT date FROM table_name_2 WHERE opponents = ""sun shengnan han xinyun"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (entrant VARCHAR, year INTEGER) Question: Which entrant was present prior to 1953? [/INST] SELECT entrant FROM table_name_67 WHERE year < 1953 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (goal VARCHAR, time VARCHAR) Question: WHAT GOAL HAS A TIME OF 39:37? [/INST] SELECT goal FROM table_name_45 WHERE time = ""39:37"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (team VARCHAR, fin_pos VARCHAR) Question: Which team had a driver with a finish position of 7? [/INST] SELECT team FROM table_name_85 WHERE fin_pos = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16661199_2 (giants_points VARCHAR, opponents VARCHAR) Question: Name the number of giants points for opponents being 31 [/INST] SELECT COUNT(giants_points) FROM table_16661199_2 WHERE opponents = 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (bronze INTEGER, total VARCHAR, silver VARCHAR) Question: Which Bronze has a Total of 11, and a Silver smaller than 6? [/INST] SELECT MAX(bronze) FROM table_name_59 WHERE total = 11 AND silver < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, vidhan_sabha_constituency VARCHAR) Question: What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)? [/INST] SELECT lok_sabha FROM table_29785324_5 WHERE vidhan_sabha_constituency = ""Karakat (Vidhan Sabha constituency)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (semi_finalists VARCHAR, fourth_place VARCHAR) Question: What semi-finalists has 2 (1993, 2003) as the fourth-place? [/INST] SELECT semi_finalists FROM table_name_1 WHERE fourth_place = ""2 (1993, 2003)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (name VARCHAR, floors VARCHAR) Question: What was the name of the building with 10 floors? [/INST] SELECT name FROM table_name_13 WHERE floors = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (state VARCHAR, host VARCHAR) Question: What state has the University of California, Los Angeles? [/INST] SELECT state FROM table_name_67 WHERE host = ""university of california, los angeles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (position INTEGER, played VARCHAR, points VARCHAR, goals_against VARCHAR) Question: What is the lowest position with 32-6 points and less then 59 goals when there are more than 38 played? [/INST] SELECT MIN(position) FROM table_name_37 WHERE points = ""32-6"" AND goals_against < 59 AND played > 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (venue VARCHAR, runner_up__average_in_final_ VARCHAR) Question: what is the venue when the runner-up (average in final) is wayne jones (94.64)? [/INST] SELECT venue FROM table_name_6 WHERE runner_up__average_in_final_ = ""wayne jones (94.64)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, game_site VARCHAR) Question: Name the result for week less than 7 and game sites of los angeles memorial coliseum [/INST] SELECT result FROM table_name_25 WHERE week < 7 AND game_site = ""los angeles memorial coliseum"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR) Question: What is Greg Norman's place? [/INST] SELECT place FROM table_name_89 WHERE player = ""greg norman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (points VARCHAR, tries VARCHAR, goals VARCHAR) Question: What is the total number of Points with less than 1 tries, and more than 0 goals? [/INST] SELECT COUNT(points) FROM table_name_60 WHERE tries < 1 AND goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (height VARCHAR, name VARCHAR) Question: How tall is Dylan Postl? [/INST] SELECT height FROM table_name_69 WHERE name = ""dylan postl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1147705_1 (engine_type VARCHAR, model VARCHAR) Question: How many have are model 2.4 awd? [/INST] SELECT COUNT(engine_type) FROM table_1147705_1 WHERE model = ""2.4 AWD"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (attendance VARCHAR, result VARCHAR) Question: What was the attendance of the game that had a score of l 35–14? [/INST] SELECT attendance FROM table_name_8 WHERE result = ""l 35–14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (pole_position VARCHAR, date VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) Question: Tell me the pole position for graham hill the fastest lap and winning driver of him on 30 may [/INST] SELECT pole_position FROM table_name_43 WHERE fastest_lap = ""graham hill"" AND winning_driver = ""graham hill"" AND date = ""30 may"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (catalog VARCHAR, label VARCHAR, format VARCHAR) Question: Which Catalog was formated as a CD under the label Alfa Records? [/INST] SELECT catalog FROM table_name_9 WHERE label = ""alfa records"" AND format = ""cd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) Question: What year has a nomination title of ""sangrador""? [/INST] SELECT year__ceremony_ FROM table_name_84 WHERE film_title_used_in_nomination = ""sangrador"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR) Question: Who did the Raiders play in week 12? [/INST] SELECT opponent FROM table_name_25 WHERE week = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1160660_1 (acronym VARCHAR, website VARCHAR) Question: What is the acronym for the school whose website is ul.edu.lb [/INST] SELECT acronym FROM table_1160660_1 WHERE website = ""ul.edu.lb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a record of 70-52? [/INST] SELECT opponent FROM table_name_77 WHERE record = ""70-52"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (silver INTEGER, gold INTEGER) Question: What is the largest silver with less than 0 gold? [/INST] SELECT MAX(silver) FROM table_name_63 WHERE gold < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) Question: What is the score of the game on June 9? [/INST] SELECT score FROM table_name_75 WHERE date = ""june 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) Question: what is the unemployment rate where the market income per capita is $16,406? [/INST] SELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = ""$16,406"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (round INTEGER, rally_hq VARCHAR) Question: Which Round has a Rally HQ of salou? [/INST] SELECT MIN(round) FROM table_name_80 WHERE rally_hq = ""salou"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR) Question: What is the Place that has a Date of 4 august 2012? [/INST] SELECT place FROM table_name_13 WHERE date = ""4 august 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER) Question: What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²? [/INST] SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (rank VARCHAR, wins VARCHAR, country VARCHAR) Question: What is the player from Australia's rank with more than 16 wins? [/INST] SELECT COUNT(rank) FROM table_name_63 WHERE wins > 16 AND country = ""australia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (eliminated_by VARCHAR, elimination VARCHAR) Question: Who's the eliminated by when the elimination was 1? [/INST] SELECT eliminated_by FROM table_name_61 WHERE elimination = ""1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE channel (name VARCHAR, OWNER VARCHAR) Question: What are the names of the channels owned by CCTV or HBS? [/INST] SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR) Question: Who is the Winner, when the Prize is €880,000? [/INST] SELECT winner FROM table_name_98 WHERE prize = ""€880,000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (score VARCHAR, record VARCHAR) Question: What was the score with a 16–14–6 record? [/INST] SELECT score FROM table_name_37 WHERE record = ""16–14–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, silver VARCHAR) Question: Bronze smaller than 5, and a Silver larger than 0 is which nation? [/INST] SELECT nation FROM table_name_66 WHERE bronze < 5 AND silver > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (points INTEGER, against INTEGER) Question: What is the Points with an Against smaller than 16? [/INST] SELECT AVG(points) FROM table_name_51 WHERE against < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (tonnage_grt VARCHAR, ship VARCHAR) Question: what is the tonnage grt of the ship author? [/INST] SELECT tonnage_grt FROM table_name_40 WHERE ship = ""author"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12919003_3 (viewers_millions_ VARCHAR, episode VARCHAR) Question: How many millions of viewers did watch Episode 5? [/INST] SELECT viewers_millions_ FROM table_12919003_3 WHERE episode = ""episode 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (democratic VARCHAR) Question: What's the 2008 Status of Rosa Delauro? [/INST] SELECT 2008 AS _status FROM table_name_15 WHERE democratic = ""rosa delauro"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE players (Id VARCHAR) Question: Find the total number of players. [/INST] SELECT COUNT(*) FROM players
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19834691_4 (timeslot VARCHAR, _number VARCHAR) Question: name the total number of timeslot for number 1 [/INST] SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24912693_4 (field_goals INTEGER, rebounds VARCHAR) Question: How many field goals does the player with 84 rebounds have? [/INST] SELECT MIN(field_goals) FROM table_24912693_4 WHERE rebounds = 84 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (wickets VARCHAR, rank INTEGER) Question: What are the total number of Wickets that ranger higher than 5? [/INST] SELECT COUNT(wickets) FROM table_name_22 WHERE rank > 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12828723_5 (lost VARCHAR) Question: What was the lost with tries for? [/INST] SELECT lost FROM table_12828723_5 WHERE ""tries_for"" = ""tries_for"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (record VARCHAR, h_a_n VARCHAR) Question: What is Record, when H/A/N is n? [/INST] SELECT record FROM table_name_42 WHERE h_a_n = ""n"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (attendance INTEGER, loss VARCHAR) Question: WHICH Attendance that has a Loss of paniagua (3–3)? [/INST] SELECT MAX(attendance) FROM table_name_99 WHERE loss = ""paniagua (3–3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24901152_2 (outcome VARCHAR, partner VARCHAR) Question: When alicia molik is the partner what is the outcome? [/INST] SELECT outcome FROM table_24901152_2 WHERE partner = ""Alicia Molik"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (attendance VARCHAR, result VARCHAR) Question: How many were in attendance with a Result of l 17–10? [/INST] SELECT attendance FROM table_name_76 WHERE result = ""l 17–10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (nation VARCHAR, cyclist VARCHAR) Question: Which nation is Danilo di Luca from? [/INST] SELECT nation FROM table_name_7 WHERE cyclist = ""danilo di luca"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR) Question: Tell me the average top 25 with events of 5 and cuts madde less than 3 [/INST] SELECT AVG(top_25) FROM table_name_33 WHERE events = 5 AND cuts_made < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14465924_1 (population__people_ VARCHAR, area__km_2__ VARCHAR) Question: Name the population of people for area being 24.35 [/INST] SELECT population__people_ FROM table_14465924_1 WHERE area__km_2__ = ""24.35"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER) Question: What is the smallest number of bronze medals with more than 4 gold medals? [/INST] SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) Question: How many dams are there in the Nome (CA) area? [/INST] SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = ""Nome (CA)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (winner VARCHAR, event VARCHAR) Question: Who was the winner from the Rip Curl Pro Search? [/INST] SELECT winner FROM table_name_71 WHERE event = ""rip curl pro search"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (release_date VARCHAR, title VARCHAR) Question: When was sniffles and the bookworm released? [/INST] SELECT release_date FROM table_name_81 WHERE title = ""sniffles and the bookworm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (top_25 INTEGER, top_5 VARCHAR, wins VARCHAR) Question: Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11? [/INST] SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 9 AND wins < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11964047_5 (score VARCHAR, record VARCHAR) Question: what's the score where record is 0–2 [/INST] SELECT score FROM table_11964047_5 WHERE record = ""0–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, money___$__ VARCHAR) Question: What's the score for $22,500? [/INST] SELECT score FROM table_name_62 WHERE money___$__ = ""22,500"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (against VARCHAR, round VARCHAR, surface VARCHAR) Question: Who was the match against when on a clay surface during round 2r? [/INST] SELECT against FROM table_name_19 WHERE round = ""2r"" AND surface = ""clay"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE ref_product_categories (product_category_description VARCHAR, product_category_code VARCHAR) Question: Find the product category description of the product category with code ""Spices"". [/INST] SELECT product_category_description FROM ref_product_categories WHERE product_category_code = ""Spices"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR) Question: In what place is Phil Mickelson? [/INST] SELECT place FROM table_name_65 WHERE player = ""phil mickelson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (home_team VARCHAR, crowd INTEGER) Question: When the Crowd is larger than 23,327, what Home team is playing? [/INST] SELECT home_team FROM table_name_65 WHERE crowd > 23 OFFSET 327 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27756014_1 (high_points VARCHAR, date VARCHAR) Question: How many games were played on october 16? [/INST] SELECT COUNT(high_points) FROM table_27756014_1 WHERE date = ""October 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1939367_1 (arabs_2001 VARCHAR, province VARCHAR) Question: If the province is British Columbia, what is the Arabs 2001 total number? [/INST] SELECT COUNT(arabs_2001) FROM table_1939367_1 WHERE province = ""British Columbia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (grid INTEGER, manufacturer VARCHAR, time VARCHAR) Question: What is Honda's highest grid with a time of +1:38.407? [/INST] SELECT MAX(grid) FROM table_name_61 WHERE manufacturer = ""honda"" AND time = ""+1:38.407"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (entered VARCHAR, celebrity VARCHAR) Question: When did kim woodburn enter? [/INST] SELECT entered FROM table_name_92 WHERE celebrity = ""kim woodburn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR) Question: What is the Main use of transmitter solt in Hungary? [/INST] SELECT main_use FROM table_name_75 WHERE country = ""hungary"" AND name = ""transmitter solt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR) Question: Which Bronze has a Nation of spain? [/INST] SELECT MAX(bronze) FROM table_name_99 WHERE nation = ""spain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (Id VARCHAR) Question: What's the value for 2007 when 2011 is a and 2009 is q2? [/INST] SELECT 2007 FROM table_name_12 WHERE 2011 = ""a"" AND 2009 = ""q2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR, gill VARCHAR) Question: What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e? [/INST] SELECT diameter__km_ FROM table_name_66 WHERE diameter__mi_ = ""8mi"" AND gill = ""e"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) Question: Name the fleet numbers for diagram of 186 and lot number of 30798 [/INST] SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, armor VARCHAR) Question: If the armor is bronze cuirass , linothorax, what are the close ranged weapons? [/INST] SELECT close_ranged_weapons FROM table_27704991_1 WHERE armor = ""Bronze cuirass , Linothorax"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1691800_2 (municipality VARCHAR, area__km²_ VARCHAR) Question: what is the municipality where the area is 73? [/INST] SELECT municipality FROM table_1691800_2 WHERE area__km²_ = 73 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342218_35 (first_elected INTEGER, incumbent VARCHAR) Question: What year was incumbent Michael A. Feighan first elected? [/INST] SELECT MIN(first_elected) FROM table_1342218_35 WHERE incumbent = ""Michael A. Feighan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR) Question: Which seaosn had a player of rohan ricketts? [/INST] SELECT COUNT(season) FROM table_name_26 WHERE player = ""rohan ricketts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, epa_rated_combined_fuel_economy VARCHAR) Question: How many dirty electric grid rocky mountains (denver) vehicles have an epa rated combined fuel economy of 102 mpg-e (33kw-hrs/100mi)? [/INST] SELECT COUNT(dirty_electric_grid_rocky_mountains__denver_) FROM table_23840623_4 WHERE epa_rated_combined_fuel_economy = ""102 mpg-e (33kW-hrs/100mi)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (rebounds INTEGER, name VARCHAR, games VARCHAR) Question: How many Rebounds did Novica Veličković get in less than 22 Games? [/INST] SELECT SUM(rebounds) FROM table_name_6 WHERE name = ""novica veličković"" AND games < 22 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (crowd INTEGER, venue VARCHAR) Question: What is the largest crowd at Lake Oval? [/INST] SELECT MAX(crowd) FROM table_name_52 WHERE venue = ""lake oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17972193_1 (attendance VARCHAR, game_site VARCHAR) Question: How many total number of attendance were there when the game was held in Anaheim Stadium? [/INST] SELECT COUNT(attendance) FROM table_17972193_1 WHERE game_site = ""Anaheim Stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year INTEGER, entrant VARCHAR, points VARCHAR, chassis VARCHAR) Question: What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of löwenbräu team mclaren? [/INST] SELECT MAX(year) FROM table_name_84 WHERE points < 2 AND chassis = ""mclaren m28"" AND entrant = ""löwenbräu team mclaren"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR) Question: What is the name of the document with the most number of sections? [/INST] SELECT TOP 1 t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code GROUP BY t1.document_code ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR) Question: What was the game of the game against the White Sox with a record of 81-48? [/INST] SELECT date FROM table_name_75 WHERE opponent = ""white sox"" AND record = ""81-48"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR) Question: What is the batting style of Makhaya Ntini? [/INST] SELECT batting_style FROM table_name_85 WHERE player = ""makhaya ntini"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (mascot VARCHAR, ihsaa_class VARCHAR, location VARCHAR) Question: Which Mascot has an IHSAA Class of aaa, and a Location of russiaville? [/INST] SELECT mascot FROM table_name_53 WHERE ihsaa_class = ""aaa"" AND location = ""russiaville"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR) Question: What is the D48 when D 43 is plurality ↑?? [/INST] SELECT d_48 FROM table_name_27 WHERE d_43 = ""plurality ↑"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR) Question: Where did Celestino Tugot place? [/INST] SELECT place FROM table_name_43 WHERE player = ""celestino tugot"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16390001_2 (average VARCHAR, swimsuit VARCHAR) Question: What was the average for contestants with a swimsuit score of 8.266? [/INST] SELECT average FROM table_16390001_2 WHERE swimsuit = ""8.266"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR) Question: What is the average round of the match with kevin manderson as the opponent? [/INST] SELECT AVG(round) FROM table_name_18 WHERE opponent = ""kevin manderson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23281862_6 (score VARCHAR, high_rebounds VARCHAR) Question: What's the end score of the game where Shane Battier (8) did the high rebounds? [/INST] SELECT score FROM table_23281862_6 WHERE high_rebounds = ""Shane Battier (8)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (Id VARCHAR) Question: What is 2004, when 2003 is ""1R"", and when 2006 is ""A""? [/INST] SELECT 2004 FROM table_name_20 WHERE 2003 = ""1r"" AND 2006 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR) Question: What is the callsign of Cagayan de Oro with 5kW? [/INST] SELECT callsign FROM table_name_81 WHERE power__kw_ = ""5kw"" AND location = ""cagayan de oro"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR) Question: What was the score of the away team at Junction Oval venue? [/INST] SELECT away_team AS score FROM table_name_8 WHERE venue = ""junction oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1174162_1 (density___km²_ INTEGER, suburb VARCHAR) Question: What is the density in Garran? [/INST] SELECT MIN(density___km²_) FROM table_1174162_1 WHERE suburb = ""Garran"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (ethnic_group VARCHAR, muslims VARCHAR) Question: Which ehtinc group consists of 93% muslims? [/INST] SELECT ethnic_group FROM table_name_58 WHERE muslims = ""93%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR) Question: I want the NGC number for leo of irregular galaxy [/INST] SELECT ngc_number FROM table_name_16 WHERE constellation = ""leo"" AND object_type = ""irregular galaxy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE film (title VARCHAR, replacement_cost INTEGER, LENGTH VARCHAR, rating VARCHAR) Question: Find all the films longer than 100 minutes, or rated PG, except those who cost more than 200 for replacement. List the titles. [/INST] SELECT title FROM film WHERE LENGTH > 100 OR rating = 'PG' EXCEPT SELECT title FROM film WHERE replacement_cost > 200 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16201038_4 (at_neutral_site VARCHAR, overall_record VARCHAR) Question: What is the record at the neutral site for when the overall record is ui, 27-16? [/INST] SELECT at_neutral_site FROM table_16201038_4 WHERE overall_record = ""UI, 27-16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, to_par VARCHAR, player VARCHAR) Question: With a To par of +4, what is Andy Bean's Score? [/INST] SELECT score FROM table_name_21 WHERE to_par = ""+4"" AND player = ""andy bean"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (cuts_made INTEGER, events INTEGER) Question: What are the largest cuts made when the events are less than 21? [/INST] SELECT MAX(cuts_made) FROM table_name_11 WHERE events < 21 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR) Question: Which Winner has a Score of 1 – 0, and a Season of 2011–12? [/INST] SELECT winner FROM table_name_30 WHERE score = ""1 – 0"" AND season = ""2011–12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR) Question: Who was the opponent before week 5 that played on September 23, 2001? [/INST] SELECT opponent FROM table_name_99 WHERE week < 5 AND date = ""september 23, 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date_of_birth__age_ VARCHAR, position VARCHAR, caps VARCHAR) Question: When was the lock with 10 caps born? [/INST] SELECT date_of_birth__age_ FROM table_name_20 WHERE position = ""lock"" AND caps = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR) Question: What is the Place of the couple with a Rank smaller than 7 and 514.55 Points? [/INST] SELECT SUM(placings) FROM table_name_22 WHERE rank < 7 AND points = 514.55 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (album VARCHAR, length VARCHAR) Question: What album is 4:53 long? [/INST] SELECT album FROM table_name_74 WHERE length = ""4:53"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (date VARCHAR, winning_score VARCHAR) Question: When was the winning score –12 (69-66-72-65=272)? [/INST] SELECT date FROM table_name_72 WHERE winning_score = –12(69 - 66 - 72 - 65 = 272) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23128286_1 (wins VARCHAR, team_name VARCHAR) Question: How many wins did he have with carlin motorsport? [/INST] SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = ""Carlin Motorsport"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR) Question: What earpads does the headphone with plastic contruction and was succeeded by igrado have? [/INST] SELECT earpads FROM table_name_67 WHERE construction = ""plastic"" AND succeeded_by = ""igrado"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (country VARCHAR, date VARCHAR) Question: What is the name of the country that has 18 May 2004 as the date? [/INST] SELECT country FROM table_name_27 WHERE date = ""18 may 2004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20360535_3 (television_order VARCHAR, written_by VARCHAR) Question: What TV order is written by gail simone? [/INST] SELECT television_order FROM table_20360535_3 WHERE written_by = ""Gail Simone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (player VARCHAR, nationality VARCHAR, overall VARCHAR) Question: Which Player has a Nationality of united states, and an Overall of 61 (from boston)? [/INST] SELECT player FROM table_name_79 WHERE nationality = ""united states"" AND overall = ""61 (from boston)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (opponent VARCHAR, attendance VARCHAR) Question: Who did the cowboys play when 65,537 attended? [/INST] SELECT opponent FROM table_name_54 WHERE attendance = ""65,537"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (kaz_hayashi VARCHAR, bushi VARCHAR) Question: Name the Kaz Hayashi which has BUSHI of yang (9:43) [/INST] SELECT kaz_hayashi FROM table_name_49 WHERE bushi = ""yang (9:43)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1939405_2 (latin_americans_2011 INTEGER, province VARCHAR) Question: How many Latin Americans were there in the Northwest Territories in 2011? [/INST] SELECT MIN(latin_americans_2011) FROM table_1939405_2 WHERE province = ""Northwest Territories"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (entered_service VARCHAR, gauge VARCHAR, serial_no VARCHAR) Question: What is the date of entered service for the locomotive with a broad gauge and a serial no of 83-1018? [/INST] SELECT entered_service FROM table_name_76 WHERE gauge = ""broad"" AND serial_no = ""83-1018"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR) Question: What are the numbers for the order number 713096-713119? [/INST] SELECT numbers FROM table_2351952_1 WHERE order_number = ""713096-713119"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (drawn INTEGER, lost VARCHAR, points VARCHAR) Question: How many total drawn has less than 4 lost and 8 points? [/INST] SELECT SUM(drawn) FROM table_name_59 WHERE lost < 4 AND points = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR) Question: What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes? [/INST] SELECT MIN(losses) FROM table_name_68 WHERE draws = 0 AND wins < 4 AND byes < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER) Question: Which Week has an Attendance larger than 65,070? [/INST] SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (class VARCHAR, call_sign VARCHAR) Question: Name the class with call sign of k220cp [/INST] SELECT class FROM table_name_2 WHERE call_sign = ""k220cp"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1272844_2 (episode_title VARCHAR, eliminated VARCHAR) Question: What is the name of the episode in which Jenn is eliminated? [/INST] SELECT episode_title FROM table_1272844_2 WHERE eliminated = ""Jenn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10284385_1 (party VARCHAR, date_of_birth VARCHAR) Question: Which politican party has a birthday of November 10, 1880 [/INST] SELECT party FROM table_10284385_1 WHERE date_of_birth = ""November 10, 1880"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, record VARCHAR) Question: What is the largest win percentage when John Gartin is coach, the record is 11-0, and the year is 2009? [/INST] SELECT MAX(win__percentage) FROM table_name_80 WHERE coach = ""john gartin"" AND record = ""11-0"" AND year = ""2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR) Question: what are all the records with a score is w 98–91 [/INST] SELECT record FROM table_11964047_7 WHERE score = ""W 98–91"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR) Question: What was the tv time for the game on week 12? [/INST] SELECT tv_time FROM table_name_76 WHERE week = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR) Question: Which country had a rank smaller than 7 and a time of 1:43.189? [/INST] SELECT country FROM table_name_81 WHERE rank < 7 AND time = ""1:43.189"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (status VARCHAR, configuration VARCHAR, type VARCHAR) Question: for type diesel-mechanical and configuration b-b, what is the status? [/INST] SELECT status FROM table_name_4 WHERE configuration = ""b-b"" AND type = ""diesel-mechanical"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (college VARCHAR, round VARCHAR, pick VARCHAR) Question: Which College has a Round of 11, and a Pick of 14? [/INST] SELECT college FROM table_name_53 WHERE round = 11 AND pick = 14 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (record VARCHAR, loss VARCHAR) Question: What was their record when they lost with Lilly (0-1) pitching? [/INST] SELECT record FROM table_name_6 WHERE loss = ""lilly (0-1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (title VARCHAR, demo VARCHAR) Question: For demo 1.6/5, what is the title? [/INST] SELECT title FROM table_name_37 WHERE demo = ""1.6/5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR) Question: Name the number of records for 30 game [/INST] SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, literate_persons___percentage_ VARCHAR) Question: What is the percentage of all females that are literate people have a percentage of 68.74? [/INST] SELECT females___percentage_ FROM table_14598_9 WHERE literate_persons___percentage_ = ""68.74"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (song VARCHAR, composer VARCHAR, year VARCHAR) Question: What song was composed by V. Selvaganesh later than 2010? [/INST] SELECT song FROM table_name_58 WHERE composer = ""v. selvaganesh"" AND year > 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR) Question: First elected in 1807 1817 in what district? [/INST] SELECT district FROM table_2668336_17 WHERE first_elected = ""1807 1817"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16617025_1 (written_by VARCHAR, season__number VARCHAR) Question: Who wrote Season 8? [/INST] SELECT written_by FROM table_16617025_1 WHERE season__number = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (works_number INTEGER, date VARCHAR, name VARCHAR) Question: What is the total work number of Gowrie after 1875? [/INST] SELECT SUM(works_number) FROM table_name_45 WHERE date > 1875 AND name = ""gowrie"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25352318_1 (poles INTEGER) Question: What is the lowest overall amount of poles? [/INST] SELECT MIN(poles) FROM table_25352318_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (city VARCHAR, built VARCHAR, spire__m_ VARCHAR, roof___m__ VARCHAR) Question: What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96? [/INST] SELECT city FROM table_name_69 WHERE spire__m_ = ""105"" AND roof___m__ < 96 AND built = 1985 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (result VARCHAR, week VARCHAR) Question: What is the result of the week 1 game? [/INST] SELECT result FROM table_name_91 WHERE week = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR) Question: What is the highest number of podiums before 2008 with a 5th position and more than 0 f/laps? [/INST] SELECT MAX(podiums) FROM table_name_62 WHERE season < 2008 AND position = ""5th"" AND f_laps > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) Question: What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated? [/INST] SELECT cardinalatial_order_and_title FROM table_name_84 WHERE elector = ""pedro martínez de luna y gotor"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_238124_1 (platelet_count VARCHAR, condition VARCHAR) Question: What is the platelet count for congenital afibrinogenemia? [/INST] SELECT platelet_count FROM table_238124_1 WHERE condition = ""Congenital afibrinogenemia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20170644_3 (pick__number VARCHAR, college VARCHAR) Question: What number picks were the players who went to Calgary? [/INST] SELECT pick__number FROM table_20170644_3 WHERE college = ""Calgary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (weight VARCHAR, shape VARCHAR, size VARCHAR) Question: What is the weight with the shape of scalloped, and that is a size of 20mm (across scallops)? [/INST] SELECT weight FROM table_name_92 WHERE shape = ""scalloped"" AND size = ""20mm (across scallops)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Apartments (apt_id VARCHAR, apt_type_code VARCHAR); CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR) Question: What are the booking start and end dates of the apartments with type code ""Duplex""? [/INST] SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = ""Duplex"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR) Question: Name the foochow for pingnan county [/INST] SELECT foochow FROM table_2013618_1 WHERE english_name = ""Pingnan County"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (rank INTEGER, notes VARCHAR, time VARCHAR) Question: What is the highest rank for a 6:52.70 time and notes of sa/b? [/INST] SELECT MAX(rank) FROM table_name_56 WHERE notes = ""sa/b"" AND time = ""6:52.70"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (location VARCHAR, runner_up VARCHAR, year VARCHAR) Question: What is the location where ed c. kingsley was the runner-up in 1939? [/INST] SELECT location FROM table_name_63 WHERE runner_up = ""ed c. kingsley"" AND year = ""1939"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (player VARCHAR, average VARCHAR, goals VARCHAR, caps VARCHAR) Question: Who scored more than 8 goals, had more than 75 caps, and averaged 0.432? [/INST] SELECT player FROM table_name_42 WHERE goals > 8 AND caps > 75 AND average = 0.432 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29773532_21 (official_rating_16_39 VARCHAR, episode VARCHAR) Question: What was the official rating 16-39 of episode 9? [/INST] SELECT official_rating_16_39 FROM table_29773532_21 WHERE episode = 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date INTEGER, label VARCHAR, format VARCHAR) Question: What is the earliest date with Great Expectations label with LP format? [/INST] SELECT MIN(date) FROM table_name_92 WHERE label = ""great expectations"" AND format = ""lp"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (coaster_name VARCHAR, location VARCHAR) Question: Which coaster is located in sandusky, Ohio? [/INST] SELECT coaster_name FROM table_name_87 WHERE location = ""sandusky, ohio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR) Question: What is the sum of Pick #, when Position is Guard, and when Round is greater than 2? [/INST] SELECT SUM(pick__number) FROM table_name_36 WHERE position = ""guard"" AND round > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27987768_1 (no_in_series INTEGER, written_by VARCHAR) Question: What number in series was the episode written by Eric Gilliland? [/INST] SELECT MAX(no_in_series) FROM table_27987768_1 WHERE written_by = ""Eric Gilliland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR) Question: What was the total number of rebounds on november 27? [/INST] SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = ""November 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year VARCHAR, mixed_doubles VARCHAR) Question: What year was there no competition in Mixed Doubles? [/INST] SELECT year FROM table_name_45 WHERE mixed_doubles = ""no competition"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (top_10 INTEGER, avg_finish VARCHAR, starts VARCHAR, winnings VARCHAR) Question: What is the average top 10 score for 2 starts, winnings of $135,984 and an average finish more than 43? [/INST] SELECT AVG(top_10) FROM table_name_68 WHERE starts = 2 AND winnings = ""$135,984"" AND avg_finish > 43 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (nets_points INTEGER, game VARCHAR, opponents VARCHAR) Question: What was the average point total for the nets in games before game 9 where the opponents scored less than 95? [/INST] SELECT AVG(nets_points) FROM table_name_62 WHERE game < 9 AND opponents < 95 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (dst_apid VARCHAR) Question: Find the name and city of the airport which is the destination of the most number of routes. [/INST] SELECT TOP 1 T1.name, T1.city, T2.dst_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid GROUP BY T2.dst_apid ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR) Question: What amount of the university students and adults ehre the the senior high school is 26mm? [/INST] SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = ""26mm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR) Question: For majors with 8 events played and more than 1 made cut, what is the most top-10s recorded? [/INST] SELECT MAX(top_10) FROM table_name_9 WHERE cuts_made > 1 AND events = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) Question: What is Opponents In The Final, when Surface is ""Carpet"", and when Tournament is ""Milan , Italy""? [/INST] SELECT opponents_in_the_final FROM table_name_61 WHERE surface = ""carpet"" AND tournament = ""milan , italy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR) Question: How many millions of viewers watched the episode directed by Christine Moore? [/INST] SELECT viewers__in_millions_ FROM table_23255941_1 WHERE directed_by = ""Christine Moore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (appliances VARCHAR, location VARCHAR) Question: What is the appliance at the station in St Neots? [/INST] SELECT appliances FROM table_name_69 WHERE location = ""st neots"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18590048_1 (rank VARCHAR, release_date VARCHAR) Question: How many titles were released on 21 October 1992? [/INST] SELECT COUNT(rank) FROM table_18590048_1 WHERE release_date = ""21 October 1992"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (year INTEGER, result VARCHAR) Question: Tell me the sum of year for 5th result [/INST] SELECT SUM(year) FROM table_name_12 WHERE result = ""5th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (player VARCHAR, round INTEGER) Question: Which Player has a Round larger than 8? [/INST] SELECT player FROM table_name_50 WHERE round > 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR) Question: What is the transfer period for habarugira? [/INST] SELECT transfer_window FROM table_name_16 WHERE name = ""habarugira"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (points VARCHAR, year VARCHAR, entrant VARCHAR) Question: After 1972, how many points did Marlboro Team Alfa Romeo have? [/INST] SELECT points FROM table_name_84 WHERE year > 1972 AND entrant = ""marlboro team alfa romeo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE postseason (year VARCHAR, team_id_winner VARCHAR) Question: What is the number of wins the team Boston Red Stockings got in the postseasons each year in history? [/INST] SELECT COUNT(*), T1.year FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (Id VARCHAR) Question: What is the 2011 value that has ATP Masters Series in 2007? [/INST] SELECT 2011 FROM table_name_34 WHERE 2007 = ""atp masters series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (candidate VARCHAR, race VARCHAR) Question: Who is the candidate in Race for State representative, hd18? [/INST] SELECT candidate FROM table_name_57 WHERE race = ""state representative, hd18"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (league VARCHAR, year VARCHAR) Question: Name the league for 1996 [/INST] SELECT league FROM table_name_90 WHERE year = ""1996"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE pilot (name VARCHAR, age VARCHAR, pilot_id VARCHAR); CREATE TABLE MATCH (winning_pilot VARCHAR) Question: what is the name and age of the youngest winning pilot? [/INST] SELECT TOP 1 t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (date VARCHAR, away_team VARCHAR) Question: What is the date where the away team is Richmond? [/INST] SELECT date FROM table_name_30 WHERE away_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13836704_6 (transit_passengers VARCHAR, airport VARCHAR) Question: How many transit passengers at london gatwick? [/INST] SELECT transit_passengers FROM table_13836704_6 WHERE airport = ""London Gatwick"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, india_state_ut VARCHAR) Question: What is the percentage of literate people where india is andaman and Nicobar Islands? [/INST] SELECT literate_persons___percentage_ FROM table_14598_9 WHERE india_state_ut = ""Andaman and Nicobar Islands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR) Question: What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish? [/INST] SELECT area__acres__ FROM table_30120761_1 WHERE poor_law_union = ""Macroom"" AND civil_parish = ""Macroom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR) Question: What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976? [/INST] SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = ""boston crusaders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (year INTEGER, manager VARCHAR, finish VARCHAR) Question: Name the least year for gene hassell manager and 6th finish [/INST] SELECT MIN(year) FROM table_name_98 WHERE manager = ""gene hassell"" AND finish = ""6th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR) Question: What surface was used when she played with Remi Tezuka? [/INST] SELECT surface FROM table_name_76 WHERE partner = ""remi tezuka"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR) Question: Which publication happened in the UK? [/INST] SELECT publication FROM table_name_75 WHERE country = ""uk"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24018112_1 (brand_name VARCHAR, model__list_ VARCHAR) Question: What brand is model G6xxx? [/INST] SELECT brand_name FROM table_24018112_1 WHERE model__list_ = ""G6xxx"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (total VARCHAR, first_round VARCHAR, finals VARCHAR) Question: Can you tell me the total number of Total that has the First round of 0, and the Finals smaller than 5? [/INST] SELECT COUNT(total) FROM table_name_23 WHERE first_round = ""0"" AND finals < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (tournament VARCHAR) Question: What is 2001, when 1994 is ""A"", and when Tournament is ""Monte Carlo Masters""? [/INST] SELECT 2001 FROM table_name_74 WHERE 1994 = ""a"" AND tournament = ""monte carlo masters"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26757_4 (proto_slavic VARCHAR, serbo_croatian VARCHAR) Question: When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there? [/INST] SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = ""гн(иј)ездо / gn(ij)ezdo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (leading_scorer VARCHAR, visitor VARCHAR, date VARCHAR) Question: Who is the leading scorer for the game on March 22, 2008 with a visitor of Magic? [/INST] SELECT leading_scorer FROM table_name_40 WHERE visitor = ""magic"" AND date = ""march 22, 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16575609_3 (position VARCHAR, player VARCHAR) Question: What position is Justin Shaw in? [/INST] SELECT position FROM table_16575609_3 WHERE player = ""Justin Shaw"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (points INTEGER, tries VARCHAR, player VARCHAR) Question: What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries? [/INST] SELECT MIN(points) FROM table_name_97 WHERE tries > 23 AND player = ""tevita vaikona"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_completion VARCHAR, registration_id VARCHAR) Question: What are the completion dates of all the tests that have result ""Fail""? [/INST] SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = ""Fail"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25923164_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed the episode that had 12.88 million viewers? [/INST] SELECT directed_by FROM table_25923164_1 WHERE us_viewers__million_ = ""12.88"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) Question: what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? [/INST] SELECT score FROM table_name_32 WHERE venue = ""stade général seyni kountché, niamey"" AND competition = ""friendly"" AND date = ""9 october 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, time_required_for_prices_to_double VARCHAR) Question: how many equivalent daily inflation rate with time required for prices to double being 3.7 days [/INST] SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE time_required_for_prices_to_double = ""3.7 days"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18821196_1 (weekly_schedule VARCHAR, country VARCHAR) Question: What is every weekly schedule in the country of Norway? [/INST] SELECT weekly_schedule FROM table_18821196_1 WHERE country = ""Norway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR) Question: What is the lowest time for Paulo Villar in lane 9? [/INST] SELECT MIN(time) FROM table_name_85 WHERE athlete = ""paulo villar"" AND lane < 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR) Question: What city and state are the miners located in? [/INST] SELECT location FROM table_11044765_1 WHERE mascot = ""Miners"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR) Question: Show the names of the three most recent festivals. [/INST] SELECT TOP 3 Festival_Name FROM festival_detail ORDER BY YEAR DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28802165_1 (civil_parish VARCHAR, townland VARCHAR) Question: What is the civil parish of Aghafullim? [/INST] SELECT civil_parish FROM table_28802165_1 WHERE townland = ""Aghafullim"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13011547_1 (new_hampshire VARCHAR, year VARCHAR) Question: What is the new hampshire in 2009? [/INST] SELECT new_hampshire FROM table_13011547_1 WHERE year = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) Question: What is the height of the player who attended Hartford? [/INST] SELECT height_in_ft FROM table_11734041_2 WHERE school_club_team_country = ""Hartford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE station (name VARCHAR, LOCATION VARCHAR, number_of_platforms VARCHAR) Question: Show the name, location, and number of platforms for all stations. [/INST] SELECT name, LOCATION, number_of_platforms FROM station "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17323042_8 (date VARCHAR, team VARCHAR) Question: When did they play Miami? [/INST] SELECT date FROM table_17323042_8 WHERE team = ""Miami"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR) Question: Which home team played Hawthorn as the away team? [/INST] SELECT home_team FROM table_name_44 WHERE away_team = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (home_team VARCHAR) Question: In fitzroy's match where they were the home team, how much did they score? [/INST] SELECT home_team AS score FROM table_name_7 WHERE home_team = ""fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE head (head_id VARCHAR, name VARCHAR) Question: Which head's name has the substring 'Ha'? List the id and name. [/INST] SELECT head_id, name FROM head WHERE name LIKE '%Ha%' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (attempts VARCHAR, team VARCHAR, yards VARCHAR) Question: What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249? [/INST] SELECT attempts FROM table_name_42 WHERE team = ""iowa"" AND yards = ""2,249"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (class VARCHAR, drivers VARCHAR) Question: What class is Rob Collard in? [/INST] SELECT class FROM table_name_28 WHERE drivers = ""rob collard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR) Question: show the train name and station name for each train. [/INST] SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR) Question: Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross? [/INST] SELECT local_authority FROM table_name_46 WHERE zone_2007 = ""outside zones"" AND zone_2008 = ""outside zones"" AND zone_2010 = ""outside zones"" AND station = ""waltham cross"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) Question: Which actor plays the character Helga Beimer? [/INST] SELECT actor FROM table_name_83 WHERE character = ""helga beimer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: What is the to par of player Tim Herron from the United States with a t3 place? [/INST] SELECT to_par FROM table_name_47 WHERE country = ""united states"" AND place = ""t3"" AND player = ""tim herron"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (date VARCHAR, attendance VARCHAR) Question: What is the date that 4,286 attended? [/INST] SELECT date FROM table_name_15 WHERE attendance = ""4,286"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (outcome VARCHAR, opponent_in_the_final VARCHAR) Question: What is Outcome, when Opponent in The Final is ""Bill Scanlon""? [/INST] SELECT outcome FROM table_name_98 WHERE opponent_in_the_final = ""bill scanlon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE airports (elevation INTEGER, country VARCHAR) Question: What is the maximum elevation of all airports in the country of Iceland? [/INST] SELECT MAX(elevation) FROM airports WHERE country = 'Iceland' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (attendance VARCHAR, venue VARCHAR) Question: What is the number in attendance at Los Angeles Memorial Coliseum? [/INST] SELECT COUNT(attendance) FROM table_name_68 WHERE venue = ""los angeles memorial coliseum"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2114238_1 (archive VARCHAR, run_time VARCHAR) Question: Which archive has a run time of 23:48? [/INST] SELECT archive FROM table_2114238_1 WHERE run_time = ""23:48"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR) Question: Name the length for class of gts-2 and date of october 8 [/INST] SELECT length FROM table_name_27 WHERE class = ""gts-2"" AND date = ""october 8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR) Question: What is the score March 27? [/INST] SELECT score FROM table_name_55 WHERE date = ""march 27"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11603006_1 (location VARCHAR, score VARCHAR) Question: How many different locations have the score 207 (-10)? [/INST] SELECT COUNT(location) FROM table_11603006_1 WHERE score = ""207 (-10)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668378_5 (party VARCHAR, district VARCHAR) Question: Name the number of party for kentucky 1 [/INST] SELECT COUNT(party) FROM table_2668378_5 WHERE district = ""Kentucky 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR) Question: Which school did player Rodney Purvis belong to? [/INST] SELECT school FROM table_name_32 WHERE player = ""rodney purvis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (year VARCHAR) Question: what is 2001 when the year is ebitda and 2009 is less than 3,600? [/INST] SELECT SUM(2001) FROM table_name_73 WHERE year = ""ebitda"" AND 2009 < 3 OFFSET 600 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (superlative VARCHAR, actress VARCHAR) Question: Which award has Thelma Ritter won? [/INST] SELECT superlative FROM table_name_56 WHERE actress = ""thelma ritter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15717093_1 (season__number INTEGER, series__number VARCHAR) Question: What season number corresponds to series number 102? [/INST] SELECT MAX(season__number) FROM table_15717093_1 WHERE series__number = 102 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) Question: How many laps did Ricardo Zonta have? [/INST] SELECT SUM(laps) FROM table_name_69 WHERE driver = ""ricardo zonta"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (team VARCHAR, sport VARCHAR, class VARCHAR) Question: Which baseball team is class AAA? [/INST] SELECT team FROM table_name_75 WHERE sport = ""baseball"" AND class = ""aaa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR) Question: What was Richmond's highest attendance? [/INST] SELECT MAX(crowd) FROM table_name_46 WHERE home_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR) Question: What position does gerald carter play? [/INST] SELECT position FROM table_name_52 WHERE player = ""gerald carter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE singer (song_name VARCHAR, age INTEGER) Question: List all song names by singers above the average age. [/INST] SELECT song_name FROM singer WHERE age > (SELECT AVG(age) FROM singer) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (time VARCHAR, local_networked VARCHAR, ad_freq VARCHAR) Question: What time that is networked has an ad freq of 20 minutes until 7pm? [/INST] SELECT time FROM table_name_13 WHERE local_networked = ""networked"" AND ad_freq = ""20 minutes until 7pm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score VARCHAR, result VARCHAR) Question: What was the final score when the result was 4-0? [/INST] SELECT score FROM table_name_1 WHERE result = ""4-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (height__cm_ VARCHAR, birthplace VARCHAR) Question: What is the 1999-2000 team, when the Height (cm) is less than 187, and when the Birthplace is Cloquet, Minnesota? [/INST] SELECT 1999 AS _2000_team FROM table_name_93 WHERE height__cm_ < 187 AND birthplace = ""cloquet, minnesota"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13498403_1 (barrier VARCHAR, jockey VARCHAR) Question: How old is Darryll Holland's horse [/INST] SELECT barrier FROM table_13498403_1 WHERE jockey = ""Darryll Holland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1969634_1 (enrollment VARCHAR, location VARCHAR) Question: What is the total enrollment for the school in garden city, new york? [/INST] SELECT enrollment FROM table_1969634_1 WHERE location = ""Garden City, New York"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR) Question: Which Zone 2008 has Services of greater anglia, and a Station of cheshunt? [/INST] SELECT zone_2008 FROM table_name_17 WHERE services = ""greater anglia"" AND station = ""cheshunt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR) Question: Which Away team has a Home team of al-ain fc, and a Score of 1–1? [/INST] SELECT away_team FROM table_name_58 WHERE home_team = ""al-ain fc"" AND score = ""1–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, foreign_box_office VARCHAR) Question: What was the domestic box office for the film that had a foreign box office of $26,600,000? [/INST] SELECT domestic_box_office FROM table_2203760_4 WHERE foreign_box_office = ""$26,600,000"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR) Question: What is Robert Allenby's average to par score? [/INST] SELECT AVG(to_par) FROM table_name_88 WHERE player = ""robert allenby"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR) Question: Which Election has a Party of democratic party, and a Mayor of leonardo betti? [/INST] SELECT MAX(election) FROM table_name_52 WHERE party = ""democratic party"" AND mayor = ""leonardo betti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER) Question: What is the smallest rank for passengers more than 73,754? [/INST] SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR) Question: When united arab emirates is the country how many fastest qualifying are there? [/INST] SELECT COUNT(fastest_qualifying) FROM table_26358264_2 WHERE country = ""United Arab Emirates"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) Question: What is the date of the tournament with carlos moyà as the opponent? [/INST] SELECT date FROM table_name_6 WHERE opponent = ""carlos moyà"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (frequency VARCHAR, location VARCHAR) Question: Which frequency is located in Davao? [/INST] SELECT frequency FROM table_name_35 WHERE location = ""davao"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR) Question: In what venue was the away team South Melbourne? [/INST] SELECT venue FROM table_name_62 WHERE away_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24039597_26 (matches VARCHAR, player VARCHAR) Question: What ist he matches where the player is ms dhoni? [/INST] SELECT matches FROM table_24039597_26 WHERE player = ""MS Dhoni"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (valid_poll INTEGER, constituency VARCHAR) Question: Name the least valid poll for munster [/INST] SELECT MIN(valid_poll) FROM table_name_50 WHERE constituency = ""munster"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2889300_6 (years_available VARCHAR, kickdrum_pad VARCHAR) Question: in which year was available the rubber as kickdrum pad [/INST] SELECT years_available FROM table_2889300_6 WHERE kickdrum_pad = ""Rubber"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (year INTEGER, title VARCHAR) Question: What average year contains the title of machineries of joy vol. 4? [/INST] SELECT AVG(year) FROM table_name_54 WHERE title = ""machineries of joy vol. 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) Question: Who was the runner-up for the mazda senior tournament players championship tournament when the margin of victory was 2 strokes? [/INST] SELECT runner_s__up FROM table_name_86 WHERE margin_of_victory = ""2 strokes"" AND tournament = ""mazda senior tournament players championship"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Ref_Document_Status (document_status_code VARCHAR) Question: What document status codes do we have? [/INST] SELECT document_status_code FROM Ref_Document_Status
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (rank VARCHAR, start VARCHAR) Question: What ranking that had a start of 19? [/INST] SELECT rank FROM table_name_72 WHERE start = ""19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27906667_2 (legs_won INTEGER, player VARCHAR) Question: How many legs were own by alan tabern? [/INST] SELECT MAX(legs_won) FROM table_27906667_2 WHERE player = ""Alan Tabern"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26986076_5 (mon_23_aug VARCHAR, tues_24_aug VARCHAR) Question: When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd? [/INST] SELECT mon_23_aug FROM table_26986076_5 WHERE tues_24_aug = ""21' 18.87 106.209mph"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (decile INTEGER, area VARCHAR) Question: What is the smallest decile with an Area of otumoetai? [/INST] SELECT MIN(decile) FROM table_name_60 WHERE area = ""otumoetai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (attendance INTEGER, date VARCHAR) Question: How many people attended on July 5? [/INST] SELECT SUM(attendance) FROM table_name_10 WHERE date = ""july 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR) Question: What are the names of products with category ""Spices""? [/INST] SELECT product_name FROM products WHERE product_category_code = ""Spices"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14962287_1 (fa_cup VARCHAR, total VARCHAR) Question: which fa cups had a total of 565 (7)? [/INST] SELECT fa_cup FROM table_14962287_1 WHERE total = ""565 (7)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR) Question: What is the IHSAA class with 395 in enrollment? [/INST] SELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (crowd VARCHAR, away_team VARCHAR) Question: How large was the crowd when North Melbourne played as the away team? [/INST] SELECT crowd FROM table_name_62 WHERE away_team = ""north melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE HOST (Nationality VARCHAR) Question: Show different nationalities along with the number of hosts of each nationality. [/INST] SELECT Nationality, COUNT(*) FROM HOST GROUP BY Nationality "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (release_date VARCHAR, multi_1 VARCHAR) Question: When was the release date for technology that has a Multi 1 of 10.5×? [/INST] SELECT release_date FROM table_name_72 WHERE multi_1 = ""10.5×"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17516922_1 (play_by_play VARCHAR, network VARCHAR, sideline_reporters VARCHAR) Question: Who had the play-by-play on espn with sideline reporter monica gonzalez? [/INST] SELECT play_by_play FROM table_17516922_1 WHERE network = ""ESPN"" AND sideline_reporters = ""Monica Gonzalez"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) Question: On what date were the Melbourne Tigers the home team? [/INST] SELECT date FROM table_name_83 WHERE home_team = ""melbourne tigers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (class VARCHAR, identifier VARCHAR) Question: What Class has the Identifier of CBFX-FM-6? [/INST] SELECT class FROM table_name_21 WHERE identifier = ""cbfx-fm-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR) Question: Which Circuit has a Winning Driver of hans-joachim stuck, and a Round of 3? [/INST] SELECT circuit FROM table_name_74 WHERE winning_driver = ""hans-joachim stuck"" AND round = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (votes INTEGER, party VARCHAR) Question: Name the average votes for one london [/INST] SELECT AVG(votes) FROM table_name_22 WHERE party = ""one london"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (home VARCHAR, time VARCHAR) Question: What is the Home with a Time that is 12:00? [/INST] SELECT home FROM table_name_34 WHERE time = ""12:00"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (date VARCHAR, winning_score VARCHAR) Question: What day was the winning score –16 (67-70-69-66=272)? [/INST] SELECT date FROM table_name_16 WHERE winning_score = –16(67 - 70 - 69 - 66 = 272) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (track INTEGER, writer_s_ VARCHAR, time VARCHAR) Question: What's the smallest track written by dennis linde that's 2:50 minutes long [/INST] SELECT MIN(track) FROM table_name_37 WHERE writer_s_ = ""dennis linde"" AND time = ""2:50"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE member (name VARCHAR, member_id VARCHAR, Membership_card VARCHAR, age VARCHAR) Question: Find the ids and names of members who are under age 30 or with black membership card. [/INST] SELECT name, member_id FROM member WHERE Membership_card = 'Black' OR age < 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27755603_7 (high_assists VARCHAR, team VARCHAR) Question: Who had the most assists agains New Orleans? [/INST] SELECT high_assists FROM table_27755603_7 WHERE team = ""New Orleans"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_287659_2 (region_name VARCHAR, regional_page__number VARCHAR) Question: Which region has a regional page # of 1-3, 5-7, 9-11, 13-15? [/INST] SELECT region_name FROM table_287659_2 WHERE regional_page__number = ""1-3, 5-7, 9-11, 13-15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, friend_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR) Question: Show the names of all of the high schooler Kyle's friends. [/INST] SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = ""Kyle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26041144_11 (rank VARCHAR, average VARCHAR) Question: What is the rank of the player with the 39.69 average? [/INST] SELECT rank FROM table_26041144_11 WHERE average = ""39.69"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR) Question: Name the total number of japanese for amagasaki [/INST] SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = ""Amagasaki"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR) Question: Which Opponent has a Location/Attendance of delta center/19,911 on dec 6? [/INST] SELECT opponent FROM table_name_63 WHERE location_attendance = ""delta center/19,911"" AND date = ""dec 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27487712_1 (result VARCHAR, district VARCHAR) Question: What was the result of the election for georgia's 3rd district? [/INST] SELECT result FROM table_27487712_1 WHERE district = ""Georgia's 3rd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR) Question: What is the average played value in Belgrade with attendance greater than 26,222? [/INST] SELECT AVG(played) FROM table_name_83 WHERE city = ""belgrade"" AND average_attendance > 26 OFFSET 222 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR) Question: Which model has the least amount of RAM? List the model name and the amount of RAM. [/INST] SELECT TOP 1 Model_name, RAM_MiB FROM chip_model ORDER BY RAM_MiB "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (total VARCHAR, set_1 VARCHAR) Question: What is the total when the score of set 1 was 15–11? [/INST] SELECT total FROM table_name_68 WHERE set_1 = ""15–11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR) Question: What score has an opponent gan teik chai lin woon fui? [/INST] SELECT score FROM table_name_6 WHERE opponent = ""gan teik chai lin woon fui"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR) Question: Name the number of incumbents for texas 12 [/INST] SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = ""Texas 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE STUDENT (StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR) Question: Find the number of students whose city code is NYC and who have class senator votes in the spring election cycle. [/INST] SELECT COUNT(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = Class_Senator_Vote WHERE T1.city_code = ""NYC"" AND T2.Election_Cycle = ""Spring"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2071644_1 (flange_width__mm_ VARCHAR, cross_section_area__cm_2__ VARCHAR) Question: What is the flange width (mm) for cross section area (cm 2) 16.4? [/INST] SELECT COUNT(flange_width__mm_) FROM table_2071644_1 WHERE cross_section_area__cm_2__ = ""16.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (location VARCHAR, lineup VARCHAR, date VARCHAR) Question: What is the location on 2008-06-17 when the lineup was start? [/INST] SELECT location FROM table_name_3 WHERE lineup = ""start"" AND date = ""2008-06-17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (class VARCHAR, jockey VARCHAR, time VARCHAR) Question: Which Class has a Jockey of michael kinane on 2:27.71? [/INST] SELECT class FROM table_name_50 WHERE jockey = ""michael kinane"" AND time = ""2:27.71"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28059992_1 (cfl_team VARCHAR, college VARCHAR) Question: What is every CFL team from the Calgary college? [/INST] SELECT cfl_team FROM table_28059992_1 WHERE college = ""Calgary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (rank INTEGER, title VARCHAR) Question: What is the rank of American Pie 2? [/INST] SELECT MIN(rank) FROM table_name_4 WHERE title = ""american pie 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) Question: Which broadcast date has 6.8 million viewers? [/INST] SELECT broadcast_date FROM table_2114238_1 WHERE viewers__in_millions_ = ""6.8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (roll VARCHAR, area VARCHAR) Question: Which roll has an Area of mahia? [/INST] SELECT roll FROM table_name_2 WHERE area = ""mahia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR) Question: For how long did Jordan Coleman play? [/INST] SELECT minutes FROM table_22993636_5 WHERE player = ""Jordan Coleman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE professionals (role_code VARCHAR, street VARCHAR, city VARCHAR, state VARCHAR) Question: Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state. [/INST] SELECT role_code, street, city, state FROM professionals WHERE city LIKE '%West%' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (Id VARCHAR) Question: Name the 1821 with 1811 of 1921 [/INST] SELECT 1821 FROM table_name_1 WHERE 1811 = ""1921"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR) Question: Who had the most assists in the game against Atlanta? [/INST] SELECT high_assists FROM table_name_13 WHERE team = ""atlanta"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (place VARCHAR, country VARCHAR, player VARCHAR) Question: What is Place, when Country is ""United States"", and when Player is ""Lee Trevino""? [/INST] SELECT place FROM table_name_41 WHERE country = ""united states"" AND player = ""lee trevino"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR) Question: Which Track(s) is on 18 november 1985? [/INST] SELECT track_s_ FROM table_name_86 WHERE date = ""18 november 1985"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR) Question: What was the rating/share for 18-49 for the episode that had 5.90 million viewers? [/INST] SELECT rating / NULLIF(SHARE(18 - 49), 0) FROM table_23730973_5 WHERE viewers__millions_ = ""5.90"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR) Question: How many league cups associated with under 10 championships and a total of under 3? [/INST] SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (rank VARCHAR, team VARCHAR, points VARCHAR) Question: Which rank has a team of Suzuki with under 16 points? [/INST] SELECT rank FROM table_name_96 WHERE team = ""suzuki"" AND points < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (laps INTEGER, grid VARCHAR, driver VARCHAR) Question: what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio? [/INST] SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = ""juan manuel fangio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (to_par VARCHAR, score VARCHAR) Question: Which To par has a Score of 70-73-80-68=291? [/INST] SELECT to_par FROM table_name_97 WHERE score = 70 - 73 - 80 - 68 = 291 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (report VARCHAR, winning_driver VARCHAR) Question: What Report has a Winning driver of mario razzauti? [/INST] SELECT report FROM table_name_72 WHERE winning_driver = ""mario razzauti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (uci_points VARCHAR, team VARCHAR) Question: How many UCI points did Rabobank score? [/INST] SELECT uci_points FROM table_name_88 WHERE team = ""rabobank"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR) Question: In the match as corio oval, who was the away team? [/INST] SELECT away_team FROM table_name_29 WHERE venue = ""corio oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed an episode with 1.19 million? [/INST] SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = ""1.19"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_18 (ansi_code INTEGER, land___sqmi__ VARCHAR) Question: What is the ANSI code of the township where the area is 35.737 square miles? [/INST] SELECT MIN(ansi_code) FROM table_18600760_18 WHERE land___sqmi__ = ""35.737"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (february INTEGER, record VARCHAR, game VARCHAR) Question: What is listed as the highest February with a Record of 34-14-4 and Game that's larger than 52? [/INST] SELECT MAX(february) FROM table_name_51 WHERE record = ""34-14-4"" AND game > 52 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR) Question: What is the number of Ashmolean with 14s Harrison, and image less than 542? [/INST] SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = ""14s"" AND image < 542 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16799784_14 (diameter__km_ VARCHAR, latitude VARCHAR) Question: How many numbers are listed under diameter with a lattitude of 5.0n? [/INST] SELECT COUNT(diameter__km_) FROM table_16799784_14 WHERE latitude = ""5.0N"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a record of 4-2? [/INST] SELECT opponent FROM table_name_55 WHERE record = ""4-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1305623_20 (gold_medals INTEGER, ensemble VARCHAR) Question: What is the highest number of gold medals Naugatuck HS won? [/INST] SELECT MAX(gold_medals) FROM table_1305623_20 WHERE ensemble = ""Naugatuck HS"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR) Question: Which score has a Surface of hardcourt, and a Date of september 30, 1984? [/INST] SELECT score FROM table_name_39 WHERE surface = ""hardcourt"" AND date = ""september 30, 1984"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26847237_1 (win_loss VARCHAR, round__number VARCHAR) Question: Was it a win or loss for Wanganui in round 3? [/INST] SELECT win_loss FROM table_26847237_1 WHERE round__number = ""Round 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (caps INTEGER, position VARCHAR, club_province VARCHAR) Question: What is the high cap total for a lock with the vicenza rangers? [/INST] SELECT MAX(caps) FROM table_name_55 WHERE position = ""lock"" AND club_province = ""vicenza rangers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_3 (county VARCHAR, latitude VARCHAR) Question: What was the county with a latitude of 46.770977? [/INST] SELECT county FROM table_18600760_3 WHERE latitude = ""46.770977"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR) Question: What is the percentage of others when the number for Bush is 1329? [/INST] SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) Question: Which Round has a School/Club Team of indiana, and a Pick smaller than 198? [/INST] SELECT AVG(round) FROM table_name_85 WHERE school_club_team = ""indiana"" AND pick < 198 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR) Question: Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7? [/INST] SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = ""768"" AND crude_birth_rate__per_1000_ < 29.7 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE WINE (Winery VARCHAR) Question: Find the wineries that have at least four wines. [/INST] SELECT Winery FROM WINE GROUP BY Winery HAVING COUNT(*) >= 4
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR) Question: On what date was the away team Sheffield Wednesday? [/INST] SELECT date FROM table_name_51 WHERE away_team = ""sheffield wednesday"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (status VARCHAR, park VARCHAR) Question: Name the status for six flags new england [/INST] SELECT status FROM table_name_29 WHERE park = ""six flags new england"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the team 2 for team 1 of Valletta? [/INST] SELECT team_2 FROM table_name_60 WHERE team_1 = ""valletta"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (nominated_work VARCHAR, year INTEGER) Question: What was the Nominated Work earlier than 2003? [/INST] SELECT nominated_work FROM table_name_85 WHERE year < 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16010376_1 (bullet_weight VARCHAR, source VARCHAR) Question: What is the weight of the bullet used in a Remington? [/INST] SELECT bullet_weight FROM table_16010376_1 WHERE source = ""Remington"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30062172_3 (gt3_winner VARCHAR, pole_position VARCHAR) Question: When tim bridgman gregor fisken is the pole position who is the gt3 winner? [/INST] SELECT gt3_winner FROM table_30062172_3 WHERE pole_position = ""Tim Bridgman Gregor Fisken"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR) Question: How many laps were driven in 2:54:23.8? [/INST] SELECT SUM(laps) FROM table_name_45 WHERE time_retired = ""2:54:23.8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (points_for VARCHAR, points_against VARCHAR) Question: Name the points for when points against is of 450 [/INST] SELECT points_for FROM table_name_97 WHERE points_against = ""450"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10701133_1 (no_in_season INTEGER) Question: What is the highest no. in season? [/INST] SELECT MAX(no_in_season) FROM table_10701133_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR) Question: If the letters is φαν, what is the founding date? [/INST] SELECT founding_date FROM table_2538117_7 WHERE letters = ""ΦΑΝ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (grade VARCHAR, chin_up__reps_ VARCHAR) Question: If a person does 3 chin-up reps, what grade do they obtain? [/INST] SELECT grade FROM table_name_43 WHERE chin_up__reps_ = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR) Question: what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? [/INST] SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (score VARCHAR, team_2 VARCHAR) Question: What was the score of the game when team 2 was club valencia? [/INST] SELECT score FROM table_name_70 WHERE team_2 = ""club valencia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341423_40 (first_elected INTEGER, results VARCHAR, district VARCHAR) Question: what is the earliest first elected with the results re-elected in the district south carolina 3? [/INST] SELECT MAX(first_elected) FROM table_1341423_40 WHERE results = ""Re-elected"" AND district = ""South Carolina 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR) Question: Name the loss for series 2-2 [/INST] SELECT loss FROM table_name_90 WHERE series = ""2-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR) Question: What was the team's record on November 12? [/INST] SELECT record FROM table_name_38 WHERE date = ""november 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR) Question: Who is the required actor when Robert Austin was the actor in the original production? [/INST] SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = ""robert austin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR) Question: What is Chris Riley's Money? [/INST] SELECT money___$__ FROM table_name_46 WHERE player = ""chris riley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) Question: What was the score on August 19? [/INST] SELECT score FROM table_name_65 WHERE date = ""august 19"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE CUSTOMERS (Id VARCHAR) Question: How many customers do we have? [/INST] SELECT COUNT(*) FROM CUSTOMERS
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (date VARCHAR, game VARCHAR) Question: On what day was Game 48 played? [/INST] SELECT date FROM table_name_39 WHERE game = 48 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE FACULTY (Fname VARCHAR, Lname VARCHAR, FacID VARCHAR); CREATE TABLE MEMBER_OF (FacID VARCHAR, DNO VARCHAR) Question: Find the full names of faculties who are members of department with department number 520. [/INST] SELECT T1.Fname, T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID = T2.FacID WHERE T2.DNO = 520 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR) Question: Who was played against with a result of 3–6, 2–6? [/INST] SELECT against FROM table_name_99 WHERE result = ""3–6, 2–6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR) Question: Who played against team 1 Vitória? [/INST] SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = ""Vitória"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR) Question: What game was held against a team with a 6-3 record against the Cowboys? [/INST] SELECT game FROM table_22801331_1 WHERE record = ""6-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR) Question: What are the names of wines that are more expensive then all wines made in the year 2006? [/INST] SELECT Name FROM WINE WHERE Price > (SELECT MAX(Price) FROM WINE WHERE YEAR = 2006) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1723080_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) Question: What is run time when there were 7.4 million viewers? [/INST] SELECT run_time FROM table_1723080_1 WHERE viewers__in_millions_ = ""7.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR) Question: What was the final rank of the Brewers when they achieved a win percentage of .585? [/INST] SELECT finish FROM table_name_79 WHERE win__percentage = "".585"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE participants_in_Events (participant_id VARCHAR) Question: What are all the distinct participant ids who attended any events? [/INST] SELECT COUNT(DISTINCT participant_id) FROM participants_in_Events
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (gold INTEGER, rank VARCHAR, bronze VARCHAR) Question: How many Golds did the country with a Rank better than 5 and more Bronze than 1 receive? [/INST] SELECT SUM(gold) FROM table_name_76 WHERE rank < 5 AND bronze > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (points VARCHAR, chassis VARCHAR) Question: Tell me the total number of points with chassis of tf103 [/INST] SELECT COUNT(points) FROM table_name_2 WHERE chassis = ""tf103"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Highschooler (id VARCHAR); CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (grade INTEGER, id VARCHAR) Question: Find the minimum grade of students who have no friends. [/INST] SELECT MIN(grade) FROM Highschooler WHERE NOT id IN (SELECT T1.student_id FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR) Question: what is the place when the score is 70-72=142? [/INST] SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (country VARCHAR, supermarkets VARCHAR) Question: What country has 370 supermarkets? [/INST] SELECT country FROM table_name_47 WHERE supermarkets = ""370"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (high_points VARCHAR, series VARCHAR) Question: With a 0-2 series, what is the high points? [/INST] SELECT high_points FROM table_name_23 WHERE series = ""0-2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) Question: Find the first and last name of all the teachers that teach EVELINA BROMLEY. [/INST] SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = ""EVELINA"" AND T1.lastname = ""BROMLEY"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR) Question: For years before 1996, having a rank of 3rd in the 125cc class, what is the sum of the points? [/INST] SELECT SUM(points) FROM table_name_65 WHERE class = ""125cc"" AND rank = ""3rd"" AND year < 1996 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (year VARCHAR, guernsey_record VARCHAR) Question: What year was the Guernsey record of 2-3-12 set? [/INST] SELECT year FROM table_name_75 WHERE guernsey_record = ""2-3-12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR) Question: Which country scored 66-68=134? [/INST] SELECT country FROM table_name_60 WHERE score = 66 - 68 = 134 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR) Question: what's the frequency mhz with city of license being chattanooga, tennessee [/INST] SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = ""Chattanooga, Tennessee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR) Question: Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani? [/INST] SELECT constructor FROM table_name_77 WHERE entrant = ""officine alfieri maserati"" AND driver = ""sergio mantovani"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13940275_5 (tries_against VARCHAR, try_bonus VARCHAR) Question: what's the tries against with try bonus being 10 [/INST] SELECT tries_against FROM table_13940275_5 WHERE try_bonus = ""10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR) Question: Who had the pole at the French Grand Prix? [/INST] SELECT pole_position FROM table_name_86 WHERE grand_prix = ""french grand prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722408_10 (record VARCHAR, game VARCHAR) Question: Name the total number of record for 61 [/INST] SELECT COUNT(record) FROM table_27722408_10 WHERE game = 61 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR) Question: What is listed in notes for the athlete, lassi karonen? [/INST] SELECT notes FROM table_name_46 WHERE athlete = ""lassi karonen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (year INTEGER, record VARCHAR) Question: What's the highest Year with the Record of 18-12? [/INST] SELECT MAX(year) FROM table_name_23 WHERE record = ""18-12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29997127_4 (team VARCHAR, date VARCHAR) Question: What team did the suns play on April 21? [/INST] SELECT team FROM table_29997127_4 WHERE date = ""April 21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (year VARCHAR, notes VARCHAR) Question: Which Year has Notes of 87.17 m? [/INST] SELECT year FROM table_name_74 WHERE notes = ""87.17 m"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (years_in_assembly VARCHAR, residence VARCHAR) Question: What were the San Francisco resident's years in assembly? [/INST] SELECT years_in_assembly FROM table_name_54 WHERE residence = ""san francisco"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_36 (results VARCHAR, incumbent VARCHAR) Question: What are the results of those elections for which Marcy Kaptur is the incumbent? [/INST] SELECT results FROM table_1805191_36 WHERE incumbent = ""Marcy Kaptur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR) Question: WHAT IS THE RESULT OF THE GAME ON APRIL 23? [/INST] SELECT result FROM table_name_60 WHERE date = ""april 23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (agricultural_panel INTEGER, industrial_and_commercial_panel INTEGER) Question: What is the sum of Agricultural panels that have an Industrial and Commercial Panel smaller than 0? [/INST] SELECT SUM(agricultural_panel) FROM table_name_46 WHERE industrial_and_commercial_panel < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) Question: List the names of representatives that have not participated in elections listed here. [/INST] SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE FLIGHTS (FlightNo VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR) Question: What are flight numbers of flights departing from City ""Aberdeen ""? [/INST] SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = ""Aberdeen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE staff (last_name VARCHAR, staff_id VARCHAR); CREATE TABLE complaints (staff_id VARCHAR, date_complaint_raised VARCHAR) Question: What is the last name of the staff who has handled the first ever complaint? [/INST] SELECT TOP 1 t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id = t2.staff_id ORDER BY t2.date_complaint_raised "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2076608_3 (enrollment VARCHAR, location_s_ VARCHAR) Question: Where are the Alexandria enrollment locations? [/INST] SELECT enrollment FROM table_2076608_3 WHERE location_s_ = ""Alexandria"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (bronze INTEGER, silver VARCHAR, gold VARCHAR) Question: Which average bronze had a silver greater than 2 and a gold larger than 7? [/INST] SELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (year VARCHAR, time VARCHAR, avg_run VARCHAR) Question: What is the total years with average runs less than 4.75 and a time of 14.26? [/INST] SELECT COUNT(year) FROM table_name_8 WHERE time = 14.26 AND avg_run < 4.75 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (position VARCHAR, time VARCHAR, venue VARCHAR) Question: What position has a time over 38.61 at the gothenburg venue? [/INST] SELECT position FROM table_name_96 WHERE time > 38.61 AND venue = ""gothenburg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (venue VARCHAR, state VARCHAR) Question: What Venue is in Colorado? [/INST] SELECT venue FROM table_name_19 WHERE state = ""colorado"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (eliminated VARCHAR, entered INTEGER) Question: Which Eliminated has an Entered smaller than 2? [/INST] SELECT eliminated AS by FROM table_name_42 WHERE entered < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (year VARCHAR, outcome VARCHAR, opponent VARCHAR) Question: What year was the match were xavier malisse was the runner-up against lleyton hewitt? [/INST] SELECT year FROM table_name_3 WHERE outcome = ""runner-up"" AND opponent = ""lleyton hewitt"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (location VARCHAR, promotor VARCHAR, opponent VARCHAR) Question: Which location has the promotor Frank Moloney, and the opponent Gennadiy Rasalev? [/INST] SELECT location FROM table_name_21 WHERE promotor = ""frank moloney"" AND opponent = ""gennadiy rasalev"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) Question: How many Silver medals did the Nation ranking 8 with more than 1 Total medal but less than 1 Gold receive? [/INST] SELECT SUM(silver) FROM table_name_21 WHERE gold < 1 AND rank = ""8"" AND total > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (game VARCHAR, road_team VARCHAR, result VARCHAR) Question: What is Game, when Road Team is ""Syracuse"", and when Result is ""96-89""? [/INST] SELECT game FROM table_name_47 WHERE road_team = ""syracuse"" AND result = ""96-89"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11274401_2 (share INTEGER, rank___number_ VARCHAR) Question: What was the share for the first episode that ranked 85? [/INST] SELECT MIN(share) FROM table_11274401_2 WHERE rank___number_ = ""85"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (wins VARCHAR, podiums VARCHAR, f_laps VARCHAR) Question: If Podiums is 2 and F/Laps are 2, what are the wins? [/INST] SELECT wins FROM table_name_80 WHERE podiums = ""2"" AND f_laps = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2581397_3 (distance VARCHAR, weight__kg_ VARCHAR) Question: List the weight for 56 kilograms. [/INST] SELECT distance FROM table_2581397_3 WHERE weight__kg_ = ""56"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR) Question: How much total time was in lane 4? [/INST] SELECT COUNT(time) FROM table_name_66 WHERE lane = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR) Question: What is the Year(s) won from the United States as country with a To Par of +4? [/INST] SELECT year_s__won FROM table_name_21 WHERE country = ""united states"" AND to_par = ""+4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR) Question: What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00? [/INST] SELECT name FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = ""R87.00"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) Question: What date was the record 34-41? [/INST] SELECT date FROM table_name_11 WHERE record = ""34-41"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What was the result before week 13 when they played the Oakland Raiders? [/INST] SELECT result FROM table_name_33 WHERE week < 13 AND opponent = ""oakland raiders"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12338595_1 (interview VARCHAR, state VARCHAR) Question: What is the interview score for the state of Virginia? [/INST] SELECT interview FROM table_12338595_1 WHERE state = ""Virginia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR) Question: What is the year built of the home with a built status and a 42 m. height? [/INST] SELECT ""built"" FROM table_name_41 WHERE status = ""built"" AND height = ""42 m."" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) Question: WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE? [/INST] SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = ""Helen Reino Kai-Riin Saluste"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (wins VARCHAR, year VARCHAR) Question: What is listed for the Wins with a Year of 1989? [/INST] SELECT wins FROM table_name_84 WHERE year = 1989 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11545282_4 (years_for_jazz VARCHAR, no VARCHAR) Question: What years did number 54 play for the jazz [/INST] SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (lane VARCHAR, time VARCHAR, rank VARCHAR) Question: How many lanes had a rank smaller than 4 and a time of 2:01.51? [/INST] SELECT COUNT(lane) FROM table_name_88 WHERE time = ""2:01.51"" AND rank < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12104319_1 (mens_singles VARCHAR, year VARCHAR) Question: What is the mens singles of 2008? [/INST] SELECT mens_singles FROM table_12104319_1 WHERE year = 2008 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1214035_1 (open_cup VARCHAR, year VARCHAR) Question: What open cups where played in 2002 [/INST] SELECT open_cup FROM table_1214035_1 WHERE year = 2002 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year VARCHAR, outcome VARCHAR, opponent VARCHAR) Question: What year was the match against filippo volandri where xavier malisse was runner-up? [/INST] SELECT year FROM table_name_39 WHERE outcome = ""runner-up"" AND opponent = ""filippo volandri"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1300080_1 (network_protocols VARCHAR, notes VARCHAR) Question: What are the network protocols for the model that has been discontinued in favor of the EN1700? [/INST] SELECT network_protocols FROM table_1300080_1 WHERE notes = ""Discontinued in favor of the en1700"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (player VARCHAR, pick INTEGER) Question: Which player was picked after 23? [/INST] SELECT player FROM table_name_89 WHERE pick > 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815265_1 (opponents VARCHAR, cowboys_points VARCHAR) Question: How many opponents are there when cowboy points were 10? [/INST] SELECT opponents FROM table_22815265_1 WHERE cowboys_points = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (channel VARCHAR) Question: What is the channel with a 2011 rating of 8.5? [/INST] SELECT channel FROM table_name_64 WHERE 2011 = ""8.5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR) Question: Name the concacaf for 2010 season [/INST] SELECT concacaf FROM table_245694_4 WHERE season = 2010 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (total INTEGER, championship INTEGER) Question: What is the highest total when there is less than 1 championship? [/INST] SELECT MAX(total) FROM table_name_80 WHERE championship < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR) Question: What is every part number with model number core i5-670? [/INST] SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = ""Core i5-670"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, opponent VARCHAR) Question: What event was the opponent Karl Knothe and had a submission (rear naked choke)? [/INST] SELECT event FROM table_name_16 WHERE method = ""submission (rear naked choke)"" AND opponent = ""karl knothe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR) Question: Which week had 39,056 people in attendance? [/INST] SELECT week FROM table_name_89 WHERE attendance = ""39,056"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (loss VARCHAR, record VARCHAR) Question: Which loss has a Record of 67-51? [/INST] SELECT loss FROM table_name_37 WHERE record = ""67-51"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (competition VARCHAR, goals VARCHAR, score VARCHAR) Question: Which competition has a Goal of deacon 8/8 and a Score of 32-14? [/INST] SELECT competition FROM table_name_3 WHERE goals = ""deacon 8/8"" AND score = ""32-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) Question: Which channel tv (dt) plays in San Francisco - Oakland - San Jose? [/INST] SELECT channel_tv___dt__ FROM table_1553485_1 WHERE city_of_license__market = ""San Francisco - Oakland - San Jose"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR) Question: What is the undecided percentage of the poll from Suffolk University with Murray at 11%? [/INST] SELECT undecided FROM table_name_80 WHERE source = ""suffolk university"" AND murray = ""11%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) Question: What type has a GNIS ID of 1139805 [/INST] SELECT type FROM table_name_15 WHERE gnis_id = 1139805 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14997324_5 (losses INTEGER, team VARCHAR) Question: How many losses did 12 de Octubre have ? [/INST] SELECT MIN(losses) FROM table_14997324_5 WHERE team = ""12 de Octubre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (goals VARCHAR, rank VARCHAR) Question: How many goals ranked 6? [/INST] SELECT COUNT(goals) FROM table_name_36 WHERE rank = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (copa_libertadores_1996 VARCHAR, team VARCHAR) Question: What is the copa libertadores 1996 of team corinthians? [/INST] SELECT copa_libertadores_1996 FROM table_name_32 WHERE team = ""corinthians"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_30 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) Question: What is the largest ethnic group of the settlement with the cyrillic name of банатско аранђелово? [/INST] SELECT largest_ethnic_group__2002_ FROM table_2562572_30 WHERE cyrillic_name_other_names = ""Банатско Аранђелово"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (stage__winner_ VARCHAR, team_classification VARCHAR, young_rider_classification VARCHAR) Question: What stage (winner) has quick step as the team classification, and trent lowe as the young rider classification? [/INST] SELECT stage__winner_ FROM table_name_69 WHERE team_classification = ""quick step"" AND young_rider_classification = ""trent lowe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (year_won VARCHAR, to_par VARCHAR, total VARCHAR) Question: What is the Year won for the player with a larger than 4 To par and less the 157 Total? [/INST] SELECT year_won FROM table_name_4 WHERE to_par > 4 AND total < 157 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (record VARCHAR, home VARCHAR) Question: What is the record of the team from chicago? [/INST] SELECT record FROM table_name_6 WHERE home = ""chicago"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (length__miles_ INTEGER, name VARCHAR) Question: what is the length (miles) when the name is l-56g? [/INST] SELECT MAX(length__miles_) FROM table_name_19 WHERE name = ""l-56g"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27721131_2 (location_attendance VARCHAR, team VARCHAR) Question: What's the location attendance of the milwaukee team? [/INST] SELECT location_attendance FROM table_27721131_2 WHERE team = ""Milwaukee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26041144_16 (rank VARCHAR, player VARCHAR) Question: What is the ranktotal number if the Hashan Tillakaratne? [/INST] SELECT COUNT(rank) FROM table_26041144_16 WHERE player = ""Hashan Tillakaratne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR) Question: Name the latitude for 3810536900 [/INST] SELECT latitude FROM table_18600760_8 WHERE geo_id = 3810536900 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (record VARCHAR, week VARCHAR) Question: What is the Record in Week 2? [/INST] SELECT record FROM table_name_50 WHERE week = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (overall VARCHAR, opponent VARCHAR, plyff VARCHAR, home VARCHAR) Question: Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Blizzard team? [/INST] SELECT overall FROM table_name_74 WHERE plyff = ""(0-0)"" AND home = ""(0-1)"" AND opponent = ""green bay blizzard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27312918_5 (team VARCHAR, game VARCHAR) Question: What was the team the Suns played against in game number 4? [/INST] SELECT team FROM table_27312918_5 WHERE game = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (mark VARCHAR, athlete VARCHAR) Question: Which Mark has an Athlete of heike drechsler? [/INST] SELECT mark FROM table_name_17 WHERE athlete = ""heike drechsler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR) Question: What Attendance has a Result of l12–21? [/INST] SELECT attendance FROM table_name_13 WHERE result = ""l12–21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (opponent VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR) Question: Game smaller than 34, and a December smaller than 14, and a Score of 10 - 6 has what opponent? [/INST] SELECT opponent FROM table_name_46 WHERE game < 34 AND december < 14 AND score = ""10 - 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10118412_6 (chinese INTEGER, filipino VARCHAR) Question: What is the the Chinese population for the state that has a Filipino population of 1474707? [/INST] SELECT MIN(chinese) FROM table_10118412_6 WHERE filipino = 1474707 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? [/INST] SELECT SUM(total) FROM table_name_45 WHERE nation = ""west germany"" AND gold > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR) Question: What is every country with a flag with population of 11346670? [/INST] SELECT country_with_flag FROM table_298550_1 WHERE population__1_july_2005_est_ = 11346670 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (rider VARCHAR, rank VARCHAR, team VARCHAR) Question: Who is Team Suzuki's rider and ranks higher than 6? [/INST] SELECT rider FROM table_name_44 WHERE rank > 6 AND team = ""suzuki"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (grid INTEGER, laps INTEGER) Question: How many grids had more than 61 laps? [/INST] SELECT SUM(grid) FROM table_name_9 WHERE laps > 61 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562113_1 (type VARCHAR, institution VARCHAR) Question: What type of institution is San Diego Christian college? [/INST] SELECT type FROM table_2562113_1 WHERE institution = ""San Diego Christian College"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR) Question: What does American have if Australia has əʉ? [/INST] SELECT american FROM table_name_65 WHERE australian = ""əʉ"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (division_record VARCHAR, team VARCHAR) Question: What is the Senators' division record? [/INST] SELECT division_record FROM table_name_39 WHERE team = ""senators"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR) Question: What is Name, when Venue is ""Motherwell""? [/INST] SELECT name FROM table_name_71 WHERE venue = ""motherwell"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27700375_8 (record VARCHAR, high_assists VARCHAR) Question: How many record data were written when Devin Harris (6) was High Assists? [/INST] SELECT COUNT(record) FROM table_27700375_8 WHERE high_assists = ""Devin Harris (6)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (quantity INTEGER, class_to_1928 VARCHAR) Question: What is the smallest quantity having a Class to 1928 of BDi-21? [/INST] SELECT MIN(quantity) FROM table_name_79 WHERE class_to_1928 = ""bdi-21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR) Question: Which outcomes have a final score of 6–3, 6–2? [/INST] SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = ""6–3, 6–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR) Question: what is the english version that is buena vista edition is daisuke gouri? [/INST] SELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = ""Daisuke Gouri"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (accolade VARCHAR, country VARCHAR, year VARCHAR) Question: What is Accolade, when Country is ""United States"", and when Year is ""1999""? [/INST] SELECT accolade FROM table_name_8 WHERE country = ""united states"" AND year = 1999 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (score VARCHAR, team_2 VARCHAR) Question: When Team 2 was USL Dunkerque (D2), what was the score [/INST] SELECT score FROM table_name_75 WHERE team_2 = ""usl dunkerque (d2)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_39 (party VARCHAR, first_elected VARCHAR) Question: How many parties were first elected in 1994? [/INST] SELECT COUNT(party) FROM table_1805191_39 WHERE first_elected = 1994 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1183842_1 (enrollment INTEGER, institution VARCHAR) Question: Barry University had the highest enrollment of what number? [/INST] SELECT MAX(enrollment) FROM table_1183842_1 WHERE institution = ""Barry University"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29556461_8 (high_points VARCHAR, team VARCHAR) Question: When la salle is the team who has the highest amount of points? [/INST] SELECT high_points FROM table_29556461_8 WHERE team = ""La Salle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR) Question: What is the total goal difference with more than 38 played and more than 47 goals against? [/INST] SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR) Question: Which Location Attendance has a Date of april 15? [/INST] SELECT location_attendance FROM table_name_52 WHERE date = ""april 15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR) Question: What was the attendance for week 15? [/INST] SELECT attendance FROM table_name_25 WHERE week = 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR) Question: Which number is 國殤? [/INST] SELECT standard_order FROM table_name_69 WHERE traditional_chinese = ""國殤"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (rounds VARCHAR, entrant VARCHAR) Question: Name the rounds for stanley brm [/INST] SELECT rounds FROM table_name_82 WHERE entrant = ""stanley brm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (to_par VARCHAR, score VARCHAR) Question: What is the To par of the Player with a Score of 70-72-73=215? [/INST] SELECT to_par FROM table_name_7 WHERE score = 70 - 72 - 73 = 215 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12113888_1 (built VARCHAR, name_as_rebuilt VARCHAR) Question: What was the built data for Knocklayd rebuild? [/INST] SELECT built FROM table_12113888_1 WHERE name_as_rebuilt = ""Knocklayd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR, number INTEGER) Question: What is the Year with a Number that is larger than 34? [/INST] SELECT year FROM table_name_96 WHERE number > 34 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR) Question: What were the years active where Asian Cup played as a captain is Iran 1976? [/INST] SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = ""Iran 1976"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (record VARCHAR, event VARCHAR) Question: Which Record has an Event of tpf 5: stars and strikes? [/INST] SELECT record FROM table_name_21 WHERE event = ""tpf 5: stars and strikes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) Question: Where is the University that is also called Owls? [/INST] SELECT location FROM table_19210115_1 WHERE nickname = ""Owls"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (award VARCHAR, year INTEGER) Question: What award did they win before 2005? [/INST] SELECT award FROM table_name_62 WHERE year < 2005 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1212189_1 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) Question: For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power? [/INST] SELECT power_rpm FROM table_1212189_1 WHERE torque__nm__rpm = ""N·m (lb·ft)/*N·m (lb·ft) @1750"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR, basePrice VARCHAR, maxOccupancy VARCHAR) Question: Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids. [/INST] SELECT roomName, RoomId FROM Rooms WHERE basePrice > 160 AND maxOccupancy > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR) Question: Which Player has a To par of 12, and a Country of fiji? [/INST] SELECT player FROM table_name_21 WHERE to_par = 12 AND country = ""fiji"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24486462_1 (disposable_usd_growth INTEGER, country VARCHAR) Question: What is Australia's Disposable USD growth? [/INST] SELECT MAX(disposable_usd_growth) FROM table_24486462_1 WHERE country = ""Australia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (line_name VARCHAR, nimt_junction VARCHAR) Question: What Line has Ohakune Junction as its NIMT? [/INST] SELECT line_name FROM table_name_90 WHERE nimt_junction = ""ohakune junction"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2267857_1 (year VARCHAR, driver VARCHAR) Question: Name the number of year for dick hutcherson [/INST] SELECT COUNT(year) FROM table_2267857_1 WHERE driver = ""Dick Hutcherson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_7 (production_code VARCHAR, written_by VARCHAR) Question: What is the production code that was written by matt robinson? [/INST] SELECT production_code FROM table_2818164_7 WHERE written_by = ""Matt Robinson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (term VARCHAR, hometown VARCHAR) Question: What is the term for hometown Ester Creek? [/INST] SELECT term FROM table_name_55 WHERE hometown = ""ester creek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR) Question: What date has 2:59 as the time? [/INST] SELECT date FROM table_name_95 WHERE time = ""2:59"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR) Question: What position does the player from Oklahoma who was drafted in round 7 play? [/INST] SELECT position FROM table_name_95 WHERE round = 7 AND college = ""oklahoma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2516282_3 (championship VARCHAR, partner VARCHAR) Question: In which championship was the partner Jie Zheng? [/INST] SELECT championship FROM table_2516282_3 WHERE partner = ""Jie Zheng"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140088_6 (report VARCHAR, race_name VARCHAR) Question: Did the I Brazilian Grand Prix have a report? [/INST] SELECT report FROM table_1140088_6 WHERE race_name = ""I Brazilian Grand Prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1176162_3 (cylinders__valves VARCHAR, model VARCHAR) Question: what's the cylinders/ valves with model being 1.8 20v [/INST] SELECT cylinders__valves FROM table_1176162_3 WHERE model = ""1.8 20V"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (city_of_license VARCHAR, frequency_mhz INTEGER) Question: Which city of license has a frequency less than 100.1? [/INST] SELECT city_of_license FROM table_name_5 WHERE frequency_mhz < 100.1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (attendance INTEGER, date VARCHAR) Question: What is the sum of the attendance on November 16? [/INST] SELECT SUM(attendance) FROM table_name_63 WHERE date = ""november 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR) Question: What is the church in the Sub-Parish of Fresvik called? [/INST] SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = ""fresvik"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (res VARCHAR, round VARCHAR, time VARCHAR) Question: What is the result of the match that went to round 1 and only for 2:48? [/INST] SELECT res FROM table_name_94 WHERE round = 1 AND time = ""2:48"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19741316_1 (races INTEGER, position VARCHAR) Question: What was the number of races in the season in which the team placed on the 14th position? [/INST] SELECT MIN(races) FROM table_19741316_1 WHERE position = ""14th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (first_elected INTEGER, incumbent VARCHAR) Question: Incumbent John Sullivan has what as biggest first elected? [/INST] SELECT MAX(first_elected) FROM table_name_71 WHERE incumbent = ""john sullivan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (club_province VARCHAR, caps VARCHAR, position VARCHAR) Question: What club/province for the player with over 18 caps and plays the fly-half? [/INST] SELECT club_province FROM table_name_28 WHERE caps > 18 AND position = ""fly-half"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (chassis VARCHAR, entrant VARCHAR) Question: Can you tell me the Chassis that has the Entrant of trivellato racing team? [/INST] SELECT chassis FROM table_name_61 WHERE entrant = ""trivellato racing team"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) Question: Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? [/INST] SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = ""banana boat"" AND length = ""4:25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR) Question: Which date has china as the venue? [/INST] SELECT date FROM table_name_25 WHERE venue = ""china"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR) Question: How many league goals did the player with 10 league apps and 0 FA cup goals have? [/INST] SELECT COUNT(league_goals) FROM table_name_93 WHERE fa_cup_goals = 0 AND league_apps = ""10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR) Question: What was Phil Mickelson's score to par? [/INST] SELECT to_par FROM table_name_20 WHERE player = ""phil mickelson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR) Question: What is the name of the visitor team who played home team Chicago Black Hawks on March 20? [/INST] SELECT visitor FROM table_name_77 WHERE home = ""chicago black hawks"" AND date = ""march 20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (chinese VARCHAR, chapter VARCHAR, english_translation VARCHAR) Question: Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations? [/INST] SELECT chinese FROM table_name_7 WHERE chapter > 4 AND english_translation = ""food transformations"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (overall INTEGER, pick INTEGER) Question: what is the lowest overall when the pick is less than 2? [/INST] SELECT MIN(overall) FROM table_name_92 WHERE pick < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (partner VARCHAR, score VARCHAR) Question: Which Partner has a Score of 7–6, 6–3? [/INST] SELECT partner FROM table_name_38 WHERE score = ""7–6, 6–3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE wrestler (Name VARCHAR, LOCATION VARCHAR) Question: What are the names and location of the wrestlers? [/INST] SELECT Name, LOCATION FROM wrestler "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR) Question: How many clubs does the student named ""Eric Tai"" belong to? [/INST] SELECT COUNT(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = ""Eric"" AND t3.lname = ""Tai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (issue_date_s_ VARCHAR, artist VARCHAR) Question: Which Issue Date(s) has an Artist of men at work? [/INST] SELECT issue_date_s_ FROM table_name_32 WHERE artist = ""men at work"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (musical_guest_song_performed VARCHAR, pilot VARCHAR) Question: What is the Musical Guest/Song with a pilot of 3? [/INST] SELECT musical_guest_song_performed FROM table_name_99 WHERE pilot = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (polling_organisation_client VARCHAR, others VARCHAR) Question: When the others had a value of 7%, what was the Polling organisation/client? [/INST] SELECT polling_organisation_client FROM table_name_5 WHERE others = ""7%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR) Question: What is Call Sign, when City of License is Brownfield, Texas? [/INST] SELECT call_sign FROM table_name_51 WHERE city_of_license = ""brownfield, texas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR) Question: What is the lowest episode number that had a ratings/share (18-49) of 1.1/3? [/INST] SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / NULLIF(SHARE(18 - 49), 0) = 1.1 / NULLIF(3, 0) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (performer_3 VARCHAR, date VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR) Question: Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3? [/INST] SELECT performer_3 FROM table_name_79 WHERE performer_1 = ""stephen frost"" AND performer_2 = ""josie lawrence"" AND date = ""15 september 1995"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (loan_club VARCHAR, country VARCHAR, ended VARCHAR) Question: What is the Loan Club from Eng that ended on 22 February? [/INST] SELECT loan_club FROM table_name_57 WHERE country = ""eng"" AND ended = ""22 february"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (floors INTEGER, rank VARCHAR, name VARCHAR) Question: What is the highest floors with rank greater than 1 in Conrad Dubai? [/INST] SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = ""conrad dubai"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (total VARCHAR, rank_points VARCHAR, event VARCHAR) Question: What is Total, when Rank Points is ""15"", and when Event is ""WC Beijing""? [/INST] SELECT total FROM table_name_70 WHERE rank_points = ""15"" AND event = ""wc beijing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (result VARCHAR, week VARCHAR) Question: What was the result on week 1? [/INST] SELECT result FROM table_name_27 WHERE week = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (finish VARCHAR, stage INTEGER) Question: Give the Finish for a Stage that is larger than 15 [/INST] SELECT finish FROM table_name_44 WHERE stage > 15 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (stage VARCHAR, statistic VARCHAR) Question: With a statistic of most points, what is the stage? [/INST] SELECT stage FROM table_name_7 WHERE statistic = ""most points"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29332810_14 (team_classification VARCHAR, aggressive_rider VARCHAR) Question: What is aggressive rider Richie Porte's team classifaction? [/INST] SELECT team_classification FROM table_29332810_14 WHERE aggressive_rider = ""Richie Porte"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17058178_11 (high_rebounds VARCHAR, date VARCHAR) Question: Name the high reobounds for april 7 [/INST] SELECT high_rebounds FROM table_17058178_11 WHERE date = ""April 7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (record VARCHAR, nationality VARCHAR) Question: What's the record of Barbados? [/INST] SELECT record FROM table_name_51 WHERE nationality = ""barbados"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (result VARCHAR, group VARCHAR, venue VARCHAR) Question: What was the result of the race that had a group of G1 at Moonee Valley? [/INST] SELECT result FROM table_name_20 WHERE group = ""g1"" AND venue = ""moonee valley"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27268238_4 (matches INTEGER) Question: What is the smallest amount of matches? [/INST] SELECT MIN(matches) FROM table_27268238_4
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) Question: What is the frequency of the processor released at $383, with a sSpec of sr15f(c0)? [/INST] SELECT frequency FROM table_name_14 WHERE release_price___usd__ = ""$383"" AND sspec_number = ""sr15f(c0)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (points INTEGER, league VARCHAR, draws VARCHAR) Question: What is the lowest points that has w-2 (w-league) as the league, and draws greater than 2? [/INST] SELECT MIN(points) FROM table_name_23 WHERE league = ""w-2 (w-league)"" AND draws > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR) Question: Show paragraph details for paragraph with text 'Korea ' . [/INST] SELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR) Question: How many junctions have ""replaced by bsi-35"" listed in their remarks section? [/INST] SELECT COUNT(junctions) FROM table_11336756_6 WHERE remarks = ""Replaced by BSI-35"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1749567_2 (number INTEGER, name VARCHAR) Question: The Eyserweg race was which race #? [/INST] SELECT MAX(number) FROM table_1749567_2 WHERE name = ""Eyserweg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (circuit VARCHAR, series VARCHAR) Question: What is Circuit, when Series is ASTC Round 4? [/INST] SELECT circuit FROM table_name_26 WHERE series = ""astc round 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR) Question: Which authority has a rocket launch called rehbar-ii? [/INST] SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = ""Rehbar-II"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2781227_4 (player VARCHAR, college_junior_club_team VARCHAR) Question: For college/junior/club team is brandon wheat kings (whl) mention all the player name [/INST] SELECT player FROM table_2781227_4 WHERE college_junior_club_team = ""Brandon Wheat Kings (WHL)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (date_of_inauguration VARCHAR, age_at_inauguration VARCHAR) Question: What is the Date of inauguration of the President with an Age at inauguration of 73years, 262days? [/INST] SELECT date_of_inauguration FROM table_name_10 WHERE age_at_inauguration = ""73years, 262days"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: Who is the winning driver of Penske Racing, and what was Rick Mears' pole position? [/INST] SELECT winning_driver FROM table_name_30 WHERE winning_team = ""penske racing"" AND pole_position = ""rick mears"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR) Question: What was the losing score on September 1? [/INST] SELECT loss FROM table_name_48 WHERE date = ""september 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (circuit VARCHAR, date VARCHAR) Question: what is the circuit when the date is 4 june? [/INST] SELECT circuit FROM table_name_94 WHERE date = ""4 june"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR) Question: Which member of the National Party is from the Hinkler electorate? [/INST] SELECT member FROM table_name_6 WHERE party = ""national"" AND electorate = ""hinkler"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1571238_2 (fourth_place INTEGER, team VARCHAR) Question: When the team is lake superior state how many times did they place fourth? [/INST] SELECT MIN(fourth_place) FROM table_1571238_2 WHERE team = ""Lake Superior State"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (format VARCHAR, label VARCHAR, catalog VARCHAR) Question: What is the Format for the alfa records Label, and a Catalog of alca-9016? [/INST] SELECT format FROM table_name_81 WHERE label = ""alfa records"" AND catalog = ""alca-9016"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR) Question: On week 13 what was the score of the game? [/INST] SELECT result FROM table_name_11 WHERE week = 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR) Question: What's the crowd population of the home team located in Richmond? [/INST] SELECT SUM(crowd) FROM table_name_5 WHERE home_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (attendance VARCHAR, series VARCHAR) Question: What was the attendance when the series was at 0-1? [/INST] SELECT attendance FROM table_name_2 WHERE series = ""0-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13003460_1 (english_translation VARCHAR, word_number VARCHAR) Question: Name the english translation of 219 [/INST] SELECT english_translation FROM table_13003460_1 WHERE word_number = ""219"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15581223_8 (fum_rec INTEGER) Question: Name the least fum rec td [/INST] SELECT MIN(fum_rec) AS TD FROM table_15581223_8
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (pada_1 VARCHAR, pada_2 VARCHAR) Question: What kind of Pada 1 has a Pada 2 of सा sa? [/INST] SELECT pada_1 FROM table_name_8 WHERE pada_2 = ""सा sa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (location_attendance VARCHAR, record VARCHAR) Question: What is the attendance on location for a record of 40–40? [/INST] SELECT location_attendance FROM table_name_67 WHERE record = ""40–40"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR) Question: When 13,895 (27.3) is the percentage against what is the toll poll percentage? [/INST] SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = ""13,895 (27.3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, department_id VARCHAR) Question: display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a ’T’. [/INST] SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%') "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR) Question: What is the population when the area is 4,575? [/INST] SELECT population FROM table_name_8 WHERE area = ""4,575"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (result VARCHAR, goal VARCHAR, date VARCHAR) Question: What is the result of the match on 16 October 2012 with less than 4 goals? [/INST] SELECT result FROM table_name_84 WHERE goal < 4 AND date = ""16 october 2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR) Question: What is the height if ot is the position? [/INST] SELECT height FROM table_20871703_1 WHERE position = ""OT"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15977768_1 (centennial VARCHAR, akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river VARCHAR) Question: Name the centennial for 1992 akimel [/INST] SELECT centennial FROM table_15977768_1 WHERE akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river = ""1992"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR) Question: What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento? [/INST] SELECT elevated FROM table_name_25 WHERE cardinalatial_title = ""priest of s. eusebio and archbishop of benevento"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (date VARCHAR, total VARCHAR) Question: What date was the total 56–75? [/INST] SELECT date FROM table_name_31 WHERE total = ""56–75"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (competition VARCHAR, score VARCHAR, date VARCHAR) Question: What Competition on August 3, 2005 had a Score of 5-0? [/INST] SELECT competition FROM table_name_16 WHERE score = ""5-0"" AND date = ""august 3, 2005"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (nationality VARCHAR, name VARCHAR) Question: Which Nationality has a Name of assyrian? [/INST] SELECT nationality FROM table_name_86 WHERE name = ""assyrian"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR) Question: What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%? [/INST] SELECT market_income_per_capita FROM table_22815568_3 WHERE status = ""Distressed"" AND unemployment_rate = ""10.5%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (entrant VARCHAR, year VARCHAR) Question: What entrant appeared in 1969? [/INST] SELECT entrant FROM table_name_24 WHERE year = 1969 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11677100_8 (mlb_draft VARCHAR, hometown VARCHAR) Question: What pick was the player from Apopka, FL in the 2002 MLB draft [/INST] SELECT mlb_draft FROM table_11677100_8 WHERE hometown = ""Apopka, FL"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) Question: what is the score on february 16? [/INST] SELECT score FROM table_name_76 WHERE date = ""february 16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) Question: What is the result for the date of august 23? [/INST] SELECT result FROM table_name_83 WHERE date = ""august 23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24257833_4 (major_version VARCHAR, release_date VARCHAR, minor_version VARCHAR) Question: List major versions released on May 12, 2009, that had a minor version of 3.2.3. [/INST] SELECT major_version FROM table_24257833_4 WHERE release_date = ""May 12, 2009"" AND minor_version = ""3.2.3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10236830_1 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR) Question: What was the actors name for fuchzhou and nomination was best non-professional actor? [/INST] SELECT actors_name FROM table_10236830_1 WHERE film_name = ""Fuchzhou"" AND nomination = ""Best Non-Professional Actor"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248910_11 (high_rebounds VARCHAR, game VARCHAR) Question: What were the amount of rebounds in game 2? [/INST] SELECT high_rebounds FROM table_23248910_11 WHERE game = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR) Question: Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock [/INST] SELECT date FROM table_name_4 WHERE acts = ""6 bands"" AND year > 1981 AND event = ""monsters of rock"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR) Question: Which average Round has a Pick # larger than 20, and a College of virginia, and an Overall larger than 127? [/INST] SELECT AVG(round) FROM table_name_43 WHERE pick__number > 20 AND college = ""virginia"" AND overall > 127 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (party VARCHAR, ipsos_6_3_09 VARCHAR) Question: Who had an Ipsos of 27%? [/INST] SELECT party FROM table_name_69 WHERE ipsos_6_3_09 = ""27%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (pages INTEGER, isbn VARCHAR) Question: How many pages associated with isbn 91-7713-035-9? [/INST] SELECT SUM(pages) FROM table_name_75 WHERE isbn = ""isbn 91-7713-035-9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (team VARCHAR, score VARCHAR) Question: Which team scored l 87–115 (ot)? [/INST] SELECT team FROM table_name_61 WHERE score = ""l 87–115 (ot)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR) Question: Which team had a year entering the league under 2009, located in Bath? [/INST] SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = ""bath"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (grid INTEGER, laps VARCHAR, driver VARCHAR) Question: What is the lowest Grid for jj lehto with over 51 laps? [/INST] SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = ""jj lehto"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR) Question: What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires? [/INST] SELECT termination_of_mission FROM table_name_37 WHERE appointed_by = ""franklin pierce"" AND title = ""chargé d'affaires"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (points VARCHAR, club VARCHAR) Question: What is Points, when Club is Maesteg RFC? [/INST] SELECT points FROM table_name_14 WHERE club = ""maesteg rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE gas_station (location VARCHAR, Representative_Name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, Assets_billion VARCHAR) Question: find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts. [/INST] SELECT TOP 3 T3.location, T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.Assets_billion DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (constructor VARCHAR, engine_† VARCHAR, driver VARCHAR) Question: What constructor has an engine of cosworth cr-2 and a driver of luciano burti? [/INST] SELECT constructor FROM table_name_52 WHERE engine_† = ""cosworth cr-2"" AND driver = ""luciano burti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25800134_14 (season__number INTEGER, airdate VARCHAR) Question: What is the season # for the episode with air date february 2, 1970? [/INST] SELECT MAX(season__number) FROM table_25800134_14 WHERE airdate = ""February 2, 1970"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (year INTEGER, state VARCHAR, name VARCHAR) Question: What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa? [/INST] SELECT SUM(year) FROM table_name_95 WHERE state = ""orissa"" AND name = ""prof. priyambada mohanty hejmadi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR) Question: What's the highest amount of losses of Camperdown when the against was less than 945? [/INST] SELECT MAX(losses) FROM table_name_81 WHERE club = ""camperdown"" AND against < 945 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17386066_2 (opponent VARCHAR, stadium VARCHAR) Question: Who is the opposing team when the game was played on the Shea Stadium? [/INST] SELECT opponent FROM table_17386066_2 WHERE stadium = ""Shea stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR) Question: What title was released in 1971? [/INST] SELECT title FROM table_name_54 WHERE year = 1971 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (margin_of_victory VARCHAR, winning_score VARCHAR) Question: What was the margin of victory when the winning score was −5 (69-69-73=211)? [/INST] SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (season VARCHAR, pos VARCHAR, pts VARCHAR) Question: What season had 6th position and 36 points? [/INST] SELECT season FROM table_name_40 WHERE pos = ""6th"" AND pts = ""36"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (irish_name VARCHAR, province VARCHAR, county VARCHAR) Question: Province of leinster, and a County of fingal has which irish name? [/INST] SELECT irish_name FROM table_name_65 WHERE province = ""leinster"" AND county = ""fingal"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (name VARCHAR, decile VARCHAR, area VARCHAR) Question: Which name has a Decile of 5, and an Area of tauranga? [/INST] SELECT name FROM table_name_96 WHERE decile = 5 AND area = ""tauranga"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (first_aired VARCHAR, episode VARCHAR) Question: What's the first aired date of the Animated Series episode? [/INST] SELECT first_aired FROM table_name_91 WHERE episode = ""animated series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (poles INTEGER, wins INTEGER) Question: What is the highest Poles with a win that is smaller than 0? [/INST] SELECT MAX(poles) FROM table_name_74 WHERE wins < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR) Question: Who was the home team for tie number 16? [/INST] SELECT home_team FROM table_name_40 WHERE tie_no = ""16"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (wk_7 INTEGER, wk_2 VARCHAR, wk_3 VARCHAR, wk_4 VARCHAR) Question: What is the lowest wk 7 with a wk 3 value of 12, a wk 4 less than 9, and a wk 2 greater than 11? [/INST] SELECT MIN(wk_7) FROM table_name_1 WHERE wk_3 = 12 AND wk_4 < 9 AND wk_2 > 11 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Residents (date_moved_in INTEGER) Question: When is the last day any resident moved in? [/INST] SELECT MAX(date_moved_in) FROM Residents
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (pick INTEGER, overall VARCHAR) Question: What is the lowest pick number where the overall pick number was 38? [/INST] SELECT MIN(pick) FROM table_name_73 WHERE overall = 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24729_2 (power VARCHAR, co2 VARCHAR) Question: when co2 is 192g/km, what is the power? [/INST] SELECT power FROM table_24729_2 WHERE co2 = ""192g/km"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR) Question: Which Floors is the highest one that has a Name of one indiana square? [/INST] SELECT MAX(floors) FROM table_name_84 WHERE name = ""one indiana square"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (version VARCHAR, length VARCHAR) Question: what album is 5:15 long [/INST] SELECT version FROM table_name_60 WHERE length = ""5:15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13258876_2 (record VARCHAR, date VARCHAR) Question: What was the Seahawks record on September 18, 1983? [/INST] SELECT record FROM table_13258876_2 WHERE date = ""September 18, 1983"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (successes INTEGER, failures VARCHAR, launches VARCHAR) Question: What is the greatest successes that have failures greater than 1 and launches less than 28? [/INST] SELECT MAX(successes) FROM table_name_25 WHERE failures > 1 AND launches < 28 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (wins INTEGER, rank VARCHAR) Question: Which Wins have a Rank of 3? [/INST] SELECT AVG(wins) FROM table_name_77 WHERE rank = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR) Question: How many power stations are connected to grid at Heysham 2 [/INST] SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = ""Heysham 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (wins INTEGER, top_25 INTEGER) Question: What is the average wins has Top-25 less than 0? [/INST] SELECT AVG(wins) FROM table_name_66 WHERE top_25 < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR) Question: What school has the player of mike rosario? [/INST] SELECT school FROM table_name_28 WHERE player = ""mike rosario"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE mailshot_campaigns (product_category VARCHAR) Question: Show all distinct product categories along with the number of mailshots in each category. [/INST] SELECT product_category, COUNT(*) FROM mailshot_campaigns GROUP BY product_category "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (supplier VARCHAR, keys__x_modes_ VARCHAR, basic_shape VARCHAR, wrist_pad VARCHAR) Question: Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+? [/INST] SELECT supplier FROM table_name_16 WHERE basic_shape = ""flat"" AND wrist_pad = ""no"" AND keys__x_modes_ = ""25+"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (laps VARCHAR, time_retired VARCHAR) Question: How many laps were there when the Time/Retired was +14.403? [/INST] SELECT laps FROM table_name_45 WHERE time_retired = ""+14.403"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR) Question: Name the total number for 18-49 share being 18-49 being 3.1 [/INST] SELECT COUNT(share__18_49_) FROM table_20971444_3 WHERE rating__18_49_ = ""3.1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (distance VARCHAR, venue VARCHAR) Question: What is Distance, when Venue is ""Belgrade""? [/INST] SELECT distance FROM table_name_39 WHERE venue = ""belgrade"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (result VARCHAR, match VARCHAR) Question: What was the result of the napoli-roma match? [/INST] SELECT result FROM table_name_75 WHERE match = ""napoli-roma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, opponent VARCHAR, venue VARCHAR, result VARCHAR) Question: What was the date of the game held at the A venue with a result of 0-1 against the Rangers? [/INST] SELECT date FROM table_name_87 WHERE venue = ""a"" AND result = ""0-1"" AND opponent = ""rangers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (team VARCHAR, laps VARCHAR, points VARCHAR) Question: Which team had 64 laps and 13 points? [/INST] SELECT team FROM table_name_39 WHERE laps = 64 AND points = 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (status VARCHAR, commissioned VARCHAR) Question: What is the status of the fleet that was commissioned on July 28, 1963? [/INST] SELECT status FROM table_name_9 WHERE commissioned = ""july 28, 1963"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (position INTEGER, year INTEGER) Question: After 1996, what is the average position? [/INST] SELECT AVG(position) FROM table_name_96 WHERE year > 1996 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: How many Laps with a Grid smaller than 11 did John Watson have? [/INST] SELECT AVG(laps) FROM table_name_71 WHERE driver = ""john watson"" AND grid < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (method VARCHAR, record VARCHAR) Question: Which method has the record of 11-1? [/INST] SELECT method FROM table_name_4 WHERE record = ""11-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) Question: How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0? [/INST] SELECT SUM(gold) FROM table_name_34 WHERE bronze = 0 AND total > 1 AND nation = ""chad"" AND silver > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (competition VARCHAR, year VARCHAR, notes VARCHAR) Question: What competition was held earlier than 2007 and has 7434 in the notes field? [/INST] SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = ""7434"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19753079_12 (party VARCHAR, district VARCHAR) Question: What party got elected in Florida 9 district? [/INST] SELECT party FROM table_19753079_12 WHERE district = ""Florida 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22078972_2 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) Question: How many millions of people in the US saw the episode with series number 103? [/INST] SELECT us_viewers__millions_ FROM table_22078972_2 WHERE no_in_series = 103 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (place INTEGER, name VARCHAR, until VARCHAR) Question: What place did R. Wenzel, who was active after 1934, have? [/INST] SELECT SUM(place) FROM table_name_7 WHERE name = ""r. wenzel"" AND until > 1934 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15463188_7 (school_club_team VARCHAR, season VARCHAR) Question: Namethe school team for season 2008 [/INST] SELECT school_club_team FROM table_15463188_7 WHERE season = ""2008"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Faculty (rank VARCHAR) Question: What ranks do we have for faculty? [/INST] SELECT DISTINCT rank FROM Faculty
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (opponent VARCHAR, record VARCHAR) Question: which team has a record of 13-18? [/INST] SELECT opponent FROM table_name_42 WHERE record = ""13-18"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (Id VARCHAR) Question: What's the 2011 result when 2010 is 2r and 2013 is w? [/INST] SELECT 2011 FROM table_name_25 WHERE 2010 = ""2r"" AND 2013 = ""w"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (stage VARCHAR, year VARCHAR) Question: Who was the winner in 2013? [/INST] SELECT stage AS winner FROM table_name_48 WHERE year = 2013 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, municipality VARCHAR) Question: How many league of communists have the municipality of bar? [/INST] SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE municipality = ""Bar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2419754_1 (institution VARCHAR, nickname VARCHAR) Question: What university team is referred to as the tigers? [/INST] SELECT institution FROM table_2419754_1 WHERE nickname = ""Tigers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (long INTEGER, gain VARCHAR, loss VARCHAR, avg_g VARCHAR) Question: When the Gain is 29, and the average per game is 2, and the player lost less than 390 yards, what's the sum of the Long yards? [/INST] SELECT SUM(long) FROM table_name_26 WHERE loss < 390 AND avg_g = 2 AND gain > 29 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: Name the lowest total for rank of 13 with bronze less than 1 [/INST] SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_231623_3 (growth_rate VARCHAR, density_per_kilometer VARCHAR) Question: Name the growth rate for density of 1087 [/INST] SELECT COUNT(growth_rate) FROM table_231623_3 WHERE density_per_kilometer = 1087 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (english_translation VARCHAR, artist VARCHAR) Question: What was the english translation for the song by svetlana loboda? [/INST] SELECT english_translation FROM table_name_77 WHERE artist = ""svetlana loboda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR) Question: When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length? [/INST] SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = ""David Ashburn Richard Westbrook"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR) Question: who was the winner in 2003? [/INST] SELECT winner FROM table_name_53 WHERE year = ""2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (drawn INTEGER, games INTEGER) Question: How many Drawn is which has a Games smaller than 6? [/INST] SELECT SUM(drawn) FROM table_name_61 WHERE games < 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR) Question: Which is the method under the event Jungle Fight 2? [/INST] SELECT method FROM table_name_24 WHERE event = ""jungle fight 2"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22464685_1 (transliteration VARCHAR, period_covered VARCHAR) Question: what is the transliteration during the period covered is 1125-1223? [/INST] SELECT transliteration FROM table_22464685_1 WHERE period_covered = ""1125-1223"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20898602_1 (position VARCHAR, height VARCHAR) Question: what is the position of the player of height ft0in (m) [/INST] SELECT position FROM table_20898602_1 WHERE height = ""ft0in (m)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (week_1 VARCHAR, week_2 VARCHAR) Question: Who was the girl on week 1 that preceded week 2's Kamila Sulewska? [/INST] SELECT week_1 FROM table_name_12 WHERE week_2 = ""kamila sulewska"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (hereditary_peers VARCHAR, total VARCHAR) Question: Which Hereditary peers have a Total of 1? [/INST] SELECT hereditary_peers FROM table_name_15 WHERE total = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) Question: Find the number of vocal types used in song ""Demon Kitty Rag""? [/INST] SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = ""Demon Kitty Rag"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (date VARCHAR, edition VARCHAR) Question: On what date was the 48th Edition raced? [/INST] SELECT date FROM table_name_43 WHERE edition = ""48th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR) Question: who is the driver when grid is 11? [/INST] SELECT driver FROM table_name_81 WHERE grid = 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student (advisor VARCHAR) Question: Show all advisors and corresponding number of students. [/INST] SELECT advisor, COUNT(*) FROM Student GROUP BY advisor "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (april INTEGER, score VARCHAR, game VARCHAR) Question: Which April is the smallest one that has a Score of 2–4, and a Game smaller than 76? [/INST] SELECT MAX(april) FROM table_name_4 WHERE score = ""2–4"" AND game < 76 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, master_customer_id VARCHAR); CREATE TABLE Business_Rates (cmi_cross_ref_id VARCHAR) Question: How many business rates are related to each cmi cross reference? List cross reference id, master customer id and the n [/INST] SELECT T2.cmi_cross_ref_id, T2.master_customer_id, COUNT(*) FROM Business_Rates AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T2.cmi_cross_ref_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (player VARCHAR, position VARCHAR, pick__number VARCHAR) Question: Which player has a Position of defence, and a Pick # of 6? [/INST] SELECT player FROM table_name_42 WHERE position = ""defence"" AND pick__number = ""6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (date_aired VARCHAR, title VARCHAR) Question: What was the date of the show titled Beat the Star? [/INST] SELECT date_aired FROM table_name_54 WHERE title = ""beat the star"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17176509_4 (driver___passenger VARCHAR, position VARCHAR) Question: Name the driver/passenger for 30 [/INST] SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) Question: On what Date was the Score 4–1? [/INST] SELECT date FROM table_name_76 WHERE score = ""4–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29033869_3 (home_away VARCHAR, position_on_ladder VARCHAR) Question: Was the round where they were in 6th at home or away? [/INST] SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = ""6th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR) Question: When did Carlton play as the home team? [/INST] SELECT date FROM table_name_60 WHERE home_team = ""carlton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR) Question: Which nominations was the film 27 Stolen Kisses nominated for? [/INST] SELECT nomination FROM table_10236830_6 WHERE film_name = ""27 Stolen Kisses"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) Question: Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification? [/INST] SELECT winner FROM table_23157997_13 WHERE mountains_classification = ""Tom Zirbel"" AND points_classification = ""Thomas Soladay"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27434_2 (period VARCHAR, life_expectancy_total VARCHAR) Question: What period was the life expectancy at 62.4? [/INST] SELECT period FROM table_27434_2 WHERE life_expectancy_total = ""62.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_18 (sd VARCHAR, status VARCHAR) Question: What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]? [/INST] SELECT COUNT(sd) FROM table_27615896_18 WHERE status = ""Quarterfinals lost to Novak Djokovic [1]"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (year INTEGER, award VARCHAR) Question: What is the average year of the Fantasia Section Award? [/INST] SELECT AVG(year) FROM table_name_16 WHERE award = ""fantasia section award"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (round VARCHAR, position VARCHAR, college VARCHAR) Question: Name the total number of round for wide receiver for kent state [/INST] SELECT COUNT(round) FROM table_name_51 WHERE position = ""wide receiver"" AND college = ""kent state"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR) Question: What is the Rank of the Swimmer in Lane 5? [/INST] SELECT AVG(rank) FROM table_name_16 WHERE lane = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, player VARCHAR) Question: What is the pick with Dean Sears and round larger than 6? [/INST] SELECT MIN(pick) FROM table_name_61 WHERE round > 6 AND player = ""dean sears"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (authority VARCHAR, area VARCHAR) Question: What authority does the rototuna area have? [/INST] SELECT authority FROM table_name_35 WHERE area = ""rototuna"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR) Question: Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Podiums smaller than 0? [/INST] SELECT AVG(fastest_laps) FROM table_name_8 WHERE poles = 0 AND season = ""2002"" AND podiums < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR) Question: What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps? [/INST] SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = ""alan sweeney"" AND league_cup_apps < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2562572_5 (population__2002_ INTEGER, population__2011_ VARCHAR) Question: Name the least population for 2002 for 2011 being 9564 [/INST] SELECT MIN(population__2002_) FROM table_2562572_5 WHERE population__2011_ = 9564 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (tournament VARCHAR, opponent VARCHAR) Question: What tournament has an opponent gan teik chai lin woon fui? [/INST] SELECT tournament FROM table_name_77 WHERE opponent = ""gan teik chai lin woon fui"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR) Question: Name the college that has 10000 enrolled [/INST] SELECT institution FROM table_1969577_1 WHERE enrollment = 10000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR) Question: What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers? [/INST] SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = ""los angeles clippers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (wins INTEGER, player VARCHAR, events VARCHAR) Question: How many wins for bruce fleisher with over 31 events? [/INST] SELECT AVG(wins) FROM table_name_16 WHERE player = ""bruce fleisher"" AND events > 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (license VARCHAR, system VARCHAR, name VARCHAR) Question: Which License has a System of amiga, and a Name of pocketuae? [/INST] SELECT license FROM table_name_83 WHERE system = ""amiga"" AND name = ""pocketuae"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) Question: What was the Tie no when the away team was east thurrock united? [/INST] SELECT tie_no FROM table_name_8 WHERE away_team = ""east thurrock united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR) Question: What is the average pick for Florida State? [/INST] SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = ""florida state"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) Question: What was the score for alcobaça when the opponent was in the final of xinyun han? [/INST] SELECT score FROM table_name_27 WHERE tournament = ""alcobaça"" AND opponent_in_the_final = ""xinyun han"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (pole INTEGER, class VARCHAR, wchmp VARCHAR) Question: What is the highest pole for class 125 cc and a WChmp more than 1? [/INST] SELECT MAX(pole) FROM table_name_88 WHERE class = ""125 cc"" AND wchmp > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (tournament VARCHAR, opponent VARCHAR) Question: Which Tournament has a Opponent of piero luisi? [/INST] SELECT tournament FROM table_name_31 WHERE opponent = ""piero luisi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_101196_1 (english_name VARCHAR, irish_speakers VARCHAR, county VARCHAR) Question: How many County Kerry have 53% Irish speakers? [/INST] SELECT COUNT(english_name) FROM table_101196_1 WHERE irish_speakers = ""53%"" AND county = ""county Kerry"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR) Question: What is the sum of the places of the team with more than 49 points and less than 54 goals scored? [/INST] SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1231892_4 (number_in_series INTEGER, broadcast_order VARCHAR) Question: What's the series number of the episode with a broadcast order s04 e07? [/INST] SELECT MAX(number_in_series) FROM table_1231892_4 WHERE broadcast_order = ""S04 E07"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR) Question: What sport is the cb estudiantes club in? [/INST] SELECT sport FROM table_name_46 WHERE club = ""cb estudiantes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23186738_9 (game INTEGER, date VARCHAR) Question: Name the least game for march 20 [/INST] SELECT MIN(game) FROM table_23186738_9 WHERE date = ""March 20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14945112_1 (attendance VARCHAR, date VARCHAR) Question: What is the total number of values for attendance for the date October 1, 1978? [/INST] SELECT COUNT(attendance) FROM table_14945112_1 WHERE date = ""October 1, 1978"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (wins VARCHAR, races VARCHAR, points VARCHAR, passenger VARCHAR) Question: What were the wins with more than 145 points, less than 17 races, and Sven Verbrugge as a passenger? [/INST] SELECT wins FROM table_name_12 WHERE points > 145 AND passenger = ""sven verbrugge"" AND races < 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13282157_1 (country VARCHAR, _number VARCHAR) Question: What is the country for # 8 [/INST] SELECT country FROM table_13282157_1 WHERE _number = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (competition VARCHAR, year VARCHAR, venue VARCHAR) Question: Which Competition has a Year larger than 1990 in seville , spain? [/INST] SELECT competition FROM table_name_5 WHERE year > 1990 AND venue = ""seville , spain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR) Question: What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is ""1973""? [/INST] SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (population INTEGER, median_family_income VARCHAR) Question: Which Population has a Median family income of $53,946? [/INST] SELECT MAX(population) FROM table_name_41 WHERE median_family_income = ""$53,946"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23391714_1 (team VARCHAR, chassis_engine VARCHAR) Question: Which team uses lola t92/00/ buick for their chassis/engine? [/INST] SELECT team FROM table_23391714_1 WHERE chassis_engine = ""Lola T92/00/ Buick"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (album VARCHAR, bass VARCHAR, drums VARCHAR) Question: Which album had Jay Bentley on bass and Bobby Schayer on drums? [/INST] SELECT album FROM table_name_32 WHERE bass = ""jay bentley"" AND drums = ""bobby schayer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR) Question: Which Quarter has a Round of 17? [/INST] SELECT quarter FROM table_name_7 WHERE round = ""17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (score VARCHAR, competition VARCHAR) Question: What was the score for the 2014 FIFA World Cup Qualification (UEFA)? [/INST] SELECT score FROM table_name_64 WHERE competition = ""2014 fifa world cup qualification (uefa)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (country VARCHAR, icao VARCHAR) Question: WHich Country has a ICAO of ltcd? [/INST] SELECT country FROM table_name_46 WHERE icao = ""ltcd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (skipper VARCHAR, yacht_name VARCHAR) Question: Which skipper has barclays adventurer as the name of the yacht? [/INST] SELECT skipper FROM table_name_92 WHERE yacht_name = ""barclays adventurer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1652224_5 (successor VARCHAR, district VARCHAR) Question: who was the successor for district ohio 15th? [/INST] SELECT successor FROM table_1652224_5 WHERE district = ""Ohio 15th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (score VARCHAR, record VARCHAR) Question: What is the Score of the game with a Record of 31–37–9? [/INST] SELECT score FROM table_name_3 WHERE record = ""31–37–9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (apps INTEGER, name VARCHAR) Question: What is the total of apps for Keith Treacy? [/INST] SELECT SUM(apps) FROM table_name_37 WHERE name = ""keith treacy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (points INTEGER, laps VARCHAR, team VARCHAR) Question: What is the highest number of points scored by minardi team usa in more than 13 laps? [/INST] SELECT MAX(points) FROM table_name_2 WHERE laps > 13 AND team = ""minardi team usa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, catalog VARCHAR) Question: Which date had the catalog designation of ha-m 2230? [/INST] SELECT date FROM table_name_37 WHERE catalog = ""ha-m 2230"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (country VARCHAR, name VARCHAR) Question: What is the country of cordier? [/INST] SELECT country FROM table_name_70 WHERE name = ""cordier"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1447085_1 (place VARCHAR, rank VARCHAR) Question: Which place has a rank of 71? [/INST] SELECT place FROM table_1447085_1 WHERE rank = 71 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR) Question: Name the place for tim clark [/INST] SELECT place FROM table_name_65 WHERE player = ""tim clark"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (team__number1 VARCHAR) Question: What is the second leg that has kk bosna? [/INST] SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = ""kk bosna"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR, venue VARCHAR) Question: What was the score at Spartan Stadium when San Jose was the Home team? [/INST] SELECT score FROM table_name_18 WHERE home_team = ""san jose"" AND venue = ""spartan stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (free INTEGER, athlete VARCHAR, total VARCHAR) Question: What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger than 90.333? [/INST] SELECT MIN(free) FROM table_name_87 WHERE athlete = ""apolline dreyfuss & lila meesseman-bakir"" AND total > 90.333 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (lost VARCHAR, club VARCHAR) Question: What did the loss come from a Club of mumbles rfc? [/INST] SELECT lost FROM table_name_92 WHERE club = ""mumbles rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (district_attorney VARCHAR, position VARCHAR) Question: Tell me the DA for bureau chief ada [/INST] SELECT district_attorney FROM table_name_22 WHERE position = ""bureau chief ada"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR) Question: Failures larger than 0, and a Successes of 1 has what lowest partial failures? [/INST] SELECT MIN(partial_failures) FROM table_name_64 WHERE failures > 0 AND successes = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (record VARCHAR, res VARCHAR, event VARCHAR) Question: Which Record has the Res of win with the Event of extreme fighting 1? [/INST] SELECT record FROM table_name_30 WHERE res = ""win"" AND event = ""extreme fighting 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR) Question: What is the tourism competitiveness in 2011 of venezuela? [/INST] SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = ""venezuela"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) Question: What away team did Melbourne play as the home team? [/INST] SELECT away_team FROM table_name_61 WHERE home_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR) Question: What was the size of the crowd when Essendon was the away team? [/INST] SELECT crowd FROM table_name_40 WHERE away_team = ""essendon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE university (school VARCHAR, nickname VARCHAR, founded VARCHAR) Question: List all schools and their nicknames in the order of founded year. [/INST] SELECT school, nickname FROM university ORDER BY founded "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency INTEGER) Question: What is City of License, when Frequency is greater than 1380? [/INST] SELECT city_of_license FROM table_name_80 WHERE frequency > 1380 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2528382_2 (additional_info VARCHAR, song VARCHAR) Question: What is the additional information in the song mera yaar bana hai dulha [/INST] SELECT additional_info FROM table_2528382_2 WHERE song = ""Mera Yaar Bana Hai Dulha"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (attendance VARCHAR, game_site VARCHAR) Question: What is the total attendance for Candlestick Park? [/INST] SELECT COUNT(attendance) FROM table_name_74 WHERE game_site = ""candlestick park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (aircraft VARCHAR, retired VARCHAR, introduced VARCHAR) Question: What aircraft was introduced in 2004 and has a retired of —? [/INST] SELECT aircraft FROM table_name_83 WHERE retired = ""—"" AND introduced = 2004 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, constructor VARCHAR) Question: What's the average Grid for a Maserati with less than 80 laps, and a Time/Retired of +2 laps? [/INST] SELECT AVG(grid) FROM table_name_76 WHERE laps < 80 AND constructor = ""maserati"" AND time_retired = ""+2 laps"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR) Question: What was the outcome in games where the score was 7-5, 2-6, [6-10]? [/INST] SELECT outcome FROM table_2259502_2 WHERE score = ""7-5, 2-6, [6-10]"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29250534_1 (club VARCHAR, location VARCHAR) Question: Which club is at the location of kuopio? [/INST] SELECT club FROM table_29250534_1 WHERE location = ""Kuopio"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (release_price___usd__ VARCHAR, socket VARCHAR) Question: Socket of without quickassist has what release price? [/INST] SELECT release_price___usd__ FROM table_name_63 WHERE socket = ""without quickassist"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (suffix VARCHAR, group VARCHAR) Question: What is the Suffix for the Group of Benzyl? [/INST] SELECT suffix FROM table_name_73 WHERE group = ""benzyl"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16400024_1 (l2_cache VARCHAR, release_price___usd__ VARCHAR) Question: What is the l2 cache for the model with a release price of $669? [/INST] SELECT l2_cache FROM table_16400024_1 WHERE release_price___usd__ = ""$669"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (place VARCHAR, year VARCHAR, points VARCHAR) Question: What is the place later than 2007, with 141 (sf:83) points? [/INST] SELECT place FROM table_name_98 WHERE year > 2007 AND points = ""141 (sf:83)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (country VARCHAR, iata VARCHAR) Question: Which Country has a IATA of vie? [/INST] SELECT country FROM table_name_32 WHERE iata = ""vie"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (final VARCHAR, no5 VARCHAR) Question: What is the final result of the team that has Simara as No.5? [/INST] SELECT final FROM table_name_11 WHERE no5 = ""simara"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR) Question: What are the records when Elzbieta Urbanczik competed? [/INST] SELECT record FROM table_14884844_2 WHERE athletes = ""Elzbieta Urbanczik"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (pick__number INTEGER, college VARCHAR, round VARCHAR) Question: What's the average draft pick number from Carson-Newman College before Round 7? [/INST] SELECT AVG(pick__number) FROM table_name_21 WHERE college = ""carson-newman"" AND round < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (attendance VARCHAR, score VARCHAR) Question: in game that had a score of 7-6 what was the attendance? [/INST] SELECT attendance FROM table_name_73 WHERE score = ""7-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (chassis VARCHAR, points VARCHAR) Question: What chassis recorded 5 points? [/INST] SELECT chassis FROM table_name_68 WHERE points = 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (time INTEGER, lane VARCHAR, name VARCHAR) Question: What's the time of Britta Steffen in a lane less than 4? [/INST] SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = ""britta steffen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (draws INTEGER, points VARCHAR, wins VARCHAR) Question: What was the biggest draws, for wins under 4, and points of 20-18? [/INST] SELECT MAX(draws) FROM table_name_29 WHERE points = ""20-18"" AND wins < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (event VARCHAR, acts VARCHAR) Question: Tell me the event for 6 bands [/INST] SELECT event FROM table_name_74 WHERE acts = ""6 bands"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1175233_1 (communes INTEGER, arrondissement VARCHAR) Question: How many communes when the arrondissement is cosne-cours-sur-loire? [/INST] SELECT MIN(communes) FROM table_1175233_1 WHERE arrondissement = ""Cosne-Cours-sur-Loire"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (rank VARCHAR, island VARCHAR, area__sq_mi_ VARCHAR, area__km²_ VARCHAR) Question: Which rank has a smaller area (sq mi) than 48, and an area (km2) greater than 104, and an island of sula, sogn og fjordane? [/INST] SELECT rank FROM table_name_12 WHERE area__sq_mi_ < 48 AND area__km²_ > 104 AND island = ""sula, sogn og fjordane"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (score VARCHAR, opponent VARCHAR) Question: Name the score for hawthorn opponent [/INST] SELECT score FROM table_name_64 WHERE opponent = ""hawthorn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR) Question: Which higher harmonics have a speed of 0.0821373? [/INST] SELECT higher_harmonics FROM table_name_36 WHERE speed = ""0.0821373"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (vii_season VARCHAR, episode VARCHAR) Question: What is VII Season, when Episode is 11? [/INST] SELECT vii_season FROM table_name_29 WHERE episode = ""11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) Question: Who was Richmond's away team opponent? [/INST] SELECT away_team AS score FROM table_name_53 WHERE home_team = ""richmond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR) Question: What was the surface for the game that had a partner of vania king? [/INST] SELECT surface FROM table_name_85 WHERE partner = ""vania king"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR) Question: Name the bronze when silver is 1 [/INST] SELECT bronze FROM table_name_25 WHERE silver = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342233_24 (incumbent VARCHAR, first_elected VARCHAR) Question: What is the incumbent from 1941? [/INST] SELECT incumbent FROM table_1342233_24 WHERE first_elected = 1941 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (distance VARCHAR, date VARCHAR) Question: Which Distance has a Date of 1930-01-11? [/INST] SELECT distance FROM table_name_69 WHERE date = ""1930-01-11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR) Question: What's the average total cargo in metric tonnes that has an 11.8% Change? [/INST] SELECT AVG(total_cargo__metric_tonnes_) FROM table_name_97 WHERE _percentage_change = ""11.8%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR) Question: What home team had an away team of Aston Villa? [/INST] SELECT home_team FROM table_name_33 WHERE away_team = ""aston villa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16388230_1 (home_team VARCHAR, away_team VARCHAR) Question: What home team played the West Coast away team? [/INST] SELECT home_team FROM table_16388230_1 WHERE away_team = ""West Coast"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR) Question: How many attended on march 1? [/INST] SELECT AVG(attendance) FROM table_name_19 WHERE date = ""march 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (silver INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the highest silver that has 57 as the total, with a bronze greater than 20? [/INST] SELECT MAX(silver) FROM table_name_82 WHERE total = 57 AND bronze > 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29152820_1 (directed_by VARCHAR, written_by VARCHAR, production_code VARCHAR) Question: Who directed the episode that is written by Eli Attie and production code is 2t5018? [/INST] SELECT directed_by FROM table_29152820_1 WHERE written_by = ""Eli Attie"" AND production_code = ""2T5018"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when Melbourne was the away team? [/INST] SELECT home_team FROM table_name_98 WHERE away_team = ""melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (loan_club VARCHAR, name VARCHAR) Question: What is the loan club named dennehy? [/INST] SELECT loan_club FROM table_name_61 WHERE name = ""dennehy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR) Question: how many high assists with record being 15-11 [/INST] SELECT COUNT(high_assists) FROM table_13762472_4 WHERE record = ""15-11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR) Question: What is tthe lowest number on team 3g? [/INST] SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = ""team 3G"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224840_3 (reason_for_change VARCHAR, vacator VARCHAR) Question: when the vacator was Henry Latimer (f), what were the causes for modification? [/INST] SELECT reason_for_change FROM table_224840_3 WHERE vacator = ""Henry Latimer (F)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR) Question: How many episodes were directed by Rod Hardy? [/INST] SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = ""Rod Hardy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR) Question: Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps? [/INST] SELECT class AS pos FROM table_name_25 WHERE year > 1997 AND team = ""corvette racing"" AND class = ""gt1"" AND laps = 327 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (opponents VARCHAR, record VARCHAR) Question: Who are the opponents with a record of 3-0? [/INST] SELECT opponents FROM table_name_73 WHERE record = ""3-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668347_17 (candidates VARCHAR, district VARCHAR) Question: Name the candidates for pennsylvania 14 [/INST] SELECT candidates FROM table_2668347_17 WHERE district = ""Pennsylvania 14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (oricon_peak VARCHAR, date_of_release VARCHAR, label VARCHAR, title VARCHAR) Question: WHAT IS THE ORICON PEAK NUMBER WITH AN ATLANTIC LABEL, SUBHUMAN RACE, LATER THAN 1995? [/INST] SELECT COUNT(oricon_peak) FROM table_name_72 WHERE label = ""atlantic"" AND title = ""subhuman race"" AND date_of_release > 1995 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR) Question: What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)? [/INST] SELECT COUNT(winning_coach) FROM table_237757_3 WHERE top_team_in_regular_season__points_ = ""Kansas City Spurs (110 points)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER) Question: How many cup goals for the season with more than 34 league apps? [/INST] SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11545282_4 (no INTEGER, school_club_team VARCHAR) Question: What is the largest jersey number for the player from maryland [/INST] SELECT MAX(no) FROM table_11545282_4 WHERE school_club_team = ""Maryland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR) Question: Show all product names and the total quantity ordered for each product name. [/INST] SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR) Question: How many different reasons are there for the change in Connecticut (3)? [/INST] SELECT COUNT(reason_for_change) FROM table_18563954_3 WHERE state__class_ = ""Connecticut (3)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Payments (booking_id VARCHAR); CREATE TABLE Bookings (booking_id VARCHAR, amount_of_refund VARCHAR) Question: What are the id and the amount of refund of the booking that incurred the most times of payments? [/INST] SELECT TOP 1 T1.booking_id, T1.amount_of_refund FROM Bookings AS T1 JOIN Payments AS T2 ON T1.booking_id = T2.booking_id GROUP BY T1.booking_id ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (catalogue VARCHAR, region VARCHAR) Question: Name the catalogue for australia [/INST] SELECT catalogue FROM table_name_53 WHERE region = ""australia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Other_Available_Features (feature_type_code VARCHAR, feature_name VARCHAR); CREATE TABLE Ref_Feature_Types (feature_type_name VARCHAR, feature_type_code VARCHAR) Question: What is the feature type name of feature AirCon? [/INST] SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = ""AirCon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) Question: What is Location Attendance, when High Assists is ""Rafer Alston (7)"", and when High Rebounds is ""Yao Ming (13)""? [/INST] SELECT location_attendance FROM table_name_64 WHERE high_assists = ""rafer alston (7)"" AND high_rebounds = ""yao ming (13)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR) Question: Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's Animal Kingdom? [/INST] SELECT country FROM table_name_76 WHERE opened = 2002 AND model = ""spinning coaster"" AND park = ""disney's animal kingdom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (league_goals INTEGER, total_goals VARCHAR, league_cup_goals VARCHAR) Question: What was the sum of league goals where the toal was 8 and league cup goals were larger than 0? [/INST] SELECT SUM(league_goals) FROM table_name_80 WHERE total_goals = 8 AND league_cup_goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR) Question: Find the IDs of customers whose name contains ""Diana"". [/INST] SELECT customer_id FROM customers WHERE customer_name LIKE ""%Diana%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR) Question: To which party does Robert W. Edgar belong? [/INST] SELECT party FROM table_1341598_39 WHERE incumbent = ""Robert W. Edgar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (country VARCHAR, director VARCHAR) Question: Which Country is listed for the Director Thomas Vinterberg? [/INST] SELECT country FROM table_name_74 WHERE director = ""thomas vinterberg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (assembled VARCHAR, elected VARCHAR) Question: What Assembled has Elected of 1562/63? [/INST] SELECT assembled FROM table_name_30 WHERE elected = ""1562/63"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20505342_1 (total_points INTEGER, drop_goals VARCHAR) Question: What is the point total for the season with 2 drop goals? [/INST] SELECT MIN(total_points) FROM table_20505342_1 WHERE drop_goals = 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12032893_1 (_number VARCHAR, name VARCHAR) Question: What number (#) is associated with the Name Ron Baxter? [/INST] SELECT COUNT(_number) FROM table_12032893_1 WHERE name = ""Ron Baxter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR) Question: Name the player for 1945 for player [/INST] SELECT ""player"" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = ""player"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2889810_1 (motogp_500cc INTEGER) Question: What is the minimum MotoGP/500cc ranking? [/INST] SELECT MIN(motogp_500cc) FROM table_2889810_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (athlete VARCHAR, run_2 VARCHAR) Question: Who had a run 2 of 50.67? [/INST] SELECT athlete FROM table_name_67 WHERE run_2 = 50.67 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (date VARCHAR, score VARCHAR) Question: On what day was the game that ended in a score of 97-38? [/INST] SELECT date FROM table_name_1 WHERE score = ""97-38"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11734041_10 (years_for_rockets VARCHAR, height_in_ft VARCHAR) Question: Rockets height was 6-6 in feet, list the time frame where this was true? [/INST] SELECT years_for_rockets FROM table_11734041_10 WHERE height_in_ft = ""6-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR) Question: in what round types did the opponent come from south africa? [/INST] SELECT round FROM table_25505246_8 WHERE against = ""South Africa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (title VARCHAR, featuring VARCHAR, series_sorted VARCHAR) Question: what is the title when the featuring is leela and series sorted is 4s/b? [/INST] SELECT title FROM table_name_71 WHERE featuring = ""leela"" AND series_sorted = ""4s/b"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR) Question: Who was the home team at MCG? [/INST] SELECT home_team FROM table_name_40 WHERE venue = ""mcg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR) Question: What's the title of the song by Winger? [/INST] SELECT song_title FROM table_name_83 WHERE artist = ""winger"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: Which Gold has a Nation of sri lanka, and a Silver smaller than 10? [/INST] SELECT AVG(gold) FROM table_name_39 WHERE nation = ""sri lanka"" AND silver < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23988726_2 (world_record VARCHAR) Question: When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record? [/INST] SELECT world_record FROM table_23988726_2 WHERE ""saif_saaeed_shaheen___qat__"" = ""saif_saaeed_shaheen___qat__"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE product (product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR) Question: Find products with max page size as ""A4"" and pages per minute color smaller than 5. [/INST] SELECT product FROM product WHERE max_page_size = ""A4"" AND pages_per_minute_color < 5 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (draws INTEGER, goal_difference VARCHAR, played VARCHAR) Question: Can you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30? [/INST] SELECT MAX(draws) FROM table_name_5 WHERE goal_difference < 64 AND played > 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR) Question: What are the processors supported by a ddr2 memory and the nforce 550 model? [/INST] SELECT processors_supported FROM table_name_91 WHERE memory = ""ddr2"" AND model = ""nforce 550"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (event VARCHAR, name VARCHAR) Question: What event did Rashid Sidek participate in? [/INST] SELECT event FROM table_name_8 WHERE name = ""rashid sidek"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (crowd VARCHAR, venue VARCHAR) Question: How many people came to the game at Victoria Park? [/INST] SELECT COUNT(crowd) FROM table_name_17 WHERE venue = ""victoria park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (start INTEGER, year VARCHAR, engine VARCHAR, finish VARCHAR) Question: How many starts are associated with an oldsmobile engine, 21 finishes and before 2001? [/INST] SELECT SUM(start) FROM table_name_17 WHERE engine = ""oldsmobile"" AND finish = 21 AND year < 2001 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (score VARCHAR, game VARCHAR) Question: What was the score on game number 12? [/INST] SELECT score FROM table_17118657_7 WHERE game = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR) Question: What is every entry for epoch if periselene is 2,291.250? [/INST] SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = ""2,291.250"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR) Question: What was the Score in the game against the Buffalo Sabres? [/INST] SELECT score FROM table_name_83 WHERE opponent = ""buffalo sabres"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (score VARCHAR, tie_no VARCHAR) Question: What is the score for the tie number 15? [/INST] SELECT score FROM table_name_13 WHERE tie_no = ""15"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30030227_1 (written_by VARCHAR, directed_by VARCHAR) Question: How many people wrote the episode directed by Arvin Brown? [/INST] SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_by = ""Arvin Brown"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (year VARCHAR, engine VARCHAR, chassis VARCHAR) Question: In what year did a car have a yamaha v12 engine and a brabham bt60y chassis [/INST] SELECT year FROM table_name_70 WHERE engine = ""yamaha v12"" AND chassis = ""brabham bt60y"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619135_8 (game INTEGER, date VARCHAR) Question: What number game of the season was played on April 12? [/INST] SELECT MAX(game) FROM table_13619135_8 WHERE date = ""April 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR) Question: What is Team 1 where Team 2 is al tahrir? [/INST] SELECT team_1 FROM table_name_13 WHERE team_2 = ""al tahrir"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (gold INTEGER, total VARCHAR, participants VARCHAR, rank VARCHAR) Question: What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1? [/INST] SELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (type VARCHAR, works_number VARCHAR) Question: What is Type, when Works Number is 75823? [/INST] SELECT type FROM table_name_16 WHERE works_number = ""75823"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is ""Vijay Singh""? [/INST] SELECT score FROM table_name_41 WHERE player = ""vijay singh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (round INTEGER, position VARCHAR, pick VARCHAR) Question: What is the largest round number for the dt position when the pick number is bigger than 181? [/INST] SELECT MAX(round) FROM table_name_54 WHERE position = ""dt"" AND pick > 181 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26860595_2 (config_core_1 VARCHAR, processing_power_gflops VARCHAR) Question: What is the config core 1 of the model with a processing power GFLOPs of 432? [/INST] SELECT config_core_1 FROM table_26860595_2 WHERE processing_power_gflops = ""432"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (record VARCHAR) Question: What is the record which shows Kickoff as kickoff? [/INST] SELECT record FROM table_name_75 WHERE ""kickoff"" = ""kickoff"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26919_7 (akkadian VARCHAR, geez VARCHAR) Question: if the geez is libb, what is the akkadian? [/INST] SELECT akkadian FROM table_26919_7 WHERE geez = ""libb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (cerclis_id VARCHAR, deleted VARCHAR) Question: What CERCLIS ID is Deleted of 04/07/2008? [/INST] SELECT cerclis_id FROM table_name_16 WHERE deleted = ""04/07/2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13681_2 (currency_name VARCHAR, highest_monthly_inflation_rate VARCHAR) Question: what's the currency name with highest monthly inflation rate being 29,500% [/INST] SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = ""29,500%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR) Question: What was the listed crowd at junction oval? [/INST] SELECT crowd FROM table_name_28 WHERE venue = ""junction oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR) Question: What is Nick Price's score? [/INST] SELECT score FROM table_name_20 WHERE player = ""nick price"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (Id VARCHAR) Question: Which Tournament in 2010 also has Grand Slam tournaments in 2011 [/INST] SELECT 2010 FROM table_name_74 WHERE 2011 = ""grand slam tournaments"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR) Question: What is the smallest fleet size with a type of shunter introduced in 1953? [/INST] SELECT MIN(fleet_size) FROM table_name_87 WHERE type = ""shunter"" AND introduced = ""1953"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, name VARCHAR) Question: Cowansville has less than 16 regions and is a Brome-Missisquoi Municipality, what is their population? [/INST] SELECT MIN(population) FROM table_name_38 WHERE regional_county_municipality = ""brome-missisquoi"" AND name = ""cowansville"" AND region < 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (tries_for VARCHAR, points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR) Question: Name the tries when tries against were 41, try bonus was 6, and had 317 points. [/INST] SELECT tries_for FROM table_name_35 WHERE try_bonus = ""6"" AND tries_against = ""41"" AND points_against = ""317"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR) Question: What is the number of the model with three parallel printer ports? [/INST] SELECT model_number FROM table_1300080_1 WHERE printer_ports = ""Three Parallel"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (result VARCHAR, opponent VARCHAR, date VARCHAR) Question: What was the result of the april 6, 2002 game against the greensboro prowlers? [/INST] SELECT result FROM table_name_89 WHERE opponent = ""greensboro prowlers"" AND date = ""april 6, 2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (season INTEGER, podiums VARCHAR, races VARCHAR) Question: Which Season has Podiums of 0, and Races of 16? [/INST] SELECT MAX(season) FROM table_name_44 WHERE podiums = ""0"" AND races = ""16"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28561455_1 (no_in_season INTEGER) Question: What's the smallest season number? [/INST] SELECT MIN(no_in_season) FROM table_28561455_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17516967_1 (swimsuit VARCHAR, state VARCHAR) Question: Name the swuinsuit for oregon [/INST] SELECT swimsuit FROM table_17516967_1 WHERE state = ""Oregon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR) Question: What is the ERP for the Rockhampton region? [/INST] SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = ""rockhampton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (result VARCHAR, goal VARCHAR) Question: Tell me the result for 3 goals [/INST] SELECT result FROM table_name_46 WHERE goal = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR) Question: What venue has a weight (kg) greater than 55, and won as the result? [/INST] SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = ""won"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR) Question: What is Opponent, when Location/Attendance is ""Mellon Arena - 17,132""? [/INST] SELECT opponent FROM table_name_67 WHERE location_attendance = ""mellon arena - 17,132"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248967_9 (location_attendance VARCHAR, date VARCHAR) Question: How many game locations occurred on March 6? [/INST] SELECT COUNT(location_attendance) FROM table_23248967_9 WHERE date = ""March 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (secretary VARCHAR, internal_co VARCHAR) Question: What Secretary has an Internal CO of isabel voets? [/INST] SELECT secretary FROM table_name_90 WHERE internal_co = ""isabel voets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (province VARCHAR, election INTEGER) Question: What province has an election after 2009? [/INST] SELECT province FROM table_name_55 WHERE election > 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (rookie VARCHAR, week VARCHAR) Question: Who was the rookie that played week 6? [/INST] SELECT rookie FROM table_name_59 WHERE week = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR) Question: What is Pedro De La Rosa's total number of Grid? [/INST] SELECT COUNT(grid) FROM table_name_27 WHERE driver = ""pedro de la rosa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR) Question: What was the attendance at the game that had a loss of Ayala (6-12)? [/INST] SELECT attendance FROM table_name_49 WHERE loss = ""ayala (6-12)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (weight_ VARCHAR, _height VARCHAR, player VARCHAR) Question: Which Weight & Height has a Player of michael worrincy? [/INST] SELECT weight_ & _height FROM table_name_65 WHERE player = ""michael worrincy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (player VARCHAR, date VARCHAR) Question: Who had a date of 19-02-2003? [/INST] SELECT player FROM table_name_23 WHERE date = ""19-02-2003"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (director_s_ VARCHAR, date VARCHAR) Question: What directors won an award on 14/6/6? [/INST] SELECT director_s_ FROM table_name_98 WHERE date = ""14/6/6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29301050_1 (departure_pune VARCHAR, arrival_lonavla VARCHAR) Question: what time does the train that arrives in lonavla at 22:22 depart pune [/INST] SELECT departure_pune FROM table_29301050_1 WHERE arrival_lonavla = ""22:22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1601792_4 (transmitted VARCHAR, frequency VARCHAR) Question: How many stations are transmitted on frequency 7 uhf? [/INST] SELECT COUNT(transmitted) FROM table_1601792_4 WHERE frequency = ""7 UHF"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR) Question: who is the candidate where district is louisiana 3? [/INST] SELECT candidates FROM table_1342198_18 WHERE district = ""Louisiana 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR) Question: What is the average time span of contact channels in the database? [/INST] SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (races INTEGER, points INTEGER) Question: What is the least number of Races for a Racer with less than 0 Points? [/INST] SELECT MIN(races) FROM table_name_31 WHERE points < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (summer_olympics VARCHAR, city VARCHAR) Question: When did the Summer Olympics occur in Tokyo? [/INST] SELECT summer_olympics FROM table_name_3 WHERE city = ""tokyo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (lead_margin INTEGER, poll_source VARCHAR) Question: Which Lead Margin has a Poll Source of rasmussen reports/ fox news? [/INST] SELECT MIN(lead_margin) FROM table_name_75 WHERE poll_source = ""rasmussen reports/ fox news"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (average VARCHAR, career VARCHAR, goals VARCHAR) Question: What is the total average for 1990-1995, and goals less than 90? [/INST] SELECT COUNT(average) FROM table_name_40 WHERE career = ""1990-1995"" AND goals < 90 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2146364_2 (second_place VARCHAR, city_ VARCHAR, _nation VARCHAR) Question: What is the total number of second place finishes when the city & nation was Chicago, USA? [/INST] SELECT COUNT(second_place) FROM table_2146364_2 WHERE city_ & _nation = ""Chicago, USA"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (surface VARCHAR, partner VARCHAR) Question: Which Surface has a Partner of pemra özgen? [/INST] SELECT surface FROM table_name_89 WHERE partner = ""pemra özgen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR) Question: Find the last names of all the authors that have written a paper with title containing the word ""Monadic"". [/INST] SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE ""%Monadic%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR) Question: What is the Name when the runner-up was Sania Mirza Elena Vesnina? [/INST] SELECT name FROM table_name_77 WHERE runner_up = ""sania mirza elena vesnina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_2 (title VARCHAR, production_code VARCHAR) Question: What's the title of the episode with production code 104? [/INST] SELECT title FROM table_2818164_2 WHERE production_code = 104 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (all_around INTEGER, total VARCHAR) Question: What is the sum of the all around with a 37.75 total? [/INST] SELECT SUM(all_around) FROM table_name_68 WHERE total = 37.75 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_50 (district VARCHAR, party VARCHAR, first_elected VARCHAR) Question: What district first elected a Democratic incumbent in 1998? [/INST] SELECT district FROM table_1805191_50 WHERE party = ""Democratic"" AND first_elected = 1998 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR) Question: what is the date when the opponent is leeds united? [/INST] SELECT date FROM table_name_80 WHERE opponent = ""leeds united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (week INTEGER, attendance VARCHAR) Question: What was the first week to have attendance of 65,866? [/INST] SELECT MIN(week) FROM table_name_31 WHERE attendance = 65 OFFSET 866 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (year INTEGER, theme VARCHAR, mintage VARCHAR) Question: What is the earliest year a red maple had a mintage over 15,000? [/INST] SELECT MIN(year) FROM table_name_48 WHERE theme = ""red maple"" AND mintage > 15 OFFSET 000 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (leading_scorer VARCHAR, date VARCHAR) Question: Who led the score on April 9? [/INST] SELECT leading_scorer FROM table_name_54 WHERE date = ""april 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (czechoslovak_president VARCHAR, tenure_begin VARCHAR) Question: Who was the President of Czechoslovakia when an ambassador's tenure began in 1950? [/INST] SELECT czechoslovak_president FROM table_name_99 WHERE tenure_begin = ""1950"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE publication (Publication_Date VARCHAR) Question: Please show the most common publication date. [/INST] SELECT TOP 1 Publication_Date FROM publication GROUP BY Publication_Date ORDER BY COUNT(*) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR) Question: How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471? [/INST] SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25597136_1 (date_first_lit VARCHAR, focal_plane_in_ft__m_ VARCHAR) Question: Focal plane in ft (m) is 43ft (13.1m) is the first date lit. [/INST] SELECT date_first_lit FROM table_25597136_1 WHERE focal_plane_in_ft__m_ = ""43ft (13.1m)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (imperfect_stem VARCHAR, meaning VARCHAR) Question: What is the imperfect stem of the word that means 'take away, remove'? [/INST] SELECT imperfect_stem FROM table_name_74 WHERE meaning = ""'take away, remove'"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (state VARCHAR, frequency VARCHAR, city_of_license VARCHAR) Question: What state is the radio station in that has a frequency of 90.1 FM and a city license in New Castle? [/INST] SELECT state FROM table_name_71 WHERE frequency = ""90.1 fm"" AND city_of_license = ""new castle"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR) Question: what is the nation when the penalty points is less than 40.2 and judge e is 82.22? [/INST] SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = ""82.22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (pick INTEGER, player VARCHAR) Question: What was the pick number of Conor Jackson? [/INST] SELECT AVG(pick) FROM table_name_72 WHERE player = ""conor jackson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (date VARCHAR, league_position VARCHAR, result_f___a VARCHAR) Question: What date that was the league position was 1st, and the result F– A was 5 – 0? [/INST] SELECT date FROM table_name_29 WHERE league_position = ""1st"" AND result_f___a = ""5 – 0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16976547_2 (finish VARCHAR, eliminated VARCHAR) Question: Name the finish for patani [/INST] SELECT finish FROM table_16976547_2 WHERE eliminated = ""Patani"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR) Question: What years was the player Lonny Baxter in Toronto? [/INST] SELECT years_in_toronto FROM table_10015132_2 WHERE player = ""Lonny Baxter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (result VARCHAR, week INTEGER) Question: What results has a week smaller than 2? [/INST] SELECT result FROM table_name_79 WHERE week < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR) Question: Who was the home team at princes park? [/INST] SELECT home_team FROM table_name_25 WHERE venue = ""princes park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12175755_1 (theme VARCHAR, song_choice VARCHAR) Question: What is the song choice when the theme is not aired? [/INST] SELECT theme FROM table_12175755_1 WHERE song_choice = ""Not Aired"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, code_base VARCHAR, edition VARCHAR) Question: What is the default desktop environment when the code base is ubuntu 8.04 and edition is fluxbox ce? [/INST] SELECT default_desktop_environment FROM table_27329061_2 WHERE code_base = ""Ubuntu 8.04"" AND edition = ""Fluxbox CE"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341453_40 (party VARCHAR, incumbent VARCHAR) Question: Incumbent Tim Holden belonged to what party? [/INST] SELECT party FROM table_1341453_40 WHERE incumbent = ""Tim Holden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR) Question: Which Location has a Date of 1931-02-02? [/INST] SELECT location FROM table_name_44 WHERE date = ""1931-02-02"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_12 (first_elected INTEGER) Question: What's the first elected year of the district who's been the last one to do so? [/INST] SELECT MAX(first_elected) FROM table_1341472_12
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (against INTEGER, wins VARCHAR, draws VARCHAR) Question: What is the average number of against with 11 wins and less than 0 draws? [/INST] SELECT AVG(against) FROM table_name_31 WHERE wins = 11 AND draws < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (gold INTEGER, rank VARCHAR, bronze VARCHAR) Question: Which Gold has a Rank smaller than 5, and a Bronze of 20? [/INST] SELECT AVG(gold) FROM table_name_97 WHERE rank < 5 AND bronze = 20 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR) Question: How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012? [/INST] SELECT COUNT(lost) FROM table_name_66 WHERE period = ""12 november 2012 – 27 november 2012"" AND managed > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (drawn INTEGER, games INTEGER) Question: What is the highest number of games drawn, where the games played was less than 7? [/INST] SELECT MAX(drawn) FROM table_name_86 WHERE games < 7 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR) Question: Which Tie number had Middlesbrough as the away team? [/INST] SELECT tie_no FROM table_name_63 WHERE away_team = ""middlesbrough"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (league VARCHAR, venue VARCHAR) Question: Which League has a Venue of martin luther king, jr. recreation center? [/INST] SELECT league FROM table_name_95 WHERE venue = ""martin luther king, jr. recreation center"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10966926_2 (position VARCHAR, player_name VARCHAR) Question: Which position does Colt Brennan play? [/INST] SELECT position FROM table_10966926_2 WHERE player_name = ""Colt Brennan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21313498_1 (written_by VARCHAR, no_in_season VARCHAR) Question: in the number of episode in season is 11, who was the writer? [/INST] SELECT written_by FROM table_21313498_1 WHERE no_in_season = 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (round INTEGER, college VARCHAR, pick VARCHAR) Question: what is the round when the college is syracuse and the pick is less than 3? [/INST] SELECT AVG(round) FROM table_name_94 WHERE college = ""syracuse"" AND pick < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (away_team VARCHAR) Question: When collingwood played as the away team what did they score? [/INST] SELECT away_team AS score FROM table_name_3 WHERE away_team = ""collingwood"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR) Question: How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0? [/INST] SELECT COUNT(total) FROM table_name_37 WHERE player = ""ahmad fouzee masuri"" AND fa_cup > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (calorie VARCHAR, watt_hour VARCHAR) Question: How many calories is 1 watt hour? [/INST] SELECT calorie FROM table_name_64 WHERE watt_hour = ""1"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24989925_2 (week INTEGER) Question: How many weeks total are there? [/INST] SELECT MAX(week) FROM table_24989925_2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR) Question: How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6? [/INST] SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = ""6"" AND points > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (constructor VARCHAR, laps VARCHAR) Question: What is the make of the car that drove 54 laps? [/INST] SELECT constructor FROM table_name_26 WHERE laps = 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (country VARCHAR, swimsuit VARCHAR) Question: What is the country of the contestant with a swimsuit of 9.46? [/INST] SELECT country FROM table_name_19 WHERE swimsuit = 9.46 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) Question: What title was published on November 2001 and has a 1st Doctor? [/INST] SELECT title FROM table_name_99 WHERE doctor = ""1st"" AND published = ""november 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (record VARCHAR, method VARCHAR, location VARCHAR) Question: What is the record when the method is decision and the location is Martigues, France? [/INST] SELECT record FROM table_name_86 WHERE method = ""decision"" AND location = ""martigues, france"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1598533_8 (annual_change__percentage_of_gdp__2012_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR) Question: What is the annual change of GDP with a 20.5% GDP of EU in 2012? [/INST] SELECT annual_change__percentage_of_gdp__2012_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = ""20.5%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR) Question: For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result? [/INST] SELECT result FROM table_name_24 WHERE home_captain = ""graham gooch"" AND date = ""3,4,5,6,7 june 1993"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (party VARCHAR, name VARCHAR) Question: What is Party, when Name is Oudom Khattigna? [/INST] SELECT party FROM table_name_8 WHERE name = ""oudom khattigna"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) Question: On 15/04/07 in the competition Super League XII, what was the score? [/INST] SELECT score FROM table_name_94 WHERE competition = ""super league xii"" AND date = ""15/04/07"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1061075_1 (opponents VARCHAR) Question: what's the 1st leg where opponents is galatasaray [/INST] SELECT 1 AS st_leg FROM table_1061075_1 WHERE opponents = ""Galatasaray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (player VARCHAR, to_par VARCHAR, score VARCHAR) Question: Who had a to par of +2 and a score of 78-69-68=215? [/INST] SELECT player FROM table_name_22 WHERE to_par = ""+2"" AND score = 78 - 69 - 68 = 215 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR) Question: What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual? [/INST] SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = ""5-speed manual"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) Question: When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred? [/INST] SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = ""laurent-marie-joseph imbert / st. imbert"" AND canonised > 1984 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR) Question: What is the team when the economy is 5.73? [/INST] SELECT team FROM table_27268238_5 WHERE economy = ""5.73"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE CLASS (class_room VARCHAR) Question: Find the number of classes offered for all class rooms that held at least 2 classes. [/INST] SELECT COUNT(*), class_room FROM CLASS GROUP BY class_room HAVING COUNT(*) >= 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when the home team was Norwich City? [/INST] SELECT away_team FROM table_name_83 WHERE home_team = ""norwich city"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR) Question: How many goals were conceded against the Chepo F.C. team where they lost 7 games? [/INST] SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = ""chepo f.c."" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR) Question: Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4? [/INST] SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) Question: Name the least Laps for accident and gird more than 13 [/INST] SELECT MIN(laps) FROM table_name_41 WHERE time_retired = ""accident"" AND grid > 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR) Question: What is the silver for Germany and less than 2? [/INST] SELECT AVG(silver) FROM table_name_64 WHERE nation = ""germany"" AND rank < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (format VARCHAR, date VARCHAR, label VARCHAR) Question: Which Format has a Date of 14 october 2008, and a Label of eagle eye media? [/INST] SELECT format FROM table_name_40 WHERE date = ""14 october 2008"" AND label = ""eagle eye media"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR) Question: What is the date of the Mosport Park circuit? [/INST] SELECT date FROM table_name_34 WHERE circuit = ""mosport park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR) Question: What's the language of Draw number 9? [/INST] SELECT language FROM table_name_65 WHERE draw = 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (team VARCHAR, replaced_by VARCHAR) Question: I want the team with replaced by being csaba lászló [/INST] SELECT team FROM table_name_24 WHERE replaced_by = ""csaba lászló"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (republican VARCHAR, district VARCHAR) Question: Which Republican has a District of 10? [/INST] SELECT republican FROM table_name_26 WHERE district = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR) Question: What is the score of the game where the record was 22-55? [/INST] SELECT score FROM table_name_7 WHERE record = ""22-55"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (points INTEGER, drawn VARCHAR, games VARCHAR) Question: What was the highest points where there were less than 2 drawn and the games were less than 6? [/INST] SELECT MAX(points) FROM table_name_26 WHERE drawn < 2 AND games < 6 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE products (price INTEGER) Question: Find all information of all the products with a price between $60 and $120. [/INST] SELECT * FROM products WHERE price BETWEEN 60 AND 120
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (stories VARCHAR, building VARCHAR) Question: How many stories is the torre reforma building? [/INST] SELECT COUNT(stories) FROM table_name_99 WHERE building = ""torre reforma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR) Question: If the matches for NQF is 2009, what is the position? [/INST] SELECT position FROM table_21223773_2 WHERE matches_for_nqf = ""2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085947_32 (trans_2 VARCHAR, bike__40km_ VARCHAR) Question: What is the trans 2 duration if the biking stage is covered within 58:20? [/INST] SELECT trans_2 FROM table_17085947_32 WHERE bike__40km_ = ""58:20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27303975_2 (studio VARCHAR, catalog_number VARCHAR) Question: Name the studio for catalog number 81063 [/INST] SELECT studio FROM table_27303975_2 WHERE catalog_number = ""81063"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (long VARCHAR, avg_g VARCHAR) Question: What is the long value for the year with an average/game of 160.9? [/INST] SELECT long FROM table_name_17 WHERE avg_g = ""160.9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR) Question: Who was the director that worked with Dana Dorian as the writer? [/INST] SELECT director_s_ FROM table_name_44 WHERE writer_s_ = ""dana dorian"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (against VARCHAR, draw INTEGER) Question: What is the total number of Against, when Draw is greater than 48? [/INST] SELECT COUNT(against) FROM table_name_12 WHERE draw > 48 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR) Question: What is the Record of the Chicago Black Hawks Home game with the New York Rangers and a Score of 3–2? [/INST] SELECT record FROM table_name_28 WHERE home = ""chicago black hawks"" AND visitor = ""new york rangers"" AND score = ""3–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (ship_type VARCHAR, name VARCHAR) Question: What type of ship was the HMSST George? [/INST] SELECT ship_type FROM table_name_66 WHERE name = ""hmsst george"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_7 (land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) Question: If the water square milage is 1.701, what is the land square milage? [/INST] SELECT land___sqmi__ FROM table_18600760_7 WHERE water__sqmi_ = ""1.701"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (Leading VARCHAR, score VARCHAR) Question: Who was the Leading Scorer in the Game with a Score of 96-87? [/INST] SELECT Leading AS scorer FROM table_name_90 WHERE score = ""96-87"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (date VARCHAR, result VARCHAR) Question: On what date was the Result l 38-14? [/INST] SELECT date FROM table_name_46 WHERE result = ""l 38-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (electronvolt VARCHAR, joule VARCHAR) Question: How many electronvolts is 3,600 joules? [/INST] SELECT electronvolt FROM table_name_44 WHERE joule = ""3,600"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (week INTEGER, attendance VARCHAR) Question: What's the mean week number when attendance was 63,263? [/INST] SELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (game__number INTEGER, date VARCHAR) Question: What game number was played on March 4? [/INST] SELECT AVG(game__number) FROM table_name_67 WHERE date = ""march 4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR) Question: Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region? [/INST] SELECT region FROM table_name_8 WHERE most_populous_city_town = ""clonmel"" AND irish_name = ""tiobraid árann (contae thiobraid árann)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (imperative VARCHAR, subjunctive VARCHAR) Question: With a subjunctive of du måchast what is the imperative? [/INST] SELECT imperative FROM table_name_37 WHERE subjunctive = ""du måchast"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24108789_6 (_number INTEGER, player VARCHAR) Question: Name the most number for steve stricker [/INST] SELECT MAX(_number) FROM table_24108789_6 WHERE player = ""Steve Stricker"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR) Question: For the event held in Tartu, Estonia, what is the name of the runner-up? [/INST] SELECT runner_up FROM table_name_90 WHERE venue = ""tartu, estonia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (year INTEGER, opponent VARCHAR) Question: what year was the opponent caroline garcia? [/INST] SELECT SUM(year) FROM table_name_22 WHERE opponent = ""caroline garcia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR) Question: Name the total number of viewers for audience share in timeslot for 10.2% [/INST] SELECT COUNT(viewers__millions_) FROM table_19834691_4 WHERE audience_share_in_timeslot = ""10.2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (home_captain VARCHAR, result VARCHAR) Question: Who was the Home Captain and the Result for AUS by 4 wkts? [/INST] SELECT home_captain FROM table_name_25 WHERE result = ""aus by 4 wkts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (runner_s__up VARCHAR, tournament VARCHAR) Question: Which Runner(s)-up has a Tournament of general foods pga seniors' championship? [/INST] SELECT runner_s__up FROM table_name_65 WHERE tournament = ""general foods pga seniors' championship"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27723228_8 (location_attendance VARCHAR, record VARCHAR) Question: Where was the game played when the record was 16–11? [/INST] SELECT location_attendance FROM table_27723228_8 WHERE record = ""16–11"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22904752_1 (original_air_date VARCHAR, written_by VARCHAR) Question: When is the original air date written by sean whitesell? [/INST] SELECT original_air_date FROM table_22904752_1 WHERE written_by = ""Sean Whitesell"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Vigo Tournament? [/INST] SELECT date FROM table_name_65 WHERE tournament = ""vigo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (tries_against VARCHAR, club VARCHAR) Question: What was the tries again llanishen rfc? [/INST] SELECT tries_against FROM table_name_35 WHERE club = ""llanishen rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, character VARCHAR) Question: Name the indanapolis concerts for dr. alexandre manette [/INST] SELECT indianapolis_concerts FROM table_17085724_1 WHERE character = ""Dr. Alexandre Manette"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2282444_1 (t_c__ VARCHAR, magnet VARCHAR) Question: When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (°c)? [/INST] SELECT COUNT(t_c__) AS °c_ FROM table_2282444_1 WHERE magnet = ""Nd 2 Fe 14 B (bonded)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) Question: Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service? [/INST] SELECT language FROM table_name_80 WHERE origin_of_programming = ""india"" AND genre = ""general"" AND network = ""ptc punjabi"" AND service = ""bell fibe tv"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (loss VARCHAR, score VARCHAR) Question: What game did they lose by 6 - 5? [/INST] SELECT loss FROM table_name_67 WHERE score = ""6 - 5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15624586_2 (deficit___surplus_ VARCHAR, _percentage_of_world_demand VARCHAR) Question: What is the deficit (-surplus) of the country who use 5.2% of the world demand of uranium? [/INST] SELECT deficit___surplus_ FROM table_15624586_2 WHERE _percentage_of_world_demand = ""5.2%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (score VARCHAR, third_place VARCHAR) Question: What was the score in the tournament in which Michael Stich took third place? [/INST] SELECT score FROM table_name_32 WHERE third_place = ""michael stich"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (score VARCHAR, country VARCHAR) Question: What was spain's score? [/INST] SELECT score FROM table_name_93 WHERE country = ""spain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (format VARCHAR, frequency VARCHAR) Question: what is the format when the frequency is fm 94.5? [/INST] SELECT format FROM table_name_58 WHERE frequency = ""fm 94.5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (playoffs VARCHAR, year VARCHAR, open_cup VARCHAR) Question: Which Playoffs have a Year smaller than 2012, and an Open Cup of did not enter? [/INST] SELECT playoffs FROM table_name_83 WHERE year < 2012 AND open_cup = ""did not enter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (nhl_team VARCHAR, round VARCHAR, overall VARCHAR) Question: What is the NHL team for Round 5 and an overall ranking of #154? [/INST] SELECT nhl_team FROM table_name_7 WHERE round = ""5"" AND overall = ""#154"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR) Question: What is the record after the game on Feb 10? [/INST] SELECT record FROM table_name_89 WHERE february = 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) Question: What is the size of the biggest crowd for a game where Fitzroy was the away team? [/INST] SELECT MAX(crowd) FROM table_name_29 WHERE away_team = ""fitzroy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (october VARCHAR, february VARCHAR) Question: Who is the october playmate with February playmate Cristy Thom? [/INST] SELECT october FROM table_name_51 WHERE february = ""cristy thom"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (week_3 VARCHAR, week_2 VARCHAR) Question: Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2? [/INST] SELECT week_3 FROM table_name_54 WHERE week_2 = ""ashley lowe"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR) Question: Where's the first round that southern mississippi shows up during the draft? [/INST] SELECT MIN(round) FROM table_name_31 WHERE school_club_team = ""southern mississippi"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1059743_1 (play_off VARCHAR, points VARCHAR) Question: Did any team score games that totaled up to 860.5? [/INST] SELECT play_off FROM table_1059743_1 WHERE points = ""860.5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29997112_3 (description VARCHAR, meaning VARCHAR) Question: How many different descriptions are there for the flag that means decimal digit 2? [/INST] SELECT COUNT(description) FROM table_29997112_3 WHERE meaning = ""Decimal Digit 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14836185_3 (scoring_rank VARCHAR, year VARCHAR) Question: What was the scoring rank for Angela Stanford in 2009? [/INST] SELECT scoring_rank FROM table_14836185_3 WHERE year = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR) Question: Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio. [/INST] SELECT website FROM table_name_53 WHERE city_of_license = ""san antonio"" AND webcast = ""listen live"" AND frequency = 680 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR) Question: What is the rate of 17 years? [/INST] SELECT rate FROM table_name_55 WHERE year = ""17 years"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR) Question: What is the time/retired for the driver with 16 grids? [/INST] SELECT time_retired FROM table_name_81 WHERE grid = 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (pinnacle_height VARCHAR, town VARCHAR) Question: What is the Pinnacle height for Metcalf, Georgia? [/INST] SELECT pinnacle_height FROM table_name_17 WHERE town = ""metcalf, georgia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR) Question: What was the maximum speed for the P4-1 (24/36 ps)? [/INST] SELECT vmax FROM table_name_78 WHERE type = ""p4-1 (24/36 ps)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10321124_1 (shigella VARCHAR, yersinia VARCHAR) Question: what's the shigella with yersinia being yscp [/INST] SELECT shigella FROM table_10321124_1 WHERE yersinia = ""YscP"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (club VARCHAR, points VARCHAR) Question: What is the name of the club with 22 points? [/INST] SELECT club FROM table_name_2 WHERE points = ""22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR) Question: Who had the high assists when the score was l 85–118 (ot) [/INST] SELECT high_assists FROM table_23248869_8 WHERE score = ""L 85–118 (OT)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (home VARCHAR, score VARCHAR) Question: Who has the Home Score of 52-54? [/INST] SELECT home FROM table_name_76 WHERE score = ""52-54"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR, tie_no VARCHAR) Question: What is the score for the date of 16 december 1978, with a tie no of 9? [/INST] SELECT score FROM table_name_98 WHERE date = ""16 december 1978"" AND tie_no = ""9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (rebounds VARCHAR, team VARCHAR, games VARCHAR) Question: How many Rebounds did Maccabi Tel Aviv Team get after Game 6? [/INST] SELECT COUNT(rebounds) FROM table_name_10 WHERE team = ""maccabi tel aviv"" AND games > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (rank VARCHAR, events VARCHAR, prize_money__$__ VARCHAR) Question: What is the rank for the player with events greater than 23 and prize money in excess of $823,783? [/INST] SELECT COUNT(rank) FROM table_name_33 WHERE events > 23 AND prize_money__$__ > 823 OFFSET 783 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR) Question: What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009? [/INST] SELECT result FROM table_name_43 WHERE category = ""outstanding supporting actress in a drama series"" AND year = 2009 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (gain VARCHAR, avg_g VARCHAR, long VARCHAR, name VARCHAR) Question: What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than -0.1? [/INST] SELECT COUNT(gain) FROM table_name_90 WHERE long < 4 AND name = ""brandon mcrae"" AND avg_g < -0.1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17360840_9 (record VARCHAR, location VARCHAR, opponent VARCHAR) Question: What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum? [/INST] SELECT record FROM table_17360840_9 WHERE location = ""St. Pete Times Forum"" AND opponent = ""Columbus Blue Jackets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26842217_18 (broadcast VARCHAR, site VARCHAR) Question: Name the broadcast for davis-wade stadium • starkville ms [/INST] SELECT broadcast FROM table_26842217_18 WHERE site = ""Davis-Wade Stadium • Starkville MS"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR, _percentage_change VARCHAR) Question: When the change is 8.8%, what is the density (pop/km²)? [/INST] SELECT density__pop_km²_ FROM table_1425958_1 WHERE _percentage_change = ""8.8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER) Question: What was the position of the teams before 1973? [/INST] SELECT pos FROM table_name_23 WHERE year < 1973 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR) Question: Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9 [/INST] SELECT hand_guards FROM table_name_8 WHERE name = ""ar-15a2 government carbine"" AND barrel_twist = ""1:9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) Question: What is the sexual abuse rate where the conflict is the Burundi Civil War? [/INST] SELECT MAX(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = ""Burundi Civil War"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13018116_1 (pts_for INTEGER, won VARCHAR) Question: What is the most points when the won is 9? [/INST] SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 9 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1439096_1 (production_no INTEGER) Question: What is the lowest production number? [/INST] SELECT MIN(production_no) FROM table_1439096_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (Id VARCHAR) Question: What 2006 has 1r as the 2007? [/INST] SELECT 2006 FROM table_name_74 WHERE 2007 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR) Question: Who was the home team at the game when the Thrashers had a record of 18–18–1? [/INST] SELECT home FROM table_name_31 WHERE record = ""18–18–1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (date VARCHAR, home_team VARCHAR) Question: Name the date for home team of collingwood [/INST] SELECT date FROM table_name_51 WHERE home_team = ""collingwood"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) Question: How many dates of polls occur in the Madhya Pradesh state? [/INST] SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = ""Madhya Pradesh"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341586_26 (candidates VARCHAR, district VARCHAR) Question: Which candidates are from the Missouri 3 district? [/INST] SELECT candidates FROM table_1341586_26 WHERE district = ""Missouri 3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, opponents VARCHAR) Question: What date was the game against Royal Antwerp? [/INST] SELECT date FROM table_name_87 WHERE opponents = ""royal antwerp"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR) Question: What is Tiger Woods' to par? [/INST] SELECT to_par FROM table_name_5 WHERE player = ""tiger woods"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR) Question: What are the fleet number for the 4-6-4t locomotive? [/INST] SELECT fleet_numbers FROM table_name_19 WHERE type = ""4-6-4t"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (area__km²_ INTEGER, name_of_community VARCHAR, excised_from VARCHAR, population VARCHAR) Question: What is the average Area (km²) that shows Excised from shire of cook and a Population smaller than 463 for the community of wujal wujal (bloomfield river)? [/INST] SELECT AVG(area__km²_) FROM table_name_30 WHERE excised_from = ""shire of cook"" AND population < 463 AND name_of_community = ""wujal wujal (bloomfield river)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR) Question: How many attended on may 6? [/INST] SELECT COUNT(attendance) FROM table_name_85 WHERE date = ""may 6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (roll INTEGER, name VARCHAR) Question: Name the sum of roll for morrinsville school [/INST] SELECT SUM(roll) FROM table_name_65 WHERE name = ""morrinsville school"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (round INTEGER, player VARCHAR) Question: What is the lowest Round of joe patterson? [/INST] SELECT MIN(round) FROM table_name_79 WHERE player = ""joe patterson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1480455_1 (population__2005_ VARCHAR, population_density___km_2__ VARCHAR) Question: What is the total number of population in the year 2005 where the population density 35.9 (/km 2)? [/INST] SELECT COUNT(population__2005_) FROM table_1480455_1 WHERE population_density___km_2__ = ""35.9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1889233_2 (period_in_office VARCHAR, parliament VARCHAR) Question: During what period were parliament 11th? [/INST] SELECT period_in_office FROM table_1889233_2 WHERE parliament = ""11th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (race_leader VARCHAR, stage VARCHAR) Question: Which race Leader has a Stage of 7? [/INST] SELECT race_leader FROM table_name_33 WHERE stage = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR) Question: What is every entry for epoch if periselene is 5,454.925? [/INST] SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = ""5,454.925"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (final_decommission VARCHAR, original_name VARCHAR) Question: When was the ship originally named sachem finally decommissioned? [/INST] SELECT final_decommission FROM table_name_94 WHERE original_name = ""sachem"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (date_of_release VARCHAR, title VARCHAR) Question: When was twenty released? [/INST] SELECT date_of_release FROM table_name_16 WHERE title = ""twenty"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR) Question: What is the Revenues of Ukyo-Daiyu? [/INST] SELECT revenues FROM table_name_81 WHERE courtesy_title = ""ukyo-daiyu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (leading_scorer VARCHAR, date VARCHAR) Question: Who is the leading scorer of the game on 13 February 2008? [/INST] SELECT leading_scorer FROM table_name_52 WHERE date = ""13 february 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (points INTEGER, goals VARCHAR) Question: What is the number of points when goals were 29–30? [/INST] SELECT SUM(points) FROM table_name_98 WHERE goals = ""29–30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (grid INTEGER, constructor VARCHAR, laps VARCHAR) Question: What is the low grid that has brm and over 54 laps? [/INST] SELECT MIN(grid) FROM table_name_20 WHERE constructor = ""brm"" AND laps > 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (variant_id VARCHAR, genbank_id VARCHAR) Question: Which Variant id has the GenBank id of nm_005411.4? [/INST] SELECT variant_id FROM table_name_40 WHERE genbank_id = ""nm_005411.4"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR, record VARCHAR) Question: Which Score has a Game larger than 40, and a Record of 25-10-8? [/INST] SELECT score FROM table_name_81 WHERE game > 40 AND record = ""25-10-8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR) Question: List all the customers in increasing order of IDs. [/INST] SELECT customer_id, customer_name FROM customers ORDER BY customer_id "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR) Question: How many Forfeits have Wins smaller than 8, and Losses larger than 16? [/INST] SELECT COUNT(forfeits) FROM table_name_84 WHERE wins < 8 AND losses > 16 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is Score, when Place is ""T9"", and when Player is ""Jeff Sluman""? [/INST] SELECT score FROM table_name_39 WHERE place = ""t9"" AND player = ""jeff sluman"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR) Question: In which round is pick number 242? [/INST] SELECT COUNT(round) FROM table_name_92 WHERE pick = ""242"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (rank__number VARCHAR, result VARCHAR) Question: What was the rank# of the opponent when the result of the game was w42-14? [/INST] SELECT rank__number FROM table_name_53 WHERE result = ""w42-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE addresses (city VARCHAR, zip_postcode VARCHAR) Question: Find the city with post code 255. [/INST] SELECT city FROM addresses WHERE zip_postcode = 255 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_255812_1 (population__2010_ VARCHAR, area__km²_ VARCHAR) Question: What is the total quantity of populace (2010) where location (km²) is 134.51 [/INST] SELECT COUNT(population__2010_) FROM table_255812_1 WHERE area__km²_ = ""134.51"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR) Question: how many yes votes made up 43.18% yes? [/INST] SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = ""43.18%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (office VARCHAR, law_preservation_ticket VARCHAR) Question: What office was law preservation ticket holder William E. Barron running for? [/INST] SELECT office FROM table_name_51 WHERE law_preservation_ticket = ""william e. barron"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27893892_2 (game_site VARCHAR, date VARCHAR) Question: what is the location for saturday, april 21 [/INST] SELECT game_site FROM table_27893892_2 WHERE date = ""Saturday, April 21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (goal_difference VARCHAR, team VARCHAR) Question: What is the goal difference for the team from Chorley? [/INST] SELECT goal_difference FROM table_name_99 WHERE team = ""chorley"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR) Question: Which vocal type has the band mate with first name ""Solveig"" played the most? [/INST] SELECT TOP 1 TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = ""Solveig"" GROUP BY TYPE ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (round INTEGER, player VARCHAR, pick VARCHAR) Question: Player of dan federman, and a Pick larger than 114 involves which highest round? [/INST] SELECT MAX(round) FROM table_name_59 WHERE player = ""dan federman"" AND pick > 114 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR) Question: How many episodes had 4.44m viewers? [/INST] SELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = ""4.44m"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (tries_against VARCHAR, try_bonus VARCHAR) Question: If the try bonus was 5 what was the try against score? [/INST] SELECT tries_against FROM table_name_99 WHERE try_bonus = ""5"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (rank VARCHAR, fastest_time__s_ VARCHAR, nation VARCHAR) Question: What rank did the United States swimmer come in who posted 11.26 seconds in the 100-meter youth female division? [/INST] SELECT COUNT(rank) FROM table_name_71 WHERE fastest_time__s_ = ""11.26"" AND nation = ""united states"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR) Question: What is the date of Competition of 2008 africa cup of nations? [/INST] SELECT date FROM table_name_37 WHERE competition = ""2008 africa cup of nations"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11019212_1 (saturday VARCHAR, wednesday VARCHAR) Question: what's the saturday time with wednesday being 10:00-5:00 [/INST] SELECT saturday FROM table_11019212_1 WHERE wednesday = ""10:00-5:00"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (game VARCHAR, team VARCHAR, début VARCHAR) Question: What is the name of the game whose team is Waterford and debuted later than 1995? [/INST] SELECT game FROM table_name_60 WHERE team = ""waterford"" AND début > 1995 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR) Question: How many odd of winning have 6th as the division? [/INST] SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions = ""6th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) Question: What was the earliest week the team played the chicago cardinals in front of less than 25,312? [/INST] SELECT MIN(week) FROM table_name_12 WHERE opponent = ""chicago cardinals"" AND attendance < 25 OFFSET 312 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27887723_1 (location VARCHAR, team VARCHAR) Question: what location has team trek-livestrong? [/INST] SELECT location FROM table_27887723_1 WHERE team = ""Trek-Livestrong"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR) Question: what is the score for the game on 21 april 2001? [/INST] SELECT score FROM table_name_25 WHERE date = ""21 april 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE course (title VARCHAR, credits VARCHAR) Question: List the names of all courses ordered by their titles and credits. [/INST] SELECT title FROM course ORDER BY title, credits "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (area_km_2 INTEGER, status VARCHAR, official_name VARCHAR) Question: What is the area of drummond village? [/INST] SELECT MAX(area_km_2) FROM table_name_45 WHERE status = ""village"" AND official_name = ""drummond"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR) Question: What party won with a margin of 105731? [/INST] SELECT party FROM table_22756549_1 WHERE margin = 105731 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28697228_4 (player VARCHAR, total_offense VARCHAR) Question: What is the name of the player with total offense of 454? [/INST] SELECT player FROM table_28697228_4 WHERE total_offense = 454 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (away VARCHAR, score VARCHAR, home VARCHAR) Question: Which Away has a Score of 1:2, and a Home of vida? [/INST] SELECT away FROM table_name_31 WHERE score = ""1:2"" AND home = ""vida"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR) Question: What is the eccentricity when the semimajor axis is 20 au? [/INST] SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = ""20 au"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (bronze INTEGER, nation VARCHAR, total VARCHAR) Question: When the united states won a total number of medals larger than 25, what was the lowest amount of Bronze medals won? [/INST] SELECT MIN(bronze) FROM table_name_61 WHERE nation = ""united states"" AND total > 25 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE district (city_population INTEGER, city_area INTEGER) Question: Find the total population of the districts where the area is bigger than the average city area. [/INST] SELECT SUM(city_population) FROM district WHERE city_area > (SELECT AVG(city_area) FROM district) "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (college_junior_club_team__league_ VARCHAR, player VARCHAR) Question: Which college/junior/club team (league) did Brett Sonne play in? [/INST] SELECT college_junior_club_team__league_ FROM table_name_45 WHERE player = ""brett sonne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (position VARCHAR) Question: What position did Garion Weller hold in 2012? [/INST] SELECT position FROM table_name_23 WHERE 2012 = ""garion weller"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR) Question: What is the date of the game where Footscray was the away team? [/INST] SELECT date FROM table_name_2 WHERE away_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR) Question: How many caps figures are there for Norwich City, Coventry City? [/INST] SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = ""Norwich City, Coventry City"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (week INTEGER, game_site VARCHAR, attendance VARCHAR) Question: What was the first week when there was an attendance over 75,007 at Mile High Stadium? [/INST] SELECT MIN(week) FROM table_name_21 WHERE game_site = ""mile high stadium"" AND attendance > 75 OFFSET 007 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (attendance VARCHAR, loss VARCHAR) Question: What was the attendance of the game that had a loss of Wolf (3-4)? [/INST] SELECT attendance FROM table_name_84 WHERE loss = ""wolf (3-4)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR) Question: Who is the Japanese voice actor of the Battle of the Planets of Keyop? [/INST] SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = ""keyop"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (tie_no VARCHAR, home_team VARCHAR) Question: What is the tie no of the game that home team huddersfield town played? [/INST] SELECT tie_no FROM table_name_15 WHERE home_team = ""huddersfield town"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (nat VARCHAR, name VARCHAR) Question: What is the nationality of Gavin Rae? [/INST] SELECT nat FROM table_name_9 WHERE name = ""gavin rae"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (goals INTEGER, games VARCHAR, debut_year VARCHAR, player VARCHAR) Question: What are the most goals listed when Jack Trehey was the player, with the listed debut year of 1902, games less than 1? [/INST] SELECT MAX(goals) FROM table_name_29 WHERE debut_year = 1902 AND player = ""jack trehey"" AND games < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (record VARCHAR, opponent VARCHAR) Question: Name the record with opponent of christian nielson [/INST] SELECT record FROM table_name_71 WHERE opponent = ""christian nielson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13464416_6 (high_rebounds VARCHAR, record VARCHAR) Question: who made the recovers where the score is 12-30 [/INST] SELECT high_rebounds FROM table_13464416_6 WHERE record = ""12-30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR) Question: Which nationality has Years for Jazz of 1984-85? [/INST] SELECT nationality FROM table_name_92 WHERE years_for_jazz = ""1984-85"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR) Question: What is the largest crowd for the St Kilda as the away team? [/INST] SELECT MAX(crowd) FROM table_name_26 WHERE away_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (record VARCHAR, score VARCHAR) Question: Which Record has a Score of 111–101? [/INST] SELECT record FROM table_name_69 WHERE score = ""111–101"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employee (Id VARCHAR) Question: Find the total number of employees. [/INST] SELECT COUNT(*) FROM employee
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR) Question: Which Player has 0 Pens and 12 Starts? [/INST] SELECT player FROM table_name_42 WHERE pens = ""0"" AND start = ""12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Catalog_Structure (catalog_level_name VARCHAR, catalog_level_number INTEGER) Question: Find the name and level of catalog structure with level between 5 and 10. [/INST] SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) Question: What is the Away team at Bristol Rovers' Home game? [/INST] SELECT away_team FROM table_name_33 WHERE home_team = ""bristol rovers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (silver INTEGER, nation VARCHAR, gold VARCHAR) Question: what is the silver when the nation is syria (syr) and gold is more than 0? [/INST] SELECT SUM(silver) FROM table_name_38 WHERE nation = ""syria (syr)"" AND gold > 0 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23239946_3 (position INTEGER) Question: How many positions are there in Canadian Nascar? [/INST] SELECT MAX(position) FROM table_23239946_3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1725413_5 (open_era VARCHAR, first_title VARCHAR) Question: How many open era titles does the team with their first title in 1925 have? [/INST] SELECT open_era FROM table_1725413_5 WHERE first_title = 1925 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (sr_no VARCHAR, year_withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) Question: Which SR number had a wheel arrangement of 0-6-0t, the year made was more recent than 1874, and the year withdrawn was 1963? [/INST] SELECT sr_no FROM table_name_87 WHERE wheel_arrangement = ""0-6-0t"" AND year_made > 1874 AND year_withdrawn = 1963 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (total INTEGER, rider VARCHAR) Question: What was the total for christina liebherr? [/INST] SELECT MIN(total) FROM table_name_4 WHERE rider = ""christina liebherr"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR) Question: Which college did the player picked number 136 go to? [/INST] SELECT college FROM table_name_54 WHERE pick = 136 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (pick INTEGER, round VARCHAR, player VARCHAR) Question: What is the pick number later than round 1, for Reyshawn Terry? [/INST] SELECT AVG(pick) FROM table_name_17 WHERE round > 1 AND player = ""reyshawn terry"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (venue VARCHAR, away_team VARCHAR) Question: Which venue has St Kilda as the away team? [/INST] SELECT venue FROM table_name_8 WHERE away_team = ""st kilda"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR) Question: What was the place ranking for the player from Australia? [/INST] SELECT place FROM table_name_43 WHERE country = ""australia"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (visitor VARCHAR, date VARCHAR) Question: on january 12 who was the visitor? [/INST] SELECT visitor FROM table_name_16 WHERE date = ""january 12"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR) Question: What place did the Sake Tuyas come in when the Denim Demons were 4th? [/INST] SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = ""4th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR) Question: How many connections aux in using FIrewire? [/INST] SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = ""FireWire"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26060884_2 (burglary VARCHAR, forcible_rape VARCHAR) Question: How many burglary crimes were committed if the forcible rapes were 1233? [/INST] SELECT burglary FROM table_26060884_2 WHERE forcible_rape = 1233 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR) Question: What's the total power of the unit whose construction finished on 14.06.1963? [/INST] SELECT total_power FROM table_12983929_1 WHERE construction_finish = ""14.06.1963"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (q1 VARCHAR, q2_time VARCHAR, q1_order VARCHAR) Question: What is the Q1+Q2 time for the driver whose Q1 order was 13? [/INST] SELECT q1 + q2_time FROM table_name_35 WHERE q1_order = 13 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (phone VARCHAR, address VARCHAR) Question: What is the phone number of the station located at 53 Dayton Road? [/INST] SELECT phone FROM table_name_46 WHERE address = ""53 dayton road"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27057070_3 (outgoing_manager VARCHAR, team VARCHAR) Question: Who is the outgoing manager when the team is simurq pfc? [/INST] SELECT outgoing_manager FROM table_27057070_3 WHERE team = ""Simurq PFC"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23292220_6 (episode VARCHAR, jasons_team VARCHAR) Question: Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team. [/INST] SELECT episode FROM table_23292220_6 WHERE jasons_team = ""Duncan James and Johnny Vegas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21721351_18 (player VARCHAR, college_junior_club_team VARCHAR) Question: Which player belongs to deerfield academy (Massachusetts) college/junior/club team? [/INST] SELECT player FROM table_21721351_18 WHERE college_junior_club_team = ""Deerfield Academy (Massachusetts)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (outcome VARCHAR, year INTEGER) Question: What was the outcome before 1997? [/INST] SELECT outcome FROM table_name_93 WHERE year < 1997 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (title VARCHAR, developer VARCHAR, genre VARCHAR) Question: What is Title, when Developer is ""2Play Mobile"", and when Genre is ""Action""? [/INST] SELECT title FROM table_name_91 WHERE developer = ""2play mobile"" AND genre = ""action"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19161046_1 (directx VARCHAR, code_name VARCHAR, core___mhz__ VARCHAR) Question: What's the directx of the model with code name RV770 PRO and a core bigger than 650.0 MHz? [/INST] SELECT directx FROM table_19161046_1 WHERE code_name = ""RV770 PRO"" AND core___mhz__ > 650.0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: How many laps did John Love have on a grid less than 11? [/INST] SELECT laps FROM table_name_18 WHERE grid < 11 AND driver = ""john love"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (overall VARCHAR, transition VARCHAR) Question: Who played as overall when Josh Sims was transition? [/INST] SELECT overall FROM table_name_16 WHERE transition = ""josh sims"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (licence_award_date VARCHAR, on_air_date VARCHAR, region VARCHAR) Question: What was the license award date for the ensemble from South Wales and the Severn Estuary that was on air in July 2001? [/INST] SELECT licence_award_date FROM table_name_67 WHERE on_air_date = ""july 2001"" AND region = ""south wales and the severn estuary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (date VARCHAR, opponent VARCHAR, venue VARCHAR) Question: What was the date when the opponent was Sheffield Scimitars and the venue was Home? [/INST] SELECT date FROM table_name_4 WHERE opponent = ""sheffield scimitars"" AND venue = ""home"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR) Question: Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes? [/INST] SELECT tie_no FROM table_name_62 WHERE attendance = ""14 november 1998"" AND away_team = ""hayes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (rank INTEGER, total INTEGER) Question: Which rank has a total smaller than 1? [/INST] SELECT AVG(rank) FROM table_name_23 WHERE total < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: what is the lowest total when the rank is less than 2 and bronze is more than 0? [/INST] SELECT MIN(total) FROM table_name_30 WHERE rank < 2 AND bronze > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR) Question: What is his low win total when he has over 3 top 25s and under 9 cuts made? [/INST] SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1397655_1 (year_acquired INTEGER, station VARCHAR) Question: how many is the minimum for citv [/INST] SELECT MIN(year_acquired) FROM table_1397655_1 WHERE station = ""CITV"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (quantity VARCHAR, class VARCHAR) Question: What is the quantity of class B V? [/INST] SELECT quantity FROM table_name_55 WHERE class = ""b v"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_doubles VARCHAR) Question: Name the men doubles for caroline persyn smids [/INST] SELECT men_doubles FROM table_14903355_2 WHERE womens_doubles = ""Caroline Persyn Smids"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (year INTEGER, partner VARCHAR, surface VARCHAR) Question: What is the highest listed year for the partner of Marcel Granollers and a hard surface? [/INST] SELECT MAX(year) FROM table_name_28 WHERE partner = ""marcel granollers"" AND surface = ""hard"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (record VARCHAR, high_rebounds VARCHAR) Question: what is the record when marc gasol (8) had the high rebounds? [/INST] SELECT record FROM table_name_23 WHERE high_rebounds = ""marc gasol (8)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (date VARCHAR, week VARCHAR, record VARCHAR) Question: On what Date prior to Week 14 was the Record 7-1? [/INST] SELECT date FROM table_name_31 WHERE week < 14 AND record = ""7-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (total INTEGER) Question: What is the total of 2013 with 6th? [/INST] SELECT MAX(total) FROM table_name_87 WHERE 2013 = ""6th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17157367_1 (model VARCHAR, method VARCHAR) Question: what is the model where the method is ha? [/INST] SELECT model FROM table_17157367_1 WHERE method = ""HA"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (played INTEGER, points_1 VARCHAR, position VARCHAR) Question: WHAT IS THE SUM PLAYED WITH POINTS 1 OF 53, AND POSITION LARGER THAN 3? [/INST] SELECT SUM(played) FROM table_name_81 WHERE points_1 = ""53"" AND position > 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR) Question: What is the notes of the transmission on channel bbc four and a time of 22:30? [/INST] SELECT notes FROM table_name_15 WHERE channel = ""bbc four"" AND time = ""22:30"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (year_built INTEGER, last_refurbished INTEGER) Question: What is the earliest year built for the ship refurbished earlier than 2013? [/INST] SELECT MIN(year_built) FROM table_name_47 WHERE last_refurbished < 2013 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: Which player has $450 and a score of 76-74-74-72=296? [/INST] SELECT player FROM table_name_67 WHERE money___$__ = ""450"" AND score = 76 - 74 - 74 - 72 = 296 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171356_2 (census_ranking VARCHAR, official_name VARCHAR) Question: What is Petersville's census ranking? [/INST] SELECT census_ranking FROM table_171356_2 WHERE official_name = ""Petersville"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (arena VARCHAR, runner_up VARCHAR) Question: In what arena was the North Dakota the runner-up? [/INST] SELECT arena FROM table_name_43 WHERE runner_up = ""north dakota"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_260938_1 (si_prefix VARCHAR, chuquet VARCHAR) Question: Name the si prefix for thousand chuquet [/INST] SELECT si_prefix FROM table_260938_1 WHERE chuquet = ""thousand"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (year INTEGER, points INTEGER) Question: What is the earliest year when the points were more than 0? [/INST] SELECT MIN(year) FROM table_name_38 WHERE points > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR) Question: Where was the location where justin robbins fought against billy kidd? [/INST] SELECT location FROM table_name_1 WHERE opponent = ""billy kidd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (record VARCHAR, visitor VARCHAR) Question: Can you tell me the Record that has the Visitor of vancouver? [/INST] SELECT record FROM table_name_67 WHERE visitor = ""vancouver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (Id VARCHAR) Question: What is 2004, when 2007 is ""A"", and when 1997 is ""A""? [/INST] SELECT 2004 FROM table_name_36 WHERE 2007 = ""a"" AND 1997 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19948664_1 (countries_sampled INTEGER, index__year_ VARCHAR) Question: How many countries were sampled for the Prosperity Index (2008)? [/INST] SELECT MAX(countries_sampled) FROM table_19948664_1 WHERE index__year_ = ""Prosperity Index (2008)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, area__km²_ VARCHAR) Question: Name the population 2000 census for 77 area [/INST] SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = ""77"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (date VARCHAR, attendance VARCHAR) Question: Which date had an attendance of 76,518? [/INST] SELECT date FROM table_name_27 WHERE attendance = ""76,518"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR, year VARCHAR) Question: Which Home team has an Away team of al-ain fc, and a Year of 2002/03? [/INST] SELECT home_team FROM table_name_60 WHERE away_team = ""al-ain fc"" AND year = ""2002/03"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR) Question: Which week was the game on December 14, 1967? [/INST] SELECT week FROM table_name_27 WHERE date = ""december 14, 1967"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (championships VARCHAR, league VARCHAR) Question: Which Championships have a League of ontario australian football league? [/INST] SELECT championships FROM table_name_70 WHERE league = ""ontario australian football league"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (fl_cup_goals VARCHAR, fa_cup_goals VARCHAR, division VARCHAR, other_apps VARCHAR) Question: What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0? [/INST] SELECT COUNT(fl_cup_goals) FROM table_name_28 WHERE division = ""one"" AND other_apps > 3 AND fa_cup_goals > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR) Question: Who is the rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h? [/INST] SELECT rider FROM table_name_43 WHERE rank < 8 AND year = 2000 AND speed = ""18.32 km/h"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (tournament VARCHAR) Question: Which 2010 has a Tournament of australian open? [/INST] SELECT 2010 FROM table_name_80 WHERE tournament = ""australian open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR) Question: Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar? [/INST] SELECT whitten FROM table_name_12 WHERE stuart = ""bass"" AND paul_mccartney = ""electric guitar"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR) Question: What municipality where the human development index in the year 2000 was 0.7827? [/INST] SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = ""0.7827"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (tonnage VARCHAR, nationality VARCHAR, ship VARCHAR) Question: What was the tonnage of the Great Britain ship Batna? [/INST] SELECT tonnage FROM table_name_26 WHERE nationality = ""great britain"" AND ship = ""batna"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (event VARCHAR, gold VARCHAR) Question: what is the event when gold is darren kenny great britain (gbr)? [/INST] SELECT event FROM table_name_1 WHERE gold = ""darren kenny great britain (gbr)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, date_painted_created VARCHAR) Question: Who was the subject of the sculpture created in 1982? [/INST] SELECT title_subject FROM table_20903658_1 WHERE date_painted_created = ""1982"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (tries VARCHAR, date VARCHAR) Question: What were the tries on 14/6/97? [/INST] SELECT tries FROM table_name_10 WHERE date = ""14/6/97"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE publication (Book_ID VARCHAR, Price INTEGER); CREATE TABLE book (Writer VARCHAR, Book_ID VARCHAR) Question: Show writers who have published a book with price more than 4000000. [/INST] SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID WHERE T2.Price > 4000000 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR) Question: What is Finish, when Country is ""United States"", and when Player is ""Julius Boros""? [/INST] SELECT finish FROM table_name_37 WHERE country = ""united states"" AND player = ""julius boros"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (frequency_mhz INTEGER, erp_w VARCHAR, call_sign VARCHAR) Question: Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap? [/INST] SELECT MAX(frequency_mhz) FROM table_name_52 WHERE erp_w > 205 AND call_sign = ""k230ap"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR) Question: Which townland has an area of 165 acres? [/INST] SELECT townland FROM table_30120619_1 WHERE area__acres__ = 165 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR) Question: How many losses for the team with less than 4 wins, more than 0 byes and 2510 against? [/INST] SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (competition VARCHAR, score VARCHAR) Question: What is the name of the competition that ended with a score of 1-3? [/INST] SELECT competition FROM table_name_63 WHERE score = ""1-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (university_of_dublin INTEGER, nominated_by_the_taoiseach VARCHAR, industrial_and_commercial_panel VARCHAR) Question: What is the total for the University of Dublin when 2 are nominated by Taoiseach and the industrial and commercial panel is greater than 0? [/INST] SELECT SUM(university_of_dublin) FROM table_name_71 WHERE nominated_by_the_taoiseach = 2 AND industrial_and_commercial_panel > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23242950_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) Question: What's the season number of the episode originally seen by 6.64 million people in the US? [/INST] SELECT MIN(no_in_season) FROM table_23242950_1 WHERE us_viewers__millions_ = ""6.64"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (tournament VARCHAR) Question: Which 2011's tournament was Indian Wells? [/INST] SELECT 2011 FROM table_name_24 WHERE tournament = ""indian wells"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (city VARCHAR, airport VARCHAR) Question: What city is fuhlsbüttel airport in? [/INST] SELECT city FROM table_name_1 WHERE airport = ""fuhlsbüttel airport"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR) Question: What is the highest number of points team vitória, which had more than 38 played, had? [/INST] SELECT MAX(points) FROM table_name_92 WHERE team = ""vitória"" AND played > 38 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (class VARCHAR, quantity VARCHAR, gwr_nos VARCHAR) Question: Which class is smaller than 5 and the GWR is 1322–1323? [/INST] SELECT class FROM table_name_33 WHERE quantity < 5 AND gwr_nos = ""1322–1323"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (status VARCHAR, vehicle_numbers VARCHAR) Question: what status is the vehicle numbers of adb977554? [/INST] SELECT status FROM table_name_78 WHERE vehicle_numbers = ""adb977554"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR) Question: How many seasons did the canterbury bulldogs (8) win? [/INST] SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = ""Canterbury Bulldogs (8)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR) Question: What is the total number of goals for when the drawn is less than 7, less than 21 games have been lost, and there are 1 of 33 points? [/INST] SELECT COUNT(goals_for) FROM table_name_33 WHERE drawn < 7 AND lost < 21 AND points_1 = ""33"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (date VARCHAR, away_team VARCHAR) Question: What is the date of the game where South Melbourne was the away team? [/INST] SELECT date FROM table_name_58 WHERE away_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (nominated_work VARCHAR, year INTEGER) Question: What was the Nominated Work earlier than 2003? [/INST] SELECT nominated_work FROM table_name_62 WHERE year < 2003 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR) Question: What is the channel that is on digital terrestrial channel 10? [/INST] SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = ""10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) Question: For week of top 9, what were the results? [/INST] SELECT result FROM table_22736523_1 WHERE week__number = ""Top 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (pick VARCHAR, name VARCHAR) Question: What was Ralph Shoaf's pick number? [/INST] SELECT pick FROM table_name_39 WHERE name = ""ralph shoaf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (total VARCHAR) Question: What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th? [/INST] SELECT 2009 FROM table_name_4 WHERE 2000 = ""–"" AND total = 3 AND 2004 = ""9th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19925114_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) Question: How many millions of people in the US watched the episode with season number 8? [/INST] SELECT us_viewers__millions_ FROM table_19925114_1 WHERE no_in_season = 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR) Question: For the chinese name 盧奕基 how many in total is the govt salary? [/INST] SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = ""盧奕基"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR) Question: what is the maximum bush# with others% being 1.57% [/INST] SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = ""1.57%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR) Question: What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage. [/INST] SELECT issue_price FROM table_name_46 WHERE artist = ""john mardon"" AND year = 2000 AND mintage = ""included in steam buggy"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE manufacturers (name VARCHAR, revenue INTEGER) Question: Find the name of companies whose revenue is between 100 and 150. [/INST] SELECT name FROM manufacturers WHERE revenue BETWEEN 100 AND 150 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (date VARCHAR, grand_prix VARCHAR) Question: When was the Austrian Grand Prix? [/INST] SELECT date FROM table_name_7 WHERE grand_prix = ""austrian grand prix"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (surface VARCHAR, date VARCHAR) Question: On June 26, 2006 the game was played on what surface? [/INST] SELECT surface FROM table_name_79 WHERE date = ""june 26, 2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR) Question: how many wiaa classifications does fort vancouver high school have? [/INST] SELECT COUNT(wiaa_classification) FROM table_22058547_1 WHERE high_school = ""Fort Vancouver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (against INTEGER, byes VARCHAR, losses VARCHAR, wins VARCHAR) Question: Which Against has Losses larger than 2, and Wins of 8, and Byes smaller than 0? [/INST] SELECT SUM(against) FROM table_name_65 WHERE losses > 2 AND wins = 8 AND byes < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR) Question: With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver? [/INST] SELECT AVG(silver) FROM table_name_74 WHERE total > 1 AND gold = 1 AND bronze > 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (frequency VARCHAR, launched VARCHAR) Question: What is the frequency of the station that was launched on 21 August 1994? [/INST] SELECT frequency FROM table_name_97 WHERE launched = ""21 august 1994"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (save VARCHAR, loss VARCHAR) Question: What was the Save in the game that has a Loss of sanderson (6-5)? [/INST] SELECT save FROM table_name_96 WHERE loss = ""sanderson (6-5)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18703133_6 (scored INTEGER, position VARCHAR) Question: What is scored with the position of 6? [/INST] SELECT MIN(scored) FROM table_18703133_6 WHERE position = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (speed VARCHAR, rider VARCHAR) Question: What is Brian Mateer's Speed? [/INST] SELECT speed FROM table_name_1 WHERE rider = ""brian mateer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (club_team VARCHAR, round INTEGER) Question: Which club team was the player from who was selected in a round under 4? [/INST] SELECT club_team FROM table_name_12 WHERE round < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR) Question: what is the surface on july 26, 2010? [/INST] SELECT surface FROM table_name_15 WHERE date = ""july 26, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (took_office INTEGER, senator VARCHAR, district VARCHAR) Question: What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23? [/INST] SELECT MIN(took_office) FROM table_name_50 WHERE senator = ""eddie bernice johnson"" AND district > 23 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (Id VARCHAR) Question: What is the 2007 value with NMS in 2011? [/INST] SELECT 2007 FROM table_name_87 WHERE 2011 = ""nms"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR) Question: What was the score on February 14, 1999? [/INST] SELECT score_in_final FROM table_name_32 WHERE date = ""february 14, 1999"" "
"[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 time, chelsea won on 4-1 on penalties"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1131183_2 (rank___wjc__ VARCHAR, metro_area VARCHAR) Question: What is the rank where the area is Los Angeles? [/INST] SELECT rank___wjc__ FROM table_1131183_2 WHERE metro_area = ""Los Angeles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (result VARCHAR, road_team VARCHAR, date VARCHAR) Question: WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM, ON APRIL 23? [/INST] SELECT result FROM table_name_68 WHERE road_team = ""boston"" AND date = ""april 23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (tournament VARCHAR) Question: What is the result from 2003 from the US Open? [/INST] SELECT 2003 FROM table_name_80 WHERE tournament = ""us open"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11677100_16 (mlb_draft VARCHAR, position VARCHAR) Question: What MLB Drafts have the position pitcher/infielder? [/INST] SELECT mlb_draft FROM table_11677100_16 WHERE position = ""Pitcher/Infielder"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (h___a VARCHAR, scorers VARCHAR) Question: What was the H/A when the scorer was Hughes? [/INST] SELECT h___a FROM table_name_50 WHERE scorers = ""hughes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (team VARCHAR, rank VARCHAR, rider VARCHAR) Question: Rank larger than 8, and a Rider of chris barrett is what team? [/INST] SELECT team FROM table_name_87 WHERE rank > 8 AND rider = ""chris barrett"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12792876_3 (tries_against VARCHAR, drawn VARCHAR) Question: What was the tries against when the drawn was 2? [/INST] SELECT tries_against FROM table_12792876_3 WHERE drawn = ""2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (since INTEGER, notes VARCHAR, app_l_c_e_ VARCHAR) Question: What is the lowest Since, when Notes is To Anagennisi Karditsa, and when App(L/C/E) is 0 (0/0/0)? [/INST] SELECT MIN(since) FROM table_name_88 WHERE notes = ""to anagennisi karditsa"" AND app_l_c_e_ = ""0 (0/0/0)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (power VARCHAR, name VARCHAR) Question: what is the power when the name is 1.2 16v lpg? [/INST] SELECT power FROM table_name_13 WHERE name = ""1.2 16v lpg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) Question: Which Position has a Player of patrick macdonald? [/INST] SELECT position FROM table_name_35 WHERE player = ""patrick macdonald"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR) Question: I want to meet that has a time 2:15.93 [/INST] SELECT meet FROM table_name_92 WHERE time = ""2:15.93"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR) Question: Who was the successor when the vacator was chester e. holifield (d)? [/INST] SELECT successor FROM table_1134091_4 WHERE vacator = ""Chester E. Holifield (D)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (score VARCHAR, result VARCHAR) Question: What is the Score of the Competition with a Result of 5-0? [/INST] SELECT score FROM table_name_7 WHERE result = ""5-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (word_form VARCHAR, khmer VARCHAR, ungegn VARCHAR) Question: What is the Word Form, when the Khmer is greater than ១០០០០០, and the UNGEGN is (muŏy) dáb leăn? [/INST] SELECT word_form FROM table_name_39 WHERE khmer > ១០០០០០ AND ungegn = ""(muŏy) dáb leăn"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (losses VARCHAR, goal_difference VARCHAR, position VARCHAR) Question: What is the number of losses when the goal difference was -8, and position is smaller than 10? [/INST] SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 10 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (label VARCHAR, chinese__simplified_ VARCHAR) Question: What is 你 朋友's Label? [/INST] SELECT label FROM table_name_92 WHERE chinese__simplified_ = ""你 朋友"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (Id VARCHAR) Question: What is the value in 2009 corresponding to Career Statistics in 2003? [/INST] SELECT 2009 FROM table_name_96 WHERE 2003 = ""career statistics"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (swimsuit VARCHAR, evening_gown VARCHAR) Question: what is the swimsuit score when evening gown score is 9.165 (3)? [/INST] SELECT swimsuit FROM table_name_13 WHERE evening_gown = ""9.165 (3)"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15353123_1 (pick__number INTEGER) Question: Who was the highest pick [/INST] SELECT MIN(pick__number) FROM table_15353123_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1137704_2 (winning_constructor VARCHAR, fastest_lap VARCHAR, location VARCHAR) Question: who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos [/INST] SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = ""Riccardo Patrese"" AND location = ""Interlagos"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19169116_8 (score VARCHAR, opponent VARCHAR) Question: Name the score for opponent of cleveland [/INST] SELECT score FROM table_19169116_8 WHERE opponent = ""Cleveland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (player VARCHAR, score VARCHAR) Question: Which player had a score of 72-69=141? [/INST] SELECT player FROM table_name_75 WHERE score = 72 - 69 = 141 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR) Question: how many times is there more than 0 draws and more than 0 losses? [/INST] SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR) Question: Which away team goes against the home team Mauritius? [/INST] SELECT away_team FROM table_name_94 WHERE home_team = ""mauritius"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR) Question: For the Avg/G of 5.9, what was the long? [/INST] SELECT long FROM table_name_56 WHERE avg_g = ""5.9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20871703_1 (college VARCHAR, position VARCHAR) Question: Which college has fb as the position? [/INST] SELECT college FROM table_20871703_1 WHERE position = ""FB"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR) Question: At what percent was Pat Robertson when George H.W. Bush had 76%? [/INST] SELECT pat_robertson FROM table_name_64 WHERE george_hw_bush = ""76%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR) Question: What were the match points when Bordeaux-Bègles was eliminated from competition? [/INST] SELECT match_points FROM table_27986200_3 WHERE eliminated_from_competition = ""Bordeaux-Bègles"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (game INTEGER, opponent VARCHAR) Question: What is the maximum game that was played against the New York Knickerbockers? [/INST] SELECT MAX(game) FROM table_name_40 WHERE opponent = ""new york knickerbockers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR) Question: What years did the player play when he scored 78 points and 22 goals? [/INST] SELECT years FROM table_name_56 WHERE points = ""78"" AND goals = ""22"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR) Question: Which Team has a Position of linebacker? [/INST] SELECT team FROM table_name_86 WHERE position = ""linebacker"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR) Question: what will be the population of Europe when Northern America is 482 (4.7%)? [/INST] SELECT europe FROM table_19017269_5 WHERE northern_america = ""482 (4.7%)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR) Question: For all games with calgary as home, what is the average number of attendees? [/INST] SELECT AVG(attendance) FROM table_name_1 WHERE home = ""calgary"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (Id VARCHAR) Question: What is the highest 2012 immigration for a country with an immigration of 81,094 in 2011? [/INST] SELECT MAX(2012) FROM table_name_69 WHERE 2011 = 81 OFFSET 094 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (grid VARCHAR, driver VARCHAR) Question: What is the grid total for jean-pierre beltoise? [/INST] SELECT COUNT(grid) FROM table_name_73 WHERE driver = ""jean-pierre beltoise"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (length VARCHAR, junctions VARCHAR) Question: What's the length of the route with junctions of ur 1472 sh 255? [/INST] SELECT length FROM table_name_99 WHERE junctions = ""ur 1472 sh 255"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (byes INTEGER, losses VARCHAR, wins VARCHAR) Question: What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? [/INST] SELECT AVG(byes) FROM table_name_13 WHERE losses = 15 AND wins < 1 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27823058_1 (series__number INTEGER) Question: What's the highest series number ? [/INST] SELECT MAX(series__number) FROM table_27823058_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (status VARCHAR, floors VARCHAR, year VARCHAR) Question: What is the status of the building with more than 28 floor and a year of 2013? [/INST] SELECT status FROM table_name_57 WHERE floors > 28 AND year = 2013 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Plays_games (gameid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR) Question: Show the game name that has most number of hours played. [/INST] SELECT TOP 1 gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid GROUP BY T1.gameid ORDER BY SUM(hours_played) DESC
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR) Question: What was the away team score in the game at Arden Street Oval? [/INST] SELECT away_team AS score FROM table_name_31 WHERE venue = ""arden street oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR) Question: Who got high assists for the game played on February 9? [/INST] SELECT high_assists FROM table_10812293_6 WHERE date = ""February 9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR) Question: What week number had the New York Giants as opponent? [/INST] SELECT COUNT(week) FROM table_name_21 WHERE opponent = ""new york giants"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR) Question: Which Artist has a Record label of vertigo? [/INST] SELECT artist FROM table_name_86 WHERE record_label = ""vertigo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (magazine_type VARCHAR, magazine_run VARCHAR) Question: What is the magazine type that ran from March 3, 2009–February 5, 2010? [/INST] SELECT magazine_type FROM table_name_94 WHERE magazine_run = ""march 3, 2009–february 5, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (round INTEGER, player VARCHAR) Question: Which round was Joe Taylor selected in? [/INST] SELECT SUM(round) FROM table_name_40 WHERE player = ""joe taylor"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE farm_competition (Hosts VARCHAR, Theme VARCHAR) Question: What are the hosts of competitions whose theme is not ""Aliens""? [/INST] SELECT Hosts FROM farm_competition WHERE Theme <> 'Aliens' "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE university (school_id VARCHAR, founded VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, ACC_Regular_Season VARCHAR, school_id VARCHAR) Question: What is the team name and acc regular season score of the school that was founded for the longest time? [/INST] SELECT TOP 1 t2.team_name, t2.ACC_Regular_Season FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id ORDER BY t1.founded "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR) Question: Name the record for prudential center - 12,880 [/INST] SELECT record FROM table_27539272_4 WHERE location_attendance = ""Prudential Center - 12,880"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (season VARCHAR, club VARCHAR, round VARCHAR) Question: Which season has the Werder Bremen Club and is in Round 2r? [/INST] SELECT season FROM table_name_50 WHERE club = ""werder bremen"" AND round = ""2r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (podiums VARCHAR, wins VARCHAR, points VARCHAR) Question: What is the number of podiums with 0 wins and 6 points? [/INST] SELECT podiums FROM table_name_16 WHERE wins = ""0"" AND points = ""6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR) Question: What was the last year someone was elected to the 14th district? [/INST] SELECT MAX(elected) FROM table_13618584_2 WHERE district = ""14th"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: Who is the forward from Grambling State? [/INST] SELECT player FROM table_name_24 WHERE position = ""forward"" AND school_club_team = ""grambling state"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (resident_state VARCHAR, election_year VARCHAR) Question: What is the resident state for the president elected in 1864? [/INST] SELECT resident_state FROM table_name_83 WHERE election_year = 1864 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR) Question: Kecamatan Bogor Timur has more than 6 villages, what is the area in km²? [/INST] SELECT SUM(area_in_km²) FROM table_name_68 WHERE original_name = ""kecamatan bogor timur"" AND number_of_settlements_and_villages > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (premierships VARCHAR, venue VARCHAR) Question: How many premierships for the queensland raceway? [/INST] SELECT premierships FROM table_name_40 WHERE venue = ""queensland raceway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (result VARCHAR, score VARCHAR, competition VARCHAR) Question: Which Result has a Score of 2 – 0, and a Competition of 2006 fifa world cup qualification? [/INST] SELECT result FROM table_name_74 WHERE score = ""2 – 0"" AND competition = ""2006 fifa world cup qualification"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24784769_1 (round4 INTEGER) Question: What is the most amount of points any team had in round 4? [/INST] SELECT MAX(round4) FROM table_24784769_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (sleeves VARCHAR, year VARCHAR) Question: Which Sleeves have a Year of 2006-2008? [/INST] SELECT sleeves FROM table_name_67 WHERE year = ""2006-2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (visitor VARCHAR, series VARCHAR) Question: who is the Visitor that has a Series of series tied 2–2? [/INST] SELECT visitor FROM table_name_33 WHERE series = ""series tied 2–2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2248784_3 (rank_world VARCHAR, country VARCHAR) Question: Name the number of rank world for bhutan [/INST] SELECT COUNT(rank_world) FROM table_2248784_3 WHERE country = ""Bhutan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (altitude__ft_ INTEGER, mach VARCHAR, duration VARCHAR) Question: What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17? [/INST] SELECT MIN(altitude__ft_) FROM table_name_80 WHERE mach > 0.905 AND duration = ""00:06:17"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) Question: What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? [/INST] SELECT score FROM table_name_67 WHERE location = ""clemson, sc"" AND winner = ""clemson"" AND date = ""november 11, 2006"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16799784_13 (diameter__km_ VARCHAR, longitude VARCHAR) Question: What is the diameter of the feature with longitude 8.0e? [/INST] SELECT diameter__km_ FROM table_16799784_13 WHERE longitude = ""8.0E"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2092557_12 (us_open INTEGER, player VARCHAR) Question: When did Shirley Fry Irvin win the US Open? [/INST] SELECT MIN(us_open) FROM table_2092557_12 WHERE player = ""Shirley Fry Irvin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20649850_1 (pick__number VARCHAR, position VARCHAR) Question: Name the number for dl [/INST] SELECT pick__number FROM table_20649850_1 WHERE position = ""DL"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (wins INTEGER, against VARCHAR, losses VARCHAR) Question: WHAT IS THE HIGHEST WINS WITH AGAINST SMALLER THAN 924, LOSSES SMALLER THAN 2? [/INST] SELECT MAX(wins) FROM table_name_72 WHERE against < 924 AND losses < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (points INTEGER, game VARCHAR, record VARCHAR) Question: Which Points have a Game smaller than 8, and a Record of 1–0–0? [/INST] SELECT SUM(points) FROM table_name_73 WHERE game < 8 AND record = ""1–0–0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR) Question: What year is the 2007 big red? [/INST] SELECT year FROM table_name_96 WHERE 2007 = ""big red"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR) Question: Which home team has the Brunswick Street Oval venue? [/INST] SELECT home_team FROM table_name_8 WHERE venue = ""brunswick street oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22893781_5 (location_attendance VARCHAR, date VARCHAR) Question: How many attended on december 2? [/INST] SELECT COUNT(location_attendance) FROM table_22893781_5 WHERE date = ""December 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR) Question: how many times is the team oklahoma city? [/INST] SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = ""Oklahoma City"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (Id VARCHAR) Question: What is 1996, when 1992 is ""ATP Masters Series""? [/INST] SELECT 1996 FROM table_name_29 WHERE 1992 = ""atp masters series"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13762472_3 (score VARCHAR, date VARCHAR) Question: What was the score on November 25? [/INST] SELECT score FROM table_13762472_3 WHERE date = ""November 25"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2150776_1 (team VARCHAR, driver VARCHAR) Question: Name the team for ricky rudd [/INST] SELECT team FROM table_2150776_1 WHERE driver = ""Ricky Rudd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (quarterfinal VARCHAR, rank INTEGER) Question: Which Quarterfinal has a Rank larger than 9? [/INST] SELECT quarterfinal FROM table_name_28 WHERE rank > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23286223_8 (record VARCHAR, high_assists VARCHAR) Question: What was the record at the game where Deron Williams (6) did the high assists? [/INST] SELECT record FROM table_23286223_8 WHERE high_assists = ""Deron Williams (6)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (score VARCHAR, december VARCHAR) Question: What's the score for December of 30? [/INST] SELECT score FROM table_name_48 WHERE december = 30 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (league_division VARCHAR, location VARCHAR) Question: What League/Division has a Location of n/a? [/INST] SELECT league_division FROM table_name_29 WHERE location = ""n/a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120664_1 (civil_parish VARCHAR, townland VARCHAR) Question: name the civil parish for garryduff [/INST] SELECT civil_parish FROM table_30120664_1 WHERE townland = ""Garryduff"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR) Question: What years did Bobby Moore play? [/INST] SELECT nasl_years FROM table_237757_9 WHERE player = ""Bobby Moore"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year_made INTEGER, wheel_arrangement VARCHAR) Question: Which of the lowest years had a Wheel arrangement that was 0-4-2t? [/INST] SELECT MIN(year_made) FROM table_name_86 WHERE wheel_arrangement = ""0-4-2t"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR) Question: Which Season has a UFL Cup of tbd? [/INST] SELECT season FROM table_name_52 WHERE ufl_cup = ""tbd"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR) Question: what is the competition when the result is 2-1? [/INST] SELECT competition FROM table_name_58 WHERE result = ""2-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (result VARCHAR, location VARCHAR, opponent VARCHAR) Question: What was the result of the game against the Miami Dolphins held at the Riverfront Stadium? [/INST] SELECT result FROM table_name_46 WHERE location = ""riverfront stadium"" AND opponent = ""miami dolphins"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_298550_1 (area__km²_ VARCHAR, population_density__per_km²_ VARCHAR) Question: How many entries for area correspond to a population density of 207.9? [/INST] SELECT COUNT(area__km²_) FROM table_298550_1 WHERE population_density__per_km²_ = ""207.9"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (rank INTEGER, silver VARCHAR, bronze VARCHAR) Question: Name the highest rank when silver is 4 and bronze is less than 3 [/INST] SELECT MAX(rank) FROM table_name_13 WHERE silver = 4 AND bronze < 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (bronze INTEGER, nation VARCHAR) Question: What is the average number of bronze medals won by Poland? [/INST] SELECT AVG(bronze) FROM table_name_67 WHERE nation = ""poland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (ddr3_speed INTEGER, model VARCHAR) Question: Name the average DDR3 speed for model e-350 [/INST] SELECT AVG(ddr3_speed) FROM table_name_15 WHERE model = ""e-350"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) Question: What is Place, when Player is ""Arnold Palmer""? [/INST] SELECT place FROM table_name_23 WHERE player = ""arnold palmer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE buildings (name VARCHAR, Height VARCHAR) Question: List the names of buildings in descending order of building height. [/INST] SELECT name FROM buildings ORDER BY Height DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR) Question: What is High Assists, when Date is ""March 10""? [/INST] SELECT high_assists FROM table_name_93 WHERE date = ""march 10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (other VARCHAR, atheism VARCHAR) Question: What is the value of other religions associated with atheism at 1.86%? [/INST] SELECT other FROM table_name_80 WHERE atheism = ""1.86%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (venue VARCHAR, against INTEGER) Question: Which venue has more than 19 against? [/INST] SELECT venue FROM table_name_63 WHERE against > 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (opponent VARCHAR, attendance VARCHAR) Question: Which Opponent has an Attendance of bye? [/INST] SELECT opponent FROM table_name_76 WHERE attendance = ""bye"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24649082_1 (_number INTEGER, written_by VARCHAR) Question: What is the most recent episode number written by Matthew Pitts? [/INST] SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = ""Matthew Pitts"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_197446_1 (term_began VARCHAR, term_ended VARCHAR) Question: How many terms began when the term ended in January 3, 1989? [/INST] SELECT COUNT(term_began) FROM table_197446_1 WHERE term_ended = ""January 3, 1989"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR) Question: Which Venue has an Away team of south melbourne? [/INST] SELECT venue FROM table_name_89 WHERE away_team = ""south melbourne"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR) Question: Original airdate for #6 with 1.246 viewers? [/INST] SELECT original_airdate FROM table_name_73 WHERE nightly_rank = ""#6"" AND viewers__millions_ = 1.246 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR) Question: Who was the visitor when vancouver was at home? [/INST] SELECT visitor FROM table_name_77 WHERE home = ""vancouver"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2516282_3 (outcome VARCHAR, year VARCHAR) Question: In the year 2013, what was the outcome? [/INST] SELECT outcome FROM table_2516282_3 WHERE year = 2013 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (laps VARCHAR, points VARCHAR, grid VARCHAR) Question: What is the total number of laps associated with 8 points and a grid under 8? [/INST] SELECT COUNT(laps) FROM table_name_9 WHERE points = ""8"" AND grid < 8 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, engine VARCHAR) Question: Who is the Constructor for driver Piercarlo Ghinzani and a Ford cosworth dfv 3.0 v8 engine? [/INST] SELECT constructor FROM table_name_42 WHERE driver = ""piercarlo ghinzani"" AND engine = ""ford cosworth dfv 3.0 v8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes? [/INST] SELECT MIN(gold) FROM table_name_45 WHERE silver < 23 AND rank > 5 AND bronze = 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25368177_1 (net_run_rate VARCHAR, total_points VARCHAR) Question: How many different net run rates did the team with 19 total points have? [/INST] SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (score VARCHAR, tie_no VARCHAR) Question: What was the score when there were 7 ties? [/INST] SELECT score FROM table_name_36 WHERE tie_no = ""7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR) Question: What was the result of the game hosted at Queen's Park Oval? [/INST] SELECT result FROM table_name_30 WHERE venue = ""queen's park oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR) Question: If the height is 181cm, what was the position? [/INST] SELECT position FROM table_22344463_2 WHERE height = ""181cm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2147588_3 (successor VARCHAR, vacator VARCHAR) Question: Who was the successor for the new seat? [/INST] SELECT successor FROM table_2147588_3 WHERE vacator = ""New seat"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14323347_1 (played INTEGER) Question: Name the most played [/INST] SELECT MAX(played) FROM table_14323347_1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR) Question: How did Hamza Kramou fare in the semifinals? [/INST] SELECT semifinals FROM table_17427004_7 WHERE athlete = ""Hamza Kramou"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (rank VARCHAR) Question: Which 3rd run has rank of 1? [/INST] SELECT 3 AS rd_run FROM table_name_97 WHERE rank = 1
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (location VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR) Question: Where was the ship when the ship had captured as the disposition of ship and was carrying 225 tonnage? [/INST] SELECT location FROM table_name_29 WHERE disposition_of_ship = ""captured"" AND tonnage = ""225"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (time VARCHAR, opponent VARCHAR) Question: What is the time for an opponent of Satoshi Honma? [/INST] SELECT time FROM table_name_78 WHERE opponent = ""satoshi honma"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342359_39 (candidates VARCHAR, district VARCHAR) Question: Name the candidate for south carolina 1? [/INST] SELECT candidates FROM table_1342359_39 WHERE district = ""South Carolina 1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20704243_6 (title VARCHAR, original_air_date VARCHAR) Question: Which episode aired on august19,2012? [/INST] SELECT title FROM table_20704243_6 WHERE original_air_date = ""August19,2012"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (report VARCHAR, winning_driver VARCHAR, winning_constructor VARCHAR) Question: Name the report for per-viktor widengren and alfa romeo [/INST] SELECT report FROM table_name_48 WHERE winning_driver = ""per-viktor widengren"" AND winning_constructor = ""alfa romeo"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR) Question: For the game where the opponent is listed as At Los Angeles Rams, what was the final score? [/INST] SELECT score FROM table_name_65 WHERE opponent = ""at los angeles rams"" "
"[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"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2385460_1 (travel_time VARCHAR, route VARCHAR) Question: Name the travel time for porta nolana - nola - baiano [/INST] SELECT travel_time FROM table_2385460_1 WHERE route = ""Porta Nolana - Nola - Baiano"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (location_attendance VARCHAR, date VARCHAR) Question: What was the location of the game on February 2? [/INST] SELECT location_attendance FROM table_name_50 WHERE date = ""february 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (opponent VARCHAR, loss VARCHAR) Question: Who did they play when dickey (0-1) recorded the loss? [/INST] SELECT opponent FROM table_name_83 WHERE loss = ""dickey (0-1)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) Question: what is the score when the home team is sunderland? [/INST] SELECT score FROM table_name_91 WHERE home_team = ""sunderland"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) Question: What was the score on october 23? [/INST] SELECT score FROM table_name_33 WHERE date = ""october 23"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR) Question: At a longitude of 321.9e, what is the latitude of the features found? [/INST] SELECT latitude FROM table_16799784_3 WHERE longitude = ""321.9E"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents_with_expenses (budget_type_code VARCHAR) Question: Show budget type codes and the number of documents in each budget type. [/INST] SELECT budget_type_code, COUNT(*) FROM Documents_with_expenses GROUP BY budget_type_code "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15621965_18 (no VARCHAR, position VARCHAR, school_club_team VARCHAR) Question: WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD? [/INST] SELECT no FROM table_15621965_18 WHERE position = ""Guard"" AND school_club_team = ""Oklahoma State"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14928423_1 (year__ceremony_ VARCHAR, original_title VARCHAR) Question: how many years has сенки been nominated? [/INST] SELECT COUNT(year__ceremony_) FROM table_14928423_1 WHERE original_title = ""Сенки"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_15 (result VARCHAR, first_elected VARCHAR) Question: what's the result for first elected in 1948 , 1964 [/INST] SELECT result FROM table_1341472_15 WHERE first_elected = ""1948 , 1964"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when the away team is Carlton? [/INST] SELECT home_team FROM table_16388478_4 WHERE away_team = ""Carlton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, partner VARCHAR) Question: what date was giulia casoni the partner? [/INST] SELECT date FROM table_name_48 WHERE partner = ""giulia casoni"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (tonnage VARCHAR, date VARCHAR) Question: What was the tonnage on 12 september 1942? [/INST] SELECT tonnage FROM table_name_91 WHERE date = ""12 september 1942"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR) Question: What is the fewest losses that had an against score of 2190 and more than 0 draws? [/INST] SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (player VARCHAR, rank VARCHAR) Question: Which player is ranked number 3? [/INST] SELECT player FROM table_name_83 WHERE rank = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR) Question: What's the draw having the result of 10%? [/INST] SELECT AVG(draw) FROM table_name_29 WHERE result = ""10%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR, game VARCHAR, decision VARCHAR) Question: What's the score for a game over 56 with a record of 29-24-7 with a lundqvist decision? [/INST] SELECT score FROM table_name_18 WHERE game > 56 AND decision = ""lundqvist"" AND record = ""29-24-7"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_261906_2 (enrollment INTEGER, joined_mac VARCHAR) Question: What is the highest enrollment schools that joined the mac in 1997? [/INST] SELECT MAX(enrollment) FROM table_261906_2 WHERE joined_mac = 1997 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) Question: What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition? [/INST] SELECT match_report FROM table_name_13 WHERE venue = ""stark's park"" AND competition = ""second division"" AND date = ""23 august 2008"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE book (Title VARCHAR, Writer VARCHAR) Question: What are the titles of the books whose writer is not ""Elaine Lee""? [/INST] SELECT Title FROM book WHERE Writer <> ""Elaine Lee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13079788_3 (date VARCHAR, gtc_winner VARCHAR, gt3_winner VARCHAR) Question: what are all the date for gtc winners graeme mundy jamie smyth and gt3 winners hector lester tim mullen [/INST] SELECT date FROM table_13079788_3 WHERE gtc_winner = ""Graeme Mundy Jamie Smyth"" AND gt3_winner = ""Hector Lester Tim Mullen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (outgoing_manager VARCHAR, replaced_by VARCHAR) Question: Who was the outgoing manager replaced by Marian Bucurescu? [/INST] SELECT outgoing_manager FROM table_17115950_2 WHERE replaced_by = ""Marian Bucurescu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (tv_time VARCHAR, attendance VARCHAR) Question: What is the Tv Time of the game with an Attendance of 73,578? [/INST] SELECT tv_time FROM table_name_40 WHERE attendance = ""73,578"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713890_1 (production_code INTEGER, us_viewers__millions_ VARCHAR) Question: What is the production code that had 24.8 million u.s. viewers? [/INST] SELECT MAX(production_code) FROM table_27713890_1 WHERE us_viewers__millions_ = ""24.8"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR) Question: What is the score of player bob rosburg? [/INST] SELECT score FROM table_name_46 WHERE player = ""bob rosburg"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11303072_9 (stumpings VARCHAR, player VARCHAR) Question: How many stumpings has Paul Nixon in his career? [/INST] SELECT stumpings FROM table_11303072_9 WHERE player = ""Paul Nixon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR) Question: what last performance has past status, ballet as style and tommy batchelor? [/INST] SELECT last_performance FROM table_name_7 WHERE status = ""past"" AND style = ""ballet"" AND name = ""tommy batchelor"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (event VARCHAR, venue VARCHAR) Question: What even was held in Valencia, Spain? [/INST] SELECT event FROM table_name_3 WHERE venue = ""valencia, spain"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (pick__number VARCHAR, cfl_team VARCHAR) Question: What is the Pick # for the Edmonton Eskimos? [/INST] SELECT COUNT(pick__number) FROM table_name_14 WHERE cfl_team = ""edmonton eskimos"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (date VARCHAR, time VARCHAR) Question: What date did a game have a time of 3:44? [/INST] SELECT date FROM table_name_55 WHERE time = ""3:44"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (matches INTEGER, points VARCHAR, goals VARCHAR) Question: What are the highest matches that have points less than 88, and goals less than 0? [/INST] SELECT MAX(matches) FROM table_name_55 WHERE points < 88 AND goals < 0 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (street_address VARCHAR, name VARCHAR) Question: What's the Street address with a Name of New York Life Insurance building? [/INST] SELECT street_address FROM table_name_74 WHERE name = ""new york life insurance building"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (points INTEGER, year INTEGER) Question: What are the lowest points past the year 1978? [/INST] SELECT MIN(points) FROM table_name_51 WHERE year > 1978 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (name VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR) Question: What is the name of the school with a decile of 1, a state authority, and located in Otahuhu? [/INST] SELECT name FROM table_name_41 WHERE decile = ""1"" AND authority = ""state"" AND area = ""otahuhu"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR) Question: What is the location of the 1999 tournament? [/INST] SELECT location FROM table_22165661_3 WHERE tournament = 1999 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (points VARCHAR, played VARCHAR, club VARCHAR) Question: What is Points, when Played is ""20"", and when Club is ""Caldicot RFC""? [/INST] SELECT points FROM table_name_64 WHERE played = ""20"" AND club = ""caldicot rfc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13110459_2 (air_date VARCHAR, overall VARCHAR) Question: how many air date with overall being 83/95 [/INST] SELECT COUNT(air_date) FROM table_13110459_2 WHERE overall = ""83/95"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (to_par VARCHAR, player VARCHAR) Question: Ben Crenshaw has what To par? [/INST] SELECT to_par FROM table_name_18 WHERE player = ""ben crenshaw"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (home VARCHAR, decision VARCHAR, visitor VARCHAR) Question: What is the home team of the game with a price decision and the new jersey devils as the visitor team? [/INST] SELECT home FROM table_name_51 WHERE decision = ""price"" AND visitor = ""new jersey devils"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (week INTEGER, opponent VARCHAR) Question: What was the latest week that the Tampa Bay Buccaneers were an opponent? [/INST] SELECT MAX(week) FROM table_name_29 WHERE opponent = ""tampa bay buccaneers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (pick VARCHAR, player VARCHAR, nfl_club VARCHAR) Question: Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers? [/INST] SELECT pick FROM table_name_58 WHERE player = ""chuck bryant"" AND nfl_club = ""san diego chargers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (opponent VARCHAR, game INTEGER) Question: Who were the opponents in games before number 54? [/INST] SELECT opponent FROM table_name_41 WHERE game < 54 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (Id VARCHAR) Question: What is the 1991 when 1992 and 1990 are 1R? [/INST] SELECT 1991 FROM table_name_69 WHERE 1992 = ""1r"" AND 1990 = ""1r"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR) Question: What is the Record for April 13? [/INST] SELECT record FROM table_name_14 WHERE date = ""april 13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (nation VARCHAR, record VARCHAR) Question: What nation has a Record of 5.06m(16ft7in)? [/INST] SELECT nation FROM table_name_95 WHERE record = ""5.06m(16ft7in)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR) Question: What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08? [/INST] SELECT MIN(code) FROM table_name_92 WHERE most_spoken_language = ""xhosa"" AND place = ""addo elephant national park"" AND area__km_2__ < 1.08 "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16710541_2 (poles INTEGER) Question: What is the lowest number of poles? [/INST] SELECT MIN(poles) FROM table_16710541_2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (lost INTEGER, played INTEGER) Question: What is the average lost of games played of more than 9? [/INST] SELECT AVG(lost) FROM table_name_16 WHERE played > 9 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (date VARCHAR, partnering VARCHAR) Question: What was the date of the game that was played against Laura Golarsa? [/INST] SELECT date FROM table_name_85 WHERE partnering = ""laura golarsa"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (school_club_team VARCHAR, player VARCHAR) Question: Who did mark eaton play for? [/INST] SELECT school_club_team FROM table_name_3 WHERE player = ""mark eaton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR) Question: What is the name for the species Authority of sigmodon hispidus say & ord, 1825? [/INST] SELECT name FROM table_name_76 WHERE species_authority = ""sigmodon hispidus say & ord, 1825"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR) Question: What score has april 28 as the date? [/INST] SELECT score FROM table_name_5 WHERE date = ""april 28"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1974482_1 (location VARCHAR, founded VARCHAR) Question: Name the location for 1829 [/INST] SELECT location FROM table_1974482_1 WHERE founded = 1829 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (round VARCHAR, player VARCHAR, draft VARCHAR, pick VARCHAR) Question: What is the round of player brad winton with a draft before 1983 and a pick less than 132? [/INST] SELECT round FROM table_name_48 WHERE draft < 1983 AND pick < 132 AND player = ""brad winton"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR) Question: Which artist had a 4x platinum? [/INST] SELECT artist FROM table_name_42 WHERE certification = ""4x platinum"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) Question: What is the A330 for A310 B10? [/INST] SELECT a330 FROM table_name_62 WHERE a310 = ""b10"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR) Question: What are the election date for elections held in the province of Albacete? [/INST] SELECT election_date FROM table_26362472_1 WHERE province = ""Albacete"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) Question: What were all USAF space flights when the aximum speed was 3822? [/INST] SELECT usaf_space_flights FROM table_221315_3 WHERE max_speed__mph_ = 3822 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) Question: Name the points classification for mark renshaw and team csc [/INST] SELECT points_classification FROM table_14856023_18 WHERE general_classification = ""Mark Renshaw"" AND team_classification = ""Team CSC"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (december INTEGER, record VARCHAR, game VARCHAR) Question: Record of 15-12-4, and a Game larger than 31 involves what highest December? [/INST] SELECT MAX(december) FROM table_name_68 WHERE record = ""15-12-4"" AND game > 31 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR) Question: Where is the budweiser/g. i. joe's 200? [/INST] SELECT city_location FROM table_name_48 WHERE race_name = ""budweiser/g. i. joe's 200"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (year VARCHAR, machine VARCHAR, points VARCHAR) Question: In what Year did the RG500 Machine have more than 17 Points? [/INST] SELECT COUNT(year) FROM table_name_84 WHERE machine = ""rg500"" AND points > 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (goals_for VARCHAR, wins VARCHAR, ties VARCHAR, goals_against VARCHAR) Question: what is the total number of goals for when the ties is more than 0, the goals against is more than 35 and the wins is less than 2? [/INST] SELECT COUNT(goals_for) FROM table_name_48 WHERE ties > 0 AND goals_against > 35 AND wins < 2 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (socket VARCHAR, voltage VARCHAR, frequency VARCHAR, release_date VARCHAR) Question: What is the socket related to the processor released on June 22, 2005, having a frequency of 1600MHz and voltage under 1.35V? [/INST] SELECT socket FROM table_name_7 WHERE frequency = ""1600mhz"" AND release_date = ""june 22, 2005"" AND voltage < 1.35 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR) Question: What was the minimum crowd on January 24, 1987? [/INST] SELECT MIN(attendance) FROM table_16025095_1 WHERE date = ""January 24, 1987"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Dogs (breed_code VARCHAR); CREATE TABLE Breeds (breed_name VARCHAR, breed_code VARCHAR) Question: What is the name of the breed with the most dogs? [/INST] SELECT TOP 1 T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (aggregate VARCHAR, opponents VARCHAR) Question: What is the Aggregate of Bayer Leverkusen opponents? [/INST] SELECT aggregate FROM table_name_56 WHERE opponents = ""bayer leverkusen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR) Question: How many points did the opponents score at the game in Knoxville? [/INST] SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = ""Knoxville"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (authority VARCHAR, area VARCHAR, gender VARCHAR, decile VARCHAR) Question: Which Authority has a Gender of coed, a Decile smaller than 6, and an Area of merivale? [/INST] SELECT authority FROM table_name_21 WHERE gender = ""coed"" AND decile < 6 AND area = ""merivale"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR) Question: What shape has nickel as the metal, and one rupee as the denomination? [/INST] SELECT shape FROM table_name_78 WHERE metal = ""nickel"" AND denomination = ""one rupee"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (frequency_mhz INTEGER, erp_w INTEGER) Question: Tell me the sum of frequency for ERP W less than 1 [/INST] SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (score VARCHAR, home VARCHAR, record VARCHAR) Question: What is the score for the Chicago Black Hawks game with a record of 2-1? [/INST] SELECT score FROM table_name_36 WHERE home = ""chicago black hawks"" AND record = ""2-1"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21422977_2 (ministries VARCHAR, duration VARCHAR) Question: What is the ministries number when duration is 4 years, 4 days (1,465 days)? [/INST] SELECT ministries FROM table_21422977_2 WHERE duration = ""4 years, 4 days (1,465 days)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (directed_by VARCHAR, original_airdate VARCHAR) Question: Who directed the episode that originally aired on February 25, 2001? [/INST] SELECT directed_by FROM table_name_10 WHERE original_airdate = ""february 25, 2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR) Question: What is the least amount of tropical lows for the 1993–94 season with less than 11 tropical cyclones [/INST] SELECT MIN(tropical_lows) FROM table_name_41 WHERE season = ""1993–94"" AND tropical_cyclones < 11 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR) Question: What is the frequency for the magazine that runs September 2, 2010? [/INST] SELECT frequency FROM table_name_62 WHERE magazine_run = ""september 2, 2010"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (grid INTEGER, rider VARCHAR, laps VARCHAR) Question: What is the lowest grid with rider casey stoner and laps that are smaller than 27? [/INST] SELECT MIN(grid) FROM table_name_96 WHERE rider = ""casey stoner"" AND laps < 27 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE wrestler (Name VARCHAR, Days_held INTEGER) Question: What are the names of wrestlers days held less than 100? [/INST] SELECT Name FROM wrestler WHERE Days_held < 100 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (name VARCHAR, source VARCHAR, type VARCHAR) Question: Which name has the source apoelfc.com.cy and a type of transfer? [/INST] SELECT name FROM table_name_94 WHERE source = ""apoelfc.com.cy"" AND type = ""transfer"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (cost___us$__ VARCHAR, open_source VARCHAR) Question: What is the cost of an Open Source that is no? [/INST] SELECT cost___us$__ FROM table_name_66 WHERE open_source = ""no"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE student (Id VARCHAR) Question: How many students are there? [/INST] SELECT COUNT(*) FROM student
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (entrant VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR) Question: Who was the entrant for driver Giuseppe Farina when he had a Chassis of 625 555 D50 and a tyre of E? [/INST] SELECT entrant FROM table_name_87 WHERE tyre = ""e"" AND chassis = ""625 555 d50"" AND driver = ""giuseppe farina"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (region VARCHAR, catalog VARCHAR) Question: What Region is the MHCL-20004 Catalog? [/INST] SELECT region FROM table_name_39 WHERE catalog = ""mhcl-20004"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR) Question: Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05? [/INST] SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = ""fc schweinfurt 05"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (position VARCHAR, round VARCHAR, overall VARCHAR) Question: Which position had fewer rounds than 3, and an overall of less than 48? [/INST] SELECT position FROM table_name_96 WHERE round < 3 AND overall < 48 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR) Question: What is the time of Yuliya Yefimova? [/INST] SELECT time FROM table_name_53 WHERE name = ""yuliya yefimova"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table (release_date VARCHAR, code_name VARCHAR) Question: What is the release date if the code name is Aoba? [/INST] SELECT release_date FROM table WHERE code_name = ""Aoba"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (name VARCHAR, height VARCHAR, year VARCHAR) Question: Can you tell me the Name that has the Height of 6-5, and the Year of junior? [/INST] SELECT name FROM table_name_55 WHERE height = ""6-5"" AND year = ""junior"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2351952_1 (country VARCHAR, order_number VARCHAR) Question: What country has the order number 711871-711880? [/INST] SELECT country FROM table_2351952_1 WHERE order_number = ""711871-711880"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30058355_3 (tues_23_aug VARCHAR, thurs_25_aug VARCHAR) Question: What is every entry for Tuesday August 23 when Thursday August 25 is 24' 31.87 92.282mph? [/INST] SELECT tues_23_aug FROM table_30058355_3 WHERE thurs_25_aug = ""24' 31.87 92.282mph"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR) Question: What team does Joe Deane play for? [/INST] SELECT team FROM table_name_20 WHERE player = ""joe deane"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24051013_3 (total_evm_votes INTEGER) Question: What is the highest total for evm votes [/INST] SELECT MAX(total_evm_votes) FROM table_24051013_3
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR) Question: What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802? [/INST] SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = ""sebastapol"" AND against < 1802 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (place VARCHAR, event VARCHAR) Question: what is the place when the event is 4000 m individual pursuit? [/INST] SELECT place FROM table_name_94 WHERE event = ""4000 m individual pursuit"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (gold INTEGER, nation VARCHAR) Question: Nation of total has what sum of gold? [/INST] SELECT SUM(gold) FROM table_name_36 WHERE nation = ""total"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (pick INTEGER, name VARCHAR, overall VARCHAR) Question: What is the lowest draft pick number for mark doak who had an overall pick smaller than 147? [/INST] SELECT MIN(pick) FROM table_name_30 WHERE name = ""mark doak"" AND overall < 147 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_272865_20 (matches_as_captain VARCHAR, asian_cup_played_as_a_captain VARCHAR) Question: How many matches as captain were played where Asian Cup played as a captain is Qatar 1988 [/INST] SELECT matches_as_captain FROM table_272865_20 WHERE asian_cup_played_as_a_captain = ""Qatar 1988"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR) Question: What are the positions for Menlo College? [/INST] SELECT position FROM table_22603701_1 WHERE college = ""Menlo college"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (built INTEGER, name VARCHAR) Question: What is the average building year for Superb? [/INST] SELECT AVG(built) FROM table_name_75 WHERE name = ""superb"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: What is the To par for the place in the United States and a score of 74-69-71-74=288? [/INST] SELECT to_par FROM table_name_87 WHERE country = ""united states"" AND score = 74 - 69 - 71 - 74 = 288 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (loss INTEGER, name VARCHAR, gain VARCHAR) Question: What is the lowest loss that Jarius Wright has had where he also has had a gain bigger than 1. [/INST] SELECT MIN(loss) FROM table_name_80 WHERE name = ""jarius wright"" AND gain > 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR) Question: What is the total number of wins for Darley of Ballarat FL against larger than 1055? [/INST] SELECT COUNT(wins) FROM table_name_96 WHERE ballarat_fl = ""darley"" AND against > 1055 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR) Question: Which general election had a pq majority and a 44.75% of the popular vote? [/INST] SELECT general_election FROM table_106367_2 WHERE result = ""PQ majority"" AND _percentage_of_popular_vote = ""44.75%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14850099_18 (burmese VARCHAR, english VARCHAR) Question: What is the Burmese term for Thursday? [/INST] SELECT burmese FROM table_14850099_18 WHERE english = ""Thursday"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13619105_3 (location_attendance VARCHAR, team VARCHAR) Question: Where did they play and how many attended in the game against minnesota? [/INST] SELECT location_attendance FROM table_13619105_3 WHERE team = ""Minnesota"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR) Question: Bhiwani district have what constituency number? [/INST] SELECT constituency_number FROM table_name_37 WHERE district = ""bhiwani"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) Question: What was the home team's score in the match at Victoria Park? [/INST] SELECT home_team AS score FROM table_name_6 WHERE venue = ""victoria park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR) Question: What's the moving of the Esp with a transfer and named De La Red? [/INST] SELECT moving_from FROM table_name_53 WHERE type = ""transfer"" AND nat = ""esp"" AND name = ""de la red"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR) Question: What is the score of the game with tie number 65? [/INST] SELECT score FROM table_name_23 WHERE tie_no = ""65"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR) Question: Which Webcast has the digital1073.com website? [/INST] SELECT webcast FROM table_name_46 WHERE website = ""digital1073.com"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR) Question: What was the country for Sam Snead? [/INST] SELECT country FROM table_name_58 WHERE player = ""sam snead"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (record VARCHAR, game_site VARCHAR) Question: What was the record after the game at Rich Stadium? [/INST] SELECT record FROM table_name_72 WHERE game_site = ""rich stadium"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) Question: Who was the player from the United States in T10 place with a score of 67-77=144? [/INST] SELECT player FROM table_name_1 WHERE country = ""united states"" AND place = ""t10"" AND score = 67 - 77 = 144 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR) Question: What is the name of the stadium which held the most events? [/INST] SELECT TOP 1 t1.name FROM stadium AS t1 JOIN event AS t2 ON t1.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2503102_2 (chassis VARCHAR, team VARCHAR) Question: What chassis is on the car repped by team rahal letterman lanigan racing? [/INST] SELECT chassis FROM table_2503102_2 WHERE team = ""Rahal Letterman Lanigan Racing"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (driver VARCHAR, year VARCHAR) Question: What is the name of the driver in 1955? [/INST] SELECT driver FROM table_name_18 WHERE year = ""1955"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23286112_6 (date VARCHAR, game VARCHAR) Question: When was the game number 3 played? [/INST] SELECT date FROM table_23286112_6 WHERE game = 3 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25037577_1 (high_school_principal VARCHAR, year VARCHAR) Question: How many high school principals were there in 2000-2001? [/INST] SELECT high_school_principal FROM table_25037577_1 WHERE year = ""2000-2001"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (home VARCHAR, round VARCHAR, opponent VARCHAR) Question: Which Home has a Round of r1, and an Opponent of dundee united? [/INST] SELECT home FROM table_name_72 WHERE round = ""r1"" AND opponent = ""dundee united"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR) Question: What team does jan heylen race for? [/INST] SELECT team FROM table_name_35 WHERE driver = ""jan heylen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (home_team VARCHAR, venue VARCHAR) Question: What was the home teams score when the VFL played at Kardinia Park? [/INST] SELECT home_team AS score FROM table_name_80 WHERE venue = ""kardinia park"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (date VARCHAR, opponents VARCHAR) Question: What are the dates where the opponent was guillermo garcía-lópez albert portas? [/INST] SELECT date FROM table_name_9 WHERE opponents = ""guillermo garcía-lópez albert portas"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22538587_3 (player VARCHAR, l_apps VARCHAR) Question: Name the player for l apps for 17 [/INST] SELECT player FROM table_22538587_3 WHERE l_apps = 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (region VARCHAR, catalogue VARCHAR) Question: In what Region was the Catalogue number 1785089 released? [/INST] SELECT region FROM table_name_16 WHERE catalogue = ""1785089"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR) Question: Which team has a car # before 99, a Toyota, and is driven by Mike Skinner? [/INST] SELECT team FROM table_name_1 WHERE car__number < 99 AND make = ""toyota"" AND driver = ""mike skinner"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1987995_5 (closed INTEGER, demod VARCHAR) Question: When was the park demolished in 1994 closed? [/INST] SELECT MIN(closed) FROM table_1987995_5 WHERE demod = 1994 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (storms__days_year_ VARCHAR, fog__days_year_ VARCHAR, sunshine__hrs_year_ VARCHAR) Question: What are the number of storms where fog is lower than 74, and sunshine is 2 668? [/INST] SELECT COUNT(storms__days_year_) FROM table_name_74 WHERE fog__days_year_ < 74 AND sunshine__hrs_year_ = ""2 668"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (length VARCHAR, writer VARCHAR, release VARCHAR) Question: What was the length when James Swallow had a release longer than 2.1? [/INST] SELECT length FROM table_name_36 WHERE writer = ""james swallow"" AND release > 2.1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18303274_1 (fastest_lap VARCHAR, grand_prix VARCHAR) Question: Who had the fastest lap in the Dutch TT Grand Prix? [/INST] SELECT fastest_lap FROM table_18303274_1 WHERE grand_prix = ""Dutch TT"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (nationality VARCHAR, player VARCHAR) Question: What country is Eugene McDowell from? [/INST] SELECT nationality FROM table_name_22 WHERE player = ""eugene mcdowell"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (acceleration_0_100km_h VARCHAR, name VARCHAR) Question: What is the acceleration 1-100km/h when the name is 1.5 dci? [/INST] SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = ""1.5 dci"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (player VARCHAR, current_club VARCHAR, year_born VARCHAR) Question: Which player from the Ironi Nahariya club was born in 1980? [/INST] SELECT player FROM table_name_4 WHERE current_club = ""ironi nahariya"" AND year_born = 1980 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR) Question: What's the overall average that has a round less than 7, and a Pick # of 4? [/INST] SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, number_of_truck_loads_north VARCHAR) Question: When was the Super B capacity reached when the number of truck loads north was 7735? [/INST] SELECT super_b_capacity_reached_ AS ""_citation_needed_"" FROM table_12791809_1 WHERE number_of_truck_loads_north = 7735 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR) Question: What is the reward for the elimination of Peterson? [/INST] SELECT reward FROM table_24122653_2 WHERE eliminated = ""Peterson"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (round INTEGER, time VARCHAR) Question: What is the highest round number with a time of 4:39? [/INST] SELECT MAX(round) FROM table_name_28 WHERE time = ""4:39"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (pick INTEGER, position VARCHAR) Question: What is the highest Pick, when Position is ""G/F""? [/INST] SELECT MAX(pick) FROM table_name_39 WHERE position = ""g/f"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (loss VARCHAR, date VARCHAR) Question: What was the loss on September 2? [/INST] SELECT loss FROM table_name_16 WHERE date = ""september 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR) Question: What is the NCBI Accession Number (mRNA/Protein) for the mus musculus Species? [/INST] SELECT ncbi_accession_number__mrna_protein_ FROM table_name_36 WHERE species = ""mus musculus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, road_team VARCHAR, game VARCHAR) Question: On what date was Portland on the road for Game 2? [/INST] SELECT date FROM table_name_95 WHERE road_team = ""portland"" AND game = ""game 2"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (name VARCHAR, constituency_number VARCHAR) Question: What is the name for the assembly segment with a constituency number of 214? [/INST] SELECT name FROM table_name_55 WHERE constituency_number = ""214"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (home_team VARCHAR, venue VARCHAR) Question: Which Team plays at Western Oval? [/INST] SELECT home_team FROM table_name_90 WHERE venue = ""western oval"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_16278673_1 (population VARCHAR, municipality VARCHAR) Question: Name the population for sørvágur [/INST] SELECT population FROM table_16278673_1 WHERE municipality = ""Sørvágur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (type VARCHAR, year_s_ VARCHAR, bie_recognised VARCHAR, festival_name VARCHAR) Question: what is the type when the bie recognised is yes, festival name is floriade and the year(s) is 2002? [/INST] SELECT type FROM table_name_45 WHERE bie_recognised = ""yes"" AND festival_name = ""floriade"" AND year_s_ = ""2002"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25762852_1 (snowfall__in_year_ INTEGER, name VARCHAR) Question: What is the snowfall for ski resort Snowmass? [/INST] SELECT MAX(snowfall__in_year_) FROM table_25762852_1 WHERE name = ""Snowmass"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (internet_plan VARCHAR, price VARCHAR) Question: What is Internet Plan, when Price is ""22 EUR""? [/INST] SELECT internet_plan FROM table_name_48 WHERE price = ""22 eur"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR) Question: Gary Barnett who has been in 0 FA Cups plays what position? [/INST] SELECT position FROM table_name_7 WHERE fa_cup_apps = ""0"" AND name = ""gary barnett"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (nationality VARCHAR, team VARCHAR) Question: What is the nationality for milwaukee hawks? [/INST] SELECT nationality FROM table_name_91 WHERE team = ""milwaukee hawks"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (competition VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) Question: On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0? [/INST] SELECT competition FROM table_name_89 WHERE venue = ""kuala lumpur"" AND result = ""4-0"" AND date = ""july 26, 1977"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR, february VARCHAR) Question: What is the game number when the Toronto Maple Leafs were the opponent, and the February was less than 17? [/INST] SELECT AVG(game) FROM table_name_49 WHERE opponent = ""toronto maple leafs"" AND february < 17 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game with a record of 54–42? [/INST] SELECT loss FROM table_name_63 WHERE record = ""54–42"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR) Question: What was the total viewership for BBC One weekly rankings larger than 7, before episode 4? [/INST] SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 4 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR) Question: How much gold did South Korea get? [/INST] SELECT SUM(gold) FROM table_name_49 WHERE nation = ""south korea"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (place VARCHAR, player VARCHAR) Question: What is Peter Jacobsen's Place? [/INST] SELECT place FROM table_name_8 WHERE player = ""peter jacobsen"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (score VARCHAR, visitor VARCHAR) Question: What score has mtl. maroons as the visitor? [/INST] SELECT score FROM table_name_91 WHERE visitor = ""mtl. maroons"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23225927_1 (no_in_season INTEGER, written_by VARCHAR) Question: What is the maximum season number for the episode written by Jonathan Greene? [/INST] SELECT MAX(no_in_season) FROM table_23225927_1 WHERE written_by = ""Jonathan Greene"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE votes (state VARCHAR) Question: What are the number of votes from state 'NY' or 'CA'? [/INST] SELECT COUNT(*) FROM votes WHERE state = 'NY' OR state = 'CA'
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2840500_4 (nationality VARCHAR, player VARCHAR) Question: What is the nationality of Christian Lefebvre? [/INST] SELECT nationality FROM table_2840500_4 WHERE player = ""Christian Lefebvre"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_197638_6 (player VARCHAR, us_open VARCHAR) Question: Who won the US Open in 1937? [/INST] SELECT player FROM table_197638_6 WHERE us_open = 1937 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25931938_1 (age INTEGER, aggregate VARCHAR) Question: What is the age of the celebrity who had a 402 aggregate? [/INST] SELECT MAX(age) FROM table_25931938_1 WHERE aggregate = 402 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_5 (player VARCHAR, extra_points VARCHAR) Question: Which players have made a total of 12 extra points? [/INST] SELECT player FROM table_14342592_5 WHERE extra_points = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR) Question: what is the venue when the date is december 7, 1998? [/INST] SELECT venue FROM table_name_6 WHERE date = ""december 7, 1998"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (released_date VARCHAR, chinese_title VARCHAR) Question: What is the release date for the Chinese title 摸摸瓦力欧制造? [/INST] SELECT released_date FROM table_name_46 WHERE chinese_title = ""摸摸瓦力欧制造"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR) Question: How many extra points did Paul Dickey received [/INST] SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = ""Paul Dickey"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (air_date VARCHAR, rating VARCHAR, weekly_winner VARCHAR) Question: What is Air Date, when Rating is ""N/A"", and when Weekly Winner is ""Wedding DJ Chris Dixon""? [/INST] SELECT air_date FROM table_name_19 WHERE rating = ""n/a"" AND weekly_winner = ""wedding dj chris dixon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR) Question: What's bob tway's score? [/INST] SELECT score FROM table_name_51 WHERE player = ""bob tway"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR) Question: What position does the player from the MLS New England Revolution team hold? [/INST] SELECT position FROM table_name_35 WHERE mls_team = ""new england revolution"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (segment_c VARCHAR, episode VARCHAR, segment_a VARCHAR) Question: Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? [/INST] SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = ""wax figures"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (qual VARCHAR, laps VARCHAR, year VARCHAR) Question: Which qual has both 200 total laps and took place in 1957? [/INST] SELECT qual FROM table_name_80 WHERE laps = 200 AND year = ""1957"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR) Question: How scored the most points where the record is 3-0 for the season? [/INST] SELECT high_points FROM table_23285849_5 WHERE record = ""3-0"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (platform_s_ VARCHAR, developer_s_ VARCHAR) Question: What was the platform when the developer was Telltale Games? [/INST] SELECT platform_s_ FROM table_name_43 WHERE developer_s_ = ""telltale games"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (kickoff_time VARCHAR, week VARCHAR) Question: What was the kickoff time on week 1? [/INST] SELECT kickoff_time FROM table_name_53 WHERE week = 1 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (year VARCHAR, time VARCHAR) Question: What year has the time of 55:29:20? [/INST] SELECT COUNT(year) FROM table_name_16 WHERE time = ""55:29:20"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (doctor VARCHAR, title VARCHAR) Question: Which Doctor is featured in City of Death? [/INST] SELECT doctor FROM table_name_69 WHERE title = ""city of death"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR) Question: What is the time/retired for a grid over 17 with 74 laps? [/INST] SELECT time_retired FROM table_name_31 WHERE grid > 17 AND laps = 74 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12744399_1 (genre VARCHAR, english_title_translation VARCHAR) Question: What's the genre of Fever Ranma ½: Hot Springs Athletic Chapter? [/INST] SELECT genre FROM table_12744399_1 WHERE english_title_translation = ""Fever Ranma ½: Hot Springs Athletic Chapter"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (away_team VARCHAR) Question: What is the away team score when the away team is Essendon? [/INST] SELECT away_team AS score FROM table_name_16 WHERE away_team = ""essendon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (undecided VARCHAR, others VARCHAR) Question: What is the Undecided the others was 4%? [/INST] SELECT undecided FROM table_name_70 WHERE others = ""4%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR) Question: which championship had arantxa sánchez vicario todd woodbridge as opponents in the final [/INST] SELECT championship FROM table_1918850_2 WHERE opponents_in_the_final = ""Arantxa Sánchez Vicario Todd Woodbridge"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR) Question: What were all the salary values of players in 2010 and 2001? [/INST] SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) Question: How many totals have golds of 3, silvers of 3, and bronzes under 3? [/INST] SELECT SUM(total) FROM table_name_37 WHERE gold = ""3"" AND bronze < ""3"" AND silver = ""3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR) Question: For which tournament was Anthony Wall the runner-up? [/INST] SELECT tournament FROM table_name_11 WHERE runner_s__up = ""anthony wall"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Salto from? [/INST] SELECT country FROM table_20754016_2 WHERE hometown = ""Salto"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (news_freq VARCHAR, time VARCHAR) Question: What News Freq has a Time of 1:00pm–4:00pm? [/INST] SELECT news_freq FROM table_name_90 WHERE time = ""1:00pm–4:00pm"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR) Question: which CONMEBOL 1995 has a Supercopa 1995 of sf? [/INST] SELECT conmebol_1995 FROM table_name_86 WHERE supercopa_1995 = ""sf"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (school_club_team VARCHAR, player VARCHAR) Question: Roy Rogers play for what school/club team? [/INST] SELECT school_club_team FROM table_name_38 WHERE player = ""roy rogers"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1358608_2 (result VARCHAR, race VARCHAR) Question: What was the result for the railway stakes race? [/INST] SELECT result FROM table_1358608_2 WHERE race = ""Railway Stakes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR) Question: Who had a perfection percentage of 73.24%? [/INST] SELECT name FROM table_name_62 WHERE perfection = ""73.24%"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR) Question: Who held the fastest lap in the race in texas and dario franchitti is the winning driver? [/INST] SELECT fastest_lap FROM table_19850806_3 WHERE race = ""Texas"" AND winning_driver = ""Dario Franchitti"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_11545282_11 (position VARCHAR, no VARCHAR) Question: What is the position of number 47? [/INST] SELECT position FROM table_11545282_11 WHERE no = ""47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (pick INTEGER, name VARCHAR) Question: what is the pick for adam gettis? [/INST] SELECT MIN(pick) FROM table_name_12 WHERE name = ""adam gettis"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent at the game that had a record of 93-54? [/INST] SELECT opponent FROM table_name_73 WHERE record = ""93-54"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_13258806_2 (date VARCHAR, result VARCHAR) Question: On what date did the game end with the result w 43-14? [/INST] SELECT date FROM table_13258806_2 WHERE result = ""W 43-14"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24039597_26 (dismissals VARCHAR, matches VARCHAR) Question: How many matches were 44? [/INST] SELECT COUNT(dismissals) FROM table_24039597_26 WHERE matches = 44 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (sort_restore VARCHAR, deaths VARCHAR) Question: What is the sort value that had deaths of 71? [/INST] SELECT sort_restore FROM table_name_64 WHERE deaths = ""71"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (competition VARCHAR, score VARCHAR) Question: What competition has a score of 1-3? [/INST] SELECT competition FROM table_name_47 WHERE score = ""1-3"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR) Question: What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? [/INST] SELECT SUM(attendance) FROM table_name_99 WHERE venue = ""a"" AND scorers = ""di matteo, m. hughes"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2409041_5 (written_by VARCHAR, original_air_date VARCHAR) Question: Who wrote the episode that originally aired on January 15, 1993? [/INST] SELECT written_by FROM table_2409041_5 WHERE original_air_date = ""January 15, 1993"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (silver VARCHAR, republic VARCHAR, total VARCHAR) Question: Can you tell me total number of Silver that has the Republic of latvian ssr, and the Total larger than 6? [/INST] SELECT COUNT(silver) FROM table_name_12 WHERE republic = ""latvian ssr"" AND total > 6 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17927935_1 (week INTEGER, opponent VARCHAR) Question: What was the week number when the opponent was the New York Jets? [/INST] SELECT MAX(week) FROM table_17927935_1 WHERE opponent = ""New York Jets"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (date VARCHAR, home_team VARCHAR) Question: On what date did the home team Essendon play? [/INST] SELECT date FROM table_name_50 WHERE home_team = ""essendon"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1963459_2 (year INTEGER, average_speed__mph_ VARCHAR) Question: What year was the average speed 145.24 [/INST] SELECT MAX(year) FROM table_1963459_2 WHERE average_speed__mph_ = ""145.24"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (week_3 VARCHAR, week_4 VARCHAR) Question: What Week 3 has a Week 4 of gina blair? [/INST] SELECT week_3 FROM table_name_95 WHERE week_4 = ""gina blair"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (lane INTEGER, reaction_time VARCHAR, country VARCHAR, time VARCHAR) Question: Which Lane has a Country of united states, and a Time smaller than 22.01, and a Reaction Time smaller than 0.193? [/INST] SELECT MIN(lane) FROM table_name_95 WHERE country = ""united states"" AND time < 22.01 AND reaction_time < 0.193 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the country that has a place of T6 that Eduardo Romero plays for? [/INST] SELECT country FROM table_name_73 WHERE place = ""t6"" AND player = ""eduardo romero"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR) Question: What is the American version of the British ə? [/INST] SELECT american FROM table_name_62 WHERE british = ""ə"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14407512_24 (nationality VARCHAR) Question: Name the 1st m for nor [/INST] SELECT 1 AS st__m_ FROM table_14407512_24 WHERE nationality = ""NOR"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR) Question: Which school has enrollment of 887? [/INST] SELECT school FROM table_name_44 WHERE enrollment = 887 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) Question: What is the highest number of laps when honda is the manufacturer and the grid number is 12? [/INST] SELECT MAX(laps) FROM table_name_27 WHERE manufacturer = ""honda"" AND grid = 12 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (winning_driver VARCHAR, circuit VARCHAR) Question: what is the winning driver in taunus [/INST] SELECT winning_driver FROM table_name_19 WHERE circuit = ""taunus"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) Question: What is the highest top-25 with more than 9 top-10 but less than 29 events? [/INST] SELECT MAX(top_25) FROM table_name_17 WHERE top_10 > 9 AND events < 29 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR) Question: born on 1973-08-21, what is the cf's name? [/INST] SELECT name FROM table_name_8 WHERE pos = ""cf"" AND date_of_birth = ""1973-08-21"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (away_team VARCHAR, home_team VARCHAR) Question: What away team played Footscray? [/INST] SELECT away_team FROM table_name_92 WHERE home_team = ""footscray"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance VARCHAR, home_team VARCHAR) Question: What is the total attendance when Stourbridge is the home team? [/INST] SELECT COUNT(attendance) FROM table_name_25 WHERE home_team = ""stourbridge"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) Question: When the crowd was greater than 19,498 who was the away team? [/INST] SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498 ROWS "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE county (County_name VARCHAR, Population VARCHAR) Question: Show the county name and population of all counties. [/INST] SELECT County_name, Population FROM county "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_26708105_5 (protein_name VARCHAR, e_value VARCHAR) Question: What is the protein name when the e-value is 2.50e-41? [/INST] SELECT protein_name FROM table_26708105_5 WHERE e_value = ""2.50E-41"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (date VARCHAR, ground VARCHAR, opponent VARCHAR, tournament VARCHAR) Question: Which date's opponent was Dender when the tournament was in the Jupiler League and the ground was a? [/INST] SELECT date FROM table_name_52 WHERE opponent = ""dender"" AND tournament = ""jupiler league"" AND ground = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_12095519_1 (destination VARCHAR, train_name VARCHAR) Question: Where does the bg express train end? [/INST] SELECT destination FROM table_12095519_1 WHERE train_name = ""BG Express"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713030_11 (team VARCHAR, score VARCHAR) Question: Who was the opponent for the game with a score of w 94–88 (ot)? [/INST] SELECT team FROM table_27713030_11 WHERE score = ""W 94–88 (OT)"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student_Tests_Taken (test_result VARCHAR) Question: List each test result and its count in descending order of count. [/INST] SELECT test_result, COUNT(*) FROM Student_Tests_Taken GROUP BY test_result ORDER BY COUNT(*) DESC "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR) Question: What is Doug Ford's country? [/INST] SELECT country FROM table_name_1 WHERE player = ""doug ford"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (music VARCHAR, notes VARCHAR) Question: Which music has the notes of AKA Africa Uncensored? [/INST] SELECT music FROM table_name_61 WHERE notes = ""aka africa uncensored"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1099080_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR) Question: What was the partial thromboplastin time for factor x deficiency as seen in amyloid purpura [/INST] SELECT partial_thromboplastin_time FROM table_1099080_1 WHERE condition = ""Factor X deficiency as seen in amyloid purpura"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (Id VARCHAR) Question: What did the tournament that got an A in 1945 get in 1949? [/INST] SELECT 1949 FROM table_name_22 WHERE 1945 = ""a"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (w_l__doubles_ VARCHAR, debut VARCHAR) Question: Tell me the WL doubles with a debut of 1999 [/INST] SELECT w_l__doubles_ FROM table_name_73 WHERE debut = 1999 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (exited VARCHAR, celebrity VARCHAR) Question: When did lucy benjamin exit? [/INST] SELECT exited FROM table_name_18 WHERE celebrity = ""lucy benjamin"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR) Question: How many times did Viorel Moldovan replaced a manager? [/INST] SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = ""Viorel Moldovan"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) Question: In season 2007–08 who is the runner-up? [/INST] SELECT runner_up FROM table_25058269_1 WHERE season = ""2007–08"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR) Question: what is the power when the capacity is 898cc? [/INST] SELECT power FROM table_name_43 WHERE capacity = ""898cc"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1805191_39 (first_elected INTEGER, incumbent VARCHAR) Question: What year was Tim Holden first elected? [/INST] SELECT MIN(first_elected) FROM table_1805191_39 WHERE incumbent = ""Tim Holden"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (died VARCHAR, ordained_bishop VARCHAR) Question: When did the archbishop that was ordained a bishop on July 25, 1902 die? [/INST] SELECT died FROM table_name_62 WHERE ordained_bishop = ""july 25, 1902"" "
[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_21310575_2 (households INTEGER) Question: Name the most households [/INST] SELECT MAX(households) FROM table_21310575_2
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19722664_5 (rebounds INTEGER, player VARCHAR) Question: How many rebounds did Rhonda Mapp make? [/INST] SELECT MAX(rebounds) FROM table_19722664_5 WHERE player = ""Rhonda Mapp"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR) Question: How many candidates were there in the year of 1987? [/INST] SELECT number_of_candidates FROM table_19698421_1 WHERE year = ""1987"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (lost VARCHAR, tied VARCHAR, drawn VARCHAR) Question: Tell me the lost with tie of 0 and drawn of 47 [/INST] SELECT lost FROM table_name_20 WHERE tied = ""0"" AND drawn = ""47"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR) Question: Tell me the highest series # for september 22, 1976 [/INST] SELECT MAX(series__number) FROM table_name_53 WHERE original_air_date = ""september 22, 1976"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (location VARCHAR, driver VARCHAR) Question: Which location was won by George Heath? [/INST] SELECT location FROM table_name_15 WHERE driver = ""george heath"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (blackpool INTEGER, draw INTEGER) Question: Which Blackpool is the highest one that has a Draw larger than 18? [/INST] SELECT MAX(blackpool) FROM table_name_82 WHERE draw > 18 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE screen_mode (used_kb INTEGER) Question: List the maximum, minimum and average number of used kb in screen mode. [/INST] SELECT MAX(used_kb), MIN(used_kb), AVG(used_kb) FROM screen_mode "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (round VARCHAR, overall VARCHAR) Question: What number round has an overall of 123? [/INST] SELECT round FROM table_name_48 WHERE overall = 123 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (position VARCHAR, agg VARCHAR) Question: What position has a 2-6 agg.? [/INST] SELECT position FROM table_name_8 WHERE agg = ""2-6"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_20360535_2 (directed_by VARCHAR, television_order VARCHAR) Question: who directed s01e13 [/INST] SELECT directed_by FROM table_20360535_2 WHERE television_order = ""S01E13"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1140117_5 (report VARCHAR, circuit VARCHAR) Question: What's the report for the Silverstone circuit? [/INST] SELECT report FROM table_1140117_5 WHERE circuit = ""Silverstone"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR) Question: Which Round has an Opponent of aleksandr pitchkounov? [/INST] SELECT MIN(round) FROM table_name_81 WHERE opponent = ""aleksandr pitchkounov"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (number_of_episodes VARCHAR, status VARCHAR) Question: What is Number Of Episodes, when Status is ""2001 - 2003, 2005 - 2009""? [/INST] SELECT number_of_episodes FROM table_name_86 WHERE status = ""2001 - 2003, 2005 - 2009"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (season VARCHAR, points VARCHAR) Question: What season had 78 points? [/INST] SELECT season FROM table_name_17 WHERE points = 78 "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (game VARCHAR, result VARCHAR) Question: What Game had a Result of 136-112? [/INST] SELECT game FROM table_name_9 WHERE result = ""136-112"" "
"[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_10470082_4 (director VARCHAR, writer VARCHAR) Question: Who is the director of the episode whom Scott Peters is the writer? [/INST] SELECT director FROM table_10470082_4 WHERE writer = ""Scott Peters"" "