instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What kind of Modern equivalent that has a Pre-1009 province of sakbang -do, and a Province of Silla of sakju? | CREATE TABLE table_name_15 (modern_equivalent VARCHAR, pre_1009_province VARCHAR, province_of_silla VARCHAR) | SELECT modern_equivalent FROM table_name_15 WHERE pre_1009_province = "sakbang -do" AND province_of_silla = "sakju" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (modern_equivalent VARCHAR, pre_1009_province VARCHAR, province_of_silla VARCHAR) Question: What kind of Modern equivalent that has a Pre-1009 province of sakbang -do, and a Province of Silla of sa... |
What kind of Modern equivalent has a Post-1009 province of gyeongsang -do, and a Administrative district of jinju -mok, and a Province of Silla of gangju? | CREATE TABLE table_name_88 (modern_equivalent VARCHAR, province_of_silla VARCHAR, post_1009_province VARCHAR, administrative_district VARCHAR) | SELECT modern_equivalent FROM table_name_88 WHERE post_1009_province = "gyeongsang -do" AND administrative_district = "jinju -mok" AND province_of_silla = "gangju" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (modern_equivalent VARCHAR, province_of_silla VARCHAR, post_1009_province VARCHAR, administrative_district VARCHAR) Question: What kind of Modern equivalent has a Post-1009 province of gyeongsang -... |
WHat kind of Province of Silla has a Modern equivalent of pyeongan? | CREATE TABLE table_name_25 (province_of_silla VARCHAR, modern_equivalent VARCHAR) | SELECT province_of_silla FROM table_name_25 WHERE modern_equivalent = "pyeongan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (province_of_silla VARCHAR, modern_equivalent VARCHAR) Question: WHat kind of Province of Silla has a Modern equivalent of pyeongan? [/INST] SELECT province_of_silla FROM table_name_25 WHERE modern... |
Which Pre-1009 province has a Post-1009 province of donggye? | CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR) | SELECT pre_1009_province FROM table_name_36 WHERE post_1009_province = "donggye" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR) Question: Which Pre-1009 province has a Post-1009 province of donggye? [/INST] SELECT pre_1009_province FROM table_name_36 WHERE post_1009_pr... |
WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju? | CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR) | SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = "south jeolla" AND administrative_district = "seungju" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR) Question: WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of s... |
What was the lowest year that a player from midfield won first team honors? | CREATE TABLE table_name_12 (year INTEGER, team VARCHAR, position VARCHAR) | SELECT MIN(year) FROM table_name_12 WHERE team = "first team" AND position = "midfield" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (year INTEGER, team VARCHAR, position VARCHAR) Question: What was the lowest year that a player from midfield won first team honors? [/INST] SELECT MIN(year) FROM table_name_12 WHERE team = "first ... |
What is the date of the munich, germany tournament? | CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_52 WHERE tournament = "munich, germany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) Question: What is the date of the munich, germany tournament? [/INST] SELECT date FROM table_name_52 WHERE tournament = "munich, germany" </s> |
What tournament is on October 27, 2003? | CREATE TABLE table_name_84 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_84 WHERE date = "october 27, 2003" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (tournament VARCHAR, date VARCHAR) Question: What tournament is on October 27, 2003? [/INST] SELECT tournament FROM table_name_84 WHERE date = "october 27, 2003" </s> |
Who is the opponent in the final of the tournament on May 22, 2006? | CREATE TABLE table_name_88 (opponent_in_final VARCHAR, date VARCHAR) | SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (opponent_in_final VARCHAR, date VARCHAR) Question: Who is the opponent in the final of the tournament on May 22, 2006? [/INST] SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 200... |
What is the surface of the tournament with david nalbandian as the opponent in the final? | CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR) | SELECT surface FROM table_name_53 WHERE opponent_in_final = "david nalbandian" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR) Question: What is the surface of the tournament with david nalbandian as the opponent in the final? [/INST] SELECT surface FROM table_name_53 WHERE oppo... |
Who was the player from the United States with a score of 70-70-71=211? | CREATE TABLE table_name_66 (player VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_66 WHERE country = "united states" AND score = 70 - 70 - 71 = 211 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (player VARCHAR, country VARCHAR, score VARCHAR) Question: Who was the player from the United States with a score of 70-70-71=211? [/INST] SELECT player FROM table_name_66 WHERE country = "united s... |
What place was Dave Stockton when he had a to par of +1? | CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_10 WHERE to_par = "+1" AND player = "dave stockton" | <s>[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 sto... |
Who had a to par of +2 and a score of 78-69-68=215? | CREATE TABLE table_name_22 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_22 WHERE to_par = "+2" AND score = 78 - 69 - 68 = 215 | <s>[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 =... |
What was Tom Kite's to par? | CREATE TABLE table_name_63 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_63 WHERE player = "tom kite" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (to_par VARCHAR, player VARCHAR) Question: What was Tom Kite's to par? [/INST] SELECT to_par FROM table_name_63 WHERE player = "tom kite" </s> |
What was the score of T3 place? | CREATE TABLE table_name_67 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_67 WHERE place = "t3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (score VARCHAR, place VARCHAR) Question: What was the score of T3 place? [/INST] SELECT score FROM table_name_67 WHERE place = "t3" </s> |
Leading scorer during the game of 68-79? | CREATE TABLE table_name_45 (Leading VARCHAR, score VARCHAR) | SELECT Leading AS scorer FROM table_name_45 WHERE score = "68-79" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (Leading VARCHAR, score VARCHAR) Question: Leading scorer during the game of 68-79? [/INST] SELECT Leading AS scorer FROM table_name_45 WHERE score = "68-79" </s> |
Who is the runner-up from Milwaukee? | CREATE TABLE table_name_27 (runner_up VARCHAR, city VARCHAR) | SELECT runner_up FROM table_name_27 WHERE city = "milwaukee" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (runner_up VARCHAR, city VARCHAR) Question: Who is the runner-up from Milwaukee? [/INST] SELECT runner_up FROM table_name_27 WHERE city = "milwaukee" </s> |
What was the oil pattern for runner-up Pete Weber? | CREATE TABLE table_name_26 (oil_pattern VARCHAR, runner_up VARCHAR) | SELECT oil_pattern FROM table_name_26 WHERE runner_up = "pete weber" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (oil_pattern VARCHAR, runner_up VARCHAR) Question: What was the oil pattern for runner-up Pete Weber? [/INST] SELECT oil_pattern FROM table_name_26 WHERE runner_up = "pete weber" </s> |
What city was the Dick Weber Open in? | CREATE TABLE table_name_22 (city VARCHAR, event VARCHAR) | SELECT city FROM table_name_22 WHERE event = "dick weber open" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (city VARCHAR, event VARCHAR) Question: What city was the Dick Weber Open in? [/INST] SELECT city FROM table_name_22 WHERE event = "dick weber open" </s> |
What city had the chameleon oil pattern at the Go RV'ing Classic? | CREATE TABLE table_name_21 (city VARCHAR, oil_pattern VARCHAR, event VARCHAR) | SELECT city FROM table_name_21 WHERE oil_pattern = "chameleon" AND event = "go rv'ing classic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (city VARCHAR, oil_pattern VARCHAR, event VARCHAR) Question: What city had the chameleon oil pattern at the Go RV'ing Classic? [/INST] SELECT city FROM table_name_21 WHERE oil_pattern = "chameleon"... |
What notes are for years earlier than 2010? | CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER) | SELECT notes FROM table_name_50 WHERE year < 2010 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER) Question: What notes are for years earlier than 2010? [/INST] SELECT notes FROM table_name_50 WHERE year < 2010 </s> |
What competition took place in a year later than 2009 with team notes? | CREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR) | SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR) Question: What competition took place in a year later than 2009 with team notes? [/INST] SELECT competition FROM table_name_8 WHERE year > 2009 AND... |
What was the position in 2010 with team notes? | CREATE TABLE table_name_90 (position VARCHAR, year VARCHAR, notes VARCHAR) | SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (position VARCHAR, year VARCHAR, notes VARCHAR) Question: What was the position in 2010 with team notes? [/INST] SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team" </s> |
What is the lowest Year, when Tournament is "Beijing"? | CREATE TABLE table_name_51 (year INTEGER, tournament VARCHAR) | SELECT MIN(year) FROM table_name_51 WHERE tournament = "beijing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year INTEGER, tournament VARCHAR) Question: What is the lowest Year, when Tournament is "Beijing"? [/INST] SELECT MIN(year) FROM table_name_51 WHERE tournament = "beijing" </s> |
What is Winner, when Year is 2013? | CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR) | SELECT winner FROM table_name_11 WHERE year = 2013 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR) Question: What is Winner, when Year is 2013? [/INST] SELECT winner FROM table_name_11 WHERE year = 2013 </s> |
What is Round, when Tournament is "Paris"? | CREATE TABLE table_name_61 (round VARCHAR, tournament VARCHAR) | SELECT round FROM table_name_61 WHERE tournament = "paris" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (round VARCHAR, tournament VARCHAR) Question: What is Round, when Tournament is "Paris"? [/INST] SELECT round FROM table_name_61 WHERE tournament = "paris" </s> |
What is Round, when Winner is "Ivanovic", when Year is less than 2008, and when Tournament is "Paris"? | CREATE TABLE table_name_60 (round VARCHAR, tournament VARCHAR, winner VARCHAR, year VARCHAR) | SELECT round FROM table_name_60 WHERE winner = "ivanovic" AND year < 2008 AND tournament = "paris" | <s>[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 rou... |
What is Score, when Year is before 2007, and when Tournament is "Sydney"? | CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_88 WHERE year < 2007 AND tournament = "sydney" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR) Question: What is Score, when Year is before 2007, and when Tournament is "Sydney"? [/INST] SELECT score FROM table_name_88 WHERE year < 2007 AND t... |
What is the lowest crowd of the west coast home team? | CREATE TABLE table_name_86 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (crowd INTEGER, home_team VARCHAR) Question: What is the lowest crowd of the west coast home team? [/INST] SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast" </s> |
What is the ground of the Geelong Away team? | CREATE TABLE table_name_74 (ground VARCHAR, away_team VARCHAR) | SELECT ground FROM table_name_74 WHERE away_team = "geelong" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (ground VARCHAR, away_team VARCHAR) Question: What is the ground of the Geelong Away team? [/INST] SELECT ground FROM table_name_74 WHERE away_team = "geelong" </s> |
What team has more than 49 laps and a grid of 8? | CREATE TABLE table_name_63 (team VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT team FROM table_name_63 WHERE laps > 49 AND grid = 8 | <s>[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 </s> |
What is the grid sum with more than 50 laps? | CREATE TABLE table_name_16 (grid INTEGER, laps INTEGER) | SELECT SUM(grid) FROM table_name_16 WHERE laps > 50 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (grid INTEGER, laps INTEGER) Question: What is the grid sum with more than 50 laps? [/INST] SELECT SUM(grid) FROM table_name_16 WHERE laps > 50 </s> |
What's the track for 1978? | CREATE TABLE table_name_47 (track VARCHAR, year VARCHAR) | SELECT track FROM table_name_47 WHERE year = 1978 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (track VARCHAR, year VARCHAR) Question: What's the track for 1978? [/INST] SELECT track FROM table_name_47 WHERE year = 1978 </s> |
What's the track for 1982? | CREATE TABLE table_name_18 (track VARCHAR, year VARCHAR) | SELECT track FROM table_name_18 WHERE year = 1982 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (track VARCHAR, year VARCHAR) Question: What's the track for 1982? [/INST] SELECT track FROM table_name_18 WHERE year = 1982 </s> |
What was the highest long with less than 7 losses and an Avg/G smaller than 25.1? | CREATE TABLE table_name_3 (long INTEGER, loss VARCHAR, avg_g VARCHAR) | SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND avg_g < 25.1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (long INTEGER, loss VARCHAR, avg_g VARCHAR) Question: What was the highest long with less than 7 losses and an Avg/G smaller than 25.1? [/INST] SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND ... |
What was Rock Cartwright's highest long with more than 11 losses? | CREATE TABLE table_name_44 (long INTEGER, name VARCHAR, loss VARCHAR) | SELECT AVG(long) FROM table_name_44 WHERE name = "rock cartwright" AND loss > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (long INTEGER, name VARCHAR, loss VARCHAR) Question: What was Rock Cartwright's highest long with more than 11 losses? [/INST] SELECT AVG(long) FROM table_name_44 WHERE name = "rock cartwright" AND... |
What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)? | CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR) | SELECT company_name FROM table_name_13 WHERE accreditation_level = "joyn hot fixes" AND accreditation_status = "approved (awarded 17.05.13)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR) Question: What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Stat... |
What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700? | CREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR) | SELECT accreditation_type FROM table_name_72 WHERE accreditation_level = "joyn" AND hardware_model = "nokia 700" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR) Question: What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Noki... |
What is the Accreditation Status, when the Product Name is LG RCS-e Client? | CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR) | SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR) Question: What is the Accreditation Status, when the Product Name is LG RCS-e Client? [/INST] SELECT accreditation_status FROM table_name_83 WHE... |
What is the Company Name, when the Accreditation Status is Approved (Valid Until 03.07.13)? | CREATE TABLE table_name_76 (company_name VARCHAR, accreditation_status VARCHAR) | SELECT company_name FROM table_name_76 WHERE accreditation_status = "approved (valid until 03.07.13)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (company_name VARCHAR, accreditation_status VARCHAR) Question: What is the Company Name, when the Accreditation Status is Approved (Valid Until 03.07.13)? [/INST] SELECT company_name FROM table_nam... |
What is the Accreditation Level, when the Hardware Model is GT-I9100? | CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR) | SELECT accreditation_level FROM table_name_7 WHERE hardware_model = "gt-i9100" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR) Question: What is the Accreditation Level, when the Hardware Model is GT-I9100? [/INST] SELECT accreditation_level FROM table_name_7 WHERE hardw... |
What is the Product Name, when the Company Name is HTC Corporation? | CREATE TABLE table_name_63 (product_name VARCHAR, company_name VARCHAR) | SELECT product_name FROM table_name_63 WHERE company_name = "htc corporation" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (product_name VARCHAR, company_name VARCHAR) Question: What is the Product Name, when the Company Name is HTC Corporation? [/INST] SELECT product_name FROM table_name_63 WHERE company_name = "htc c... |
What was the most recent year the venue was Barcelona, Spain? | CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_37 WHERE venue = "barcelona, spain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR) Question: What was the most recent year the venue was Barcelona, Spain? [/INST] SELECT MAX(year) FROM table_name_37 WHERE venue = "barcelona, spain" </s> |
Wat was the result for the 20 km after 2008 when the venue was Metz, France? | CREATE TABLE table_name_13 (result VARCHAR, venue VARCHAR, year VARCHAR, event VARCHAR) | SELECT result FROM table_name_13 WHERE year > 2008 AND event = "20 km" AND venue = "metz, france" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (result VARCHAR, venue VARCHAR, year VARCHAR, event VARCHAR) Question: Wat was the result for the 20 km after 2008 when the venue was Metz, France? [/INST] SELECT result FROM table_name_13 WHERE ye... |
What is the date of the match with sheffield wednesday as the away team? | CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_62 WHERE away_team = "sheffield wednesday" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR) Question: What is the date of the match with sheffield wednesday as the away team? [/INST] SELECT date FROM table_name_62 WHERE away_team = "sheffield wednesday" <... |
what is the swimsuit score when the interview score is 8.626 (5)? | CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR) | SELECT swimsuit FROM table_name_19 WHERE interview = "8.626 (5)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR) Question: what is the swimsuit score when the interview score is 8.626 (5)? [/INST] SELECT swimsuit FROM table_name_19 WHERE interview = "8.626 (5)" </s> |
what is the swimsuit score when the semifinal average score is 8.367 (10)? | CREATE TABLE table_name_86 (swimsuit VARCHAR, semifinal_average VARCHAR) | SELECT swimsuit FROM table_name_86 WHERE semifinal_average = "8.367 (10)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (swimsuit VARCHAR, semifinal_average VARCHAR) Question: what is the swimsuit score when the semifinal average score is 8.367 (10)? [/INST] SELECT swimsuit FROM table_name_86 WHERE semifinal_average... |
what is the preliminary average score when the evening gown score is 8.774 (6)? | CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR) | SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (6)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR) Question: what is the preliminary average score when the evening gown score is 8.774 (6)? [/INST] SELECT preliminary_average FROM table_name_58 W... |
what is the preliminary average score when the interview score is 8.600 (6)? | CREATE TABLE table_name_78 (preliminary_average VARCHAR, interview VARCHAR) | SELECT preliminary_average FROM table_name_78 WHERE interview = "8.600 (6)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (preliminary_average VARCHAR, interview VARCHAR) Question: what is the preliminary average score when the interview score is 8.600 (6)? [/INST] SELECT preliminary_average FROM table_name_78 WHERE i... |
what is the swimsuit score when evening gown score is 9.165 (3)? | CREATE TABLE table_name_13 (swimsuit VARCHAR, evening_gown VARCHAR) | SELECT swimsuit FROM table_name_13 WHERE evening_gown = "9.165 (3)" | <s>[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)" </s> |
what is the interview score when the preliminary average is 8.529 (6)? | CREATE TABLE table_name_53 (interview VARCHAR, preliminary_average VARCHAR) | SELECT interview FROM table_name_53 WHERE preliminary_average = "8.529 (6)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (interview VARCHAR, preliminary_average VARCHAR) Question: what is the interview score when the preliminary average is 8.529 (6)? [/INST] SELECT interview FROM table_name_53 WHERE preliminary_avera... |
What is the average wins with 5 cuts and 1 in the top-10? | CREATE TABLE table_name_91 (wins INTEGER, cuts_made VARCHAR, top_10 VARCHAR) | SELECT AVG(wins) FROM table_name_91 WHERE cuts_made = 5 AND top_10 = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (wins INTEGER, cuts_made VARCHAR, top_10 VARCHAR) Question: What is the average wins with 5 cuts and 1 in the top-10? [/INST] SELECT AVG(wins) FROM table_name_91 WHERE cuts_made = 5 AND top_10 = 1 ... |
What is the sum of top-10 values for the Open Championship and less than 3 in the top-25? | CREATE TABLE table_name_61 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT SUM(top_10) FROM table_name_61 WHERE tournament = "the open championship" AND top_25 < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What is the sum of top-10 values for the Open Championship and less than 3 in the top-25? [/INST] SELECT SUM(top_10) FROM table_name_6... |
What is the smallest number of events with 24 cuts and less than 11 in the top-25? | CREATE TABLE table_name_34 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) | SELECT MIN(events) FROM table_name_34 WHERE cuts_made = 24 AND top_25 < 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) Question: What is the smallest number of events with 24 cuts and less than 11 in the top-25? [/INST] SELECT MIN(events) FROM table_name_34 WHERE ... |
What is the largest number of events with the Masters Tournament and less than 4 in the top-25? | CREATE TABLE table_name_77 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT MAX(events) FROM table_name_77 WHERE tournament = "masters tournament" AND top_25 < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What is the largest number of events with the Masters Tournament and less than 4 in the top-25? [/INST] SELECT MAX(events) FROM table_... |
What was the record of the game played on November 7? | CREATE TABLE table_name_45 (record VARCHAR, game VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (record VARCHAR, game VARCHAR, date VARCHAR) Question: What was the record of the game played on November 7? [/INST] SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7" </s> |
What was the game number of the game played against Charlotte? | CREATE TABLE table_name_67 (game VARCHAR, team VARCHAR) | SELECT COUNT(game) FROM table_name_67 WHERE team = "charlotte" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (game VARCHAR, team VARCHAR) Question: What was the game number of the game played against Charlotte? [/INST] SELECT COUNT(game) FROM table_name_67 WHERE team = "charlotte" </s> |
What venue held the 1966 fifa world cup qualification on may 7, 1965? | CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR) Question: What venue held the 1966 fifa world cup qualification on may 7, 1965? [/INST] SELECT venue FROM table_name_95 WHERE competition = "1966 ... |
What was the result for the 1966 fifa world cup qualification in mexico city, mexico and a goal over 8? | CREATE TABLE table_name_41 (result VARCHAR, goal VARCHAR, venue VARCHAR, competition VARCHAR) | SELECT result FROM table_name_41 WHERE venue = "mexico city, mexico" AND competition = "1966 fifa world cup qualification" AND goal > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (result VARCHAR, goal VARCHAR, venue VARCHAR, competition VARCHAR) Question: What was the result for the 1966 fifa world cup qualification in mexico city, mexico and a goal over 8? [/INST] SELECT r... |
When was the venue mexico city, mexico with a goal of 8? | CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR) | SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR) Question: When was the venue mexico city, mexico with a goal of 8? [/INST] SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8 ... |
In what place was the golfer that had a score of 69? | CREATE TABLE table_name_62 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_62 WHERE score = 69 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (place VARCHAR, score VARCHAR) Question: In what place was the golfer that had a score of 69? [/INST] SELECT place FROM table_name_62 WHERE score = 69 </s> |
What was T3 player Lee Janzen's score? | CREATE TABLE table_name_1 (score INTEGER, place VARCHAR, player VARCHAR) | SELECT MIN(score) FROM table_name_1 WHERE place = "t3" AND player = "lee janzen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score INTEGER, place VARCHAR, player VARCHAR) Question: What was T3 player Lee Janzen's score? [/INST] SELECT MIN(score) FROM table_name_1 WHERE place = "t3" AND player = "lee janzen" </s> |
What is the lowest number of participants in 2013 when there were more than 5 participants in 2010, less than 4 participants in 2012 and country was germany? | CREATE TABLE table_name_34 (country VARCHAR) | SELECT MIN(2013) FROM table_name_34 WHERE 2010 > 5 AND country = "germany" AND 2012 < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (country VARCHAR) Question: What is the lowest number of participants in 2013 when there were more than 5 participants in 2010, less than 4 participants in 2012 and country was germany? [/INST] SEL... |
What is the average number of participants in 2012 when there were less than 8 in 2013 and 7 in 2011? | CREATE TABLE table_name_19 (Id VARCHAR) | SELECT AVG(2012) FROM table_name_19 WHERE 2013 < 8 AND 2011 = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (Id VARCHAR) Question: What is the average number of participants in 2012 when there were less than 8 in 2013 and 7 in 2011? [/INST] SELECT AVG(2012) FROM table_name_19 WHERE 2013 < 8 AND 2011 = 7 ... |
What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013? | CREATE TABLE table_name_17 (Id VARCHAR) | SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < 56 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (Id VARCHAR) Question: What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013? [/INST] SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < ... |
What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012? | CREATE TABLE table_name_99 (country VARCHAR) | SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (country VARCHAR) Question: What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012? [/INST] SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND coun... |
What is the lowest number of participants in 2010 when there were 0 participants in 2012? | CREATE TABLE table_name_76 (Id VARCHAR) | SELECT MIN(2010) FROM table_name_76 WHERE 2012 < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (Id VARCHAR) Question: What is the lowest number of participants in 2010 when there were 0 participants in 2012? [/INST] SELECT MIN(2010) FROM table_name_76 WHERE 2012 < 0 </s> |
What was the game result on November 29, 1959? | CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_14 WHERE date = "november 29, 1959" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR) Question: What was the game result on November 29, 1959? [/INST] SELECT result FROM table_name_14 WHERE date = "november 29, 1959" </s> |
What was the result for the game against the Pittsburgh Steelers? | CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_85 WHERE opponent = "pittsburgh steelers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR) Question: What was the result for the game against the Pittsburgh Steelers? [/INST] SELECT result FROM table_name_85 WHERE opponent = "pittsburgh steelers" </s> |
What is VFB Stuttgart II Team's Stadiuim? | CREATE TABLE table_name_91 (stadium VARCHAR, team VARCHAR) | SELECT stadium FROM table_name_91 WHERE team = "vfb stuttgart ii" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (stadium VARCHAR, team VARCHAR) Question: What is VFB Stuttgart II Team's Stadiuim? [/INST] SELECT stadium FROM table_name_91 WHERE team = "vfb stuttgart ii" </s> |
What is the Capacity of Ernst-Abbe-Sportfeld? | CREATE TABLE table_name_25 (capacity VARCHAR, stadium VARCHAR) | SELECT capacity FROM table_name_25 WHERE stadium = "ernst-abbe-sportfeld" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (capacity VARCHAR, stadium VARCHAR) Question: What is the Capacity of Ernst-Abbe-Sportfeld? [/INST] SELECT capacity FROM table_name_25 WHERE stadium = "ernst-abbe-sportfeld" </s> |
What is the Capacity of the Rainer Kraft's Stadium? | CREATE TABLE table_name_69 (capacity INTEGER, head_coach VARCHAR) | SELECT AVG(capacity) FROM table_name_69 WHERE head_coach = "rainer kraft" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (capacity INTEGER, head_coach VARCHAR) Question: What is the Capacity of the Rainer Kraft's Stadium? [/INST] SELECT AVG(capacity) FROM table_name_69 WHERE head_coach = "rainer kraft" </s> |
When did the Visiting San Antonio Spurs score 97-113? | CREATE TABLE table_name_22 (date VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT date FROM table_name_22 WHERE visitor = "san antonio spurs" AND score = "97-113" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (date VARCHAR, visitor VARCHAR, score VARCHAR) Question: When did the Visiting San Antonio Spurs score 97-113? [/INST] SELECT date FROM table_name_22 WHERE visitor = "san antonio spurs" AND score =... |
When did the Houston Rockets play Home? | CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_48 WHERE home = "houston rockets" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR) Question: When did the Houston Rockets play Home? [/INST] SELECT date FROM table_name_48 WHERE home = "houston rockets" </s> |
WHAT RANK DOES LEONARD NIMOY HAVE? | CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR) | SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (rank INTEGER, director VARCHAR) Question: WHAT RANK DOES LEONARD NIMOY HAVE? [/INST] SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy" </s> |
WHAT IS THE RANK OF MARTIN BREST? | CREATE TABLE table_name_93 (rank INTEGER, director VARCHAR) | SELECT SUM(rank) FROM table_name_93 WHERE director = "martin brest" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (rank INTEGER, director VARCHAR) Question: WHAT IS THE RANK OF MARTIN BREST? [/INST] SELECT SUM(rank) FROM table_name_93 WHERE director = "martin brest" </s> |
WHAT IS THE STUDIO WITH A GROSS $81,198,894? | CREATE TABLE table_name_49 (studio VARCHAR, gross VARCHAR) | SELECT studio FROM table_name_49 WHERE gross = "$81,198,894" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (studio VARCHAR, gross VARCHAR) Question: WHAT IS THE STUDIO WITH A GROSS $81,198,894? [/INST] SELECT studio FROM table_name_49 WHERE gross = "$81,198,894" </s> |
WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? | CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR) | SELECT gross FROM table_name_71 WHERE rank > 7 AND director = "barry levinson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR) Question: WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? [/INST] SELECT gross FROM table_name_71 WHERE rank > 7 AND... |
WHAT IS THE GROSS WITH A DIRECTOR OF RICHARD TUGGLE? | CREATE TABLE table_name_73 (gross VARCHAR, director VARCHAR) | SELECT gross FROM table_name_73 WHERE director = "richard tuggle" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (gross VARCHAR, director VARCHAR) Question: WHAT IS THE GROSS WITH A DIRECTOR OF RICHARD TUGGLE? [/INST] SELECT gross FROM table_name_73 WHERE director = "richard tuggle" </s> |
Can you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson? | CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_48 WHERE country = "united states" AND place = "t2" AND player = "tom watson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: Can you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson? [/INST]... |
Which Species has a Length (bp/aa) of 1154bp/358aa? | CREATE TABLE table_name_78 (species VARCHAR, length__bp_aa_ VARCHAR) | SELECT species FROM table_name_78 WHERE length__bp_aa_ = "1154bp/358aa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (species VARCHAR, length__bp_aa_ VARCHAR) Question: Which Species has a Length (bp/aa) of 1154bp/358aa? [/INST] SELECT species FROM table_name_78 WHERE length__bp_aa_ = "1154bp/358aa" </s> |
What NCBI Accession Number (mRNA/Protein) has a Protein Identity of 69%? | CREATE TABLE table_name_99 (ncbi_accession_number__mrna_protein_ VARCHAR, protein_identity VARCHAR) | SELECT ncbi_accession_number__mrna_protein_ FROM table_name_99 WHERE protein_identity = "69%" | <s>[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__mrn... |
What is the NCBI Accession Number (mRNA/Protein) for the homo sapiens Species? | CREATE TABLE table_name_63 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR) | SELECT ncbi_accession_number__mrna_protein_ FROM table_name_63 WHERE species = "homo sapiens" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR) Question: What is the NCBI Accession Number (mRNA/Protein) for the homo sapiens Species? [/INST] SELECT ncbi_accession_number__mrna_p... |
What is the NCBI Accession Number (mRNA/Protein) for the mus musculus Species? | CREATE TABLE table_name_36 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR) | SELECT ncbi_accession_number__mrna_protein_ FROM table_name_36 WHERE species = "mus musculus" | <s>[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_p... |
What was the winning score when the runner-up was Neal Briggs? | CREATE TABLE table_name_9 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_9 WHERE runner_s__up = "neal briggs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (winning_score VARCHAR, runner_s__up VARCHAR) Question: What was the winning score when the runner-up was Neal Briggs? [/INST] SELECT winning_score FROM table_name_9 WHERE runner_s__up = "neal brigg... |
What day was the winning score –16 (67-70-69-66=272)? | CREATE TABLE table_name_16 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_16 WHERE winning_score = –16(67 - 70 - 69 - 66 = 272) | <s>[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) </s> |
Who was the runner-up with the margin of victory of 8 strokes? | CREATE TABLE table_name_6 (runner_s__up VARCHAR, margin_of_victory VARCHAR) | SELECT runner_s__up FROM table_name_6 WHERE margin_of_victory = "8 strokes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (runner_s__up VARCHAR, margin_of_victory VARCHAR) Question: Who was the runner-up with the margin of victory of 8 strokes? [/INST] SELECT runner_s__up FROM table_name_6 WHERE margin_of_victory = "8 ... |
For which tournament was Anthony Wall the runner-up? | CREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_11 WHERE runner_s__up = "anthony wall" | <s>[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" </s> |
For which tournament was the margin of victory 7 strokes? | CREATE TABLE table_name_50 (tournament VARCHAR, margin_of_victory VARCHAR) | SELECT tournament FROM table_name_50 WHERE margin_of_victory = "7 strokes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (tournament VARCHAR, margin_of_victory VARCHAR) Question: For which tournament was the margin of victory 7 strokes? [/INST] SELECT tournament FROM table_name_50 WHERE margin_of_victory = "7 strokes... |
WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE? | CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR, player VARCHAR) | SELECT place FROM table_name_30 WHERE score > 65 AND player = "rocco mediate" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR, player VARCHAR) Question: WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE? [/INST] SELECT place FROM table_name_30 WHERE score > 65 AND player = "... |
WHAT IS THE PLAYER WITH A SCORE OF 66? | CREATE TABLE table_name_76 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_76 WHERE score = 66 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (player VARCHAR, score VARCHAR) Question: WHAT IS THE PLAYER WITH A SCORE OF 66? [/INST] SELECT player FROM table_name_76 WHERE score = 66 </s> |
WHAT IS THE PLAYER WITH T7 PLACE, FOR ENGLAND? | CREATE TABLE table_name_92 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_92 WHERE place = "t7" AND country = "england" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (player VARCHAR, place VARCHAR, country VARCHAR) Question: WHAT IS THE PLAYER WITH T7 PLACE, FOR ENGLAND? [/INST] SELECT player FROM table_name_92 WHERE place = "t7" AND country = "england" </s> |
What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a Total more than 21? | CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR) | SELECT AVG(cups) FROM table_name_9 WHERE other > 3 AND league > 3 AND player = "lauri dalla valle" AND total > 21 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR) Question: What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a... |
What is the number for other when Adam Pepper is the player with a total more than 7? | CREATE TABLE table_name_60 (other VARCHAR, player VARCHAR, total VARCHAR) | SELECT COUNT(other) FROM table_name_60 WHERE player = "adam pepper" AND total > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (other VARCHAR, player VARCHAR, total VARCHAR) Question: What is the number for other when Adam Pepper is the player with a total more than 7? [/INST] SELECT COUNT(other) FROM table_name_60 WHERE p... |
What is the highest losses for more than 11 wins, a goal difference greater than 5, a 3 position, and more than 3 draws? | CREATE TABLE table_name_33 (losses INTEGER, draws VARCHAR, position VARCHAR, wins VARCHAR, goal_difference VARCHAR) | SELECT MAX(losses) FROM table_name_33 WHERE wins > 11 AND goal_difference > 5 AND position = 3 AND draws > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (losses INTEGER, draws VARCHAR, position VARCHAR, wins VARCHAR, goal_difference VARCHAR) Question: What is the highest losses for more than 11 wins, a goal difference greater than 5, a 3 position, ... |
What is the average points with less than 30 played? | CREATE TABLE table_name_77 (points INTEGER, played INTEGER) | SELECT AVG(points) FROM table_name_77 WHERE played < 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (points INTEGER, played INTEGER) Question: What is the average points with less than 30 played? [/INST] SELECT AVG(points) FROM table_name_77 WHERE played < 30 </s> |
What is the lowest amount of draws club ud lérida, which has less than 41 goals, has? | CREATE TABLE table_name_86 (draws INTEGER, club VARCHAR, goals_for VARCHAR) | SELECT MIN(draws) FROM table_name_86 WHERE club = "ud lérida" AND goals_for < 41 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (draws INTEGER, club VARCHAR, goals_for VARCHAR) Question: What is the lowest amount of draws club ud lérida, which has less than 41 goals, has? [/INST] SELECT MIN(draws) FROM table_name_86 WHERE c... |
What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played? | CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR) | SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR) Question: What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played? [/INST] SELECT ... |
What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference? | CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR) | SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR) Question: What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -... |
What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses? | CREATE TABLE table_name_63 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR) | SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = "cultural leonesa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR) Question: What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses?... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.