answer stringlengths 18 557 | context stringlengths 27 489 | question stringlengths 12 244 | text stringlengths 275 1.7k |
|---|---|---|---|
SELECT to_par FROM table_name_87 WHERE country = "united states" AND score = 74 - 69 - 71 - 74 = 288 | CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, score VARCHAR) | What is the To par for the place in the United States and a score of 74-69-71-74=288? | <s>[INST] Given the following SQL query and context: Query: SELECT to_par FROM table_name_87 WHERE country = "united states" AND score = 74 - 69 - 71 - 74 = 288 Context: CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Wha... |
SELECT venue FROM table_name_27 WHERE year < 2005 AND position = "10th (sf)" | CREATE TABLE table_name_27 (venue VARCHAR, year VARCHAR, position VARCHAR) | What Venue is listed that has a Year smaller than 2005 and a Position of 10th (sf)? | <s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_27 WHERE year < 2005 AND position = "10th (sf)" Context: CREATE TABLE table_name_27 (venue VARCHAR, year VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Venue is listed that ha... |
SELECT AVG(year) FROM table_name_47 WHERE position = "7th (sf)" | CREATE TABLE table_name_47 (year INTEGER, position VARCHAR) | What's the average Year for the Position of 7th (sf)? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(year) FROM table_name_47 WHERE position = "7th (sf)" Context: CREATE TABLE table_name_47 (year INTEGER, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the average Year for the Position of 7th (sf)? Th... |
SELECT MAX(year) FROM table_name_67 WHERE event = "800 m" AND venue = "santiago de chile" | CREATE TABLE table_name_67 (year INTEGER, event VARCHAR, venue VARCHAR) | What's the highest Year for the Venue of Santiago De Chile and the Event of 800 m? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_67 WHERE event = "800 m" AND venue = "santiago de chile" Context: CREATE TABLE table_name_67 (year INTEGER, event VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the highest... |
SELECT venue FROM table_name_97 WHERE position = "12th (sf)" | CREATE TABLE table_name_97 (venue VARCHAR, position VARCHAR) | What Venue has a Position of 12th (sf)? | <s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_97 WHERE position = "12th (sf)" Context: CREATE TABLE table_name_97 (venue VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Venue has a Position of 12th (sf)? The answer to your... |
SELECT engine FROM table_name_47 WHERE entrant = "team lotus" AND year > 1962 | CREATE TABLE table_name_47 (engine VARCHAR, entrant VARCHAR, year VARCHAR) | Which engine has an Entrant of team lotus, and a Year larger than 1962? | <s>[INST] Given the following SQL query and context: Query: SELECT engine FROM table_name_47 WHERE entrant = "team lotus" AND year > 1962 Context: CREATE TABLE table_name_47 (engine VARCHAR, entrant VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which engine has an Entrant... |
SELECT COUNT(points) FROM table_name_69 WHERE year > 1966 | CREATE TABLE table_name_69 (points VARCHAR, year INTEGER) | How many points have a Year larger than 1966? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(points) FROM table_name_69 WHERE year > 1966 Context: CREATE TABLE table_name_69 (points VARCHAR, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: How many points have a Year larger than 1966? The answer to your... |
SELECT MIN(points) FROM table_name_87 WHERE engine = "climax v8" AND year = 1966 | CREATE TABLE table_name_87 (points INTEGER, engine VARCHAR, year VARCHAR) | What is the smallest number of points with an Engine of climax v8, and a Year of 1966? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(points) FROM table_name_87 WHERE engine = "climax v8" AND year = 1966 Context: CREATE TABLE table_name_87 (points INTEGER, engine VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the smallest numb... |
SELECT points FROM table_name_91 WHERE year > 1975 AND entrant = "team rothmans international" AND chassis = "march 771" | CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR, entrant VARCHAR) | How many points did Team Rothmans International have after 1975 when their Chassis was a March 771? | <s>[INST] Given the following SQL query and context: Query: SELECT points FROM table_name_91 WHERE year > 1975 AND entrant = "team rothmans international" AND chassis = "march 771" Context: CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR, entrant VARCHAR) [/INST] Based on the provided SQL quer... |
SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4 | CREATE TABLE table_name_59 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) | What Nationality of the person who has a Rank of 4 | <s>[INST] Given the following SQL query and context: Query: SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4 Context: CREATE TABLE table_name_59 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Nationality of the person who ha... |
SELECT score FROM table_name_59 WHERE date = "october 14" | CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR) | Name the score on october 14 | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_59 WHERE date = "october 14" Context: CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the score on october 14 The answer to your question is: SELE... |
SELECT AVG(goals_for) FROM table_name_68 WHERE goal_difference < -16 AND club = "real oviedo" AND wins < 9 | CREATE TABLE table_name_68 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR, club VARCHAR) | What was the average number of "goals for", scored in the club Real Oviedo that had a "goal difference" lower than -16 and fewer than 9 wins? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(goals_for) FROM table_name_68 WHERE goal_difference < -16 AND club = "real oviedo" AND wins < 9 Context: CREATE TABLE table_name_68 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR, club VARCHAR) [/INST] Based on the provided SQL query and ... |
SELECT SUM(played) FROM table_name_80 WHERE goal_difference = -8 AND position < 12 | CREATE TABLE table_name_80 (played INTEGER, goal_difference VARCHAR, position VARCHAR) | How many people played at the club that had a "goal difference" of -8 and a position lower than 12? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(played) FROM table_name_80 WHERE goal_difference = -8 AND position < 12 Context: CREATE TABLE table_name_80 (played INTEGER, goal_difference VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many p... |
SELECT COUNT(goals_against) FROM table_name_13 WHERE goal_difference = 0 AND wins = 12 AND goals_for > 44 | CREATE TABLE table_name_13 (goals_against VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, wins VARCHAR) | How many "goals against" were scored at the club that had a "goal difference" of 0, 12 wins, and more than 44 goals? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(goals_against) FROM table_name_13 WHERE goal_difference = 0 AND wins = 12 AND goals_for > 44 Context: CREATE TABLE table_name_13 (goals_against VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, wins VARCHAR) [/INST] Based on the provided SQL qu... |
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38 | CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR) | What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38 Context: CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the smal... |
SELECT MIN(year) FROM table_name_37 WHERE fighter = "manny pacquiao" | CREATE TABLE table_name_37 (year INTEGER, fighter VARCHAR) | When did Manny Pacquiao win his first championship? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_37 WHERE fighter = "manny pacquiao" Context: CREATE TABLE table_name_37 (year INTEGER, fighter VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When did Manny Pacquiao win his first championship? ... |
SELECT sport FROM table_name_29 WHERE nation_represented = "united states" | CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR) | Which sport did the United States win? | <s>[INST] Given the following SQL query and context: Query: SELECT sport FROM table_name_29 WHERE nation_represented = "united states" Context: CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which sport did the United States ... |
SELECT MAX(year) FROM table_name_72 WHERE nation_represented = "philippines" | CREATE TABLE table_name_72 (year INTEGER, nation_represented VARCHAR) | What is the latest result where a person from the Philippines won? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_72 WHERE nation_represented = "philippines" Context: CREATE TABLE table_name_72 (year INTEGER, nation_represented VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the latest result where a... |
SELECT nation_represented FROM table_name_1 WHERE year = 2012 | CREATE TABLE table_name_1 (nation_represented VARCHAR, year VARCHAR) | Which nation won the boxing championship in 2012? | <s>[INST] Given the following SQL query and context: Query: SELECT nation_represented FROM table_name_1 WHERE year = 2012 Context: CREATE TABLE table_name_1 (nation_represented VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which nation won the boxing championship in 2012?... |
SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)" | CREATE TABLE table_name_34 (total_seats VARCHAR, party VARCHAR) | What is the total number of seats of the Christian Democratic Union (CDU) party? | <s>[INST] Given the following SQL query and context: Query: SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)" Context: CREATE TABLE table_name_34 (total_seats VARCHAR, party VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of s... |
SELECT seat_percentage FROM table_name_41 WHERE vote_percentage = "100.0%" | CREATE TABLE table_name_41 (seat_percentage VARCHAR, vote_percentage VARCHAR) | What seat has a vote percentage of 100.0% | <s>[INST] Given the following SQL query and context: Query: SELECT seat_percentage FROM table_name_41 WHERE vote_percentage = "100.0%" Context: CREATE TABLE table_name_41 (seat_percentage VARCHAR, vote_percentage VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What seat has a vote percen... |
SELECT AVG(area__km²_) FROM table_name_24 WHERE name = "glenella" AND population__2011_ < 522 | CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR) | What was the area in Glenella with a population of 522 in 2011? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(area__km²_) FROM table_name_24 WHERE name = "glenella" AND population__2011_ < 522 Context: CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR) [/INST] Based on the provided SQL query and context, your question i... |
SELECT COUNT(population_density) FROM table_name_6 WHERE name = "siglunes" AND change___percentage_ < -8.1 | CREATE TABLE table_name_6 (population_density VARCHAR, name VARCHAR, change___percentage_ VARCHAR) | What is the population density of Siglunes when the change was smaller than -8.1 percent? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(population_density) FROM table_name_6 WHERE name = "siglunes" AND change___percentage_ < -8.1 Context: CREATE TABLE table_name_6 (population_density VARCHAR, name VARCHAR, change___percentage_ VARCHAR) [/INST] Based on the provided SQL query and c... |
SELECT trainer FROM table_name_67 WHERE winner = "crowd pleaser" | CREATE TABLE table_name_67 (trainer VARCHAR, winner VARCHAR) | Who was the trainer when Crowd Pleaser won? | <s>[INST] Given the following SQL query and context: Query: SELECT trainer FROM table_name_67 WHERE winner = "crowd pleaser" Context: CREATE TABLE table_name_67 (trainer VARCHAR, winner VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the trainer when Crowd Pleaser won? The answer... |
SELECT time FROM table_name_73 WHERE jockey = "ramon dominguez" | CREATE TABLE table_name_73 (time VARCHAR, jockey VARCHAR) | What was the race time of the horse with jockey Ramon Dominguez? | <s>[INST] Given the following SQL query and context: Query: SELECT time FROM table_name_73 WHERE jockey = "ramon dominguez" Context: CREATE TABLE table_name_73 (time VARCHAR, jockey VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the race time of the horse with jockey Ramon Domi... |
SELECT jockey FROM table_name_70 WHERE year < 2012 AND owner = "michael house" | CREATE TABLE table_name_70 (jockey VARCHAR, year VARCHAR, owner VARCHAR) | What jockey rode for Michael House before 2012 | <s>[INST] Given the following SQL query and context: Query: SELECT jockey FROM table_name_70 WHERE year < 2012 AND owner = "michael house" Context: CREATE TABLE table_name_70 (jockey VARCHAR, year VARCHAR, owner VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What jockey rode for Michael... |
SELECT events_won__uk_series_ FROM table_name_45 WHERE events_won__us_series_ < 1 | CREATE TABLE table_name_45 (events_won__uk_series_ VARCHAR, events_won__us_series_ INTEGER) | How many UK events won for the contestant that won under 1 US event? | <s>[INST] Given the following SQL query and context: Query: SELECT events_won__uk_series_ FROM table_name_45 WHERE events_won__us_series_ < 1 Context: CREATE TABLE table_name_45 (events_won__uk_series_ VARCHAR, events_won__us_series_ INTEGER) [/INST] Based on the provided SQL query and context, your question is: How ma... |
SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett" | CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR) | How many US events did jason bennett win? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett" Context: CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many US events did ... |
SELECT downhill FROM table_name_90 WHERE overall = "7" | CREATE TABLE table_name_90 (downhill VARCHAR, overall VARCHAR) | Which downhill has 7 overalls? | <s>[INST] Given the following SQL query and context: Query: SELECT downhill FROM table_name_90 WHERE overall = "7" Context: CREATE TABLE table_name_90 (downhill VARCHAR, overall VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which downhill has 7 overalls? The answer to your question is:... |
SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5" | CREATE TABLE table_name_93 (combined VARCHAR, overall VARCHAR, slalom VARCHAR) | What is the combined of 2 overalls and 5 slaloms? | <s>[INST] Given the following SQL query and context: Query: SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5" Context: CREATE TABLE table_name_93 (combined VARCHAR, overall VARCHAR, slalom VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the combined of 2 ove... |
SELECT overall FROM table_name_9 WHERE combined = "1" AND downhill = "24" | CREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR) | How many overalls has 1 combined and 24 downhills? | <s>[INST] Given the following SQL query and context: Query: SELECT overall FROM table_name_9 WHERE combined = "1" AND downhill = "24" Context: CREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many overalls has 1 co... |
SELECT distance FROM table_name_94 WHERE race_leader = "km (mi)" | CREATE TABLE table_name_94 (distance VARCHAR, race_leader VARCHAR) | What Distance had a Race Leader in Km (mi)? | <s>[INST] Given the following SQL query and context: Query: SELECT distance FROM table_name_94 WHERE race_leader = "km (mi)" Context: CREATE TABLE table_name_94 (distance VARCHAR, race_leader VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Distance had a Race Leader in Km (mi)? The ... |
SELECT MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257 AND games > 72 | CREATE TABLE table_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR) | What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257 AND games > 72 Context: CREATE TABLE table_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR) [/INST] Based on the provided SQL query and context, your question is... |
SELECT AVG(played) FROM table_name_54 WHERE percentage = "3.33%" AND lost < 29 | CREATE TABLE table_name_54 (played INTEGER, percentage VARCHAR, lost VARCHAR) | What is the average of games played with a percentage of 3.33% and less than 29 losses? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(played) FROM table_name_54 WHERE percentage = "3.33%" AND lost < 29 Context: CREATE TABLE table_name_54 (played INTEGER, percentage VARCHAR, lost VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average of ... |
SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = "22.22%" AND lost > 7 | CREATE TABLE table_name_22 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR) | What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = "22.22%" AND lost > 7 Context: CREATE TABLE table_name_22 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR) [/INST] Based on the provided SQL query and contex... |
SELECT MAX(drawn) FROM table_name_92 WHERE percentage = "0.00%" AND lost < 1 | CREATE TABLE table_name_92 (drawn INTEGER, percentage VARCHAR, lost VARCHAR) | What is the highest number of draws that correlates with a percentage of 0.00% and less than 1 loss? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(drawn) FROM table_name_92 WHERE percentage = "0.00%" AND lost < 1 Context: CREATE TABLE table_name_92 (drawn INTEGER, percentage VARCHAR, lost VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the highest number... |
SELECT start FROM table_name_31 WHERE rank = "11" | CREATE TABLE table_name_31 (start VARCHAR, rank VARCHAR) | What is the start value for rank 11? | <s>[INST] Given the following SQL query and context: Query: SELECT start FROM table_name_31 WHERE rank = "11" Context: CREATE TABLE table_name_31 (start VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the start value for rank 11? The answer to your question is: SELE... |
SELECT year FROM table_name_95 WHERE laps = 200 | CREATE TABLE table_name_95 (year VARCHAR, laps VARCHAR) | Which year has 200 laps? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_95 WHERE laps = 200 Context: CREATE TABLE table_name_95 (year VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which year has 200 laps? The answer to your question is: SELECT year FROM ta... |
SELECT finish FROM table_name_67 WHERE start = "19" | CREATE TABLE table_name_67 (finish VARCHAR, start VARCHAR) | What is the finish value for a start of 19? | <s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_67 WHERE start = "19" Context: CREATE TABLE table_name_67 (finish VARCHAR, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the finish value for a start of 19? The answer to your questi... |
SELECT city FROM table_name_84 WHERE stadium = "naghsh jahan" | CREATE TABLE table_name_84 (city VARCHAR, stadium VARCHAR) | where is the naghsh jahan stadium? | <s>[INST] Given the following SQL query and context: Query: SELECT city FROM table_name_84 WHERE stadium = "naghsh jahan" Context: CREATE TABLE table_name_84 (city VARCHAR, stadium VARCHAR) [/INST] Based on the provided SQL query and context, your question is: where is the naghsh jahan stadium? The answer to your quest... |
SELECT city FROM table_name_43 WHERE past_season = "n/a" | CREATE TABLE table_name_43 (city VARCHAR, past_season VARCHAR) | what city has a past season of n/a? | <s>[INST] Given the following SQL query and context: Query: SELECT city FROM table_name_43 WHERE past_season = "n/a" Context: CREATE TABLE table_name_43 (city VARCHAR, past_season VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what city has a past season of n/a? The answer to your quest... |
SELECT city FROM table_name_74 WHERE team = "pegah" | CREATE TABLE table_name_74 (city VARCHAR, team VARCHAR) | where is the pegah team located? | <s>[INST] Given the following SQL query and context: Query: SELECT city FROM table_name_74 WHERE team = "pegah" Context: CREATE TABLE table_name_74 (city VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: where is the pegah team located? The answer to your question is: SELECT ... |
SELECT stadium FROM table_name_8 WHERE past_season = "7th" | CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR) | what stadium has a prior record of 7th? | <s>[INST] Given the following SQL query and context: Query: SELECT stadium FROM table_name_8 WHERE past_season = "7th" Context: CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what stadium has a prior record of 7th? The answer to yo... |
SELECT nationality FROM table_name_54 WHERE lane = 4 AND time = "1:11.58" | CREATE TABLE table_name_54 (nationality VARCHAR, lane VARCHAR, time VARCHAR) | What is the Nationality on the swimmer in Lane 4 with a Time of 1:11.58? | <s>[INST] Given the following SQL query and context: Query: SELECT nationality FROM table_name_54 WHERE lane = 4 AND time = "1:11.58" Context: CREATE TABLE table_name_54 (nationality VARCHAR, lane VARCHAR, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Nationality on th... |
SELECT MIN(lane) FROM table_name_97 WHERE heat > 2 AND time = "1:10.57" | CREATE TABLE table_name_97 (lane INTEGER, heat VARCHAR, time VARCHAR) | What is the lowest numbered Lane with a Time of 1:10.57 and Heat larger than 2? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(lane) FROM table_name_97 WHERE heat > 2 AND time = "1:10.57" Context: CREATE TABLE table_name_97 (lane INTEGER, heat VARCHAR, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest numbered Lane with ... |
SELECT COUNT(heat) FROM table_name_88 WHERE name = "smiljana marinović" | CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR) | What is the Heat for Smiljana Marinović? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(heat) FROM table_name_88 WHERE name = "smiljana marinović" Context: CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Heat for Smiljana Marinović? The answer ... |
SELECT nationality FROM table_name_62 WHERE heat = 4 AND name = "byun hye-young" | CREATE TABLE table_name_62 (nationality VARCHAR, heat VARCHAR, name VARCHAR) | In heat 4, what is Byun Hye-young's Nationality? | <s>[INST] Given the following SQL query and context: Query: SELECT nationality FROM table_name_62 WHERE heat = 4 AND name = "byun hye-young" Context: CREATE TABLE table_name_62 (nationality VARCHAR, heat VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In heat 4, what is Byu... |
SELECT kind_of_the_song FROM table_name_66 WHERE singer = "miriam yeung" | CREATE TABLE table_name_66 (kind_of_the_song VARCHAR, singer VARCHAR) | Which type of song did miriam yeung sing? | <s>[INST] Given the following SQL query and context: Query: SELECT kind_of_the_song FROM table_name_66 WHERE singer = "miriam yeung" Context: CREATE TABLE table_name_66 (kind_of_the_song VARCHAR, singer VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which type of song did miriam yeung s... |
SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情" | CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR) | What type of song is larger than 8 and named 實情? | <s>[INST] Given the following SQL query and context: Query: SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情" Context: CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR) [/INST] Based on the provided SQL query and context, your question ... |
SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung" | CREATE TABLE table_name_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR) | Which song has a ending theme, and is sung by miriam yeung? | <s>[INST] Given the following SQL query and context: Query: SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung" Context: CREATE TABLE table_name_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR) [/INST] Based on the provided SQL query and ... |
SELECT number FROM table_name_68 WHERE name_of_the_song = "實情" | CREATE TABLE table_name_68 (number VARCHAR, name_of_the_song VARCHAR) | What is the number of the song named 實情? | <s>[INST] Given the following SQL query and context: Query: SELECT number FROM table_name_68 WHERE name_of_the_song = "實情" Context: CREATE TABLE table_name_68 (number VARCHAR, name_of_the_song VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the number of the song named 實情? The an... |
SELECT COUNT(start) FROM table_name_21 WHERE finish < 4 | CREATE TABLE table_name_21 (start VARCHAR, finish INTEGER) | Name the total number of start when finish is less than 4 | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(start) FROM table_name_21 WHERE finish < 4 Context: CREATE TABLE table_name_21 (start VARCHAR, finish INTEGER) [/INST] Based on the provided SQL query and context, your question is: Name the total number of start when finish is less than 4 The ans... |
SELECT SUM(year) FROM table_name_68 WHERE start < 30 | CREATE TABLE table_name_68 (year INTEGER, start INTEGER) | Name the sum of year when start is less than 30 | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_68 WHERE start < 30 Context: CREATE TABLE table_name_68 (year INTEGER, start INTEGER) [/INST] Based on the provided SQL query and context, your question is: Name the sum of year when start is less than 30 The answer to your que... |
SELECT MAX(year) FROM table_name_59 WHERE start > 2 | CREATE TABLE table_name_59 (year INTEGER, start INTEGER) | Name the most year with start more than 2 | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_59 WHERE start > 2 Context: CREATE TABLE table_name_59 (year INTEGER, start INTEGER) [/INST] Based on the provided SQL query and context, your question is: Name the most year with start more than 2 The answer to your question i... |
SELECT MAX(year) FROM table_name_9 WHERE start < 2 | CREATE TABLE table_name_9 (year INTEGER, start INTEGER) | Name the most year with start less than 2 | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_9 WHERE start < 2 Context: CREATE TABLE table_name_9 (year INTEGER, start INTEGER) [/INST] Based on the provided SQL query and context, your question is: Name the most year with start less than 2 The answer to your question is:... |
SELECT year FROM table_name_78 WHERE start = 32 | CREATE TABLE table_name_78 (year VARCHAR, start VARCHAR) | Name the year when start was 32 | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_78 WHERE start = 32 Context: CREATE TABLE table_name_78 (year VARCHAR, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the year when start was 32 The answer to your question is: SELECT year... |
SELECT MAX(finish) FROM table_name_9 WHERE year = 2006 | CREATE TABLE table_name_9 (finish INTEGER, year VARCHAR) | Name the most finish for 2006 | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(finish) FROM table_name_9 WHERE year = 2006 Context: CREATE TABLE table_name_9 (finish INTEGER, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the most finish for 2006 The answer to your question is: SELECT... |
SELECT COUNT(attendance) FROM table_name_25 WHERE visitor = "detroit" AND record = "36–13–5" | CREATE TABLE table_name_25 (attendance VARCHAR, visitor VARCHAR, record VARCHAR) | What was the total attendance at games when Detroit was the visiting team and the record was 36–13–5? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(attendance) FROM table_name_25 WHERE visitor = "detroit" AND record = "36–13–5" Context: CREATE TABLE table_name_25 (attendance VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What w... |
SELECT entered_office FROM table_name_2 WHERE first_minister = "henry mcleish" | CREATE TABLE table_name_2 (entered_office VARCHAR, first_minister VARCHAR) | When did first minister Henry Mcleish enter office? | <s>[INST] Given the following SQL query and context: Query: SELECT entered_office FROM table_name_2 WHERE first_minister = "henry mcleish" Context: CREATE TABLE table_name_2 (entered_office VARCHAR, first_minister VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When did first minister He... |
SELECT name FROM table_name_86 WHERE left_office = "14 november 2006" | CREATE TABLE table_name_86 (name VARCHAR, left_office VARCHAR) | What is the name of the minister that left office on 14 November 2006? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_86 WHERE left_office = "14 november 2006" Context: CREATE TABLE table_name_86 (name VARCHAR, left_office VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the minister that left offi... |
SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs" | CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR) | What is the name of the minister from the party of minister for community safety and legal affairs? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs" Context: CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the mini... |
SELECT name FROM table_name_80 WHERE entered_office = "entered office" | CREATE TABLE table_name_80 (name VARCHAR, entered_office VARCHAR) | What is the name of the minister who has an entered office of entered office? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_80 WHERE entered_office = "entered office" Context: CREATE TABLE table_name_80 (name VARCHAR, entered_office VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the minister who has an... |
SELECT party FROM table_name_3 WHERE left_office = "26 november 2002" | CREATE TABLE table_name_3 (party VARCHAR, left_office VARCHAR) | What is the party of the minister who left office on 26 November 2002? | <s>[INST] Given the following SQL query and context: Query: SELECT party FROM table_name_3 WHERE left_office = "26 november 2002" Context: CREATE TABLE table_name_3 (party VARCHAR, left_office VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the party of the minister who left offi... |
SELECT party FROM table_name_59 WHERE name = "richard simpson" | CREATE TABLE table_name_59 (party VARCHAR, name VARCHAR) | What is the party of Richard Simpson? | <s>[INST] Given the following SQL query and context: Query: SELECT party FROM table_name_59 WHERE name = "richard simpson" Context: CREATE TABLE table_name_59 (party VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the party of Richard Simpson? The answer to your que... |
SELECT SUM(spectators) FROM table_name_66 WHERE time___cest__ > 20.05 AND team__number2 = "estonia" | CREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR) | Name the sum of spectators for time more than 20.05 and team #2 of estonia | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(spectators) FROM table_name_66 WHERE time___cest__ > 20.05 AND team__number2 = "estonia" Context: CREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR) [/INST] Based on the provided SQL query and context, your... |
SELECT spectators FROM table_name_57 WHERE date = "11 november 2011" | CREATE TABLE table_name_57 (spectators VARCHAR, date VARCHAR) | Name the spectators for 11 november 2011 | <s>[INST] Given the following SQL query and context: Query: SELECT spectators FROM table_name_57 WHERE date = "11 november 2011" Context: CREATE TABLE table_name_57 (spectators VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the spectators for 11 november 2011 The answ... |
SELECT loss FROM table_name_68 WHERE record = "54-39" | CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR) | Which loss has a Record of 54-39? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_68 WHERE record = "54-39" Context: CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which loss has a Record of 54-39? The answer to your question is: SE... |
SELECT opponent FROM table_name_73 WHERE record = "54-38" | CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) | Which opponent has a Record of 54-38? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_73 WHERE record = "54-38" Context: CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which opponent has a Record of 54-38? The answer to your que... |
SELECT opponent FROM table_name_35 WHERE date = "july 7" | CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) | Which opponent has a date of July 7? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_35 WHERE date = "july 7" Context: CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which opponent has a date of July 7? The answer to your questio... |
SELECT record FROM table_name_54 WHERE loss = "eichhorn (8-5)" | CREATE TABLE table_name_54 (record VARCHAR, loss VARCHAR) | Which record has a Loss of eichhorn (8-5)? | <s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_54 WHERE loss = "eichhorn (8-5)" Context: CREATE TABLE table_name_54 (record VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which record has a Loss of eichhorn (8-5)? The answer to yo... |
SELECT AVG(attendance) FROM table_name_81 WHERE home = "san jose" | CREATE TABLE table_name_81 (attendance INTEGER, home VARCHAR) | What is the average attendance San Jose home games? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(attendance) FROM table_name_81 WHERE home = "san jose" Context: CREATE TABLE table_name_81 (attendance INTEGER, home VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average attendance San Jose home games? ... |
SELECT record FROM table_name_13 WHERE loss = "spillner (1-8)" | CREATE TABLE table_name_13 (record VARCHAR, loss VARCHAR) | What was the record at the game that had a loss of Spillner (1-8)? | <s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_13 WHERE loss = "spillner (1-8)" Context: CREATE TABLE table_name_13 (record VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the record at the game that had a loss of Spillner... |
SELECT score FROM table_name_48 WHERE loss = "williams (1-1)" | CREATE TABLE table_name_48 (score VARCHAR, loss VARCHAR) | What was the score of the game that had a loss of Williams (1-1)? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_48 WHERE loss = "williams (1-1)" Context: CREATE TABLE table_name_48 (score VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score of the game that had a loss of Williams (1... |
SELECT loss FROM table_name_7 WHERE record = "63-52" | CREATE TABLE table_name_7 (loss VARCHAR, record VARCHAR) | What was the loss of the game that had a record of 63-52? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_7 WHERE record = "63-52" Context: CREATE TABLE table_name_7 (loss VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the loss of the game that had a record of 63-52? The answer t... |
SELECT score FROM table_name_90 WHERE record = "11-10" | CREATE TABLE table_name_90 (score VARCHAR, record VARCHAR) | What was the score when the Washington Nationals had a record of 11-10? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_90 WHERE record = "11-10" Context: CREATE TABLE table_name_90 (score VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score when the Washington Nationals had a record of 1... |
SELECT opponent FROM table_name_24 WHERE record = "8-4" | CREATE TABLE table_name_24 (opponent VARCHAR, record VARCHAR) | Who was the opponent when the Washington Nationals had a record of 8-4? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_24 WHERE record = "8-4" Context: CREATE TABLE table_name_24 (opponent VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the opponent when the Washington Nationals had a recor... |
SELECT COUNT(attendance) FROM table_name_54 WHERE score = "7-3" AND loss = "worrell (0-1)" | CREATE TABLE table_name_54 (attendance VARCHAR, score VARCHAR, loss VARCHAR) | How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(attendance) FROM table_name_54 WHERE score = "7-3" AND loss = "worrell (0-1)" Context: CREATE TABLE table_name_54 (attendance VARCHAR, score VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many peo... |
SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge" | CREATE TABLE table_name_40 (qual_2 VARCHAR, name VARCHAR) | Name the Qual 2 which has the name of katherine legge | <s>[INST] Given the following SQL query and context: Query: SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge" Context: CREATE TABLE table_name_40 (qual_2 VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the Qual 2 which has the name of katherine legge The ... |
SELECT team FROM table_name_2 WHERE best = "58.846" | CREATE TABLE table_name_2 (team VARCHAR, best VARCHAR) | Name the team with best of 58.846 | <s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_2 WHERE best = "58.846" Context: CREATE TABLE table_name_2 (team VARCHAR, best VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the team with best of 58.846 The answer to your question is: SELECT ... |
SELECT name FROM table_name_46 WHERE best = "58.403" | CREATE TABLE table_name_46 (name VARCHAR, best VARCHAR) | Tell me the name with best of 58.403 | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_46 WHERE best = "58.403" Context: CREATE TABLE table_name_46 (name VARCHAR, best VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Tell me the name with best of 58.403 The answer to your question is: SE... |
SELECT qual_1 FROM table_name_13 WHERE name = "jan heylen" | CREATE TABLE table_name_13 (qual_1 VARCHAR, name VARCHAR) | Tell me the qual 1 for jan heylen | <s>[INST] Given the following SQL query and context: Query: SELECT qual_1 FROM table_name_13 WHERE name = "jan heylen" Context: CREATE TABLE table_name_13 (qual_1 VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Tell me the qual 1 for jan heylen The answer to your question i... |
SELECT loss FROM table_name_8 WHERE attendance = "24,406" | CREATE TABLE table_name_8 (loss VARCHAR, attendance VARCHAR) | When the attendance was 24,406 who lost? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_8 WHERE attendance = "24,406" Context: CREATE TABLE table_name_8 (loss VARCHAR, attendance VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When the attendance was 24,406 who lost? The answer to your q... |
SELECT opponent FROM table_name_52 WHERE record = "17-25" | CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR) | Which of the opponents has a record of 17-25? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_52 WHERE record = "17-25" Context: CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which of the opponents has a record of 17-25? The answer to ... |
SELECT opponent FROM table_name_32 WHERE date = "may 12" | CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) | Who was the opponent that played on may 12? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_32 WHERE date = "may 12" Context: CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the opponent that played on may 12? The answer to your ... |
SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united" | CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR) | When in the 1st league position, how many people watch as they faced West Ham United? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(attendance) FROM table_name_18 WHERE league_position = "1st" AND opponents = "west ham united" Context: CREATE TABLE table_name_18 (attendance INTEGER, league_position VARCHAR, opponents VARCHAR) [/INST] Based on the provided SQL query and context, ... |
SELECT AVG(bronze) FROM table_name_29 WHERE nation = "uganda" AND total > 2 | CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, total VARCHAR) | What is the average bronze medals of Uganda's swimmers when they earned over 2 medals? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(bronze) FROM table_name_29 WHERE nation = "uganda" AND total > 2 Context: CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, total VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average bronze me... |
SELECT MAX(silver) FROM table_name_95 WHERE bronze < 3 AND gold < 1 AND total = 1 AND nation = "ireland" | CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR) | What is the highest number of silver medals that Ireland earned when they scored less than 3 bronze medals and earned 1 medal? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(silver) FROM table_name_95 WHERE bronze < 3 AND gold < 1 AND total = 1 AND nation = "ireland" Context: CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR) [/INST] Based on the provided SQL query a... |
SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3 | CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) | What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(silver) FROM table_name_25 WHERE gold = 1 AND nation = "djibouti" AND total < 3 Context: CREATE TABLE table_name_25 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) [/INST] Based on the provided SQL query and context, your question is: ... |
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0 | CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR) | What's the total number that had a rank larger than 17 and a gold greater than 0? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0 Context: CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the total number that had a rank l... |
SELECT opponent FROM table_name_44 WHERE week < 2 | CREATE TABLE table_name_44 (opponent VARCHAR, week INTEGER) | Which opponent was faced before week 2? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_44 WHERE week < 2 Context: CREATE TABLE table_name_44 (opponent VARCHAR, week INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which opponent was faced before week 2? The answer to your question is... |
SELECT MIN(total) FROM table_name_30 WHERE year_s__won = "1978" | CREATE TABLE table_name_30 (total INTEGER, year_s__won VARCHAR) | Name the least total for 1978 years won | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(total) FROM table_name_30 WHERE year_s__won = "1978" Context: CREATE TABLE table_name_30 (total INTEGER, year_s__won VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the least total for 1978 years won The answer t... |
SELECT total FROM table_name_24 WHERE finish = "t22" | CREATE TABLE table_name_24 (total VARCHAR, finish VARCHAR) | Name the total with finish of t22 | <s>[INST] Given the following SQL query and context: Query: SELECT total FROM table_name_24 WHERE finish = "t22" Context: CREATE TABLE table_name_24 (total VARCHAR, finish VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the total with finish of t22 The answer to your question is: SE... |
SELECT AVG(total) FROM table_name_47 WHERE year_s__won = "1975" | CREATE TABLE table_name_47 (total INTEGER, year_s__won VARCHAR) | Name the average total for years won of 1975 | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(total) FROM table_name_47 WHERE year_s__won = "1975" Context: CREATE TABLE table_name_47 (total INTEGER, year_s__won VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the average total for years won of 1975 The ans... |
SELECT finish FROM table_name_26 WHERE player = "lou graham" | CREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR) | Name the finish with player lou graham | <s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_26 WHERE player = "lou graham" Context: CREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the finish with player lou graham The answer to your q... |
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45" | CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR) | Name the total number of total with finish of t45 | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45" Context: CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the total number of total with finish of t45 The answer to... |
SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage" | CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR) | What year was the League the malaysian super league, and a Malaysia Cup of group stage? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage" Context: CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR) [/INST] Based on the provided SQL query and context, your question ... |
SELECT position FROM table_name_85 WHERE league = "malaysian super league" AND year = "2011" | CREATE TABLE table_name_85 (position VARCHAR, league VARCHAR, year VARCHAR) | What is the position when the League is the malaysian super league, and a Year of 2011? | <s>[INST] Given the following SQL query and context: Query: SELECT position FROM table_name_85 WHERE league = "malaysian super league" AND year = "2011" Context: CREATE TABLE table_name_85 (position VARCHAR, league VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the... |
SELECT year FROM table_name_75 WHERE position = "6/13" | CREATE TABLE table_name_75 (year VARCHAR, position VARCHAR) | What year was the position 6/13? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_75 WHERE position = "6/13" Context: CREATE TABLE table_name_75 (year VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year was the position 6/13? The answer to your question is: ... |
SELECT year FROM table_name_38 WHERE league = "malaysian super league" AND position = "10/14" | CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR, position VARCHAR) | What year was the League of malaysian super league, and the Position was 10/14? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_38 WHERE league = "malaysian super league" AND position = "10/14" Context: CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year ... |
SELECT AVG(roll) FROM table_name_48 WHERE area = "featherston" AND authority = "integrated" | CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR) | tell me the average roll for the featherston area and integrated authority. | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(roll) FROM table_name_48 WHERE area = "featherston" AND authority = "integrated" Context: CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR) [/INST] Based on the provided SQL query and context, your question is: tell me the a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.