context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48 | What is the most silver when bronze is more than 1 and total is more than 48? | <s>[INST]What is the most silver when bronze is more than 1 and total is more than 48? Context: CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48</s> |
CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_33 WHERE venue = "western oval" | What day is the venue the western oval? | <s>[INST]What day is the venue the western oval? Context: CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE venue = "western oval"</s> |
CREATE TABLE table_25518547_3 (player VARCHAR, mls_team VARCHAR) | SELECT player FROM table_25518547_3 WHERE mls_team = "Philadelphia Union" | What player was drafted by the philadelphia union? | <s>[INST]What player was drafted by the philadelphia union? Context: CREATE TABLE table_25518547_3 (player VARCHAR, mls_team VARCHAR)[/INST]SELECT player FROM table_25518547_3 WHERE mls_team = "Philadelphia Union"</s> |
CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR) | SELECT location FROM table_name_15 WHERE peak = "pico basilé" | Where is the peak Pico Basilé located? | <s>[INST]Where is the peak Pico Basilé located? Context: CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR)[/INST]SELECT location FROM table_name_15 WHERE peak = "pico basilé"</s> |
CREATE TABLE table_11944282_1 (allied_unrelated VARCHAR, component VARCHAR) | SELECT COUNT(allied_unrelated) FROM table_11944282_1 WHERE component = "Human Capital" | What is the total amount of allied-unrelated where the component is human capital? | <s>[INST]What is the total amount of allied-unrelated where the component is human capital? Context: CREATE TABLE table_11944282_1 (allied_unrelated VARCHAR, component VARCHAR)[/INST]SELECT COUNT(allied_unrelated) FROM table_11944282_1 WHERE component = "Human Capital"</s> |
CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR) | SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27 | What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have? | <s>[INST]What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have? Context: CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27... |
CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR) | SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014" | what is the country when the bie recognised is no and years(s) is 2014? | <s>[INST]what is the country when the bie recognised is no and years(s) is 2014? Context: CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)[/INST]SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"</s> |
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_75 WHERE player = "benito cheng" | What is Benito Cheng's Pick number? | <s>[INST]What is Benito Cheng's Pick number? Context: CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_75 WHERE player = "benito cheng"</s> |
CREATE TABLE table_name_75 (lost INTEGER, seasons VARCHAR, goals_against VARCHAR) | SELECT MAX(lost) FROM table_name_75 WHERE seasons = 2 AND goals_against > 43 | Which Lost has Seasons of 2, and Goals against larger than 43? | <s>[INST]Which Lost has Seasons of 2, and Goals against larger than 43? Context: CREATE TABLE table_name_75 (lost INTEGER, seasons VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_75 WHERE seasons = 2 AND goals_against > 43</s> |
CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_23 WHERE attendance = 3686 | When was the attendance 3686? | <s>[INST]When was the attendance 3686? Context: CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE attendance = 3686</s> |
CREATE TABLE table_name_18 (position VARCHAR, nominated_work VARCHAR, award VARCHAR) | SELECT position FROM table_name_18 WHERE nominated_work = "la quinta esencia" AND award = "best cd coverbox" | What was the position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won? | <s>[INST]What was the position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won? Context: CREATE TABLE table_name_18 (position VARCHAR, nominated_work VARCHAR, award VARCHAR)[/INST]SELECT position FROM table_name_18 WHERE nominated_work = "la quinta esencia" AND award = "best... |
CREATE TABLE table_name_16 (genre VARCHAR, language VARCHAR, network VARCHAR) | SELECT genre FROM table_name_16 WHERE language = "hindi" AND network = "star gold" | What Genre has Hindi as the Language and Star Gold as the Network? | <s>[INST]What Genre has Hindi as the Language and Star Gold as the Network? Context: CREATE TABLE table_name_16 (genre VARCHAR, language VARCHAR, network VARCHAR)[/INST]SELECT genre FROM table_name_16 WHERE language = "hindi" AND network = "star gold"</s> |
CREATE TABLE Treatments (professional_id VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR, state VARCHAR) | SELECT professional_id, last_name, cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id, T1.last_name, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) > 2 | Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone. | <s>[INST]Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone. Context: CREATE TABLE Treatments (professional_id VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR); CREATE TABLE... |
CREATE TABLE table_name_34 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_34 WHERE home_team = "richmond" | What date did the home team Richmond play? | <s>[INST]What date did the home team Richmond play? Context: CREATE TABLE table_name_34 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_82 (third_place VARCHAR, year VARCHAR) | SELECT third_place FROM table_name_82 WHERE year = 2012 | Who took third place in 2012? | <s>[INST]Who took third place in 2012? Context: CREATE TABLE table_name_82 (third_place VARCHAR, year VARCHAR)[/INST]SELECT third_place FROM table_name_82 WHERE year = 2012</s> |
CREATE TABLE table_18424435_4 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & Stephanie Morgenstern" | What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern? | <s>[INST]What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern? Context: CREATE TABLE table_18424435_4 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & St... |
CREATE TABLE table_name_84 (original_team VARCHAR, result VARCHAR) | SELECT original_team FROM table_name_84 WHERE result = "hired by trump (5-19-2005)" | What is the original team that was Hired by Trump (5-19-2005)? | <s>[INST]What is the original team that was Hired by Trump (5-19-2005)? Context: CREATE TABLE table_name_84 (original_team VARCHAR, result VARCHAR)[/INST]SELECT original_team FROM table_name_84 WHERE result = "hired by trump (5-19-2005)"</s> |
CREATE TABLE table_16388047_1 (time VARCHAR, date VARCHAR) | SELECT time FROM table_16388047_1 WHERE date = "Saturday 4 March 1995" | Name the time for saturday 4 march 1995 | <s>[INST]Name the time for saturday 4 march 1995 Context: CREATE TABLE table_16388047_1 (time VARCHAR, date VARCHAR)[/INST]SELECT time FROM table_16388047_1 WHERE date = "Saturday 4 March 1995"</s> |
CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR) | SELECT revising_convention_s_ FROM table_2001348_1 WHERE denunciations__september_2011_ = 21 | What were the revising conventions commentary with a denunciation of 21? | <s>[INST]What were the revising conventions commentary with a denunciation of 21? Context: CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR)[/INST]SELECT revising_convention_s_ FROM table_2001348_1 WHERE denunciations__september_2011_ = 21</s> |
CREATE TABLE table_name_10 (loss INTEGER, name VARCHAR, gain VARCHAR) | SELECT MIN(loss) FROM table_name_10 WHERE name = "derrick locke" AND gain > 319 | What is the lowest Loss with Gain larger than 319 for derrick locke? | <s>[INST]What is the lowest Loss with Gain larger than 319 for derrick locke? Context: CREATE TABLE table_name_10 (loss INTEGER, name VARCHAR, gain VARCHAR)[/INST]SELECT MIN(loss) FROM table_name_10 WHERE name = "derrick locke" AND gain > 319</s> |
CREATE TABLE table_name_37 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_37 WHERE pick = 109 | What is the total round with pick of 109? | <s>[INST]What is the total round with pick of 109? Context: CREATE TABLE table_name_37 (round INTEGER, pick VARCHAR)[/INST]SELECT SUM(round) FROM table_name_37 WHERE pick = 109</s> |
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france" | What is the latest year in Annecy, France? | <s>[INST]What is the latest year in Annecy, France? Context: CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france"</s> |
CREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR) | SELECT MAX(uni_number) FROM table_name_32 WHERE first = "todd" | What is the highest uni# of the person with the first name Todd? | <s>[INST]What is the highest uni# of the person with the first name Todd? Context: CREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR)[/INST]SELECT MAX(uni_number) FROM table_name_32 WHERE first = "todd"</s> |
CREATE TABLE table_18569389_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(no_in_series) FROM table_18569389_1 WHERE us_viewers__million_ = "3.62" | Name the total number for number in series that got 3.62 viewers | <s>[INST]Name the total number for number in series that got 3.62 viewers Context: CREATE TABLE table_18569389_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_18569389_1 WHERE us_viewers__million_ = "3.62"</s> |
CREATE TABLE table_26555737_1 (english_title VARCHAR, arabic_title VARCHAR) | SELECT english_title FROM table_26555737_1 WHERE arabic_title = "ملح هذا البحر" | When ملح هذا البحر is the arabic title what is the english title? | <s>[INST]When ملح هذا البحر is the arabic title what is the english title? Context: CREATE TABLE table_26555737_1 (english_title VARCHAR, arabic_title VARCHAR)[/INST]SELECT english_title FROM table_26555737_1 WHERE arabic_title = "ملح هذا البحر"</s> |
CREATE TABLE table_11793221_2 (unit VARCHAR, commander VARCHAR) | SELECT unit FROM table_11793221_2 WHERE commander = "Lieutenant Colonel Francis Hepburn" | Which units are commanded by Lieutenant Colonel Francis Hepburn? | <s>[INST]Which units are commanded by Lieutenant Colonel Francis Hepburn? Context: CREATE TABLE table_11793221_2 (unit VARCHAR, commander VARCHAR)[/INST]SELECT unit FROM table_11793221_2 WHERE commander = "Lieutenant Colonel Francis Hepburn"</s> |
CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR) | SELECT AVG(loss) FROM table_name_26 WHERE long > 12 AND name = "opponents" AND gain > 1751 | What is the average Loss for the long of more than 12 with a name of opponents with a Gain larger than 1751? | <s>[INST]What is the average Loss for the long of more than 12 with a name of opponents with a Gain larger than 1751? Context: CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)[/INST]SELECT AVG(loss) FROM table_name_26 WHERE long > 12 AND name = "opponents" AND gain > 1751</s> |
CREATE TABLE table_name_68 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_68 WHERE to_par = "+5" | What was the country of the player at +5? | <s>[INST]What was the country of the player at +5? Context: CREATE TABLE table_name_68 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_68 WHERE to_par = "+5"</s> |
CREATE TABLE table_21001903_2 (tour VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR) | SELECT tour FROM table_21001903_2 WHERE mixed_doubles = "Zheng Bo Ma Jin" AND womens_singles = "Wang Yihan" | when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour? | <s>[INST]when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour? Context: CREATE TABLE table_21001903_2 (tour VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR)[/INST]SELECT tour FROM table_21001903_2 WHERE mixed_doubles = "Zheng Bo Ma Jin" AND womens_singles = "Wang Yihan"</s> |
CREATE TABLE table_name_67 (year INTEGER, notes VARCHAR, director VARCHAR) | SELECT AVG(year) FROM table_name_67 WHERE notes = "bbc radio 4" AND director = "peter kavanagh" | Notes of bbc radio 4, and a Director of peter kavanagh includes which average year? | <s>[INST]Notes of bbc radio 4, and a Director of peter kavanagh includes which average year? Context: CREATE TABLE table_name_67 (year INTEGER, notes VARCHAR, director VARCHAR)[/INST]SELECT AVG(year) FROM table_name_67 WHERE notes = "bbc radio 4" AND director = "peter kavanagh"</s> |
CREATE TABLE table_name_85 (route VARCHAR, elevation VARCHAR) | SELECT route FROM table_name_85 WHERE elevation = "11,158 feet 3401 m" | Elevation of 11,158 feet 3401 m had what route? | <s>[INST]Elevation of 11,158 feet 3401 m had what route? Context: CREATE TABLE table_name_85 (route VARCHAR, elevation VARCHAR)[/INST]SELECT route FROM table_name_85 WHERE elevation = "11,158 feet 3401 m"</s> |
CREATE TABLE table_name_27 (rating INTEGER, episode VARCHAR, rank__night_ VARCHAR, rank__timeslot_ VARCHAR) | SELECT MIN(rating) FROM table_name_27 WHERE rank__night_ < 7 AND rank__timeslot_ < 5 AND episode > 6 | What is the smallest rating with nightly rank smaller than 7, timeslot rank smaller than 5 and eposide after episode 6? | <s>[INST]What is the smallest rating with nightly rank smaller than 7, timeslot rank smaller than 5 and eposide after episode 6? Context: CREATE TABLE table_name_27 (rating INTEGER, episode VARCHAR, rank__night_ VARCHAR, rank__timeslot_ VARCHAR)[/INST]SELECT MIN(rating) FROM table_name_27 WHERE rank__night_ < 7 AND ran... |
CREATE TABLE table_26996293_4 (cfl_team VARCHAR, college VARCHAR) | SELECT COUNT(cfl_team) FROM table_26996293_4 WHERE college = "Waterloo" | what is the cfl team where college is waterloo? | <s>[INST]what is the cfl team where college is waterloo? Context: CREATE TABLE table_26996293_4 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT COUNT(cfl_team) FROM table_26996293_4 WHERE college = "Waterloo"</s> |
CREATE TABLE table_name_86 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_86 WHERE date = "september 26, 1971" | What was the Attendance on September 26, 1971? | <s>[INST]What was the Attendance on September 26, 1971? Context: CREATE TABLE table_name_86 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_86 WHERE date = "september 26, 1971"</s> |
CREATE TABLE table_17323092_8 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_17323092_8 WHERE high_points = "Chris Bosh (18)" | What dates did Chris Bosh (18) score the high points? | <s>[INST]What dates did Chris Bosh (18) score the high points? Context: CREATE TABLE table_17323092_8 (date VARCHAR, high_points VARCHAR)[/INST]SELECT date FROM table_17323092_8 WHERE high_points = "Chris Bosh (18)"</s> |
CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR) | SELECT club FROM table_13564702_4 WHERE points_against = "239" | What club got 239 points against? | <s>[INST]What club got 239 points against? Context: CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR)[/INST]SELECT club FROM table_13564702_4 WHERE points_against = "239"</s> |
CREATE TABLE table_name_90 (venue VARCHAR, state VARCHAR) | SELECT venue FROM table_name_90 WHERE state = "connecticut" | What venue is in the state of Connecticut? | <s>[INST]What venue is in the state of Connecticut? Context: CREATE TABLE table_name_90 (venue VARCHAR, state VARCHAR)[/INST]SELECT venue FROM table_name_90 WHERE state = "connecticut"</s> |
CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, archive VARCHAR) | SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r" | How many viewers watched the 16mm t/r episode? | <s>[INST]How many viewers watched the 16mm t/r episode? Context: CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, archive VARCHAR)[/INST]SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r"</s> |
CREATE TABLE table_name_82 (pole_position VARCHAR, location VARCHAR) | SELECT pole_position FROM table_name_82 WHERE location = "jerez" | Who had the pole position in Jerez? | <s>[INST]Who had the pole position in Jerez? Context: CREATE TABLE table_name_82 (pole_position VARCHAR, location VARCHAR)[/INST]SELECT pole_position FROM table_name_82 WHERE location = "jerez"</s> |
CREATE TABLE table_1341690_21 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%" | How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%? | <s>[INST]How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%? Context: CREATE TABLE table_1341690_21 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%"</s> |
CREATE TABLE table_name_77 (college VARCHAR, name VARCHAR) | SELECT college FROM table_name_77 WHERE name = "pat thomas" | What college is Pat Thomas from? | <s>[INST]What college is Pat Thomas from? Context: CREATE TABLE table_name_77 (college VARCHAR, name VARCHAR)[/INST]SELECT college FROM table_name_77 WHERE name = "pat thomas"</s> |
CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_49 WHERE record = "39–21–4" | What was the score of the game when the record was 39–21–4? | <s>[INST]What was the score of the game when the record was 39–21–4? Context: CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE record = "39–21–4"</s> |
CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR) | SELECT date FROM table_name_90 WHERE catalogue = "602517739468" | What is the Date of Catalogue number 602517739468? | <s>[INST]What is the Date of Catalogue number 602517739468? Context: CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE catalogue = "602517739468"</s> |
CREATE TABLE table_name_43 (drawn VARCHAR, played VARCHAR, goals_against VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_43 WHERE goals_against > 74 AND lost < 20 AND played > 38 | How much Drawn has Goals Against larger than 74, and a Lost smaller than 20, and a Played larger than 38? | <s>[INST]How much Drawn has Goals Against larger than 74, and a Lost smaller than 20, and a Played larger than 38? Context: CREATE TABLE table_name_43 (drawn VARCHAR, played VARCHAR, goals_against VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_name_43 WHERE goals_against > 74 AND lost < 20 AND played > 38<... |
CREATE TABLE table_name_67 (laps INTEGER, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_67 WHERE time_retired = "+1:05.564" | What is the mean number of laps where time/retired was +1:05.564? | <s>[INST]What is the mean number of laps where time/retired was +1:05.564? Context: CREATE TABLE table_name_67 (laps INTEGER, time_retired VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_67 WHERE time_retired = "+1:05.564"</s> |
CREATE TABLE table_name_58 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_58 WHERE week > 3 AND opponent = "philadelphia eagles" | What was the attendance for a week larger than 3, and an opponent of philadelphia eagles? | <s>[INST]What was the attendance for a week larger than 3, and an opponent of philadelphia eagles? Context: CREATE TABLE table_name_58 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_58 WHERE week > 3 AND opponent = "philadelphia eagles"</s> |
CREATE TABLE table_26139405_1 (writer VARCHAR, episode__number VARCHAR) | SELECT writer FROM table_26139405_1 WHERE episode__number = 26 | Who wrote episode 26 in the series? | <s>[INST]Who wrote episode 26 in the series? Context: CREATE TABLE table_26139405_1 (writer VARCHAR, episode__number VARCHAR)[/INST]SELECT writer FROM table_26139405_1 WHERE episode__number = 26</s> |
CREATE TABLE table_name_60 (her_age INTEGER, name VARCHAR, year_of_marriage VARCHAR, _number_of_children VARCHAR) | SELECT MIN(her_age) FROM table_name_60 WHERE year_of_marriage < 1853 AND _number_of_children < 8 AND name = "eliza maria partridge" | What is the lowest figure for her age when the year of marriage is before 1853, the number of children is less than 8, and the bride was Eliza Maria Partridge? | <s>[INST]What is the lowest figure for her age when the year of marriage is before 1853, the number of children is less than 8, and the bride was Eliza Maria Partridge? Context: CREATE TABLE table_name_60 (her_age INTEGER, name VARCHAR, year_of_marriage VARCHAR, _number_of_children VARCHAR)[/INST]SELECT MIN(her_age) FR... |
CREATE TABLE table_1999350_1 (playoffs VARCHAR, year VARCHAR) | SELECT COUNT(playoffs) FROM table_1999350_1 WHERE year = 2006 | What is the total number of playoffs held in exactly 2006? | <s>[INST]What is the total number of playoffs held in exactly 2006? Context: CREATE TABLE table_1999350_1 (playoffs VARCHAR, year VARCHAR)[/INST]SELECT COUNT(playoffs) FROM table_1999350_1 WHERE year = 2006</s> |
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR) | SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' | Find the names of swimmers who has a result of "win". | <s>[INST]Find the names of swimmers who has a result of "win". Context: CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)[/INST]SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win'</s> |
CREATE TABLE table_11545282_10 (no VARCHAR, school_club_team VARCHAR) | SELECT no FROM table_11545282_10 WHERE school_club_team = "Ohio" | What number does the player from Ohio play with? | <s>[INST]What number does the player from Ohio play with? Context: CREATE TABLE table_11545282_10 (no VARCHAR, school_club_team VARCHAR)[/INST]SELECT no FROM table_11545282_10 WHERE school_club_team = "Ohio"</s> |
CREATE TABLE table_name_26 (position VARCHAR, played INTEGER) | SELECT COUNT(position) FROM table_name_26 WHERE played > 12 | How many positions have a played greater than 12? | <s>[INST]How many positions have a played greater than 12? Context: CREATE TABLE table_name_26 (position VARCHAR, played INTEGER)[/INST]SELECT COUNT(position) FROM table_name_26 WHERE played > 12</s> |
CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR) | SELECT player FROM table_25730460_2 WHERE touchdowns = 1 | Name the player for 1 touchdowns | <s>[INST]Name the player for 1 touchdowns Context: CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR)[/INST]SELECT player FROM table_25730460_2 WHERE touchdowns = 1</s> |
CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0 | Before 1981, how many Points did Team Suzuki have with less than 0 Wins? | <s>[INST]Before 1981, how many Points did Team Suzuki have with less than 0 Wins? Context: CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0</s> |
CREATE TABLE table_name_59 (final_round VARCHAR, members VARCHAR) | SELECT final_round FROM table_name_59 WHERE members = "chris webber" | What was the final round value for member Chris Webber? | <s>[INST]What was the final round value for member Chris Webber? Context: CREATE TABLE table_name_59 (final_round VARCHAR, members VARCHAR)[/INST]SELECT final_round FROM table_name_59 WHERE members = "chris webber"</s> |
CREATE TABLE table_2512935_8 (original_language VARCHAR, book_series VARCHAR) | SELECT original_language FROM table_2512935_8 WHERE book_series = "Little House on the Prairie" | What is every original language for book series Little House on the Prairie? | <s>[INST]What is every original language for book series Little House on the Prairie? Context: CREATE TABLE table_2512935_8 (original_language VARCHAR, book_series VARCHAR)[/INST]SELECT original_language FROM table_2512935_8 WHERE book_series = "Little House on the Prairie"</s> |
CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR) | SELECT T2.first_name, T2.last_name FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id HAVING COUNT(*) > 30 | Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name. | <s>[INST]Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name. Context: CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR)[/INST]SELECT T2.first_name, T2.last_name FROM film_actor AS T1 JOIN acto... |
CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR, injury VARCHAR); CREATE TABLE game (season VARCHAR, stadium_id VARCHAR, id VARCHAR) | SELECT T1.season, T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.injury = 'Foot injury' OR T3.injury = 'Knee problem' | In which season and which stadium did any player have an injury of 'Foot injury' or 'Knee problem'? | <s>[INST]In which season and which stadium did any player have an injury of 'Foot injury' or 'Knee problem'? Context: CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR, injury VARCHAR); CREATE TABLE game (season VARCHAR, stadium_id VARCHAR, id VARCHAR)[/INST]SELECT T1.season... |
CREATE TABLE table_name_46 (apogee VARCHAR, mission VARCHAR) | SELECT apogee FROM table_name_46 WHERE mission = "maxus 3" | Which Apogee has a Mission of maxus 3? | <s>[INST]Which Apogee has a Mission of maxus 3? Context: CREATE TABLE table_name_46 (apogee VARCHAR, mission VARCHAR)[/INST]SELECT apogee FROM table_name_46 WHERE mission = "maxus 3"</s> |
CREATE TABLE captain (name VARCHAR, rank VARCHAR) | SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant' | Find the name of captains whose rank are either Midshipman or Lieutenant. | <s>[INST]Find the name of captains whose rank are either Midshipman or Lieutenant. Context: CREATE TABLE captain (name VARCHAR, rank VARCHAR)[/INST]SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant'</s> |
CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_74 WHERE home_team = "geelong" | On which date did Geelong play at home? | <s>[INST]On which date did Geelong play at home? Context: CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_74 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_58 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_58 WHERE player = "k. j. choi" | What is To Par, when Player is K. J. Choi? | <s>[INST]What is To Par, when Player is K. J. Choi? Context: CREATE TABLE table_name_58 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_58 WHERE player = "k. j. choi"</s> |
CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR) | SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (1)" | How many games does the player with 1 (0) finals and a w-league of 28 (1) have? | <s>[INST]How many games does the player with 1 (0) finals and a w-league of 28 (1) have? Context: CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR)[/INST]SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (1)"</s> |
CREATE TABLE table_1266602_2 (team VARCHAR, crew_chief VARCHAR) | SELECT team FROM table_1266602_2 WHERE crew_chief = "Wally Rogers" | Which teams used Wally Rogers as their crew chief? | <s>[INST]Which teams used Wally Rogers as their crew chief? Context: CREATE TABLE table_1266602_2 (team VARCHAR, crew_chief VARCHAR)[/INST]SELECT team FROM table_1266602_2 WHERE crew_chief = "Wally Rogers"</s> |
CREATE TABLE table_1242447_2 (hebrew_word VARCHAR, strongs_words_compounded VARCHAR) | SELECT hebrew_word FROM table_1242447_2 WHERE strongs_words_compounded = "'adown [# 113] & Yahu" | List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu | <s>[INST]List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu Context: CREATE TABLE table_1242447_2 (hebrew_word VARCHAR, strongs_words_compounded VARCHAR)[/INST]SELECT hebrew_word FROM table_1242447_2 WHERE strongs_words_compounded = "'adown [# 113] & Yahu"</s> |
CREATE TABLE table_name_16 (team_f VARCHAR, team_a VARCHAR) | SELECT team_f FROM table_name_16 WHERE team_a = "aida gagaring" | Who is team f when Aida Gagaring is team A? | <s>[INST]Who is team f when Aida Gagaring is team A? Context: CREATE TABLE table_name_16 (team_f VARCHAR, team_a VARCHAR)[/INST]SELECT team_f FROM table_name_16 WHERE team_a = "aida gagaring"</s> |
CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR) | SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obesity_rank = 21 | What are all percentages of overweight or obese adults for obesity rank of 21? | <s>[INST]What are all percentages of overweight or obese adults for obesity rank of 21? Context: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR)[/INST]SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obesity_rank = 21</s> |
CREATE TABLE table_name_99 (tournament VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT tournament FROM table_name_99 WHERE surface = "clay" AND outcome = "winner" AND score = "6–3, 6–2" | Name the tournament for clay surface and outcome is winner with score is 6–3, 6–2 | <s>[INST]Name the tournament for clay surface and outcome is winner with score is 6–3, 6–2 Context: CREATE TABLE table_name_99 (tournament VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR)[/INST]SELECT tournament FROM table_name_99 WHERE surface = "clay" AND outcome = "winner" AND score = "6–3, 6–2"</s> |
CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR) | SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'good' INTERSECT SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'bad' | What are the coupon amount of the coupons owned by both good and bad customers? | <s>[INST]What are the coupon amount of the coupons owned by both good and bad customers? Context: CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR)[/INST]SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS... |
CREATE TABLE table_name_46 (length__m_ VARCHAR, name VARCHAR) | SELECT length__m_ FROM table_name_46 WHERE name = "koppenberg" | What is the Length (m) of the Koppenberg course? | <s>[INST]What is the Length (m) of the Koppenberg course? Context: CREATE TABLE table_name_46 (length__m_ VARCHAR, name VARCHAR)[/INST]SELECT length__m_ FROM table_name_46 WHERE name = "koppenberg"</s> |
CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR) | SELECT MAX(minutes) FROM table_25016555_5 WHERE player = "Tracy Reid" | When tracy reid is the player what is the highest amount of minutes? | <s>[INST]When tracy reid is the player what is the highest amount of minutes? Context: CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR)[/INST]SELECT MAX(minutes) FROM table_25016555_5 WHERE player = "Tracy Reid"</s> |
CREATE TABLE table_name_17 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_17 WHERE date = "march 10" | What is the record for March 10? | <s>[INST]What is the record for March 10? Context: CREATE TABLE table_name_17 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_17 WHERE date = "march 10"</s> |
CREATE TABLE table_name_5 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_5 WHERE attendance = "2 january 1999" AND home_team = "plymouth argyle" | For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ? | <s>[INST]For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ? Context: CREATE TABLE table_name_5 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_5 WHERE attendance = "2 january 1999" AND home_team = "plymouth argyle"</s> |
CREATE TABLE table_name_12 (driver VARCHAR, race_3 VARCHAR) | SELECT driver FROM table_name_12 WHERE race_3 = "10" | What is Driver, when Race 2 is "10"? | <s>[INST]What is Driver, when Race 2 is "10"? Context: CREATE TABLE table_name_12 (driver VARCHAR, race_3 VARCHAR)[/INST]SELECT driver FROM table_name_12 WHERE race_3 = "10"</s> |
CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR) | SELECT league FROM table_16636344_1 WHERE regular_season = "2nd, Mid Atlantic" | What is the league name for the regular season status of 2nd, mid atlantic? | <s>[INST]What is the league name for the regular season status of 2nd, mid atlantic? Context: CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR)[/INST]SELECT league FROM table_16636344_1 WHERE regular_season = "2nd, Mid Atlantic"</s> |
CREATE TABLE table_name_28 (stadium VARCHAR, week INTEGER) | SELECT stadium FROM table_name_28 WHERE week > 15 | What was the stadium that held that game after week 15? | <s>[INST]What was the stadium that held that game after week 15? Context: CREATE TABLE table_name_28 (stadium VARCHAR, week INTEGER)[/INST]SELECT stadium FROM table_name_28 WHERE week > 15</s> |
CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR) | SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009" | If the matches for NQF is 2009, what is the position? | <s>[INST]If the matches for NQF is 2009, what is the position? Context: CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)[/INST]SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"</s> |
CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR) | SELECT COUNT(type) FROM table_2562572_53 WHERE settlement = "Nova Pazova" | How many different types of settlements does Nova Pazova fall into? | <s>[INST]How many different types of settlements does Nova Pazova fall into? Context: CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR)[/INST]SELECT COUNT(type) FROM table_2562572_53 WHERE settlement = "Nova Pazova"</s> |
CREATE TABLE table_name_55 (unit VARCHAR, ratio VARCHAR) | SELECT unit FROM table_name_55 WHERE ratio = "1/32" | What Unit has a Ratio of 1/32? | <s>[INST]What Unit has a Ratio of 1/32? Context: CREATE TABLE table_name_55 (unit VARCHAR, ratio VARCHAR)[/INST]SELECT unit FROM table_name_55 WHERE ratio = "1/32"</s> |
CREATE TABLE table_name_75 (pick__number VARCHAR, overall VARCHAR) | SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114 | How many picks have an Overall of 114? | <s>[INST]How many picks have an Overall of 114? Context: CREATE TABLE table_name_75 (pick__number VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_75 WHERE overall = 114</s> |
CREATE TABLE table_name_23 (ratings VARCHAR, year VARCHAR) | SELECT ratings FROM table_name_23 WHERE year = 2013 | How many Ratings did the 2013 Year have? | <s>[INST]How many Ratings did the 2013 Year have? Context: CREATE TABLE table_name_23 (ratings VARCHAR, year VARCHAR)[/INST]SELECT ratings FROM table_name_23 WHERE year = 2013</s> |
CREATE TABLE products (product_description VARCHAR, product_name VARCHAR) | SELECT product_description FROM products WHERE product_name = "Chocolate" | What is the description of the product named "Chocolate"? | <s>[INST]What is the description of the product named "Chocolate"? Context: CREATE TABLE products (product_description VARCHAR, product_name VARCHAR)[/INST]SELECT product_description FROM products WHERE product_name = "Chocolate"</s> |
CREATE TABLE table_25353861_5 (steals INTEGER) | SELECT MIN(steals) FROM table_25353861_5 | What is the fewest steals any player had? | <s>[INST]What is the fewest steals any player had? Context: CREATE TABLE table_25353861_5 (steals INTEGER)[/INST]SELECT MIN(steals) FROM table_25353861_5</s> |
CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR) | SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland" | What district is the court located in Tolland? | <s>[INST]What district is the court located in Tolland? Context: CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR)[/INST]SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"</s> |
CREATE TABLE table_name_4 (tournament VARCHAR) | SELECT 2012 FROM table_name_4 WHERE 2007 = "a" AND tournament = "australian open" | For the Australian Open, in 2007 the result was A, but what was the result in 2012? | <s>[INST]For the Australian Open, in 2007 the result was A, but what was the result in 2012? Context: CREATE TABLE table_name_4 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_4 WHERE 2007 = "a" AND tournament = "australian open"</s> |
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341672_10 WHERE incumbent = "Richard Kelly" | what is the district where the incumbent is richard kelly? | <s>[INST]what is the district where the incumbent is richard kelly? Context: CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341672_10 WHERE incumbent = "Richard Kelly"</s> |
CREATE TABLE table_27086613_5 (total_apps VARCHAR, league_apps VARCHAR) | SELECT total_apps FROM table_27086613_5 WHERE league_apps = 4 | Name the total apps for league apps being 4 | <s>[INST]Name the total apps for league apps being 4 Context: CREATE TABLE table_27086613_5 (total_apps VARCHAR, league_apps VARCHAR)[/INST]SELECT total_apps FROM table_27086613_5 WHERE league_apps = 4</s> |
CREATE TABLE table_name_68 (name VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT name FROM table_name_68 WHERE heat = 4 AND lane > 7 | what is the name that saw 4 heats and a lane higher than 7? | <s>[INST]what is the name that saw 4 heats and a lane higher than 7? Context: CREATE TABLE table_name_68 (name VARCHAR, heat VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_68 WHERE heat = 4 AND lane > 7</s> |
CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6 | How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? | <s>[INST]How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? Context: CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6</s> |
CREATE TABLE table_name_88 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_88 WHERE date = "march 29" | What were the high points on March 29? | <s>[INST]What were the high points on March 29? Context: CREATE TABLE table_name_88 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_88 WHERE date = "march 29"</s> |
CREATE TABLE table_name_68 (founded VARCHAR, nickname VARCHAR) | SELECT COUNT(founded) FROM table_name_68 WHERE nickname = "mountain hawks" | What is the number founded for the nickname mountain hawks? | <s>[INST]What is the number founded for the nickname mountain hawks? Context: CREATE TABLE table_name_68 (founded VARCHAR, nickname VARCHAR)[/INST]SELECT COUNT(founded) FROM table_name_68 WHERE nickname = "mountain hawks"</s> |
CREATE TABLE table_name_88 (category VARCHAR, type VARCHAR) | SELECT category FROM table_name_88 WHERE type = "rowexit" | When Type was rowexit what was the Category? | <s>[INST]When Type was rowexit what was the Category? Context: CREATE TABLE table_name_88 (category VARCHAR, type VARCHAR)[/INST]SELECT category FROM table_name_88 WHERE type = "rowexit"</s> |
CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR) | SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2:3" | Which competition before 1982 had a score of 2:3? | <s>[INST]Which competition before 1982 had a score of 2:3? Context: CREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2:3"</s> |
CREATE TABLE table_18173916_8 (friday VARCHAR, monday VARCHAR) | SELECT friday FROM table_18173916_8 WHERE monday = "515 The Adventures of Tintin" | which episode was Transmitted on friday if the episode of "515 the adventures of tintin" was transmitted on monday? | <s>[INST]which episode was Transmitted on friday if the episode of "515 the adventures of tintin" was transmitted on monday? Context: CREATE TABLE table_18173916_8 (friday VARCHAR, monday VARCHAR)[/INST]SELECT friday FROM table_18173916_8 WHERE monday = "515 The Adventures of Tintin"</s> |
CREATE TABLE table_name_46 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_46 WHERE country = "australia" | What is the place of Australia? | <s>[INST]What is the place of Australia? Context: CREATE TABLE table_name_46 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_46 WHERE country = "australia"</s> |
CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_59 WHERE venue = "arden street oval" | How many points did the away team score at Arden Street Oval? | <s>[INST]How many points did the away team score at Arden Street Oval? Context: CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_59 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_1214035_1 (league VARCHAR, open_cup VARCHAR) | SELECT league FROM table_1214035_1 WHERE open_cup = "Quarter Finals" | For which league is the open cup the quarter finals | <s>[INST]For which league is the open cup the quarter finals Context: CREATE TABLE table_1214035_1 (league VARCHAR, open_cup VARCHAR)[/INST]SELECT league FROM table_1214035_1 WHERE open_cup = "Quarter Finals"</s> |
CREATE TABLE table_name_96 (points INTEGER, played INTEGER) | SELECT AVG(points) FROM table_name_96 WHERE played > 42 | What is the average number of points for clubs that have played more than 42 times? | <s>[INST]What is the average number of points for clubs that have played more than 42 times? Context: CREATE TABLE table_name_96 (points INTEGER, played INTEGER)[/INST]SELECT AVG(points) FROM table_name_96 WHERE played > 42</s> |
CREATE TABLE table_name_43 (winning_driver VARCHAR, circuit VARCHAR) | SELECT winning_driver FROM table_name_43 WHERE circuit = "circuit zandvoort" | Which Winning Driver has a Circuit of circuit zandvoort? | <s>[INST]Which Winning Driver has a Circuit of circuit zandvoort? Context: CREATE TABLE table_name_43 (winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_name_43 WHERE circuit = "circuit zandvoort"</s> |
CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR) | SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = "44.8%" | What was the total number when the vote percentage was 44.8%? | <s>[INST]What was the total number when the vote percentage was 44.8%? Context: CREATE TABLE table_26375386_23 (total VARCHAR, vote_percentage VARCHAR)[/INST]SELECT COUNT(total) FROM table_26375386_23 WHERE vote_percentage = "44.8%"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.