answer stringlengths 18 557 | context stringlengths 27 489 | question stringlengths 12 244 | text stringlengths 275 1.7k |
|---|---|---|---|
SELECT type FROM table_name_22 WHERE capacity = "10 tons" AND number = "24-27" | CREATE TABLE table_name_22 (type VARCHAR, capacity VARCHAR, number VARCHAR) | Which Type has a Capacity of 10 tons, and a Number of 24-27? | <s>[INST] Given the following SQL query and context: Query: SELECT type FROM table_name_22 WHERE capacity = "10 tons" AND number = "24-27" Context: CREATE TABLE table_name_22 (type VARCHAR, capacity VARCHAR, number VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Type has a Capacity... |
SELECT COUNT(date) FROM table_name_8 WHERE builder = "laconia car company" AND number = "63-68" | CREATE TABLE table_name_8 (date VARCHAR, builder VARCHAR, number VARCHAR) | How many Dates have a Builder of laconia car company, and a Number of 63-68? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(date) FROM table_name_8 WHERE builder = "laconia car company" AND number = "63-68" Context: CREATE TABLE table_name_8 (date VARCHAR, builder VARCHAR, number VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many D... |
SELECT score FROM table_name_73 WHERE player = "billy andrade" | CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) | What is the score for Billy Andrade? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_73 WHERE player = "billy andrade" Context: CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the score for Billy Andrade? The answer to your qu... |
SELECT country FROM table_name_35 WHERE player = "nick price" | CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR) | What country is Nick Price from? | <s>[INST] Given the following SQL query and context: Query: SELECT country FROM table_name_35 WHERE player = "nick price" Context: CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What country is Nick Price from? The answer to your quest... |
SELECT to_par FROM table_name_53 WHERE score = 67 - 67 = 134 | CREATE TABLE table_name_53 (to_par VARCHAR, score VARCHAR) | What is the to par for the player with score of 67-67=134? | <s>[INST] Given the following SQL query and context: Query: SELECT to_par FROM table_name_53 WHERE score = 67 - 67 = 134 Context: CREATE TABLE table_name_53 (to_par VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the to par for the player with score of 67-67=134? T... |
SELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = "everton" | CREATE TABLE table_name_6 (team_1 VARCHAR) | Team 1, Everton, has what as a 1st leg? | <s>[INST] Given the following SQL query and context: Query: SELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = "everton" Context: CREATE TABLE table_name_6 (team_1 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Team 1, Everton, has what as a 1st leg? The answer to your question is: SEL... |
SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid" | CREATE TABLE table_name_68 (team_1 VARCHAR) | The 2nd leg is what for the Atlético Madrid as Team 1? | <s>[INST] Given the following SQL query and context: Query: SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid" Context: CREATE TABLE table_name_68 (team_1 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: The 2nd leg is what for the Atlético Madrid as Team 1? The answer... |
SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham" | CREATE TABLE table_name_44 (team_1 VARCHAR) | Fulham as Team 1 has the 2nd leg score of what? | <s>[INST] Given the following SQL query and context: Query: SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham" Context: CREATE TABLE table_name_44 (team_1 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Fulham as Team 1 has the 2nd leg score of what? The answer to your questio... |
SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952" | CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR) | What name is for the period 1945-1949 & 1953-1954 1949-1952? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952" Context: CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What name is for the period 1945-1949 & 19... |
SELECT name FROM table_name_39 WHERE teams = "fc sète olympique de marseille" | CREATE TABLE table_name_39 (name VARCHAR, teams VARCHAR) | Which name is on the of fc sète olympique de marseille? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_39 WHERE teams = "fc sète olympique de marseille" Context: CREATE TABLE table_name_39 (name VARCHAR, teams VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which name is on the of fc sète olympique de ... |
SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot" | CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR) | What role has the team of Troyes AC Grenoble Foot? | <s>[INST] Given the following SQL query and context: Query: SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot" Context: CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What role has the team of Troyes AC Grenoble Foot? T... |
SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003" | CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) | What name has the role of midfielder for 1999-2003? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003" Context: CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What name has the role of ... |
SELECT period FROM table_name_99 WHERE teams = "cs sedan" | CREATE TABLE table_name_99 (period VARCHAR, teams VARCHAR) | Which period has the team CS Sedan? | <s>[INST] Given the following SQL query and context: Query: SELECT period FROM table_name_99 WHERE teams = "cs sedan" Context: CREATE TABLE table_name_99 (period VARCHAR, teams VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which period has the team CS Sedan? The answer to your question... |
SELECT teams FROM table_name_48 WHERE name = "boumediene abderahmane" | CREATE TABLE table_name_48 (teams VARCHAR, name VARCHAR) | What is the team with the name Boumediene Abderahmane? | <s>[INST] Given the following SQL query and context: Query: SELECT teams FROM table_name_48 WHERE name = "boumediene abderahmane" Context: CREATE TABLE table_name_48 (teams VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the team with the name Boumediene Abderahmane... |
SELECT fin_pos FROM table_name_93 WHERE points = "13" | CREATE TABLE table_name_93 (fin_pos VARCHAR, points VARCHAR) | What was the finishing position with 13 points? | <s>[INST] Given the following SQL query and context: Query: SELECT fin_pos FROM table_name_93 WHERE points = "13" Context: CREATE TABLE table_name_93 (fin_pos VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the finishing position with 13 points? The answer to you... |
SELECT driver FROM table_name_99 WHERE points = "50+3" | CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) | What Driver had 50+3 Points? | <s>[INST] Given the following SQL query and context: Query: SELECT driver FROM table_name_99 WHERE points = "50+3" Context: CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Driver had 50+3 Points? The answer to your question is: SELE... |
SELECT MAX(date) FROM table_name_19 WHERE partner = "nicklas kulti" AND score = "3–6, 7–6, 6–4" | CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR) | When was the most recent game that he partnered with nicklas kulti and they scored 3–6, 7–6, 6–4? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(date) FROM table_name_19 WHERE partner = "nicklas kulti" AND score = "3–6, 7–6, 6–4" Context: CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When was t... |
SELECT opponents FROM table_name_99 WHERE surface = "hard" | CREATE TABLE table_name_99 (opponents VARCHAR, surface VARCHAR) | Who did he play on a hard surface? | <s>[INST] Given the following SQL query and context: Query: SELECT opponents FROM table_name_99 WHERE surface = "hard" Context: CREATE TABLE table_name_99 (opponents VARCHAR, surface VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who did he play on a hard surface? The answer to your que... |
SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6" | CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR) | When was his first game on a clay surface where he scored 0–6, 3–6? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6" Context: CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When was his first game ... |
SELECT MAX(wickets) FROM table_name_89 WHERE matches < 5 AND player = "jim laker" AND average > 52.44 | CREATE TABLE table_name_89 (wickets INTEGER, average VARCHAR, matches VARCHAR, player VARCHAR) | what is the highest wickets when the matches is less than 5, player is jim laker and average is more than 52.44? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(wickets) FROM table_name_89 WHERE matches < 5 AND player = "jim laker" AND average > 52.44 Context: CREATE TABLE table_name_89 (wickets INTEGER, average VARCHAR, matches VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, y... |
SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9 | CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR) | what is the average when matches is less than 5 and wickets is more than 9? | <s>[INST] Given the following SQL query and context: Query: SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9 Context: CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the average when matches ... |
SELECT SUM(matches) FROM table_name_25 WHERE player = "jim laker" AND wickets < 9 | CREATE TABLE table_name_25 (matches INTEGER, player VARCHAR, wickets VARCHAR) | what is the sum of matches when the player is jim laker and wikets is less than 9? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(matches) FROM table_name_25 WHERE player = "jim laker" AND wickets < 9 Context: CREATE TABLE table_name_25 (matches INTEGER, player VARCHAR, wickets VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the sum of m... |
SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = "2/32" AND matches < 5 | CREATE TABLE table_name_33 (wickets INTEGER, best_bowling VARCHAR, matches VARCHAR) | what is the highest wickets when the best bowling is 2/32 and matches is less than 5? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = "2/32" AND matches < 5 Context: CREATE TABLE table_name_33 (wickets INTEGER, best_bowling VARCHAR, matches VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the h... |
SELECT MAX(wickets) FROM table_name_14 WHERE best_bowling = "5/40" AND average < 33.09 | CREATE TABLE table_name_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR) | what is the highest wickets when best bowling is 5/40 and average is less than 33.09? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(wickets) FROM table_name_14 WHERE best_bowling = "5/40" AND average < 33.09 Context: CREATE TABLE table_name_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is t... |
SELECT player FROM table_name_87 WHERE pick__number > 47 | CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER) | Which player has a pick# over 47? | <s>[INST] Given the following SQL query and context: Query: SELECT player FROM table_name_87 WHERE pick__number > 47 Context: CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which player has a pick# over 47? The answer to your ques... |
SELECT player FROM table_name_2 WHERE position = "fb" | CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) | Who is the player with a FB position? | <s>[INST] Given the following SQL query and context: Query: SELECT player FROM table_name_2 WHERE position = "fb" Context: CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the player with a FB position? The answer to your question... |
SELECT score FROM table_name_15 WHERE to_par = "–3" AND player = "jim furyk" | CREATE TABLE table_name_15 (score VARCHAR, to_par VARCHAR, player VARCHAR) | What is the Score that has a To standard of –3, and a Player of Jim Furyk? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_15 WHERE to_par = "–3" AND player = "jim furyk" Context: CREATE TABLE table_name_15 (score VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score that has a... |
SELECT country FROM table_name_31 WHERE player = "scott hoch" | CREATE TABLE table_name_31 (country VARCHAR, player VARCHAR) | What is the Country that has a Player of Scott Hoch? | <s>[INST] Given the following SQL query and context: Query: SELECT country FROM table_name_31 WHERE player = "scott hoch" Context: CREATE TABLE table_name_31 (country VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Country that has a Player of Scott Hoch? The ... |
SELECT player FROM table_name_45 WHERE to_par = "–4" AND score = 74 - 70 - 68 = 212 | CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR, score VARCHAR) | What is the Player that has a To standard of –4, and a Score of 74-70-68=212? | <s>[INST] Given the following SQL query and context: Query: SELECT player FROM table_name_45 WHERE to_par = "–4" AND score = 74 - 70 - 68 = 212 Context: CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Player th... |
SELECT score FROM table_name_63 WHERE to_par = "–2" AND country = "spain" | CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR) | What is the Score that has a To standard of –2, and a Country of Spain? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_63 WHERE to_par = "–2" AND country = "spain" Context: CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score that has a T... |
SELECT score FROM table_name_28 WHERE player = "ernie els" | CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR) | What is the Score that has a Player of Ernie Els? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_28 WHERE player = "ernie els" Context: CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score that has a Player of Ernie Els? The answer t... |
SELECT player FROM table_name_64 WHERE place = "t2" AND score = 74 - 70 - 68 = 212 | CREATE TABLE table_name_64 (player VARCHAR, place VARCHAR, score VARCHAR) | What is the Player that has a Place of t2, and a Score of 74-70-68=212? | <s>[INST] Given the following SQL query and context: Query: SELECT player FROM table_name_64 WHERE place = "t2" AND score = 74 - 70 - 68 = 212 Context: CREATE TABLE table_name_64 (player VARCHAR, place VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Player that... |
SELECT date FROM table_name_14 WHERE nationality = "united kingdom" AND type = "freighter" AND displacement = "5,145 t" | CREATE TABLE table_name_14 (date VARCHAR, displacement VARCHAR, nationality VARCHAR, type VARCHAR) | what is the date when the nationality is united kingdom, the type is freighter and the displacement is 5,145 t? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_14 WHERE nationality = "united kingdom" AND type = "freighter" AND displacement = "5,145 t" Context: CREATE TABLE table_name_14 (date VARCHAR, displacement VARCHAR, nationality VARCHAR, type VARCHAR) [/INST] Based on the provided SQ... |
SELECT name FROM table_name_12 WHERE displacement = "8,305 t" | CREATE TABLE table_name_12 (name VARCHAR, displacement VARCHAR) | what is the name when the displacement is 8,305 t? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_12 WHERE displacement = "8,305 t" Context: CREATE TABLE table_name_12 (name VARCHAR, displacement VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the name when the displacement is 8,305 t? The... |
SELECT name FROM table_name_61 WHERE type = "freighter" AND nationality = "united kingdom" AND date = "3 may 1940" | CREATE TABLE table_name_61 (name VARCHAR, date VARCHAR, type VARCHAR, nationality VARCHAR) | what is the name when the type is freighter, nationality is united kingdom on 3 may 1940? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_61 WHERE type = "freighter" AND nationality = "united kingdom" AND date = "3 may 1940" Context: CREATE TABLE table_name_61 (name VARCHAR, date VARCHAR, type VARCHAR, nationality VARCHAR) [/INST] Based on the provided SQL query and c... |
SELECT date FROM table_name_18 WHERE name = "tirrana" | CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR) | what is the date for tirrana? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_18 WHERE name = "tirrana" Context: CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the date for tirrana? The answer to your question is: SELECT d... |
SELECT name FROM table_name_1 WHERE nationality = "total:" | CREATE TABLE table_name_1 (name VARCHAR, nationality VARCHAR) | what is the name for the nationality total:? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_1 WHERE nationality = "total:" Context: CREATE TABLE table_name_1 (name VARCHAR, nationality VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the name for the nationality total:? The answer to ... |
SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = "june 19, 2008" | CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR) | Who is the republican Jon Huntsman that was administered June 19, 2008? | <s>[INST] Given the following SQL query and context: Query: SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = "june 19, 2008" Context: CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is... |
SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = "covington" | CREATE TABLE table_name_69 (final_year INTEGER, north_or_east_terminus VARCHAR) | What is the most minimal Final year that has a North or east end of covington? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = "covington" Context: CREATE TABLE table_name_69 (final_year INTEGER, north_or_east_terminus VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the mos... |
SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" | CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) | What is the total of Final year that has a Notes of replaced by i-96? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" Context: CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total of Final year that has a... |
SELECT MIN(final_year) FROM table_name_45 WHERE notes = "replaced by i-75 and m-25" AND first_year > 1926 | CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR) | What is the most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(final_year) FROM table_name_45 WHERE notes = "replaced by i-75 and m-25" AND first_year > 1926 Context: CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR) [/INST] Based on the provided SQL query and context, your ques... |
SELECT AVG(first_year) FROM table_name_31 WHERE notes = "replaced by us 12 when i-94 replaced us 12" AND final_year > 1961 | CREATE TABLE table_name_31 (first_year INTEGER, notes VARCHAR, final_year VARCHAR) | What is the average First year that has a Notes of replaced by us 12 when i-94 replaced us 12, and a Final year larger than 1961? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(first_year) FROM table_name_31 WHERE notes = "replaced by us 12 when i-94 replaced us 12" AND final_year > 1961 Context: CREATE TABLE table_name_31 (first_year INTEGER, notes VARCHAR, final_year VARCHAR) [/INST] Based on the provided SQL query and c... |
SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%" | CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR) | What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes? | <s>[INST] Given the following SQL query and context: Query: SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%" Context: CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR) [/INST] Based... |
SELECT outcome_of_election FROM table_name_31 WHERE candidate = "edward mahama" AND number_of_votes = "73,494" | CREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR) | What is the outcome of the election with edward mahama as a candidate and 73,494 votes? | <s>[INST] Given the following SQL query and context: Query: SELECT outcome_of_election FROM table_name_31 WHERE candidate = "edward mahama" AND number_of_votes = "73,494" Context: CREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR) [/INST] Based on the provided SQL query... |
SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.9%" | CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR) | What is the earlest election with a 0.9% share of votes? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.9%" Context: CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the earlest election with a 0.9%... |
SELECT candidate FROM table_name_41 WHERE number_of_votes = "73,494" | CREATE TABLE table_name_41 (candidate VARCHAR, number_of_votes VARCHAR) | Who is the candidate with 73,494 votes? | <s>[INST] Given the following SQL query and context: Query: SELECT candidate FROM table_name_41 WHERE number_of_votes = "73,494" Context: CREATE TABLE table_name_41 (candidate VARCHAR, number_of_votes VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the candidate with 73,494 votes?... |
SELECT share_of_votes FROM table_name_44 WHERE election = 2008 | CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) | What is the share of votes in the 2008 election? | <s>[INST] Given the following SQL query and context: Query: SELECT share_of_votes FROM table_name_44 WHERE election = 2008 Context: CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the share of votes in the 2008 election... |
SELECT number_of_votes FROM table_name_82 WHERE candidate = "edward mahama" AND share_of_votes = "0.9%" | CREATE TABLE table_name_82 (number_of_votes VARCHAR, candidate VARCHAR, share_of_votes VARCHAR) | What is the number of votes of candidate edward mahama, who had 0.9% share of votes? | <s>[INST] Given the following SQL query and context: Query: SELECT number_of_votes FROM table_name_82 WHERE candidate = "edward mahama" AND share_of_votes = "0.9%" Context: CREATE TABLE table_name_82 (number_of_votes VARCHAR, candidate VARCHAR, share_of_votes VARCHAR) [/INST] Based on the provided SQL query and context... |
SELECT ages FROM table_name_90 WHERE capacity > 21 AND ofsted = 106168 | CREATE TABLE table_name_90 (ages VARCHAR, capacity VARCHAR, ofsted VARCHAR) | Which Ages have a Capacity larger than 21, and an Ofsted of 106168? | <s>[INST] Given the following SQL query and context: Query: SELECT ages FROM table_name_90 WHERE capacity > 21 AND ofsted = 106168 Context: CREATE TABLE table_name_90 (ages VARCHAR, capacity VARCHAR, ofsted VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Ages have a Capacity larger... |
SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove school" | CREATE TABLE table_name_45 (ages VARCHAR, ofsted VARCHAR, school VARCHAR) | Which Ages have an Ofsted larger than 106172, and a School of oakgrove school? | <s>[INST] Given the following SQL query and context: Query: SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove school" Context: CREATE TABLE table_name_45 (ages VARCHAR, ofsted VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Ages have an Ofs... |
SELECT SUM(ofsted) FROM table_name_46 WHERE capacity < 56 AND ages = "11-16" | CREATE TABLE table_name_46 (ofsted INTEGER, capacity VARCHAR, ages VARCHAR) | Which Ofsted has a Capacity smaller than 56, and Ages of 11-16? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(ofsted) FROM table_name_46 WHERE capacity < 56 AND ages = "11-16" Context: CREATE TABLE table_name_46 (ofsted INTEGER, capacity VARCHAR, ages VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Ofsted has a Capacity... |
SELECT SUM(capacity) FROM table_name_63 WHERE school = "windlehurst school" AND ofsted < 131889 | CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR) | Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(capacity) FROM table_name_63 WHERE school = "windlehurst school" AND ofsted < 131889 Context: CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which ... |
SELECT crowd FROM table_name_58 WHERE home_team = "sydney spirit" | CREATE TABLE table_name_58 (crowd VARCHAR, home_team VARCHAR) | How many people attended the game when sydney spirit was at home? | <s>[INST] Given the following SQL query and context: Query: SELECT crowd FROM table_name_58 WHERE home_team = "sydney spirit" Context: CREATE TABLE table_name_58 (crowd VARCHAR, home_team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many people attended the game when sydney spirit... |
SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498 | CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) | When the crowd was greater than 19,498 who was the away team? | <s>[INST] Given the following SQL query and context: Query: SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498 Context: CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) [/INST] Based on the provided SQL query and context, your question is: When the crowd was greater than 19,498 who was the away ... |
SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684 | CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) | An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result? | <s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684 Context: CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) [/INST] Based on the provided SQL query and context, your question... |
SELECT time_retired FROM table_name_66 WHERE grid = 8 | CREATE TABLE table_name_66 (time_retired VARCHAR, grid VARCHAR) | When did grid 8 finish? | <s>[INST] Given the following SQL query and context: Query: SELECT time_retired FROM table_name_66 WHERE grid = 8 Context: CREATE TABLE table_name_66 (time_retired VARCHAR, grid VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When did grid 8 finish? The answer to your question is: SELECT... |
SELECT location FROM table_name_79 WHERE game > 20 AND date = "wed. dec. 26" | CREATE TABLE table_name_79 (location VARCHAR, game VARCHAR, date VARCHAR) | Which Location has a Game greater than 20 and a Date of Wed. Dec. 26? | <s>[INST] Given the following SQL query and context: Query: SELECT location FROM table_name_79 WHERE game > 20 AND date = "wed. dec. 26" Context: CREATE TABLE table_name_79 (location VARCHAR, game VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Location has a Game gre... |
SELECT date FROM table_name_54 WHERE score = "94-109" | CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) | On what date is the Score 94-109? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_54 WHERE score = "94-109" Context: CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date is the Score 94-109? The answer to your question is: SEL... |
SELECT location FROM table_name_58 WHERE game > 27 AND record = "18-10" | CREATE TABLE table_name_58 (location VARCHAR, game VARCHAR, record VARCHAR) | Which Location has a Game greater than 27 and a Record of 18-10? | <s>[INST] Given the following SQL query and context: Query: SELECT location FROM table_name_58 WHERE game > 27 AND record = "18-10" Context: CREATE TABLE table_name_58 (location VARCHAR, game VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Location has a Game greate... |
SELECT lost FROM table_name_24 WHERE points_difference = "-25" | CREATE TABLE table_name_24 (lost VARCHAR, points_difference VARCHAR) | What is the number of losses for the team with a points difference of -25? | <s>[INST] Given the following SQL query and context: Query: SELECT lost FROM table_name_24 WHERE points_difference = "-25" Context: CREATE TABLE table_name_24 (lost VARCHAR, points_difference VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the number of losses for the team with a... |
SELECT drawn FROM table_name_12 WHERE points_difference = "-210" | CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR) | What is the number of draws for the team with a points difference of -210? | <s>[INST] Given the following SQL query and context: Query: SELECT drawn FROM table_name_12 WHERE points_difference = "-210" Context: CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the number of draws for the team with... |
SELECT points_difference FROM table_name_39 WHERE points_against = "615" | CREATE TABLE table_name_39 (points_difference VARCHAR, points_against VARCHAR) | What is the points difference for the team that has allowed 615 points against? | <s>[INST] Given the following SQL query and context: Query: SELECT points_difference FROM table_name_39 WHERE points_against = "615" Context: CREATE TABLE table_name_39 (points_difference VARCHAR, points_against VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the points differenc... |
SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "33" | CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR) | What is the number of matches played for the team with 0 draws and 33 points? | <s>[INST] Given the following SQL query and context: Query: SELECT played FROM table_name_49 WHERE drawn = "0" AND points = "33" Context: CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the number of matches played... |
SELECT points FROM table_name_88 WHERE drawn = "2" AND points_for = "577" | CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR) | What is the number of points for the team with 2 matches drawn and 577 points for? | <s>[INST] Given the following SQL query and context: Query: SELECT points FROM table_name_88 WHERE drawn = "2" AND points_for = "577" Context: CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the number of point... |
SELECT result FROM table_name_22 WHERE home = "fc luzern (asl)" | CREATE TABLE table_name_22 (result VARCHAR, home VARCHAR) | What was the result when home was fc luzern (asl)? | <s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_22 WHERE home = "fc luzern (asl)" Context: CREATE TABLE table_name_22 (result VARCHAR, home VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the result when home was fc luzern (asl)? The ans... |
SELECT guest FROM table_name_25 WHERE date = "24.11.07" AND result = "0:1" AND time = "16:00" | CREATE TABLE table_name_25 (guest VARCHAR, time VARCHAR, date VARCHAR, result VARCHAR) | Who was the guest on 24.11.07 when the result was 0:1 at 16:00? | <s>[INST] Given the following SQL query and context: Query: SELECT guest FROM table_name_25 WHERE date = "24.11.07" AND result = "0:1" AND time = "16:00" Context: CREATE TABLE table_name_25 (guest VARCHAR, time VARCHAR, date VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is:... |
SELECT date FROM table_name_44 WHERE time = "14:30" AND result = "0:1" AND home = "fc chiasso (chl)" | CREATE TABLE table_name_44 (date VARCHAR, home VARCHAR, time VARCHAR, result VARCHAR) | What day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_44 WHERE time = "14:30" AND result = "0:1" AND home = "fc chiasso (chl)" Context: CREATE TABLE table_name_44 (date VARCHAR, home VARCHAR, time VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your questi... |
SELECT guest FROM table_name_67 WHERE date = "25.11.07" AND home = "stade nyonnais (1.l)" | CREATE TABLE table_name_67 (guest VARCHAR, date VARCHAR, home VARCHAR) | Who was the gues on 25.11.07 when home was stade nyonnais (1.l)? | <s>[INST] Given the following SQL query and context: Query: SELECT guest FROM table_name_67 WHERE date = "25.11.07" AND home = "stade nyonnais (1.l)" Context: CREATE TABLE table_name_67 (guest VARCHAR, date VARCHAR, home VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the gues on... |
SELECT guest FROM table_name_56 WHERE result = "0:3" | CREATE TABLE table_name_56 (guest VARCHAR, result VARCHAR) | Who was the guest when the result was 0:3? | <s>[INST] Given the following SQL query and context: Query: SELECT guest FROM table_name_56 WHERE result = "0:3" Context: CREATE TABLE table_name_56 (guest VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the guest when the result was 0:3? The answer to your questi... |
SELECT result FROM table_name_93 WHERE guest = "fc zürich (asl)" | CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR) | What was the result when the guest was fc zürich (asl)? | <s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_93 WHERE guest = "fc zürich (asl)" Context: CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the result when the guest was fc zürich (asl)? ... |
SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence" | CREATE TABLE table_name_80 (white VARCHAR, opening VARCHAR, year VARCHAR, moves VARCHAR, black VARCHAR) | What's the white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000? | <s>[INST] Given the following SQL query and context: Query: SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence" Context: CREATE TABLE table_name_80 (white VARCHAR, opening VARCHAR, year VARCHAR, moves VARCHAR, black VARCHAR) [/INST] Based on ... |
SELECT tournament FROM table_name_28 WHERE black = "kramnik" AND opening = "b66 sicilian defence" | CREATE TABLE table_name_28 (tournament VARCHAR, black VARCHAR, opening VARCHAR) | What tournament had a black of Kramnik and an opening of B66 Sicilian Defence? | <s>[INST] Given the following SQL query and context: Query: SELECT tournament FROM table_name_28 WHERE black = "kramnik" AND opening = "b66 sicilian defence" Context: CREATE TABLE table_name_28 (tournament VARCHAR, black VARCHAR, opening VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Wh... |
SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AND opening = "e05 catalan opening" AND moves > 38 | CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR) | What year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AND opening = "e05 catalan opening" AND moves > 38 Context: CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR) [/INST] Based on... |
SELECT SUM(year) FROM table_name_23 WHERE moves = 32 | CREATE TABLE table_name_23 (year INTEGER, moves VARCHAR) | What year had 32 moves? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_23 WHERE moves = 32 Context: CREATE TABLE table_name_23 (year INTEGER, moves VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year had 32 moves? The answer to your question is: SELECT SUM(yea... |
SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game" | CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR) | What year has 14 moves and an opening of C54 Italian Game? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game" Context: CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year has 14 moves an... |
SELECT MIN(round2) FROM table_name_88 WHERE round5 = 71 AND round4 > 64 | CREATE TABLE table_name_88 (round2 INTEGER, round5 VARCHAR, round4 VARCHAR) | what is the lowest round2 when round5 is 71 and round4 is more than 64? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(round2) FROM table_name_88 WHERE round5 = 71 AND round4 > 64 Context: CREATE TABLE table_name_88 (round2 INTEGER, round5 VARCHAR, round4 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the lowest round2 when r... |
SELECT AVG(round1) FROM table_name_62 WHERE round3 < 51 AND total_points < 273 AND round2 < 98 AND round5 < 24 | CREATE TABLE table_name_62 (round1 INTEGER, round5 VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR) | what is round1 when round3 is less than 51, total points is less than 273, round2 is less than 98 and round5 is less than 24? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(round1) FROM table_name_62 WHERE round3 < 51 AND total_points < 273 AND round2 < 98 AND round5 < 24 Context: CREATE TABLE table_name_62 (round1 INTEGER, round5 VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR) [/INST] Based on the provi... |
SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66 | CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR) | what is the rank when the total points is more than 194, round4 is less than 64, round3 is more than 51 and round 2 is less than 66? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66 Context: CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR) [/INST] Based on the provide... |
SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = "netherlands" AND rank < 2 | CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR) | what is round2 when round5 is more than 35, round3 is less than 51, the rank is smaller than 2 and the team is netherlands? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = "netherlands" AND rank < 2 Context: CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR) [/INST] Based on the provided SQL q... |
SELECT MIN(round3) FROM table_name_73 WHERE round4 = 37 | CREATE TABLE table_name_73 (round3 INTEGER, round4 VARCHAR) | what is the lowest round3 when round4 is 37? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(round3) FROM table_name_73 WHERE round4 = 37 Context: CREATE TABLE table_name_73 (round3 INTEGER, round4 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the lowest round3 when round4 is 37? The answer to your ... |
SELECT school_club_team FROM table_name_98 WHERE position = "shooting guard" AND years_for_grizzlies = "2000-2001" | CREATE TABLE table_name_98 (school_club_team VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR) | What is the team that has a shooting guard that played for the Grizzlies in 2000-2001? | <s>[INST] Given the following SQL query and context: Query: SELECT school_club_team FROM table_name_98 WHERE position = "shooting guard" AND years_for_grizzlies = "2000-2001" Context: CREATE TABLE table_name_98 (school_club_team VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR) [/INST] Based on the provided SQL q... |
SELECT school_club_team FROM table_name_51 WHERE nationality = "united states" AND years_for_grizzlies = "1995-1996" | CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) | What's the United States team that played for the Grizzlies in 1995-1996? | <s>[INST] Given the following SQL query and context: Query: SELECT school_club_team FROM table_name_51 WHERE nationality = "united states" AND years_for_grizzlies = "1995-1996" Context: CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) [/INST] Based on the provided ... |
SELECT years_for_grizzlies FROM table_name_94 WHERE player = "obinna ekezie" | CREATE TABLE table_name_94 (years_for_grizzlies VARCHAR, player VARCHAR) | What are years that Obinna Ekezie played for the Grizzlies? | <s>[INST] Given the following SQL query and context: Query: SELECT years_for_grizzlies FROM table_name_94 WHERE player = "obinna ekezie" Context: CREATE TABLE table_name_94 (years_for_grizzlies VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What are years that Obinna Eke... |
SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = "1995-1998" | CREATE TABLE table_name_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) | What's the school that played for the Grizzlie from 1995-1998? | <s>[INST] Given the following SQL query and context: Query: SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = "1995-1998" Context: CREATE TABLE table_name_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the sch... |
SELECT position FROM table_name_24 WHERE player = "wayne ellington" | CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR) | What position does Wayne Ellington play? | <s>[INST] Given the following SQL query and context: Query: SELECT position FROM table_name_24 WHERE player = "wayne ellington" Context: CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What position does Wayne Ellington play? The answe... |
SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22 | CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR) | What is the premier league number when the position is forward, and the total is more than 22? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22 Context: CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What ... |
SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1 | CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR) | What is the total when the league cup is less than 1, and the fa cup is less than 1? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1 Context: CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total when the l... |
SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 5 | CREATE TABLE table_name_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR) | What is the lowest league cup with a premier League of 1, and the total is less than 5? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 5 Context: CREATE TABLE table_name_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the ... |
SELECT MIN(fa_cup) FROM table_name_16 WHERE league_cup = 1 AND total > 23 | CREATE TABLE table_name_16 (fa_cup INTEGER, league_cup VARCHAR, total VARCHAR) | What is the lowest FA Cup when the league cup is 1, and the total is more than 23? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(fa_cup) FROM table_name_16 WHERE league_cup = 1 AND total > 23 Context: CREATE TABLE table_name_16 (fa_cup INTEGER, league_cup VARCHAR, total VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest FA Cup w... |
SELECT MIN(grid) FROM table_name_87 WHERE rider = "roberto rolfo" AND laps > 26 | CREATE TABLE table_name_87 (grid INTEGER, rider VARCHAR, laps VARCHAR) | What is the lowest grid for Roberto Rolfo with more than 26 laps? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(grid) FROM table_name_87 WHERE rider = "roberto rolfo" AND laps > 26 Context: CREATE TABLE table_name_87 (grid INTEGER, rider VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest grid for R... |
SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9 AND laps < 26 AND rider = "casey stoner" | CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | What was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps? | <s>[INST] Given the following SQL query and context: Query: SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9 AND laps < 26 AND rider = "casey stoner" Context: CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) [/INST] Base... |
SELECT MAX(laps) FROM table_name_67 WHERE rider = "marco melandri" | CREATE TABLE table_name_67 (laps INTEGER, rider VARCHAR) | What are the highest laps for Marco Melandri? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(laps) FROM table_name_67 WHERE rider = "marco melandri" Context: CREATE TABLE table_name_67 (laps INTEGER, rider VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What are the highest laps for Marco Melandri? The answer... |
SELECT COUNT(lost) FROM table_name_54 WHERE played > 12 | CREATE TABLE table_name_54 (lost VARCHAR, played INTEGER) | Which player lost more than 12? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(lost) FROM table_name_54 WHERE played > 12 Context: CREATE TABLE table_name_54 (lost VARCHAR, played INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which player lost more than 12? The answer to your question is: SE... |
SELECT name FROM table_name_69 WHERE lost > 4 | CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER) | What is the name of the player that lost more than 4? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_69 WHERE lost > 4 Context: CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the name of the player that lost more than 4? The answer to your quest... |
SELECT name FROM table_name_88 WHERE lane < 8 AND country = "russia" AND mark = "8.07" | CREATE TABLE table_name_88 (name VARCHAR, mark VARCHAR, lane VARCHAR, country VARCHAR) | Which name has a lane less than 8, russia as the country, with a mark of 8.07? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_88 WHERE lane < 8 AND country = "russia" AND mark = "8.07" Context: CREATE TABLE table_name_88 (name VARCHAR, mark VARCHAR, lane VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which ... |
SELECT SUM(lane) FROM table_name_77 WHERE heat = 2 AND name = "susanna kallur" | CREATE TABLE table_name_77 (lane INTEGER, heat VARCHAR, name VARCHAR) | How many lanes have 2 as the heat, and susanna kallur as the name? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(lane) FROM table_name_77 WHERE heat = 2 AND name = "susanna kallur" Context: CREATE TABLE table_name_77 (lane INTEGER, heat VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many lanes have 2 as the he... |
SELECT name FROM table_name_32 WHERE mark = "8.19" AND lane = 3 | CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR) | What name has 8.19 as the mark, with 3 as the lane? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_32 WHERE mark = "8.19" AND lane = 3 Context: CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What name has 8.19 as the mark, with 3 as the ... |
SELECT discipline FROM table_name_45 WHERE championship = "non-championship" | CREATE TABLE table_name_45 (discipline VARCHAR, championship VARCHAR) | In which discipline was non-championship under Championship? | <s>[INST] Given the following SQL query and context: Query: SELECT discipline FROM table_name_45 WHERE championship = "non-championship" Context: CREATE TABLE table_name_45 (discipline VARCHAR, championship VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In which discipline was non-champ... |
SELECT discipline FROM table_name_93 WHERE session = "pre-race test" | CREATE TABLE table_name_93 (discipline VARCHAR, session VARCHAR) | What type of motorsport has a session of pre-race test? | <s>[INST] Given the following SQL query and context: Query: SELECT discipline FROM table_name_93 WHERE session = "pre-race test" Context: CREATE TABLE table_name_93 (discipline VARCHAR, session VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What type of motorsport has a session of pre-r... |
SELECT event FROM table_name_32 WHERE championship = "1959 usac championship car season" | CREATE TABLE table_name_32 (event VARCHAR, championship VARCHAR) | With a Championship of 1959 USAC Championship Car Season what is the event? | <s>[INST] Given the following SQL query and context: Query: SELECT event FROM table_name_32 WHERE championship = "1959 usac championship car season" Context: CREATE TABLE table_name_32 (event VARCHAR, championship VARCHAR) [/INST] Based on the provided SQL query and context, your question is: With a Championship of 195... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.