answer
stringlengths 18
557
| context
stringlengths 27
489
| question
stringlengths 12
244
| text
stringlengths 275
1.7k
|
---|---|---|---|
SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"
|
CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)
|
what is the wind speed when brenda morehead was in the united states?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead" Context: CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the wind speed when brenda morehead was in the united states? The answer to your question is: SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead". [/s>
|
SELECT MAX(rank) FROM table_name_97 WHERE location = "dresden" AND fastest_time__s_ < 10.88
|
CREATE TABLE table_name_97 (rank INTEGER, location VARCHAR, fastest_time__s_ VARCHAR)
|
what is the highest rank in dresden with a time faster than 10.88?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(rank) FROM table_name_97 WHERE location = "dresden" AND fastest_time__s_ < 10.88 Context: CREATE TABLE table_name_97 (rank INTEGER, location VARCHAR, fastest_time__s_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the highest rank in dresden with a time faster than 10.88? The answer to your question is: SELECT MAX(rank) FROM table_name_97 WHERE location = "dresden" AND fastest_time__s_ < 10.88. [/s>
|
SELECT course FROM table_name_10 WHERE date = "1 june"
|
CREATE TABLE table_name_10 (course VARCHAR, date VARCHAR)
|
What is the course on 1 June?
|
<s>[INST] Given the following SQL query and context: Query: SELECT course FROM table_name_10 WHERE date = "1 june" Context: CREATE TABLE table_name_10 (course VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the course on 1 June? The answer to your question is: SELECT course FROM table_name_10 WHERE date = "1 june". [/s>
|
SELECT winner FROM table_name_95 WHERE course = "florence to genoa"
|
CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)
|
Who is the winner of the Florence to Genoa course?
|
<s>[INST] Given the following SQL query and context: Query: SELECT winner FROM table_name_95 WHERE course = "florence to genoa" Context: CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the winner of the Florence to Genoa course? The answer to your question is: SELECT winner FROM table_name_95 WHERE course = "florence to genoa". [/s>
|
SELECT date FROM table_name_44 WHERE course = "rome to florence"
|
CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)
|
What is the date of the Rome to Florence course?
|
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_44 WHERE course = "rome to florence" Context: CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the date of the Rome to Florence course? The answer to your question is: SELECT date FROM table_name_44 WHERE course = "rome to florence". [/s>
|
SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995
|
CREATE TABLE table_name_94 (assists VARCHAR, blocks VARCHAR, year VARCHAR)
|
What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995
|
<s>[INST] Given the following SQL query and context: Query: SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995 Context: CREATE TABLE table_name_94 (assists VARCHAR, blocks VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995 The answer to your question is: SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995. [/s>
|
SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns"
|
CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR)
|
What is the highest lane for heat 6 with a time of dns?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns" Context: CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest lane for heat 6 with a time of dns? The answer to your question is: SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns". [/s>
|
SELECT MIN(lane) FROM table_name_43 WHERE time = "2:05.90" AND heat > 3
|
CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR, heat VARCHAR)
|
What is the lowest lane with a time of 2:05.90, and a Heat larger than 3?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(lane) FROM table_name_43 WHERE time = "2:05.90" AND heat > 3 Context: CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR, heat VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest lane with a time of 2:05.90, and a Heat larger than 3? The answer to your question is: SELECT MIN(lane) FROM table_name_43 WHERE time = "2:05.90" AND heat > 3. [/s>
|
SELECT nationality FROM table_name_70 WHERE lane > 4 AND time = "2:00.37"
|
CREATE TABLE table_name_70 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
|
What nationality has a lane larger than 4 and a Time of 2:00.37?
|
<s>[INST] Given the following SQL query and context: Query: SELECT nationality FROM table_name_70 WHERE lane > 4 AND time = "2:00.37" Context: CREATE TABLE table_name_70 (nationality VARCHAR, lane VARCHAR, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What nationality has a lane larger than 4 and a Time of 2:00.37? The answer to your question is: SELECT nationality FROM table_name_70 WHERE lane > 4 AND time = "2:00.37". [/s>
|
SELECT AVG(lane) FROM table_name_57 WHERE nationality = "belarus"
|
CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR)
|
What is the average Lane where Belarus is the nationality?
|
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(lane) FROM table_name_57 WHERE nationality = "belarus" Context: CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average Lane where Belarus is the nationality? The answer to your question is: SELECT AVG(lane) FROM table_name_57 WHERE nationality = "belarus". [/s>
|
SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet"
|
CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)
|
What is the highest lane for nisha millet?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet" Context: CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest lane for nisha millet? The answer to your question is: SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet". [/s>
|
SELECT date FROM table_name_31 WHERE course = "rome to naples"
|
CREATE TABLE table_name_31 (date VARCHAR, course VARCHAR)
|
On what date was the race course from Rome to Naples?
|
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_31 WHERE course = "rome to naples" Context: CREATE TABLE table_name_31 (date VARCHAR, course VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the race course from Rome to Naples? The answer to your question is: SELECT date FROM table_name_31 WHERE course = "rome to naples". [/s>
|
SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9"
|
CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR)
|
Name the Losing BP with 22 played and 9 Try BP.
|
<s>[INST] Given the following SQL query and context: Query: SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9" Context: CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the Losing BP with 22 played and 9 Try BP. The answer to your question is: SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9". [/s>
|
SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "6"
|
CREATE TABLE table_name_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR)
|
Name the Losing BP with drawn of 1 and a Try BP of 6.
|
<s>[INST] Given the following SQL query and context: Query: SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "6" Context: CREATE TABLE table_name_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the Losing BP with drawn of 1 and a Try BP of 6. The answer to your question is: SELECT losing_bp FROM table_name_14 WHERE drawn = "1" AND try_bp = "6". [/s>
|
SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc"
|
CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR)
|
Name the Losing BP of Newport Saracens RFC and has a Lost of 19.
|
<s>[INST] Given the following SQL query and context: Query: SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc" Context: CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the Losing BP of Newport Saracens RFC and has a Lost of 19. The answer to your question is: SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc". [/s>
|
SELECT drawn FROM table_name_39 WHERE played = "22" AND club = "ystrad rhondda rfc"
|
CREATE TABLE table_name_39 (drawn VARCHAR, played VARCHAR, club VARCHAR)
|
Name the Drawn for Ystrad Rhondda RFC and has Played of 22.
|
<s>[INST] Given the following SQL query and context: Query: SELECT drawn FROM table_name_39 WHERE played = "22" AND club = "ystrad rhondda rfc" Context: CREATE TABLE table_name_39 (drawn VARCHAR, played VARCHAR, club VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the Drawn for Ystrad Rhondda RFC and has Played of 22. The answer to your question is: SELECT drawn FROM table_name_39 WHERE played = "22" AND club = "ystrad rhondda rfc". [/s>
|
SELECT drawn FROM table_name_60 WHERE lost = "1"
|
CREATE TABLE table_name_60 (drawn VARCHAR, lost VARCHAR)
|
Can you name the drawn with a Lost of 1?
|
<s>[INST] Given the following SQL query and context: Query: SELECT drawn FROM table_name_60 WHERE lost = "1" Context: CREATE TABLE table_name_60 (drawn VARCHAR, lost VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Can you name the drawn with a Lost of 1? The answer to your question is: SELECT drawn FROM table_name_60 WHERE lost = "1". [/s>
|
SELECT drawn FROM table_name_34 WHERE losing_bp = "8"
|
CREATE TABLE table_name_34 (drawn VARCHAR, losing_bp VARCHAR)
|
With a Losing BP of 8, what is the drawn?
|
<s>[INST] Given the following SQL query and context: Query: SELECT drawn FROM table_name_34 WHERE losing_bp = "8" Context: CREATE TABLE table_name_34 (drawn VARCHAR, losing_bp VARCHAR) [/INST] Based on the provided SQL query and context, your question is: With a Losing BP of 8, what is the drawn? The answer to your question is: SELECT drawn FROM table_name_34 WHERE losing_bp = "8". [/s>
|
SELECT disposals FROM table_name_84 WHERE marks = "134"
|
CREATE TABLE table_name_84 (disposals VARCHAR, marks VARCHAR)
|
What is the number of disposals when marks is 134?
|
<s>[INST] Given the following SQL query and context: Query: SELECT disposals FROM table_name_84 WHERE marks = "134" Context: CREATE TABLE table_name_84 (disposals VARCHAR, marks VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the number of disposals when marks is 134? The answer to your question is: SELECT disposals FROM table_name_84 WHERE marks = "134". [/s>
|
SELECT score1 FROM table_name_9 WHERE match = 42
|
CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR)
|
What is the Score1 of Match 42?
|
<s>[INST] Given the following SQL query and context: Query: SELECT score1 FROM table_name_9 WHERE match = 42 Context: CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score1 of Match 42? The answer to your question is: SELECT score1 FROM table_name_9 WHERE match = 42. [/s>
|
SELECT date FROM table_name_2 WHERE match > 8 AND ground = "a" AND opponent = "guiseley"
|
CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)
|
On what date was the match higher than 8 on ground A against Guiseley?
|
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_2 WHERE match > 8 AND ground = "a" AND opponent = "guiseley" Context: CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the match higher than 8 on ground A against Guiseley? The answer to your question is: SELECT date FROM table_name_2 WHERE match > 8 AND ground = "a" AND opponent = "guiseley". [/s>
|
SELECT ground FROM table_name_60 WHERE date = "31 jul 2007"
|
CREATE TABLE table_name_60 (ground VARCHAR, date VARCHAR)
|
On what ground was the game on 31 Jul 2007?
|
<s>[INST] Given the following SQL query and context: Query: SELECT ground FROM table_name_60 WHERE date = "31 jul 2007" Context: CREATE TABLE table_name_60 (ground VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what ground was the game on 31 Jul 2007? The answer to your question is: SELECT ground FROM table_name_60 WHERE date = "31 jul 2007". [/s>
|
SELECT SUM(total) FROM table_name_20 WHERE player = "david toms"
|
CREATE TABLE table_name_20 (total INTEGER, player VARCHAR)
|
What is the total of David Toms?
|
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(total) FROM table_name_20 WHERE player = "david toms" Context: CREATE TABLE table_name_20 (total INTEGER, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total of David Toms? The answer to your question is: SELECT SUM(total) FROM table_name_20 WHERE player = "david toms". [/s>
|
SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji"
|
CREATE TABLE table_name_96 (total INTEGER, finish VARCHAR, country VARCHAR)
|
What is the average of Fiji with t10 Finish?
|
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji" Context: CREATE TABLE table_name_96 (total INTEGER, finish VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average of Fiji with t10 Finish? The answer to your question is: SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji". [/s>
|
SELECT player FROM table_name_60 WHERE year_s__won = "1983"
|
CREATE TABLE table_name_60 (player VARCHAR, year_s__won VARCHAR)
|
Who won in 1983?
|
<s>[INST] Given the following SQL query and context: Query: SELECT player FROM table_name_60 WHERE year_s__won = "1983" Context: CREATE TABLE table_name_60 (player VARCHAR, year_s__won VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who won in 1983? The answer to your question is: SELECT player FROM table_name_60 WHERE year_s__won = "1983". [/s>
|
SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily"
|
CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR)
|
Which english website has a daily frequency ?
|
<s>[INST] Given the following SQL query and context: Query: SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily" Context: CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which english website has a daily frequency ? The answer to your question is: SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily". [/s>
|
SELECT frequency FROM table_name_70 WHERE city = "nuevo laredo" AND name = "el diario de nuevo laredo"
|
CREATE TABLE table_name_70 (frequency VARCHAR, city VARCHAR, name VARCHAR)
|
What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ?
|
<s>[INST] Given the following SQL query and context: Query: SELECT frequency FROM table_name_70 WHERE city = "nuevo laredo" AND name = "el diario de nuevo laredo" Context: CREATE TABLE table_name_70 (frequency VARCHAR, city VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ? The answer to your question is: SELECT frequency FROM table_name_70 WHERE city = "nuevo laredo" AND name = "el diario de nuevo laredo". [/s>
|
SELECT name FROM table_name_17 WHERE website = "liderinformativo.com"
|
CREATE TABLE table_name_17 (name VARCHAR, website VARCHAR)
|
What is the name of the newspaper with the website liderinformativo.com ?
|
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_17 WHERE website = "liderinformativo.com" Context: CREATE TABLE table_name_17 (name VARCHAR, website VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the newspaper with the website liderinformativo.com ? The answer to your question is: SELECT name FROM table_name_17 WHERE website = "liderinformativo.com". [/s>
|
SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper"
|
CREATE TABLE table_name_77 (website VARCHAR, language VARCHAR, frequency VARCHAR)
|
Which website is in english and has the frequency of an online newspaper ?
|
<s>[INST] Given the following SQL query and context: Query: SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper" Context: CREATE TABLE table_name_77 (website VARCHAR, language VARCHAR, frequency VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which website is in english and has the frequency of an online newspaper ? The answer to your question is: SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper". [/s>
|
SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com"
|
CREATE TABLE table_name_3 (city VARCHAR, language VARCHAR, website VARCHAR)
|
Which city has spanish news on the website ultimahora.com ?
|
<s>[INST] Given the following SQL query and context: Query: SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com" Context: CREATE TABLE table_name_3 (city VARCHAR, language VARCHAR, website VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which city has spanish news on the website ultimahora.com ? The answer to your question is: SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com". [/s>
|
SELECT MAX(points) FROM table_name_92 WHERE year > 1959
|
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
|
Which line after 1959 had the highest amount of points?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(points) FROM table_name_92 WHERE year > 1959 Context: CREATE TABLE table_name_92 (points INTEGER, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which line after 1959 had the highest amount of points? The answer to your question is: SELECT MAX(points) FROM table_name_92 WHERE year > 1959. [/s>
|
SELECT MIN(points) FROM table_name_59 WHERE year = 1954
|
CREATE TABLE table_name_59 (points INTEGER, year VARCHAR)
|
Which line has the lowest amount of points and a year of 1954?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(points) FROM table_name_59 WHERE year = 1954 Context: CREATE TABLE table_name_59 (points INTEGER, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which line has the lowest amount of points and a year of 1954? The answer to your question is: SELECT MIN(points) FROM table_name_59 WHERE year = 1954. [/s>
|
SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954
|
CREATE TABLE table_name_59 (points INTEGER, entrant VARCHAR, year VARCHAR)
|
What is the total amount of points that Christy has in the years before 1954?
|
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954 Context: CREATE TABLE table_name_59 (points INTEGER, entrant VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total amount of points that Christy has in the years before 1954? The answer to your question is: SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954. [/s>
|
SELECT MAX(year) FROM table_name_82 WHERE engine = "offenhauser l4" AND chassis = "kurtis kraft 500c" AND entrant = "federal engineering"
|
CREATE TABLE table_name_82 (year INTEGER, entrant VARCHAR, engine VARCHAR, chassis VARCHAR)
|
Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_82 WHERE engine = "offenhauser l4" AND chassis = "kurtis kraft 500c" AND entrant = "federal engineering" Context: CREATE TABLE table_name_82 (year INTEGER, entrant VARCHAR, engine VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering? The answer to your question is: SELECT MAX(year) FROM table_name_82 WHERE engine = "offenhauser l4" AND chassis = "kurtis kraft 500c" AND entrant = "federal engineering". [/s>
|
SELECT chassis FROM table_name_76 WHERE year = 1954
|
CREATE TABLE table_name_76 (chassis VARCHAR, year VARCHAR)
|
Which chasis was in the year 1954?
|
<s>[INST] Given the following SQL query and context: Query: SELECT chassis FROM table_name_76 WHERE year = 1954 Context: CREATE TABLE table_name_76 (chassis VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which chasis was in the year 1954? The answer to your question is: SELECT chassis FROM table_name_76 WHERE year = 1954. [/s>
|
SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy"
|
CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR)
|
What is the final score in 2007 for the world league in novi sad played against Italy?
|
<s>[INST] Given the following SQL query and context: Query: SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy" Context: CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the final score in 2007 for the world league in novi sad played against Italy? The answer to your question is: SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy". [/s>
|
SELECT competition FROM table_name_56 WHERE town = "budva" AND opponent = "italy"
|
CREATE TABLE table_name_56 (competition VARCHAR, town VARCHAR, opponent VARCHAR)
|
what is the competition played in budva against italy?
|
<s>[INST] Given the following SQL query and context: Query: SELECT competition FROM table_name_56 WHERE town = "budva" AND opponent = "italy" Context: CREATE TABLE table_name_56 (competition VARCHAR, town VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the competition played in budva against italy? The answer to your question is: SELECT competition FROM table_name_56 WHERE town = "budva" AND opponent = "italy". [/s>
|
SELECT competition FROM table_name_79 WHERE final_score = "6:5"
|
CREATE TABLE table_name_79 (competition VARCHAR, final_score VARCHAR)
|
what is the competition that had a final score of 6:5?
|
<s>[INST] Given the following SQL query and context: Query: SELECT competition FROM table_name_79 WHERE final_score = "6:5" Context: CREATE TABLE table_name_79 (competition VARCHAR, final_score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the competition that had a final score of 6:5? The answer to your question is: SELECT competition FROM table_name_79 WHERE final_score = "6:5". [/s>
|
SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste"
|
CREATE TABLE table_name_90 (opponent VARCHAR, year VARCHAR, town VARCHAR)
|
who is the opponent when played in trieste before 2007?
|
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste" Context: CREATE TABLE table_name_90 (opponent VARCHAR, year VARCHAR, town VARCHAR) [/INST] Based on the provided SQL query and context, your question is: who is the opponent when played in trieste before 2007? The answer to your question is: SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste". [/s>
|
SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 15
|
CREATE TABLE table_name_36 (bonus_pts INTEGER, rider VARCHAR, rides VARCHAR)
|
What was Bob Jameson's lowest bonus where he had less than 15 rides?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 15 Context: CREATE TABLE table_name_36 (bonus_pts INTEGER, rider VARCHAR, rides VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was Bob Jameson's lowest bonus where he had less than 15 rides? The answer to your question is: SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 15. [/s>
|
SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7
|
CREATE TABLE table_name_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR)
|
How many rides did it take to get less than 3 bonus pts in no more than 7 matches?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7 Context: CREATE TABLE table_name_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many rides did it take to get less than 3 bonus pts in no more than 7 matches? The answer to your question is: SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7. [/s>
|
SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15
|
CREATE TABLE table_name_29 (total_points INTEGER, bonus_pts VARCHAR, matches VARCHAR, rides VARCHAR)
|
What is the total for 34 matches with 111 rides, but no more than 15 bonus points?
|
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15 Context: CREATE TABLE table_name_29 (total_points INTEGER, bonus_pts VARCHAR, matches VARCHAR, rides VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total for 34 matches with 111 rides, but no more than 15 bonus points? The answer to your question is: SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15. [/s>
|
SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3
|
CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR)
|
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?
|
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3 Context: CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points? The answer to your question is: SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3. [/s>
|
SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2
|
CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR)
|
Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points?
|
<s>[INST] Given the following SQL query and context: Query: SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2 Context: CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points? The answer to your question is: SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2. [/s>
|
SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002"
|
CREATE TABLE table_name_41 (margin_of_victory VARCHAR, date VARCHAR)
|
What is the Margin of victory on aug 11, 2002?
|
<s>[INST] Given the following SQL query and context: Query: SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002" Context: CREATE TABLE table_name_41 (margin_of_victory VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Margin of victory on aug 11, 2002? The answer to your question is: SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002". [/s>
|
SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200)
|
CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)
|
When has a Winning score of –16 (70-65-65=200)?
|
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200) Context: CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When has a Winning score of –16 (70-65-65=200)? The answer to your question is: SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200). [/s>
|
SELECT margin_of_victory FROM table_name_21 WHERE date = "oct 5, 1997"
|
CREATE TABLE table_name_21 (margin_of_victory VARCHAR, date VARCHAR)
|
What is the Margin of victory on oct 5, 1997?
|
<s>[INST] Given the following SQL query and context: Query: SELECT margin_of_victory FROM table_name_21 WHERE date = "oct 5, 1997" Context: CREATE TABLE table_name_21 (margin_of_victory VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Margin of victory on oct 5, 1997? The answer to your question is: SELECT margin_of_victory FROM table_name_21 WHERE date = "oct 5, 1997". [/s>
|
SELECT winning_score FROM table_name_93 WHERE date = "oct 22, 2000"
|
CREATE TABLE table_name_93 (winning_score VARCHAR, date VARCHAR)
|
What is the Winning score on oct 22, 2000?
|
<s>[INST] Given the following SQL query and context: Query: SELECT winning_score FROM table_name_93 WHERE date = "oct 22, 2000" Context: CREATE TABLE table_name_93 (winning_score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Winning score on oct 22, 2000? The answer to your question is: SELECT winning_score FROM table_name_93 WHERE date = "oct 22, 2000". [/s>
|
SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
|
CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
|
How many episodes have a share of 16.2% and an episode number of less than 1?
|
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1 Context: CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many episodes have a share of 16.2% and an episode number of less than 1? The answer to your question is: SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1. [/s>
|
SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open"
|
CREATE TABLE table_name_31 (tournament VARCHAR)
|
If the French Open tournament had 2r in 2012, what was it in 2010?
|
<s>[INST] Given the following SQL query and context: Query: SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open" Context: CREATE TABLE table_name_31 (tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: If the French Open tournament had 2r in 2012, what was it in 2010? The answer to your question is: SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open". [/s>
|
SELECT 2012 FROM table_name_43 WHERE 2010 = "2r"
|
CREATE TABLE table_name_43 (Id VARCHAR)
|
Which 2012 tournament had 2r in 2010?
|
<s>[INST] Given the following SQL query and context: Query: SELECT 2012 FROM table_name_43 WHERE 2010 = "2r" Context: CREATE TABLE table_name_43 (Id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which 2012 tournament had 2r in 2010? The answer to your question is: SELECT 2012 FROM table_name_43 WHERE 2010 = "2r". [/s>
|
SELECT tournament FROM table_name_60 WHERE 2010 = "2r"
|
CREATE TABLE table_name_60 (tournament VARCHAR)
|
Which tournament had 2r in 2010?
|
<s>[INST] Given the following SQL query and context: Query: SELECT tournament FROM table_name_60 WHERE 2010 = "2r" Context: CREATE TABLE table_name_60 (tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which tournament had 2r in 2010? The answer to your question is: SELECT tournament FROM table_name_60 WHERE 2010 = "2r". [/s>
|
SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open"
|
CREATE TABLE table_name_71 (tournament VARCHAR)
|
If the French Open tournament had 2r in 2012, what was it in 2009?
|
<s>[INST] Given the following SQL query and context: Query: SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open" Context: CREATE TABLE table_name_71 (tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: If the French Open tournament had 2r in 2012, what was it in 2009? The answer to your question is: SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open". [/s>
|
SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open"
|
CREATE TABLE table_name_84 (tournament VARCHAR)
|
If the US Open tournament had 2r in 2012, what was it in 2010?
|
<s>[INST] Given the following SQL query and context: Query: SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open" Context: CREATE TABLE table_name_84 (tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: If the US Open tournament had 2r in 2012, what was it in 2010? The answer to your question is: SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open". [/s>
|
SELECT school FROM table_name_56 WHERE team = "senators"
|
CREATE TABLE table_name_56 (school VARCHAR, team VARCHAR)
|
What is the school, when the Team is Senators?
|
<s>[INST] Given the following SQL query and context: Query: SELECT school FROM table_name_56 WHERE team = "senators" Context: CREATE TABLE table_name_56 (school VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the school, when the Team is Senators? The answer to your question is: SELECT school FROM table_name_56 WHERE team = "senators". [/s>
|
SELECT season_outcome FROM table_name_70 WHERE school = "sussex tech"
|
CREATE TABLE table_name_70 (season_outcome VARCHAR, school VARCHAR)
|
What is the Season Outcome, when the School is Sussex Tech?
|
<s>[INST] Given the following SQL query and context: Query: SELECT season_outcome FROM table_name_70 WHERE school = "sussex tech" Context: CREATE TABLE table_name_70 (season_outcome VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Season Outcome, when the School is Sussex Tech? The answer to your question is: SELECT season_outcome FROM table_name_70 WHERE school = "sussex tech". [/s>
|
SELECT school FROM table_name_15 WHERE team = "golden knights"
|
CREATE TABLE table_name_15 (school VARCHAR, team VARCHAR)
|
What is the School, when the Team is Golden Knights?
|
<s>[INST] Given the following SQL query and context: Query: SELECT school FROM table_name_15 WHERE team = "golden knights" Context: CREATE TABLE table_name_15 (school VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the School, when the Team is Golden Knights? The answer to your question is: SELECT school FROM table_name_15 WHERE team = "golden knights". [/s>
|
SELECT venue FROM table_name_2 WHERE result = "5–1"
|
CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)
|
What is the Venue where the Result is 5–1?
|
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_2 WHERE result = "5–1" Context: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Venue where the Result is 5–1? The answer to your question is: SELECT venue FROM table_name_2 WHERE result = "5–1". [/s>
|
SELECT score FROM table_name_37 WHERE goal > 11 AND competition = "2009 nehru cup" AND date = "24 august 2009"
|
CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR, goal VARCHAR, competition VARCHAR)
|
What was the Score where Goal is larger than 11, and a Competition of 2009 nehru cup, and had a Date of 24 august 2009?
|
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_37 WHERE goal > 11 AND competition = "2009 nehru cup" AND date = "24 august 2009" Context: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR, goal VARCHAR, competition VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the Score where Goal is larger than 11, and a Competition of 2009 nehru cup, and had a Date of 24 august 2009? The answer to your question is: SELECT score FROM table_name_37 WHERE goal > 11 AND competition = "2009 nehru cup" AND date = "24 august 2009". [/s>
|
SELECT result FROM table_name_68 WHERE goal = 9
|
CREATE TABLE table_name_68 (result VARCHAR, goal VARCHAR)
|
What is the Result where Goal is 9?
|
<s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_68 WHERE goal = 9 Context: CREATE TABLE table_name_68 (result VARCHAR, goal VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Result where Goal is 9? The answer to your question is: SELECT result FROM table_name_68 WHERE goal = 9. [/s>
|
SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1"
|
CREATE TABLE table_name_65 (goal VARCHAR, competition VARCHAR, result VARCHAR)
|
What was Goal that where Competition of international friendly, and a Result of 2–1?
|
<s>[INST] Given the following SQL query and context: Query: SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1" Context: CREATE TABLE table_name_65 (goal VARCHAR, competition VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was Goal that where Competition of international friendly, and a Result of 2–1? The answer to your question is: SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1". [/s>
|
SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4
|
CREATE TABLE table_name_59 (competition VARCHAR, score VARCHAR, goal VARCHAR)
|
What is the Competition where the Score was 3–0, and the was Goal larger than 4?
|
<s>[INST] Given the following SQL query and context: Query: SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4 Context: CREATE TABLE table_name_59 (competition VARCHAR, score VARCHAR, goal VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Competition where the Score was 3–0, and the was Goal larger than 4? The answer to your question is: SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4. [/s>
|
SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast"
|
CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)
|
What is the 2009 estimate population of the Northeast?
|
<s>[INST] Given the following SQL query and context: Query: SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast" Context: CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the 2009 estimate population of the Northeast? The answer to your question is: SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast". [/s>
|
SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus"
|
CREATE TABLE table_name_79 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
|
What is the 2009 estimate population of the region with Manaus as the largest city?
|
<s>[INST] Given the following SQL query and context: Query: SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus" Context: CREATE TABLE table_name_79 (population__2009_estimate_ VARCHAR, largest_city VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the 2009 estimate population of the region with Manaus as the largest city? The answer to your question is: SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus". [/s>
|
SELECT number_of_states FROM table_name_83 WHERE population__2009_estimate_ = "27,3 million"
|
CREATE TABLE table_name_83 (number_of_states VARCHAR, population__2009_estimate_ VARCHAR)
|
How many states has a 2009 estimate population of 27,3 million?
|
<s>[INST] Given the following SQL query and context: Query: SELECT number_of_states FROM table_name_83 WHERE population__2009_estimate_ = "27,3 million" Context: CREATE TABLE table_name_83 (number_of_states VARCHAR, population__2009_estimate_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many states has a 2009 estimate population of 27,3 million? The answer to your question is: SELECT number_of_states FROM table_name_83 WHERE population__2009_estimate_ = "27,3 million". [/s>
|
SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west"
|
CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
|
What is the largest metropolitan area of the Central-West?
|
<s>[INST] Given the following SQL query and context: Query: SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west" Context: CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the largest metropolitan area of the Central-West? The answer to your question is: SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west". [/s>
|
SELECT population__2009_estimate_ FROM table_name_11 WHERE largest_city = "manaus"
|
CREATE TABLE table_name_11 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
|
What is the 2009 estimate population of the region with Manaus as the largest city?
|
<s>[INST] Given the following SQL query and context: Query: SELECT population__2009_estimate_ FROM table_name_11 WHERE largest_city = "manaus" Context: CREATE TABLE table_name_11 (population__2009_estimate_ VARCHAR, largest_city VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the 2009 estimate population of the region with Manaus as the largest city? The answer to your question is: SELECT population__2009_estimate_ FROM table_name_11 WHERE largest_city = "manaus". [/s>
|
SELECT leader_at_the_summit FROM table_name_78 WHERE stage > 14 AND category = 1 AND start = "saint-girons" AND finish = "cauterets"
|
CREATE TABLE table_name_78 (leader_at_the_summit VARCHAR, finish VARCHAR, start VARCHAR, stage VARCHAR, category VARCHAR)
|
Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets?
|
<s>[INST] Given the following SQL query and context: Query: SELECT leader_at_the_summit FROM table_name_78 WHERE stage > 14 AND category = 1 AND start = "saint-girons" AND finish = "cauterets" Context: CREATE TABLE table_name_78 (leader_at_the_summit VARCHAR, finish VARCHAR, start VARCHAR, stage VARCHAR, category VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets? The answer to your question is: SELECT leader_at_the_summit FROM table_name_78 WHERE stage > 14 AND category = 1 AND start = "saint-girons" AND finish = "cauterets". [/s>
|
SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15
|
CREATE TABLE table_name_56 (year INTEGER, start VARCHAR, stage VARCHAR)
|
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15 Context: CREATE TABLE table_name_56 (year INTEGER, start VARCHAR, stage VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15? The answer to your question is: SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15. [/s>
|
SELECT model FROM table_name_62 WHERE seats = "37-78"
|
CREATE TABLE table_name_62 (model VARCHAR, seats VARCHAR)
|
Which Model had 37-78 seats?
|
<s>[INST] Given the following SQL query and context: Query: SELECT model FROM table_name_62 WHERE seats = "37-78" Context: CREATE TABLE table_name_62 (model VARCHAR, seats VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Model had 37-78 seats? The answer to your question is: SELECT model FROM table_name_62 WHERE seats = "37-78". [/s>
|
SELECT studio FROM table_name_13 WHERE title = "the oregon trail"
|
CREATE TABLE table_name_13 (studio VARCHAR, title VARCHAR)
|
Which studio did The Oregon Trail?
|
<s>[INST] Given the following SQL query and context: Query: SELECT studio FROM table_name_13 WHERE title = "the oregon trail" Context: CREATE TABLE table_name_13 (studio VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which studio did The Oregon Trail? The answer to your question is: SELECT studio FROM table_name_13 WHERE title = "the oregon trail". [/s>
|
SELECT title FROM table_name_28 WHERE leading_lady = "muriel evans"
|
CREATE TABLE table_name_28 (title VARCHAR, leading_lady VARCHAR)
|
Which title had Muriel Evans as leading lady?
|
<s>[INST] Given the following SQL query and context: Query: SELECT title FROM table_name_28 WHERE leading_lady = "muriel evans" Context: CREATE TABLE table_name_28 (title VARCHAR, leading_lady VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which title had Muriel Evans as leading lady? The answer to your question is: SELECT title FROM table_name_28 WHERE leading_lady = "muriel evans". [/s>
|
SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail"
|
CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR)
|
Who is the leading lady in The Lonely Trail?
|
<s>[INST] Given the following SQL query and context: Query: SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail" Context: CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the leading lady in The Lonely Trail? The answer to your question is: SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail". [/s>
|
SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer"
|
CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR)
|
Who was the leading lady for Uni studio and Frank Strayer?
|
<s>[INST] Given the following SQL query and context: Query: SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer" Context: CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the leading lady for Uni studio and Frank Strayer? The answer to your question is: SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer". [/s>
|
SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane"
|
CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)
|
In which title was Ann Rutherford the leading lady for Joseph Kane?
|
<s>[INST] Given the following SQL query and context: Query: SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane" Context: CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In which title was Ann Rutherford the leading lady for Joseph Kane? The answer to your question is: SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane". [/s>
|
SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail"
|
CREATE TABLE table_name_59 (leading_lady VARCHAR, director VARCHAR, title VARCHAR)
|
Who is the leading lady in The Lonely Trail for Joseph Kane?
|
<s>[INST] Given the following SQL query and context: Query: SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail" Context: CREATE TABLE table_name_59 (leading_lady VARCHAR, director VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the leading lady in The Lonely Trail for Joseph Kane? The answer to your question is: SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail". [/s>
|
SELECT chassis FROM table_name_12 WHERE year < 1960 AND points < 8
|
CREATE TABLE table_name_12 (chassis VARCHAR, year VARCHAR, points VARCHAR)
|
What was the Chassis with less than 8 points before 1960?
|
<s>[INST] Given the following SQL query and context: Query: SELECT chassis FROM table_name_12 WHERE year < 1960 AND points < 8 Context: CREATE TABLE table_name_12 (chassis VARCHAR, year VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the Chassis with less than 8 points before 1960? The answer to your question is: SELECT chassis FROM table_name_12 WHERE year < 1960 AND points < 8. [/s>
|
SELECT chassis FROM table_name_58 WHERE points = 0
|
CREATE TABLE table_name_58 (chassis VARCHAR, points VARCHAR)
|
Which Chassis has 0 points?
|
<s>[INST] Given the following SQL query and context: Query: SELECT chassis FROM table_name_58 WHERE points = 0 Context: CREATE TABLE table_name_58 (chassis VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Chassis has 0 points? The answer to your question is: SELECT chassis FROM table_name_58 WHERE points = 0. [/s>
|
SELECT SUM(points) FROM table_name_85 WHERE year > 1957
|
CREATE TABLE table_name_85 (points INTEGER, year INTEGER)
|
What were the total Pints after 1957?
|
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(points) FROM table_name_85 WHERE year > 1957 Context: CREATE TABLE table_name_85 (points INTEGER, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: What were the total Pints after 1957? The answer to your question is: SELECT SUM(points) FROM table_name_85 WHERE year > 1957. [/s>
|
SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines"
|
CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR)
|
What was the most recent year for Dean Van Lines?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines" Context: CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the most recent year for Dean Van Lines? The answer to your question is: SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines". [/s>
|
SELECT gold_coast FROM table_name_58 WHERE auckland = "cancelled" AND adelaide = "yes"
|
CREATE TABLE table_name_58 (gold_coast VARCHAR, auckland VARCHAR, adelaide VARCHAR)
|
What Gold Coast has Auckland cancelled, and Adelaide yes?
|
<s>[INST] Given the following SQL query and context: Query: SELECT gold_coast FROM table_name_58 WHERE auckland = "cancelled" AND adelaide = "yes" Context: CREATE TABLE table_name_58 (gold_coast VARCHAR, auckland VARCHAR, adelaide VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Gold Coast has Auckland cancelled, and Adelaide yes? The answer to your question is: SELECT gold_coast FROM table_name_58 WHERE auckland = "cancelled" AND adelaide = "yes". [/s>
|
SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes"
|
CREATE TABLE table_name_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR)
|
Which Sydney has Auckland cancelled and Perth yes?
|
<s>[INST] Given the following SQL query and context: Query: SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes" Context: CREATE TABLE table_name_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Sydney has Auckland cancelled and Perth yes? The answer to your question is: SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes". [/s>
|
SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no"
|
CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
|
Which Sydney has Gold Coast no, Adelaide no< and Auckland no?
|
<s>[INST] Given the following SQL query and context: Query: SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no" Context: CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Sydney has Gold Coast no, Adelaide no< and Auckland no? The answer to your question is: SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no". [/s>
|
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND auckland = "yes"
|
CREATE TABLE table_name_8 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR)
|
Which Gold Coast has Melbourne yes, and Auckland yes?
|
<s>[INST] Given the following SQL query and context: Query: SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND auckland = "yes" Context: CREATE TABLE table_name_8 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Gold Coast has Melbourne yes, and Auckland yes? The answer to your question is: SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND auckland = "yes". [/s>
|
SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes"
|
CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR)
|
Which Perth has Auckland yes and Gold Coast yes?
|
<s>[INST] Given the following SQL query and context: Query: SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes" Context: CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Perth has Auckland yes and Gold Coast yes? The answer to your question is: SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes". [/s>
|
SELECT gold_coast FROM table_name_24 WHERE auckland = "no" AND adelaide = "yes" AND melbourne = "no"
|
CREATE TABLE table_name_24 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR, adelaide VARCHAR)
|
Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no?
|
<s>[INST] Given the following SQL query and context: Query: SELECT gold_coast FROM table_name_24 WHERE auckland = "no" AND adelaide = "yes" AND melbourne = "no" Context: CREATE TABLE table_name_24 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR, adelaide VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no? The answer to your question is: SELECT gold_coast FROM table_name_24 WHERE auckland = "no" AND adelaide = "yes" AND melbourne = "no". [/s>
|
SELECT round FROM table_name_67 WHERE date = "7 january 2003"
|
CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR)
|
What round was on 7 January 2003?
|
<s>[INST] Given the following SQL query and context: Query: SELECT round FROM table_name_67 WHERE date = "7 january 2003" Context: CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What round was on 7 January 2003? The answer to your question is: SELECT round FROM table_name_67 WHERE date = "7 january 2003". [/s>
|
SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002"
|
CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR)
|
What is the result F_A on 17 December 2002?
|
<s>[INST] Given the following SQL query and context: Query: SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002" Context: CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the result F_A on 17 December 2002? The answer to your question is: SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002". [/s>
|
SELECT attendance FROM table_name_14 WHERE date = "7 january 2003"
|
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)
|
What attendance was on 7 January 2003?
|
<s>[INST] Given the following SQL query and context: Query: SELECT attendance FROM table_name_14 WHERE date = "7 january 2003" Context: CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What attendance was on 7 January 2003? The answer to your question is: SELECT attendance FROM table_name_14 WHERE date = "7 january 2003". [/s>
|
SELECT recording FROM table_name_86 WHERE year = "2012"
|
CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR)
|
Name the recording for 2012
|
<s>[INST] Given the following SQL query and context: Query: SELECT recording FROM table_name_86 WHERE year = "2012" Context: CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the recording for 2012 The answer to your question is: SELECT recording FROM table_name_86 WHERE year = "2012". [/s>
|
SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won"
|
CREATE TABLE table_name_43 (year VARCHAR, category VARCHAR, result VARCHAR)
|
Name the year with the best female pop vocal album and result of won
|
<s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won" Context: CREATE TABLE table_name_43 (year VARCHAR, category VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the year with the best female pop vocal album and result of won The answer to your question is: SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won". [/s>
|
SELECT category FROM table_name_15 WHERE year = "2013"
|
CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR)
|
Name the category for 2013
|
<s>[INST] Given the following SQL query and context: Query: SELECT category FROM table_name_15 WHERE year = "2013" Context: CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the category for 2013 The answer to your question is: SELECT category FROM table_name_15 WHERE year = "2013". [/s>
|
SELECT MIN(gold) FROM table_name_94 WHERE silver < 0
|
CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER)
|
Which was the lowest gold when silver was smaller than 0?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(gold) FROM table_name_94 WHERE silver < 0 Context: CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which was the lowest gold when silver was smaller than 0? The answer to your question is: SELECT MIN(gold) FROM table_name_94 WHERE silver < 0. [/s>
|
SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0
|
CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR)
|
Which is the highest total at rank 6, bronze 2, and gold larger than 0?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0 Context: CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which is the highest total at rank 6, bronze 2, and gold larger than 0? The answer to your question is: SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0. [/s>
|
SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1
|
CREATE TABLE table_name_89 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
|
Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?
|
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1 Context: CREATE TABLE table_name_89 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1? The answer to your question is: SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1. [/s>
|
SELECT us_dance FROM table_name_89 WHERE year > 1985
|
CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER)
|
Name the US dance when the year is more than 1985
|
<s>[INST] Given the following SQL query and context: Query: SELECT us_dance FROM table_name_89 WHERE year > 1985 Context: CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: Name the US dance when the year is more than 1985 The answer to your question is: SELECT us_dance FROM table_name_89 WHERE year > 1985. [/s>
|
SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you"
|
CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR)
|
Name the US Hot 100 for album of I like you
|
<s>[INST] Given the following SQL query and context: Query: SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you" Context: CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the US Hot 100 for album of I like you The answer to your question is: SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you". [/s>
|
SELECT us_r & b FROM table_name_39 WHERE year = 1981
|
CREATE TABLE table_name_39 (us_r VARCHAR, b VARCHAR, year VARCHAR)
|
Name the US R&B for 1981
|
<s>[INST] Given the following SQL query and context: Query: SELECT us_r & b FROM table_name_39 WHERE year = 1981 Context: CREATE TABLE table_name_39 (us_r VARCHAR, b VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the US R&B for 1981 The answer to your question is: SELECT us_r & b FROM table_name_39 WHERE year = 1981. [/s>
|
SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd"
|
CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR)
|
Who was the writer when Parkville Pictures Ltd was the recipient?
|
<s>[INST] Given the following SQL query and context: Query: SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd" Context: CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the writer when Parkville Pictures Ltd was the recipient? The answer to your question is: SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd". [/s>
|
SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler"
|
CREATE TABLE table_name_35 (director_s_ VARCHAR, writer_s_ VARCHAR)
|
Alex Winckler wrote the film, who was the director?
|
<s>[INST] Given the following SQL query and context: Query: SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler" Context: CREATE TABLE table_name_35 (director_s_ VARCHAR, writer_s_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Alex Winckler wrote the film, who was the director? The answer to your question is: SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler". [/s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.