context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_29 (rank INTEGER, name VARCHAR, points VARCHAR) | SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7 | Which Rank that a Name of thomas morgenstern, and Points larger than 288.7? | <s>[INST]Which Rank that a Name of thomas morgenstern, and Points larger than 288.7? Context: CREATE TABLE table_name_29 (rank INTEGER, name VARCHAR, points VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7</s> |
CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_72 WHERE player = "greg turner" | What is To par, when Player is "Greg Turner"? | <s>[INST]What is To par, when Player is "Greg Turner"? Context: CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_72 WHERE player = "greg turner"</s> |
CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu" | What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue? | <s>[INST]What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue? Context: CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala... |
CREATE TABLE table_10470082_4 (villains VARCHAR, _number VARCHAR) | SELECT villains FROM table_10470082_4 WHERE _number = 7 | Who is the villain in episode #7? | <s>[INST]Who is the villain in episode #7? Context: CREATE TABLE table_10470082_4 (villains VARCHAR, _number VARCHAR)[/INST]SELECT villains FROM table_10470082_4 WHERE _number = 7</s> |
CREATE TABLE table_name_75 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_75 WHERE date = "26 may 1996" | What is the surface on 26 May 1996? | <s>[INST]What is the surface on 26 May 1996? Context: CREATE TABLE table_name_75 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_75 WHERE date = "26 may 1996"</s> |
CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_70 WHERE week > 9 AND attendance = "69,714" | What was the Result of the game after Week 9 with an Attendance of 69,714? | <s>[INST]What was the Result of the game after Week 9 with an Attendance of 69,714? Context: CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_70 WHERE week > 9 AND attendance = "69,714"</s> |
CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR) | SELECT years FROM table_2841865_2 WHERE congress = "96th" | What time span is listed under years for the 96th congres? | <s>[INST]What time span is listed under years for the 96th congres? Context: CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR)[/INST]SELECT years FROM table_2841865_2 WHERE congress = "96th"</s> |
CREATE TABLE table_name_56 (round INTEGER, circuit VARCHAR) | SELECT AVG(round) FROM table_name_56 WHERE circuit = "oulton park" | What was the average round for the oulton park circuit? | <s>[INST]What was the average round for the oulton park circuit? Context: CREATE TABLE table_name_56 (round INTEGER, circuit VARCHAR)[/INST]SELECT AVG(round) FROM table_name_56 WHERE circuit = "oulton park"</s> |
CREATE TABLE table_name_37 (points_diff INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR) | SELECT MIN(points_diff) FROM table_name_37 WHERE against < 578 AND lost = 15 AND points > 26 | I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26 | <s>[INST]I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26 Context: CREATE TABLE table_name_37 (points_diff INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR)[/INST]SELECT MIN(points_diff) FROM table_name_37 WHERE against < 578 AND lost = 15 AND points > 26</s> |
CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин" | What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин? | <s>[INST]What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин? Context: CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT largest_ethnic_group__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"</... |
CREATE TABLE table_name_31 (wins INTEGER, teams VARCHAR, percent VARCHAR) | SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 0 | What is the average wins when teams is lions and the percent is more than 0? | <s>[INST]What is the average wins when teams is lions and the percent is more than 0? Context: CREATE TABLE table_name_31 (wins INTEGER, teams VARCHAR, percent VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 0</s> |
CREATE TABLE table_name_88 (class VARCHAR, number_at_lincoln VARCHAR, number_at_doncaster VARCHAR) | SELECT class FROM table_name_88 WHERE number_at_lincoln > 0 AND number_at_doncaster = 8 | Which Class has a Number at Lincoln larger than 0 and a Number at Doncaster of 8? | <s>[INST]Which Class has a Number at Lincoln larger than 0 and a Number at Doncaster of 8? Context: CREATE TABLE table_name_88 (class VARCHAR, number_at_lincoln VARCHAR, number_at_doncaster VARCHAR)[/INST]SELECT class FROM table_name_88 WHERE number_at_lincoln > 0 AND number_at_doncaster = 8</s> |
CREATE TABLE table_16254861_1 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_16254861_1 WHERE year__ceremony_ = "2009 (82nd)" | What was the result for the 2009 (82nd) awards? | <s>[INST]What was the result for the 2009 (82nd) awards? Context: CREATE TABLE table_16254861_1 (result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT result FROM table_16254861_1 WHERE year__ceremony_ = "2009 (82nd)"</s> |
CREATE TABLE table_12094300_1 (swimsuit VARCHAR, average VARCHAR) | SELECT swimsuit FROM table_12094300_1 WHERE average = "8.791" | What is the score for swimsuit when the average is 8.791? | <s>[INST]What is the score for swimsuit when the average is 8.791? Context: CREATE TABLE table_12094300_1 (swimsuit VARCHAR, average VARCHAR)[/INST]SELECT swimsuit FROM table_12094300_1 WHERE average = "8.791"</s> |
CREATE TABLE pilot (Pilot_name VARCHAR, Team VARCHAR) | SELECT Pilot_name FROM pilot WHERE Team = "Bradley" OR Team = "Fordham" | Show the names of pilots from team "Bradley" or "Fordham". | <s>[INST]Show the names of pilots from team "Bradley" or "Fordham". Context: CREATE TABLE pilot (Pilot_name VARCHAR, Team VARCHAR)[/INST]SELECT Pilot_name FROM pilot WHERE Team = "Bradley" OR Team = "Fordham"</s> |
CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR) | SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 3 | What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3? | <s>[INST]What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3? Context: CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)[/INST]SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE st... |
CREATE TABLE table_16922657_2 (w INTEGER) | SELECT MIN(w) FROM table_16922657_2 | What is the minimum Wins a team has? | <s>[INST]What is the minimum Wins a team has? Context: CREATE TABLE table_16922657_2 (w INTEGER)[/INST]SELECT MIN(w) FROM table_16922657_2</s> |
CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR) | SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88 | Which Spoofed title had Mort Drucker as the artist in issue 88? | <s>[INST]Which Spoofed title had Mort Drucker as the artist in issue 88? Context: CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)[/INST]SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88</s> |
CREATE TABLE table_224839_3 (state__class_ VARCHAR, successor VARCHAR) | SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )" | What are all the states (class) when the successor was Joseph Anderson ( DR )? | <s>[INST]What are all the states (class) when the successor was Joseph Anderson ( DR )? Context: CREATE TABLE table_224839_3 (state__class_ VARCHAR, successor VARCHAR)[/INST]SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )"</s> |
CREATE TABLE table_name_95 (list_entry_number VARCHAR, location VARCHAR) | SELECT COUNT(list_entry_number) FROM table_name_95 WHERE location = "platting road, lydgate" | How many list entry numbers are located in Platting Road, Lydgate? | <s>[INST]How many list entry numbers are located in Platting Road, Lydgate? Context: CREATE TABLE table_name_95 (list_entry_number VARCHAR, location VARCHAR)[/INST]SELECT COUNT(list_entry_number) FROM table_name_95 WHERE location = "platting road, lydgate"</s> |
CREATE TABLE table_name_32 (matches INTEGER, point VARCHAR, final_rank VARCHAR) | SELECT MAX(matches) FROM table_name_32 WHERE point = 43 AND final_rank < 7 | Tell me the highest matches for point 43 and final rank less than 7 | <s>[INST]Tell me the highest matches for point 43 and final rank less than 7 Context: CREATE TABLE table_name_32 (matches INTEGER, point VARCHAR, final_rank VARCHAR)[/INST]SELECT MAX(matches) FROM table_name_32 WHERE point = 43 AND final_rank < 7</s> |
CREATE TABLE table_name_66 (race_leader VARCHAR, stage VARCHAR) | SELECT race_leader FROM table_name_66 WHERE stage = "5" | Who was the race leader for stage 5? | <s>[INST]Who was the race leader for stage 5? Context: CREATE TABLE table_name_66 (race_leader VARCHAR, stage VARCHAR)[/INST]SELECT race_leader FROM table_name_66 WHERE stage = "5"</s> |
CREATE TABLE manufacturer (manufacturer_id VARCHAR, num_of_shops VARCHAR); CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR, Price_in_Dollar VARCHAR) | SELECT t1.manufacturer_id, t1.num_of_shops FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id ORDER BY t2.Price_in_Dollar DESC LIMIT 1 | Find the id and number of shops for the company that produces the most expensive furniture. | <s>[INST]Find the id and number of shops for the company that produces the most expensive furniture. Context: CREATE TABLE manufacturer (manufacturer_id VARCHAR, num_of_shops VARCHAR); CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR, Price_in_Dollar VARCHAR)[/INST]SELECT t1.manufacturer_id, t1.num_of_shops FR... |
CREATE TABLE table_name_57 (result VARCHAR, rank__number VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_57 WHERE rank__number = "1" AND attendance = "22,555" | What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1? | <s>[INST]What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1? Context: CREATE TABLE table_name_57 (result VARCHAR, rank__number VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_57 WHERE rank__number = "1" AND attendance = "22,555"</s> |
CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR) | SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe" | What song title was written by Kal Mann and Bernie Lowe? | <s>[INST]What song title was written by Kal Mann and Bernie Lowe? Context: CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR)[/INST]SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe"</s> |
CREATE TABLE table_name_94 (nationality VARCHAR, round VARCHAR, college VARCHAR) | SELECT nationality FROM table_name_94 WHERE round = 3 AND college = "mercer" | For the draft pick from round 3 out of Mercer College what is the nationality? | <s>[INST]For the draft pick from round 3 out of Mercer College what is the nationality? Context: CREATE TABLE table_name_94 (nationality VARCHAR, round VARCHAR, college VARCHAR)[/INST]SELECT nationality FROM table_name_94 WHERE round = 3 AND college = "mercer"</s> |
CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR) | SELECT lost FROM table_17366952_1 WHERE goal_average_1 = "1.21" | List all losses with average goals of 1.21. | <s>[INST]List all losses with average goals of 1.21. Context: CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR)[/INST]SELECT lost FROM table_17366952_1 WHERE goal_average_1 = "1.21"</s> |
CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE poker_player (Earnings INTEGER, People_ID VARCHAR) | SELECT AVG(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200 | What is the average earnings of poker players with height higher than 200? | <s>[INST]What is the average earnings of poker players with height higher than 200? Context: CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE poker_player (Earnings INTEGER, People_ID VARCHAR)[/INST]SELECT AVG(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHE... |
CREATE TABLE table_2603017_2 (ba___running_bear VARCHAR, ab___angry_boar VARCHAR) | SELECT ba___running_bear FROM table_2603017_2 WHERE ab___angry_boar = "OS - Ox Soldier" | what is ba - running bear where ab - angry boar is os - ox soldier? | <s>[INST]what is ba - running bear where ab - angry boar is os - ox soldier? Context: CREATE TABLE table_2603017_2 (ba___running_bear VARCHAR, ab___angry_boar VARCHAR)[/INST]SELECT ba___running_bear FROM table_2603017_2 WHERE ab___angry_boar = "OS - Ox Soldier"</s> |
CREATE TABLE table_name_10 (debut_year INTEGER, player VARCHAR) | SELECT MIN(debut_year) FROM table_name_10 WHERE player = "mark eaves" | What is the debut year of Mark Eaves? | <s>[INST]What is the debut year of Mark Eaves? Context: CREATE TABLE table_name_10 (debut_year INTEGER, player VARCHAR)[/INST]SELECT MIN(debut_year) FROM table_name_10 WHERE player = "mark eaves"</s> |
CREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR) | SELECT total_votes FROM table_name_27 WHERE members = "holly scouler" | What were Holly Scouler's total votes? | <s>[INST]What were Holly Scouler's total votes? Context: CREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR)[/INST]SELECT total_votes FROM table_name_27 WHERE members = "holly scouler"</s> |
CREATE TABLE table_1628792_1 (dates VARCHAR, margin_of_victory VARCHAR) | SELECT COUNT(dates) FROM table_1628792_1 WHERE margin_of_victory = "5 strokes" | Name the dates for margin of victory being 5 strokes | <s>[INST]Name the dates for margin of victory being 5 strokes Context: CREATE TABLE table_1628792_1 (dates VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT COUNT(dates) FROM table_1628792_1 WHERE margin_of_victory = "5 strokes"</s> |
CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_82 WHERE date = "march 30" | What city has march 30 as the date? | <s>[INST]What city has march 30 as the date? Context: CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR)[/INST]SELECT city FROM table_name_82 WHERE date = "march 30"</s> |
CREATE TABLE table_name_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR) | SELECT MIN(winning__percentage) FROM table_name_95 WHERE lost > 23 AND goals_for > 386 | What is the lowest win percentage for teams with more than 23 losses and more than 386 goals for? | <s>[INST]What is the lowest win percentage for teams with more than 23 losses and more than 386 goals for? Context: CREATE TABLE table_name_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR)[/INST]SELECT MIN(winning__percentage) FROM table_name_95 WHERE lost > 23 AND goals_for > 386</s> |
CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_61 WHERE catalog = "25ap 301" | What is the Region, when the Catalog is 25AP 301? | <s>[INST]What is the Region, when the Catalog is 25AP 301? Context: CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_61 WHERE catalog = "25ap 301"</s> |
CREATE TABLE table_name_56 (date VARCHAR, road_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_56 WHERE road_team = "boston" AND game = "game 3" | What is the date of game 3 with Boston as the road team? | <s>[INST]What is the date of game 3 with Boston as the road team? Context: CREATE TABLE table_name_56 (date VARCHAR, road_team VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE road_team = "boston" AND game = "game 3"</s> |
CREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR) | SELECT athletes FROM table_name_82 WHERE country = "germany" | What athletes represented the country of germany? | <s>[INST]What athletes represented the country of germany? Context: CREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR)[/INST]SELECT athletes FROM table_name_82 WHERE country = "germany"</s> |
CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_sheep_ VARCHAR, goats VARCHAR) | SELECT resurrection_of144, 000 FROM table_name_63 WHERE christ_madeking = "1914" AND separating_sheep_ & goats = "during christ's presence" AND judgmentof_religion = "1878" | What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878? | <s>[INST]What is the resurrection of 144,000 date with a Christ made king date in 1914, a separting sheep & goats date during Christ's presence, and a judgment of religion date in 1878? Context: CREATE TABLE table_name_63 (resurrection_of144 VARCHAR, judgmentof_religion VARCHAR, christ_madeking VARCHAR, separating_shee... |
CREATE TABLE table_23963781_1 (nationality VARCHAR, athletica_career VARCHAR, minutes VARCHAR, position VARCHAR) | SELECT nationality FROM table_23963781_1 WHERE minutes = 0 AND position = "MF" AND athletica_career = "2009" | What is the nationality associated with 0 minutes, position of MF, and an Athletica career of 2009? | <s>[INST]What is the nationality associated with 0 minutes, position of MF, and an Athletica career of 2009? Context: CREATE TABLE table_23963781_1 (nationality VARCHAR, athletica_career VARCHAR, minutes VARCHAR, position VARCHAR)[/INST]SELECT nationality FROM table_23963781_1 WHERE minutes = 0 AND position = "MF" AND ... |
CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_66 WHERE driver = "mika salo" AND grid > 17 | What is the high lap total for mika salo with a grid greater than 17? | <s>[INST]What is the high lap total for mika salo with a grid greater than 17? Context: CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_66 WHERE driver = "mika salo" AND grid > 17</s> |
CREATE TABLE table_name_78 (owner VARCHAR, call_sign VARCHAR) | SELECT owner FROM table_name_78 WHERE call_sign = "cklf-fm" | Who is the owner of CKLF-FM? | <s>[INST]Who is the owner of CKLF-FM? Context: CREATE TABLE table_name_78 (owner VARCHAR, call_sign VARCHAR)[/INST]SELECT owner FROM table_name_78 WHERE call_sign = "cklf-fm"</s> |
CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_56 WHERE visitor = "carolina" | Which team won when the visitor was Carolina? | <s>[INST]Which team won when the visitor was Carolina? Context: CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR)[/INST]SELECT decision FROM table_name_56 WHERE visitor = "carolina"</s> |
CREATE TABLE table_name_28 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_28 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND score = "3–2" | What is the Record of the Chicago Black Hawks Home game with the New York Rangers and a Score of 3–2? | <s>[INST]What is the Record of the Chicago Black Hawks Home game with the New York Rangers and a Score of 3–2? Context: CREATE TABLE table_name_28 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_28 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND... |
CREATE TABLE table_name_50 (school VARCHAR, team VARCHAR, position VARCHAR) | SELECT school FROM table_name_50 WHERE team = "minnesota twins" AND position = "ss" | From which school did the Minnesota Twins SS come from? | <s>[INST]From which school did the Minnesota Twins SS come from? Context: CREATE TABLE table_name_50 (school VARCHAR, team VARCHAR, position VARCHAR)[/INST]SELECT school FROM table_name_50 WHERE team = "minnesota twins" AND position = "ss"</s> |
CREATE TABLE table_name_62 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_62 WHERE city = "san juan" | Tell me the country for san juan | <s>[INST]Tell me the country for san juan Context: CREATE TABLE table_name_62 (country VARCHAR, city VARCHAR)[/INST]SELECT country FROM table_name_62 WHERE city = "san juan"</s> |
CREATE TABLE table_name_58 (primary_conference VARCHAR, founded VARCHAR, affiliation VARCHAR) | SELECT primary_conference FROM table_name_58 WHERE founded < 1866 AND affiliation = "private/catholic" | What is the primary conference that was founded before 1866 and has an affiliation of private/catholic? | <s>[INST]What is the primary conference that was founded before 1866 and has an affiliation of private/catholic? Context: CREATE TABLE table_name_58 (primary_conference VARCHAR, founded VARCHAR, affiliation VARCHAR)[/INST]SELECT primary_conference FROM table_name_58 WHERE founded < 1866 AND affiliation = "private/catho... |
CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR, constructor VARCHAR, driver VARCHAR) | SELECT COUNT(laps) FROM table_name_25 WHERE constructor = "brm" AND driver = "piers courage" AND grid > 8 | How many laps were completed by Piers Courage when BRM was the constructor and the grid is larger than 8? | <s>[INST]How many laps were completed by Piers Courage when BRM was the constructor and the grid is larger than 8? Context: CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR, constructor VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_25 WHERE constructor = "brm" AND driver = "piers courage" AND ... |
CREATE TABLE table_name_67 (city VARCHAR, short_name VARCHAR) | SELECT city FROM table_name_67 WHERE short_name = "pontisola" | What city has the nickname of pontisola? | <s>[INST]What city has the nickname of pontisola? Context: CREATE TABLE table_name_67 (city VARCHAR, short_name VARCHAR)[/INST]SELECT city FROM table_name_67 WHERE short_name = "pontisola"</s> |
CREATE TABLE table_name_58 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_58 WHERE driver = "patrick carpentier" AND laps < 103 | What is the sum of a grid for driver Patrick Carpentier and less than 103 laps? | <s>[INST]What is the sum of a grid for driver Patrick Carpentier and less than 103 laps? Context: CREATE TABLE table_name_58 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_58 WHERE driver = "patrick carpentier" AND laps < 103</s> |
CREATE TABLE table_name_9 (event VARCHAR, round VARCHAR, record VARCHAR) | SELECT event FROM table_name_9 WHERE round = 1 AND record = "6-2" | What event had 1 round and a record of 6-2? | <s>[INST]What event had 1 round and a record of 6-2? Context: CREATE TABLE table_name_9 (event VARCHAR, round VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_9 WHERE round = 1 AND record = "6-2"</s> |
CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium" | What team visited the Jacksonville Municipal Stadium? | <s>[INST]What team visited the Jacksonville Municipal Stadium? Context: CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR)[/INST]SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium"</s> |
CREATE TABLE table_name_22 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_22 WHERE score = "3–6, 6–1, 7–5" | who is the opponent when the score is 3–6, 6–1, 7–5? | <s>[INST]who is the opponent when the score is 3–6, 6–1, 7–5? Context: CREATE TABLE table_name_22 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_22 WHERE score = "3–6, 6–1, 7–5"</s> |
CREATE TABLE table_17355933_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_17355933_1 WHERE directed_by = "Nelson McCormick" | Which seasons were directed by Nelson McCormick? | <s>[INST]Which seasons were directed by Nelson McCormick? Context: CREATE TABLE table_17355933_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_17355933_1 WHERE directed_by = "Nelson McCormick"</s> |
CREATE TABLE table_18590048_1 (release_date VARCHAR, units_sold__in_millions_ VARCHAR) | SELECT release_date FROM table_18590048_1 WHERE units_sold__in_millions_ = "9.87" | What day did the platform sell 9.87 million units? | <s>[INST]What day did the platform sell 9.87 million units? Context: CREATE TABLE table_18590048_1 (release_date VARCHAR, units_sold__in_millions_ VARCHAR)[/INST]SELECT release_date FROM table_18590048_1 WHERE units_sold__in_millions_ = "9.87"</s> |
CREATE TABLE table_1973729_1 (location VARCHAR, institution VARCHAR) | SELECT location FROM table_1973729_1 WHERE institution = "Eastern Nazarene College" | Where is the Eastern Nazarene College located? | <s>[INST]Where is the Eastern Nazarene College located? Context: CREATE TABLE table_1973729_1 (location VARCHAR, institution VARCHAR)[/INST]SELECT location FROM table_1973729_1 WHERE institution = "Eastern Nazarene College"</s> |
CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) | SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa" | What was the broadcast date of the episode that visited South Africa? | <s>[INST]What was the broadcast date of the episode that visited South Africa? Context: CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR)[/INST]SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa"</s> |
CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR) | SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = "15 November 1997" | How many entries are there for vote when the air date was 15 november 1997? | <s>[INST]How many entries are there for vote when the air date was 15 november 1997? Context: CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR)[/INST]SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = "15 November 1997"</s> |
CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR) | SELECT group_position FROM table_name_9 WHERE date = "7 november 2007" | What is the Group position for the date of 7 November 2007? | <s>[INST]What is the Group position for the date of 7 November 2007? Context: CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR)[/INST]SELECT group_position FROM table_name_9 WHERE date = "7 november 2007"</s> |
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_58 WHERE result = "bye" | What was the last week when the team had a bye week? | <s>[INST]What was the last week when the team had a bye week? Context: CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_58 WHERE result = "bye"</s> |
CREATE TABLE table_25042332_26 (public_network VARCHAR, region VARCHAR, other_source VARCHAR, solar_panel VARCHAR) | SELECT public_network FROM table_25042332_26 WHERE other_source = "0.1%" AND solar_panel = "0.0%" AND region = "Maule" | What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule? | <s>[INST]What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule? Context: CREATE TABLE table_25042332_26 (public_network VARCHAR, region VARCHAR, other_source VARCHAR, solar_panel VARCHAR)[/INST]SELECT public_network FROM table_25042332_26 WHERE other_source =... |
CREATE TABLE table_name_22 (tournament VARCHAR) | SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon" | What was the 2011 Wimbledon result? | <s>[INST]What was the 2011 Wimbledon result? Context: CREATE TABLE table_name_22 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon"</s> |
CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR) | SELECT record FROM table_17311759_9 WHERE high_assists = "Mike Bibby (8)" | When mike bibby (8) had the highest amount of assists what is the record? | <s>[INST]When mike bibby (8) had the highest amount of assists what is the record? Context: CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR)[/INST]SELECT record FROM table_17311759_9 WHERE high_assists = "Mike Bibby (8)"</s> |
CREATE TABLE table_name_44 (chassis VARCHAR, engine VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_44 WHERE engine = "porsche flat-4" AND year < 1958 | What chassis did the porsche flat-4 use before 1958? | <s>[INST]What chassis did the porsche flat-4 use before 1958? Context: CREATE TABLE table_name_44 (chassis VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_44 WHERE engine = "porsche flat-4" AND year < 1958</s> |
CREATE TABLE table_16912000_13 (p_ret VARCHAR, kr_avg VARCHAR) | SELECT COUNT(p_ret) FROM table_16912000_13 WHERE kr_avg = "11.3" | How many p.ret are there when kr avg is 11.3 ? | <s>[INST]How many p.ret are there when kr avg is 11.3 ? Context: CREATE TABLE table_16912000_13 (p_ret VARCHAR, kr_avg VARCHAR)[/INST]SELECT COUNT(p_ret) FROM table_16912000_13 WHERE kr_avg = "11.3"</s> |
CREATE TABLE purchase (branch_id VARCHAR, year VARCHAR); CREATE TABLE branch (branch_id VARCHAR, city VARCHAR) | SELECT SUM(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T2.city = 'London' AND T1.year = 2018 | What is the sum of total pounds of purchase in year 2018 for all branches in London? | <s>[INST]What is the sum of total pounds of purchase in year 2018 for all branches in London? Context: CREATE TABLE purchase (branch_id VARCHAR, year VARCHAR); CREATE TABLE branch (branch_id VARCHAR, city VARCHAR)[/INST]SELECT SUM(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE ... |
CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR) | SELECT team FROM table_name_19 WHERE pick = 31 | what is the team that is pick 31? | <s>[INST]what is the team that is pick 31? Context: CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR)[/INST]SELECT team FROM table_name_19 WHERE pick = 31</s> |
CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_54 WHERE record = "9-6" | What was the location and attendance at the game when the record was 9-6? | <s>[INST]What was the location and attendance at the game when the record was 9-6? Context: CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_name_54 WHERE record = "9-6"</s> |
CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR) | SELECT nation FROM table_name_50 WHERE name = "chris witty" | What country did Chris Witty represent? | <s>[INST]What country did Chris Witty represent? Context: CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR)[/INST]SELECT nation FROM table_name_50 WHERE name = "chris witty"</s> |
CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0 | Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0 | <s>[INST]Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0 Context: CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0</s> |
CREATE TABLE table_2508633_8 (position VARCHAR, nfl_team VARCHAR) | SELECT position FROM table_2508633_8 WHERE nfl_team = "Minnesota Vikings" | If the NFL team is the Minnesota Vikings, what is the position? | <s>[INST]If the NFL team is the Minnesota Vikings, what is the position? Context: CREATE TABLE table_2508633_8 (position VARCHAR, nfl_team VARCHAR)[/INST]SELECT position FROM table_2508633_8 WHERE nfl_team = "Minnesota Vikings"</s> |
CREATE TABLE table_name_89 (high_points VARCHAR, opponent VARCHAR) | SELECT high_points FROM table_name_89 WHERE opponent = "los angeles" | WHAT IS THE HIGHEST POINTS FOR LOS ANGELES? | <s>[INST]WHAT IS THE HIGHEST POINTS FOR LOS ANGELES? Context: CREATE TABLE table_name_89 (high_points VARCHAR, opponent VARCHAR)[/INST]SELECT high_points FROM table_name_89 WHERE opponent = "los angeles"</s> |
CREATE TABLE table_name_29 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_29 WHERE home_team = "fitzroy" | What is the size of the crowd when the home team is Fitzroy? | <s>[INST]What is the size of the crowd when the home team is Fitzroy? Context: CREATE TABLE table_name_29 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_29 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "junction oval" | What was the attendance when the VFL played Junction Oval? | <s>[INST]What was the attendance when the VFL played Junction Oval? Context: CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "junction oval"</s> |
CREATE TABLE table_name_70 (january INTEGER, record VARCHAR, game VARCHAR) | SELECT SUM(january) FROM table_name_70 WHERE record = "17-20-2" AND game < 39 | What is the January sum with the record of 17-20-2 with a game smaller than 39? | <s>[INST]What is the January sum with the record of 17-20-2 with a game smaller than 39? Context: CREATE TABLE table_name_70 (january INTEGER, record VARCHAR, game VARCHAR)[/INST]SELECT SUM(january) FROM table_name_70 WHERE record = "17-20-2" AND game < 39</s> |
CREATE TABLE table_name_33 (year INTEGER, team VARCHAR, finish VARCHAR) | SELECT SUM(year) FROM table_name_33 WHERE team = "johnson city yankees" AND finish = "6th" | What is the total of the year with a Team of johnson city yankees, and a Finish of 6th? | <s>[INST]What is the total of the year with a Team of johnson city yankees, and a Finish of 6th? Context: CREATE TABLE table_name_33 (year INTEGER, team VARCHAR, finish VARCHAR)[/INST]SELECT SUM(year) FROM table_name_33 WHERE team = "johnson city yankees" AND finish = "6th"</s> |
CREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR) | SELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06 | I want to know the highest rank with placings more than 123 and points greater than 88.06 | <s>[INST]I want to know the highest rank with placings more than 123 and points greater than 88.06 Context: CREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06</s> |
CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) | SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect" | What are the the approximate translations when the Morphological Category is 1st. plur. perfect? | <s>[INST]What are the the approximate translations when the Morphological Category is 1st. plur. perfect? Context: CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)[/INST]SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"<... |
CREATE TABLE table_name_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MAX(rank) FROM table_name_24 WHERE silver < 1 AND bronze > 1 | What is the Rank of the Nation with 0 Silver and more than 1 Bronze? | <s>[INST]What is the Rank of the Nation with 0 Silver and more than 1 Bronze? Context: CREATE TABLE table_name_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_24 WHERE silver < 1 AND bronze > 1</s> |
CREATE TABLE table_name_68 (fuel_system VARCHAR, displacement VARCHAR) | SELECT fuel_system FROM table_name_68 WHERE displacement = "1490cc" | Which fuel system has a displacement of 1490cc? | <s>[INST]Which fuel system has a displacement of 1490cc? Context: CREATE TABLE table_name_68 (fuel_system VARCHAR, displacement VARCHAR)[/INST]SELECT fuel_system FROM table_name_68 WHERE displacement = "1490cc"</s> |
CREATE TABLE table_name_85 (block_a VARCHAR, antonio_thomas VARCHAR) | SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)" | Tell me the block A for antonio thomas of kondo (13:24) | <s>[INST]Tell me the block A for antonio thomas of kondo (13:24) Context: CREATE TABLE table_name_85 (block_a VARCHAR, antonio_thomas VARCHAR)[/INST]SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)"</s> |
CREATE TABLE table_14937957_1 (martial_art_style VARCHAR, city VARCHAR) | SELECT martial_art_style FROM table_14937957_1 WHERE city = "Rio de Janeiro" | Which martial arts style was shown in Rio de Janeiro? | <s>[INST]Which martial arts style was shown in Rio de Janeiro? Context: CREATE TABLE table_14937957_1 (martial_art_style VARCHAR, city VARCHAR)[/INST]SELECT martial_art_style FROM table_14937957_1 WHERE city = "Rio de Janeiro"</s> |
CREATE TABLE table_15417439_1 (common_name VARCHAR, genus_species VARCHAR) | SELECT common_name FROM table_15417439_1 WHERE genus_species = "Rattus norvegicus" | What's the animals name when the genus/species is rattus norvegicus? | <s>[INST]What's the animals name when the genus/species is rattus norvegicus? Context: CREATE TABLE table_15417439_1 (common_name VARCHAR, genus_species VARCHAR)[/INST]SELECT common_name FROM table_15417439_1 WHERE genus_species = "Rattus norvegicus"</s> |
CREATE TABLE table_name_19 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_19 WHERE school_club_team = "providence" | What year were the Grizzlies in Providence? | <s>[INST]What year were the Grizzlies in Providence? Context: CREATE TABLE table_name_19 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_name_19 WHERE school_club_team = "providence"</s> |
CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR) | SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "210 Kirby's Epic Yarn" | How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday? | <s>[INST]How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday? Context: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)[/INST]SELECT COUNT(friday) FROM table_18173916_6 WHERE wednesday = "210 Kirby's Epic Yarn"</s> |
CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR) | SELECT music_director FROM table_name_3 WHERE year = 1994 | Who was the music director in 1994? | <s>[INST]Who was the music director in 1994? Context: CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR)[/INST]SELECT music_director FROM table_name_3 WHERE year = 1994</s> |
CREATE TABLE table_name_25 (status VARCHAR, authors VARCHAR) | SELECT status FROM table_name_25 WHERE authors = "colbert" | What is the Status with an Author that is colbert? | <s>[INST]What is the Status with an Author that is colbert? Context: CREATE TABLE table_name_25 (status VARCHAR, authors VARCHAR)[/INST]SELECT status FROM table_name_25 WHERE authors = "colbert"</s> |
CREATE TABLE table_name_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR) | SELECT elevation_ + _height FROM table_name_21 WHERE name = "halfbeak" | What is the elevation and height for Halfbeak? | <s>[INST]What is the elevation and height for Halfbeak? Context: CREATE TABLE table_name_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR)[/INST]SELECT elevation_ + _height FROM table_name_21 WHERE name = "halfbeak"</s> |
CREATE TABLE table_name_55 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_name_55 WHERE production_code = "2395120" | What was the original air date of the episode with production code 2395120? | <s>[INST]What was the original air date of the episode with production code 2395120? Context: CREATE TABLE table_name_55 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_name_55 WHERE production_code = "2395120"</s> |
CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR) | SELECT moving_from FROM table_name_26 WHERE nat = "ned" | Which Moving from has a Nat of ned? | <s>[INST]Which Moving from has a Nat of ned? Context: CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR)[/INST]SELECT moving_from FROM table_name_26 WHERE nat = "ned"</s> |
CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR) | SELECT record FROM table_name_75 WHERE location = "rose garden" | What was the record when the game was at the Rose Garden? | <s>[INST]What was the record when the game was at the Rose Garden? Context: CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR)[/INST]SELECT record FROM table_name_75 WHERE location = "rose garden"</s> |
CREATE TABLE table_name_34 (overall INTEGER, pick INTEGER) | SELECT AVG(overall) FROM table_name_34 WHERE pick < 5 | Which average overall has a Pick smaller than 5? | <s>[INST]Which average overall has a Pick smaller than 5? Context: CREATE TABLE table_name_34 (overall INTEGER, pick INTEGER)[/INST]SELECT AVG(overall) FROM table_name_34 WHERE pick < 5</s> |
CREATE TABLE table_name_33 (tries_for VARCHAR, points VARCHAR, try_bonus VARCHAR) | SELECT tries_for FROM table_name_33 WHERE points = "35" AND try_bonus = "1" | How many tries for does the team with a try bonus of 1 and 35 points earned? | <s>[INST]How many tries for does the team with a try bonus of 1 and 35 points earned? Context: CREATE TABLE table_name_33 (tries_for VARCHAR, points VARCHAR, try_bonus VARCHAR)[/INST]SELECT tries_for FROM table_name_33 WHERE points = "35" AND try_bonus = "1"</s> |
CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR) | SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix" | Which city contains the KPIX station? | <s>[INST]Which city contains the KPIX station? Context: CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR)[/INST]SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix"</s> |
CREATE TABLE table_name_18 (lost INTEGER, drawn INTEGER) | SELECT MIN(lost) FROM table_name_18 WHERE drawn > 1 | What is the lowest lost from drawn of 1 or greater? | <s>[INST]What is the lowest lost from drawn of 1 or greater? Context: CREATE TABLE table_name_18 (lost INTEGER, drawn INTEGER)[/INST]SELECT MIN(lost) FROM table_name_18 WHERE drawn > 1</s> |
CREATE TABLE table_11677100_12 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677100_12 WHERE player = "Jason Place" | What is the hometown of player Jason Place? | <s>[INST]What is the hometown of player Jason Place? Context: CREATE TABLE table_11677100_12 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677100_12 WHERE player = "Jason Place"</s> |
CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR) | SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime" | What is shown on Tuesday when Monday is showing Fox Sports Primetime? | <s>[INST]What is shown on Tuesday when Monday is showing Fox Sports Primetime? Context: CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR)[/INST]SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime"</s> |
CREATE TABLE table_name_53 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_53 WHERE venue = "moorabbin oval" | Moorabbin oval is home to what team? | <s>[INST]Moorabbin oval is home to what team? Context: CREATE TABLE table_name_53 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_53 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_name_39 (pages INTEGER, title VARCHAR) | SELECT MIN(pages) FROM table_name_39 WHERE title = "al-jiniral fi matahatihi" | What's the fewest number of pages for the title al-jiniral fi matahatihi? | <s>[INST]What's the fewest number of pages for the title al-jiniral fi matahatihi? Context: CREATE TABLE table_name_39 (pages INTEGER, title VARCHAR)[/INST]SELECT MIN(pages) FROM table_name_39 WHERE title = "al-jiniral fi matahatihi"</s> |
CREATE TABLE table_name_95 (history VARCHAR, built VARCHAR, name VARCHAR) | SELECT history FROM table_name_95 WHERE built > 1997 AND name = "speedrunner iv (ssc4)" | What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? | <s>[INST]What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? Context: CREATE TABLE table_name_95 (history VARCHAR, built VARCHAR, name VARCHAR)[/INST]SELECT history FROM table_name_95 WHERE built > 1997 AND name = "speedrunner iv (ssc4)"</s> |
CREATE TABLE teaches (id VARCHAR) | SELECT COUNT(DISTINCT id) FROM teaches | How many different instructors have taught some course? | <s>[INST]How many different instructors have taught some course? Context: CREATE TABLE teaches (id VARCHAR)[/INST]SELECT COUNT(DISTINCT id) FROM teaches</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.