context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR) | SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002 | What position had notes of 20km and a year earlier than 2002? | <s>[INST]What position had notes of 20km and a year earlier than 2002? Context: CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002</s> |
CREATE TABLE table_name_41 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_41 WHERE player = "andrew campbell" | What is Nationality, when Player is "Andrew Campbell"? | <s>[INST]What is Nationality, when Player is "Andrew Campbell"? Context: CREATE TABLE table_name_41 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_41 WHERE player = "andrew campbell"</s> |
CREATE TABLE table_24126518_2 (record VARCHAR, week VARCHAR) | SELECT COUNT(record) FROM table_24126518_2 WHERE week = 11 | Name the number of record for week 11 | <s>[INST]Name the number of record for week 11 Context: CREATE TABLE table_24126518_2 (record VARCHAR, week VARCHAR)[/INST]SELECT COUNT(record) FROM table_24126518_2 WHERE week = 11</s> |
CREATE TABLE table_name_1 (geographical_regions VARCHAR, hometown VARCHAR) | SELECT geographical_regions FROM table_name_1 WHERE hometown = "imbert" | What is the geographical region for hometown Imbert? | <s>[INST]What is the geographical region for hometown Imbert? Context: CREATE TABLE table_name_1 (geographical_regions VARCHAR, hometown VARCHAR)[/INST]SELECT geographical_regions FROM table_name_1 WHERE hometown = "imbert"</s> |
CREATE TABLE table_11545282_19 (years_for_jazz VARCHAR, school_club_team VARCHAR) | SELECT years_for_jazz FROM table_11545282_19 WHERE school_club_team = "Iowa State" | What years were the Iowa State school/club team have a jazz club? | <s>[INST]What years were the Iowa State school/club team have a jazz club? Context: CREATE TABLE table_11545282_19 (years_for_jazz VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_jazz FROM table_11545282_19 WHERE school_club_team = "Iowa State"</s> |
CREATE TABLE table_1281200_1 (phase VARCHAR, new_entries_this_round VARCHAR) | SELECT phase FROM table_1281200_1 WHERE new_entries_this_round = "12" | The new entries this round was shown to be 12, in which phase would you find this? | <s>[INST]The new entries this round was shown to be 12, in which phase would you find this? Context: CREATE TABLE table_1281200_1 (phase VARCHAR, new_entries_this_round VARCHAR)[/INST]SELECT phase FROM table_1281200_1 WHERE new_entries_this_round = "12"</s> |
CREATE TABLE table_name_76 (method VARCHAR, res VARCHAR, time VARCHAR) | SELECT method FROM table_name_76 WHERE res = "loss" AND time = "5:00" | What is the method where there is a loss with time 5:00? | <s>[INST]What is the method where there is a loss with time 5:00? Context: CREATE TABLE table_name_76 (method VARCHAR, res VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_76 WHERE res = "loss" AND time = "5:00"</s> |
CREATE TABLE table_name_80 (group_position VARCHAR, result_f_a VARCHAR) | SELECT group_position FROM table_name_80 WHERE result_f_a = "2–0" | Result F–A of 2–0 had what group position? | <s>[INST]Result F–A of 2–0 had what group position? Context: CREATE TABLE table_name_80 (group_position VARCHAR, result_f_a VARCHAR)[/INST]SELECT group_position FROM table_name_80 WHERE result_f_a = "2–0"</s> |
CREATE TABLE table_name_56 (type VARCHAR, group VARCHAR) | SELECT type FROM table_name_56 WHERE group = "animated" | Which type is filed under the Group Animated? | <s>[INST]Which type is filed under the Group Animated? Context: CREATE TABLE table_name_56 (type VARCHAR, group VARCHAR)[/INST]SELECT type FROM table_name_56 WHERE group = "animated"</s> |
CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR) | SELECT SUM(grid) FROM table_name_46 WHERE rider = "shinichi nakatomi" | How many grids did Shinichi Nakatomi ride in? | <s>[INST]How many grids did Shinichi Nakatomi ride in? Context: CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_46 WHERE rider = "shinichi nakatomi"</s> |
CREATE TABLE table_name_81 (week_2 VARCHAR, week_1 VARCHAR) | SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan" | What Week 2 that has a Week 1 of mackenzie ryan? | <s>[INST]What Week 2 that has a Week 1 of mackenzie ryan? Context: CREATE TABLE table_name_81 (week_2 VARCHAR, week_1 VARCHAR)[/INST]SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan"</s> |
CREATE TABLE table_24489942_10 (points VARCHAR, name VARCHAR) | SELECT points FROM table_24489942_10 WHERE name = "Thomas Morgenstern" | Name the points for thomas morgenstern | <s>[INST]Name the points for thomas morgenstern Context: CREATE TABLE table_24489942_10 (points VARCHAR, name VARCHAR)[/INST]SELECT points FROM table_24489942_10 WHERE name = "Thomas Morgenstern"</s> |
CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR) | SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65" | What is the highest number of fai space flights when max mach is 5.65? | <s>[INST]What is the highest number of fai space flights when max mach is 5.65? Context: CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR)[/INST]SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65"</s> |
CREATE TABLE authors (lname VARCHAR) | SELECT lname FROM authors ORDER BY lname | Retrieve all the last names of authors in alphabetical order. | <s>[INST]Retrieve all the last names of authors in alphabetical order. Context: CREATE TABLE authors (lname VARCHAR)[/INST]SELECT lname FROM authors ORDER BY lname</s> |
CREATE TABLE table_name_10 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) | SELECT AVG(long) FROM table_name_10 WHERE loss < 133 AND gain > 0 AND avg_g = 29.8 | What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8? | <s>[INST]What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8? Context: CREATE TABLE table_name_10 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)[/INST]SELECT AVG(long) FROM table_name_10 WHERE loss < 133 AND gain > 0 AND avg_g = 29.8</s> |
CREATE TABLE table_name_18 (club VARCHAR, losing_bonus VARCHAR) | SELECT club FROM table_name_18 WHERE losing_bonus = "1" | Which Club has 1 Losing bonus? | <s>[INST]Which Club has 1 Losing bonus? Context: CREATE TABLE table_name_18 (club VARCHAR, losing_bonus VARCHAR)[/INST]SELECT club FROM table_name_18 WHERE losing_bonus = "1"</s> |
CREATE TABLE table_2454589_1 (first_season_in_the_serie_a VARCHAR, last_title VARCHAR) | SELECT first_season_in_the_serie_a FROM table_2454589_1 WHERE last_title = "2006" | Name the first season in the series for 2006 | <s>[INST]Name the first season in the series for 2006 Context: CREATE TABLE table_2454589_1 (first_season_in_the_serie_a VARCHAR, last_title VARCHAR)[/INST]SELECT first_season_in_the_serie_a FROM table_2454589_1 WHERE last_title = "2006"</s> |
CREATE TABLE table_name_88 (commissioned VARCHAR, builder VARCHAR) | SELECT commissioned FROM table_name_88 WHERE builder = "scotts, greenock" | when was it commissioned when the destroyer was built by scotts, greenock? | <s>[INST]when was it commissioned when the destroyer was built by scotts, greenock? Context: CREATE TABLE table_name_88 (commissioned VARCHAR, builder VARCHAR)[/INST]SELECT commissioned FROM table_name_88 WHERE builder = "scotts, greenock"</s> |
CREATE TABLE table_16028499_2 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_16028499_2 WHERE opponent = "New York Jets" | What date did the team play the New York Jets? | <s>[INST]What date did the team play the New York Jets? Context: CREATE TABLE table_16028499_2 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_16028499_2 WHERE opponent = "New York Jets"</s> |
CREATE TABLE table_134987_3 (name VARCHAR, city_of_license VARCHAR, format VARCHAR) | SELECT name FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Adult Contemporary" | What is the name of Rapid City's Adult Contemporary station? | <s>[INST]What is the name of Rapid City's Adult Contemporary station? Context: CREATE TABLE table_134987_3 (name VARCHAR, city_of_license VARCHAR, format VARCHAR)[/INST]SELECT name FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Adult Contemporary"</s> |
CREATE TABLE table_name_60 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_60 WHERE laps < 9 AND grid = 13 | Name the driver for Laps less than 9 and a grid of 13 | <s>[INST]Name the driver for Laps less than 9 and a grid of 13 Context: CREATE TABLE table_name_60 (driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_60 WHERE laps < 9 AND grid = 13</s> |
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_52 WHERE date = "august 24, 1997" | what is the result when the date is august 24, 1997? | <s>[INST]what is the result when the date is august 24, 1997? Context: CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_52 WHERE date = "august 24, 1997"</s> |
CREATE TABLE table_name_62 (average INTEGER, interview VARCHAR, evening_gown VARCHAR) | SELECT SUM(average) FROM table_name_62 WHERE interview = 8.75 AND evening_gown > 8.75 | What is the total number of averages with an interview of 8.75 when the evening gown number was bigger than 8.75? | <s>[INST]What is the total number of averages with an interview of 8.75 when the evening gown number was bigger than 8.75? Context: CREATE TABLE table_name_62 (average INTEGER, interview VARCHAR, evening_gown VARCHAR)[/INST]SELECT SUM(average) FROM table_name_62 WHERE interview = 8.75 AND evening_gown > 8.75</s> |
CREATE TABLE table_20403667_2 (village INTEGER, house_affected VARCHAR) | SELECT MAX(village) FROM table_20403667_2 WHERE house_affected = 103279 | What is the largest village that had 103279 houses affected? | <s>[INST]What is the largest village that had 103279 houses affected? Context: CREATE TABLE table_20403667_2 (village INTEGER, house_affected VARCHAR)[/INST]SELECT MAX(village) FROM table_20403667_2 WHERE house_affected = 103279</s> |
CREATE TABLE table_name_23 (grand_prix VARCHAR, pole_position VARCHAR) | SELECT grand_prix FROM table_name_23 WHERE pole_position = "kimi räikkönen" | Name the Grand Prix for pole position of kimi räikkönen | <s>[INST]Name the Grand Prix for pole position of kimi räikkönen Context: CREATE TABLE table_name_23 (grand_prix VARCHAR, pole_position VARCHAR)[/INST]SELECT grand_prix FROM table_name_23 WHERE pole_position = "kimi räikkönen"</s> |
CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR) | SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha" | If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria? | <s>[INST]If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria? Context: CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha"</s> |
CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR) | SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10 | what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? | <s>[INST]what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? Context: CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR)[/INST]SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND s... |
CREATE TABLE table_25531112_2 (rd VARCHAR, circuit VARCHAR) | SELECT rd FROM table_25531112_2 WHERE circuit = "Eastern Creek Raceway" | In what round was the circuit Eastern Creek Raceway? | <s>[INST]In what round was the circuit Eastern Creek Raceway? Context: CREATE TABLE table_25531112_2 (rd VARCHAR, circuit VARCHAR)[/INST]SELECT rd FROM table_25531112_2 WHERE circuit = "Eastern Creek Raceway"</s> |
CREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR) | SELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = "Alexander Vinokourov" | IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION? | <s>[INST]IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION? Context: CREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR)[/INST]SELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = "Alexander Vinokourov"</s> |
CREATE TABLE table_2818164_5 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT no_in_series FROM table_2818164_5 WHERE no_in_season = "17" | What episode number in the series is also number 17 in the season? | <s>[INST]What episode number in the series is also number 17 in the season? Context: CREATE TABLE table_2818164_5 (no_in_series VARCHAR, no_in_season VARCHAR)[/INST]SELECT no_in_series FROM table_2818164_5 WHERE no_in_season = "17"</s> |
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond" | What was the home team's score at the game where Richmond was the away team? | <s>[INST]What was the home team's score at the game where Richmond was the away team? Context: CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_23 (rating VARCHAR, event VARCHAR) | SELECT rating FROM table_name_23 WHERE event = "johnson vs. dodson" | What is Rating, when Event is Johnson Vs. Dodson? | <s>[INST]What is Rating, when Event is Johnson Vs. Dodson? Context: CREATE TABLE table_name_23 (rating VARCHAR, event VARCHAR)[/INST]SELECT rating FROM table_name_23 WHERE event = "johnson vs. dodson"</s> |
CREATE TABLE table_name_56 (year VARCHAR, league VARCHAR, playoffs VARCHAR) | SELECT year FROM table_name_56 WHERE league = "usl a-league" AND playoffs = "conference finals" | when did the usl a-league have conference finals? | <s>[INST]when did the usl a-league have conference finals? Context: CREATE TABLE table_name_56 (year VARCHAR, league VARCHAR, playoffs VARCHAR)[/INST]SELECT year FROM table_name_56 WHERE league = "usl a-league" AND playoffs = "conference finals"</s> |
CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR) | SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno" | How many english titles were directed by carlos moreno? | <s>[INST]How many english titles were directed by carlos moreno? Context: CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR)[/INST]SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno"</s> |
CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR) | SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd" | Elected smaller than 2001, and a District of 83rd has what status? | <s>[INST]Elected smaller than 2001, and a District of 83rd has what status? Context: CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR)[/INST]SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd"</s> |
CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR) | SELECT away FROM table_name_48 WHERE round = "round 16" | What was the visiting team that played a round 16 game? | <s>[INST]What was the visiting team that played a round 16 game? Context: CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR)[/INST]SELECT away FROM table_name_48 WHERE round = "round 16"</s> |
CREATE TABLE table_name_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR) | SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million" | Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 | <s>[INST]Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 Context: CREATE TABLE table_name_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million"</s> |
CREATE TABLE table_name_82 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_82 WHERE away_team = "rosso kumamoto" | What is the attendance of the match with rosso kumamoto as the away team? | <s>[INST]What is the attendance of the match with rosso kumamoto as the away team? Context: CREATE TABLE table_name_82 (attendance VARCHAR, away_team VARCHAR)[/INST]SELECT attendance FROM table_name_82 WHERE away_team = "rosso kumamoto"</s> |
CREATE TABLE table_name_35 (Id VARCHAR) | SELECT 2010 FROM table_name_35 WHERE 2009 = "270" | What is the 2010 entry for the row that has a 2009 entry of 270? | <s>[INST]What is the 2010 entry for the row that has a 2009 entry of 270? Context: CREATE TABLE table_name_35 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_35 WHERE 2009 = "270"</s> |
CREATE TABLE table_18461045_1 (michigan VARCHAR, indiana VARCHAR) | SELECT michigan FROM table_18461045_1 WHERE indiana = "Terre Haute North LL Terre Haute" | What was the little league team from Michigan when the little league team from Indiana was Terre Haute North LL Terre Haute? | <s>[INST]What was the little league team from Michigan when the little league team from Indiana was Terre Haute North LL Terre Haute? Context: CREATE TABLE table_18461045_1 (michigan VARCHAR, indiana VARCHAR)[/INST]SELECT michigan FROM table_18461045_1 WHERE indiana = "Terre Haute North LL Terre Haute"</s> |
CREATE TABLE table_name_62 (rating___percentage_ INTEGER, owner VARCHAR, position VARCHAR) | SELECT SUM(rating___percentage_) FROM table_name_62 WHERE owner = "cctv" AND position > 7 | Name the sum of rating % for cctv and position more than 7 | <s>[INST]Name the sum of rating % for cctv and position more than 7 Context: CREATE TABLE table_name_62 (rating___percentage_ INTEGER, owner VARCHAR, position VARCHAR)[/INST]SELECT SUM(rating___percentage_) FROM table_name_62 WHERE owner = "cctv" AND position > 7</s> |
CREATE TABLE table_name_57 (distance VARCHAR, athlete VARCHAR) | SELECT distance FROM table_name_57 WHERE athlete = "irving saladino" | What is Distance, when Athlete is "Irving Saladino"? | <s>[INST]What is Distance, when Athlete is "Irving Saladino"? Context: CREATE TABLE table_name_57 (distance VARCHAR, athlete VARCHAR)[/INST]SELECT distance FROM table_name_57 WHERE athlete = "irving saladino"</s> |
CREATE TABLE table_name_51 (driver VARCHAR, laps VARCHAR, constructor VARCHAR) | SELECT driver FROM table_name_51 WHERE laps > 35 AND constructor = "ferrari" | who is the driver that has laps more than 35 and the constructor is ferrari? | <s>[INST]who is the driver that has laps more than 35 and the constructor is ferrari? Context: CREATE TABLE table_name_51 (driver VARCHAR, laps VARCHAR, constructor VARCHAR)[/INST]SELECT driver FROM table_name_51 WHERE laps > 35 AND constructor = "ferrari"</s> |
CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR) | SELECT total FROM table_name_88 WHERE rank = "did not participate" | What is the total of the ranks that did not participate? | <s>[INST]What is the total of the ranks that did not participate? Context: CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)[/INST]SELECT total FROM table_name_88 WHERE rank = "did not participate"</s> |
CREATE TABLE table_name_18 (singular_word VARCHAR, singular_abbreviation VARCHAR) | SELECT singular_word FROM table_name_18 WHERE singular_abbreviation = "p." | A singular abbreviation of p. is used for what singular word? | <s>[INST]A singular abbreviation of p. is used for what singular word? Context: CREATE TABLE table_name_18 (singular_word VARCHAR, singular_abbreviation VARCHAR)[/INST]SELECT singular_word FROM table_name_18 WHERE singular_abbreviation = "p."</s> |
CREATE TABLE table_name_7 (result INTEGER, name VARCHAR, reaction_time VARCHAR) | SELECT MAX(result) FROM table_name_7 WHERE name = "wallace spearmon" AND reaction_time > 0.167 | What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167? | <s>[INST]What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167? Context: CREATE TABLE table_name_7 (result INTEGER, name VARCHAR, reaction_time VARCHAR)[/INST]SELECT MAX(result) FROM table_name_7 WHERE name = "wallace spearmon" AND reaction_time > 0.167</s> |
CREATE TABLE table_20760802_1 (played VARCHAR, won VARCHAR) | SELECT played FROM table_20760802_1 WHERE won = "0" | How many teams that played won 0 games? | <s>[INST]How many teams that played won 0 games? Context: CREATE TABLE table_20760802_1 (played VARCHAR, won VARCHAR)[/INST]SELECT played FROM table_20760802_1 WHERE won = "0"</s> |
CREATE TABLE table_name_98 (attendance INTEGER, score VARCHAR) | SELECT AVG(attendance) FROM table_name_98 WHERE score = "0:0 - 4:1 (pen)" | How many Attendance in a match which scores 0:0 - 4:1 (pen) | <s>[INST]How many Attendance in a match which scores 0:0 - 4:1 (pen) Context: CREATE TABLE table_name_98 (attendance INTEGER, score VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_98 WHERE score = "0:0 - 4:1 (pen)"</s> |
CREATE TABLE table_name_46 (distance VARCHAR, time VARCHAR) | SELECT distance FROM table_name_46 WHERE time = "men's speed skating" | Which Distance has a Time of men's speed skating? | <s>[INST]Which Distance has a Time of men's speed skating? Context: CREATE TABLE table_name_46 (distance VARCHAR, time VARCHAR)[/INST]SELECT distance FROM table_name_46 WHERE time = "men's speed skating"</s> |
CREATE TABLE table_180802_3 (planet VARCHAR, transcription VARCHAR) | SELECT planet FROM table_180802_3 WHERE transcription = "wan suk" | Which planet has the transcription of wan suk? | <s>[INST]Which planet has the transcription of wan suk? Context: CREATE TABLE table_180802_3 (planet VARCHAR, transcription VARCHAR)[/INST]SELECT planet FROM table_180802_3 WHERE transcription = "wan suk"</s> |
CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) | SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street" | During what years did the tallest building, located at 211 Union Street, have less than 31 floors? | <s>[INST]During what years did the tallest building, located at 211 Union Street, have less than 31 floors? Context: CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)[/INST]SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street"</s... |
CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR) | SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150" | List the maximum speed for the 1.150 ton ships? | <s>[INST]List the maximum speed for the 1.150 ton ships? Context: CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR)[/INST]SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150"</s> |
CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_65 WHERE venue = "junction oval" | At Junction Oval, what is the sum of the crowd? | <s>[INST]At Junction Oval, what is the sum of the crowd? Context: CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_65 WHERE venue = "junction oval"</s> |
CREATE TABLE table_2181798_1 (year VARCHAR, team_s_ VARCHAR) | SELECT year FROM table_2181798_1 WHERE team_s_ = "Donlavey Racing Bill Davis Racing" | Name the year for donlavey racing bill davis racing | <s>[INST]Name the year for donlavey racing bill davis racing Context: CREATE TABLE table_2181798_1 (year VARCHAR, team_s_ VARCHAR)[/INST]SELECT year FROM table_2181798_1 WHERE team_s_ = "Donlavey Racing Bill Davis Racing"</s> |
CREATE TABLE table_name_2 (seasons VARCHAR, coach VARCHAR) | SELECT COUNT(seasons) FROM table_name_2 WHERE coach = "pat chambers" | How many seasons did Pat Chambers coach? | <s>[INST]How many seasons did Pat Chambers coach? Context: CREATE TABLE table_name_2 (seasons VARCHAR, coach VARCHAR)[/INST]SELECT COUNT(seasons) FROM table_name_2 WHERE coach = "pat chambers"</s> |
CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_59 WHERE opponent = "tampa bay buccaneers" | Who one in the Tampa Bay Buccaneers? | <s>[INST]Who one in the Tampa Bay Buccaneers? Context: CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_59 WHERE opponent = "tampa bay buccaneers"</s> |
CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd" | Which label is in a limited edition cd/dvd format? | <s>[INST]Which label is in a limited edition cd/dvd format? Context: CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR)[/INST]SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd"</s> |
CREATE TABLE table_name_28 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_name_28 WHERE date = "apr 8, 1979" | What was the margin of victory on Apr 8, 1979? | <s>[INST]What was the margin of victory on Apr 8, 1979? Context: CREATE TABLE table_name_28 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_28 WHERE date = "apr 8, 1979"</s> |
CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR) | SELECT studio FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333" | Who creates the catalog with the number "cal03 / 0091037137333"? | <s>[INST]Who creates the catalog with the number "cal03 / 0091037137333"? Context: CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR)[/INST]SELECT studio FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333"</s> |
CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR) | SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all" | Who used the Honda Engine for all the races? | <s>[INST]Who used the Honda Engine for all the races? Context: CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR)[/INST]SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all"</s> |
CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR) | SELECT name FROM table_name_97 WHERE score = "6–3, 6–3" | What is the name with a Score of 6–3, 6–3? | <s>[INST]What is the name with a Score of 6–3, 6–3? Context: CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR)[/INST]SELECT name FROM table_name_97 WHERE score = "6–3, 6–3"</s> |
CREATE TABLE table_name_43 (release_date VARCHAR, socket VARCHAR, voltage VARCHAR, mult VARCHAR) | SELECT release_date FROM table_name_43 WHERE voltage = "1.65–1.7 v" AND mult = "4.5×" AND socket = "slot 1" | When was the microprocessor with 1.65–1.7 v, a mult of 4.5×, and a slot 1 socket released? | <s>[INST]When was the microprocessor with 1.65–1.7 v, a mult of 4.5×, and a slot 1 socket released? Context: CREATE TABLE table_name_43 (release_date VARCHAR, socket VARCHAR, voltage VARCHAR, mult VARCHAR)[/INST]SELECT release_date FROM table_name_43 WHERE voltage = "1.65–1.7 v" AND mult = "4.5×" AND socket = "slot 1"<... |
CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres" | Which junior team is associated with an NHL pick by the Buffalo Sabres? | <s>[INST]Which junior team is associated with an NHL pick by the Buffalo Sabres? Context: CREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres"</s> |
CREATE TABLE table_17596418_5 (age VARCHAR, started VARCHAR) | SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November" | what ist he total number of ages where the start date is 6 november? | <s>[INST]what ist he total number of ages where the start date is 6 november? Context: CREATE TABLE table_17596418_5 (age VARCHAR, started VARCHAR)[/INST]SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November"</s> |
CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR) | SELECT COUNT(san_jose_wins) FROM table_name_43 WHERE la_goals > 6 AND la_wins < 21 | How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21? | <s>[INST]How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21? Context: CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR)[/INST]SELECT COUNT(san_jose_wins) FROM table_name_43 WHERE la_goals > 6 AND la_wins < 21</s> |
CREATE TABLE table_name_86 (to_par VARCHAR, year_s__won VARCHAR) | SELECT COUNT(to_par) FROM table_name_86 WHERE year_s__won = "1993" | How many to pars were won in 1993? | <s>[INST]How many to pars were won in 1993? Context: CREATE TABLE table_name_86 (to_par VARCHAR, year_s__won VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_86 WHERE year_s__won = "1993"</s> |
CREATE TABLE song (languages VARCHAR) | SELECT languages FROM song GROUP BY languages ORDER BY COUNT(*) DESC LIMIT 1 | What is the language used most often in the songs? | <s>[INST]What is the language used most often in the songs? Context: CREATE TABLE song (languages VARCHAR)[/INST]SELECT languages FROM song GROUP BY languages ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR) | SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma" | Which stadium has Seongnam Ilhwa Chunma? | <s>[INST]Which stadium has Seongnam Ilhwa Chunma? Context: CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)[/INST]SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma"</s> |
CREATE TABLE table_150343_3 (total VARCHAR, country_territory VARCHAR) | SELECT total FROM table_150343_3 WHERE country_territory = "Venezuela" | What is Venezuela's total rank? | <s>[INST]What is Venezuela's total rank? Context: CREATE TABLE table_150343_3 (total VARCHAR, country_territory VARCHAR)[/INST]SELECT total FROM table_150343_3 WHERE country_territory = "Venezuela"</s> |
CREATE TABLE table_name_64 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_64 WHERE character = "rachel mckenna" | who is the actor that played rachel mckenna? | <s>[INST]who is the actor that played rachel mckenna? Context: CREATE TABLE table_name_64 (actor VARCHAR, character VARCHAR)[/INST]SELECT actor FROM table_name_64 WHERE character = "rachel mckenna"</s> |
CREATE TABLE table_name_53 (round VARCHAR, pick__number VARCHAR) | SELECT round FROM table_name_53 WHERE pick__number = 12 | In what Round was Pick #12 drafted? | <s>[INST]In what Round was Pick #12 drafted? Context: CREATE TABLE table_name_53 (round VARCHAR, pick__number VARCHAR)[/INST]SELECT round FROM table_name_53 WHERE pick__number = 12</s> |
CREATE TABLE table_1341663_19 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341663_19 | What year was the earliest first elected? | <s>[INST]What year was the earliest first elected? Context: CREATE TABLE table_1341663_19 (first_elected INTEGER)[/INST]SELECT MIN(first_elected) FROM table_1341663_19</s> |
CREATE TABLE table_name_6 (rebounds INTEGER, name VARCHAR, games VARCHAR) | SELECT SUM(rebounds) FROM table_name_6 WHERE name = "novica veličković" AND games < 22 | How many Rebounds did Novica Veličković get in less than 22 Games? | <s>[INST]How many Rebounds did Novica Veličković get in less than 22 Games? Context: CREATE TABLE table_name_6 (rebounds INTEGER, name VARCHAR, games VARCHAR)[/INST]SELECT SUM(rebounds) FROM table_name_6 WHERE name = "novica veličković" AND games < 22</s> |
CREATE TABLE table_name_87 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_87 WHERE date = "december 19, 1999" | What team was the opponent for the game played on December 19, 1999? | <s>[INST]What team was the opponent for the game played on December 19, 1999? Context: CREATE TABLE table_name_87 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_87 WHERE date = "december 19, 1999"</s> |
CREATE TABLE table_name_77 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT MAX(events) FROM table_name_77 WHERE tournament = "masters tournament" AND top_25 < 4 | What is the largest number of events with the Masters Tournament and less than 4 in the top-25? | <s>[INST]What is the largest number of events with the Masters Tournament and less than 4 in the top-25? Context: CREATE TABLE table_name_77 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(events) FROM table_name_77 WHERE tournament = "masters tournament" AND top_25 < 4</s> |
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_77 WHERE record = "18-20" | What was the score of the game when the record was 18-20? | <s>[INST]What was the score of the game when the record was 18-20? Context: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_77 WHERE record = "18-20"</s> |
CREATE TABLE table_19908313_2 (primary_sponsor_s_ VARCHAR, crew_chief VARCHAR) | SELECT primary_sponsor_s_ FROM table_19908313_2 WHERE crew_chief = "Rick Ren" | Who is the primary sponsor for crew cheif Rick Ren's team? | <s>[INST]Who is the primary sponsor for crew cheif Rick Ren's team? Context: CREATE TABLE table_19908313_2 (primary_sponsor_s_ VARCHAR, crew_chief VARCHAR)[/INST]SELECT primary_sponsor_s_ FROM table_19908313_2 WHERE crew_chief = "Rick Ren"</s> |
CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR) | SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds" | What percentage of the votes did McCain get in Hinds? | <s>[INST]What percentage of the votes did McCain get in Hinds? Context: CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)[/INST]SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds"</s> |
CREATE TABLE table_1104312_5 (original_name VARCHAR, english_name VARCHAR) | SELECT original_name FROM table_1104312_5 WHERE english_name = "South Bogor" | What is the original name of the district with the current English name of South Bogor? | <s>[INST]What is the original name of the district with the current English name of South Bogor? Context: CREATE TABLE table_1104312_5 (original_name VARCHAR, english_name VARCHAR)[/INST]SELECT original_name FROM table_1104312_5 WHERE english_name = "South Bogor"</s> |
CREATE TABLE table_29615165_5 (_percentage_40_59_years VARCHAR, quartier VARCHAR) | SELECT _percentage_40_59_years FROM table_29615165_5 WHERE quartier = "Menpenti" | the quartier menpenti has how many 40-59 year olds? | <s>[INST]the quartier menpenti has how many 40-59 year olds? Context: CREATE TABLE table_29615165_5 (_percentage_40_59_years VARCHAR, quartier VARCHAR)[/INST]SELECT _percentage_40_59_years FROM table_29615165_5 WHERE quartier = "Menpenti"</s> |
CREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR) | SELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = "2010–present" AND name = "toni atkins" | Which Years in Senate has a Years in Assembly of 2010–present, and toni atkins? | <s>[INST]Which Years in Senate has a Years in Assembly of 2010–present, and toni atkins? Context: CREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR)[/INST]SELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = "2010–present" AND name = "toni atkins"</s> |
CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR); CREATE TABLE Behavior_Incident (incident_type_code VARCHAR) | SELECT T1.incident_type_code, T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code = T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY COUNT(*) DESC LIMIT 1 | What are the code and description of the most frequent behavior incident type? | <s>[INST]What are the code and description of the most frequent behavior incident type? Context: CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR); CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)[/INST]SELECT T1.incident_type_code, T2.incident_type_description FR... |
CREATE TABLE table_name_52 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR) | SELECT MIN(wins) FROM table_name_52 WHERE top_25 > 5 AND cuts_made > 38 | What is the smallest number of wins for a top-25 value greater than 5 and more than 38 cuts? | <s>[INST]What is the smallest number of wins for a top-25 value greater than 5 and more than 38 cuts? Context: CREATE TABLE table_name_52 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_52 WHERE top_25 > 5 AND cuts_made > 38</s> |
CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR) | SELECT MIN(runs) FROM table_27922491_11 WHERE average = "97.00" | How few runs does the 97.00 average have? | <s>[INST]How few runs does the 97.00 average have? Context: CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR)[/INST]SELECT MIN(runs) FROM table_27922491_11 WHERE average = "97.00"</s> |
CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR) | SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold" | When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate? | <s>[INST]When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate? Context: CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR)[/INST]SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold"</s> |
CREATE TABLE table_1971074_1 (joined VARCHAR, location VARCHAR) | SELECT COUNT(joined) FROM table_1971074_1 WHERE location = "Logan Township, Pennsylvania" | In how many different years did schools located in Logan Township, Pennsylvania join the Conference? | <s>[INST]In how many different years did schools located in Logan Township, Pennsylvania join the Conference? Context: CREATE TABLE table_1971074_1 (joined VARCHAR, location VARCHAR)[/INST]SELECT COUNT(joined) FROM table_1971074_1 WHERE location = "Logan Township, Pennsylvania"</s> |
CREATE TABLE table_1307842_7 (area__km²_ VARCHAR, population VARCHAR) | SELECT COUNT(area__km²_) FROM table_1307842_7 WHERE population = 775927 | Name the total number of area for 775927 population | <s>[INST]Name the total number of area for 775927 population Context: CREATE TABLE table_1307842_7 (area__km²_ VARCHAR, population VARCHAR)[/INST]SELECT COUNT(area__km²_) FROM table_1307842_7 WHERE population = 775927</s> |
CREATE TABLE table_name_8 (party VARCHAR, name VARCHAR) | SELECT party FROM table_name_8 WHERE name = "oudom khattigna" | What is Party, when Name is Oudom Khattigna? | <s>[INST]What is Party, when Name is Oudom Khattigna? Context: CREATE TABLE table_name_8 (party VARCHAR, name VARCHAR)[/INST]SELECT party FROM table_name_8 WHERE name = "oudom khattigna"</s> |
CREATE TABLE table_name_15 (sets_lost VARCHAR, sets_won INTEGER) | SELECT COUNT(sets_lost) FROM table_name_15 WHERE sets_won < 0 | How many sets lost have a sets won less than 0? | <s>[INST]How many sets lost have a sets won less than 0? Context: CREATE TABLE table_name_15 (sets_lost VARCHAR, sets_won INTEGER)[/INST]SELECT COUNT(sets_lost) FROM table_name_15 WHERE sets_won < 0</s> |
CREATE TABLE table_name_4 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR) | SELECT years FROM table_name_4 WHERE jersey_number_s_ = 33 AND position = "pf" | What years did the player with the jersey number 33 and played position pf play? | <s>[INST]What years did the player with the jersey number 33 and played position pf play? Context: CREATE TABLE table_name_4 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR)[/INST]SELECT years FROM table_name_4 WHERE jersey_number_s_ = 33 AND position = "pf"</s> |
CREATE TABLE table_name_74 (notes VARCHAR, method VARCHAR) | SELECT notes FROM table_name_74 WHERE method = "decision" | What are the Notes when the Method is decision? | <s>[INST]What are the Notes when the Method is decision? Context: CREATE TABLE table_name_74 (notes VARCHAR, method VARCHAR)[/INST]SELECT notes FROM table_name_74 WHERE method = "decision"</s> |
CREATE TABLE table_16099880_5 (winning_driver VARCHAR, race VARCHAR) | SELECT COUNT(winning_driver) FROM table_16099880_5 WHERE race = "Chicagoland" | In what position did the winning driver finish at Chicagoland? | <s>[INST]In what position did the winning driver finish at Chicagoland? Context: CREATE TABLE table_16099880_5 (winning_driver VARCHAR, race VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_16099880_5 WHERE race = "Chicagoland"</s> |
CREATE TABLE table_name_22 (competition VARCHAR, goal VARCHAR) | SELECT competition FROM table_name_22 WHERE goal = 6 | How was the competition in which 6 goals were made? | <s>[INST]How was the competition in which 6 goals were made? Context: CREATE TABLE table_name_22 (competition VARCHAR, goal VARCHAR)[/INST]SELECT competition FROM table_name_22 WHERE goal = 6</s> |
CREATE TABLE table_name_5 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_5 WHERE away_team = "footscray" | What was the date when Footscray was the away team? | <s>[INST]What was the date when Footscray was the away team? Context: CREATE TABLE table_name_5 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_5 WHERE away_team = "footscray"</s> |
CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR) | SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Pilot" | Name the rank on channel for pilot | <s>[INST]Name the rank on channel for pilot Context: CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR)[/INST]SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Pilot"</s> |
CREATE TABLE table_name_46 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = "+1:17.124" | Which Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124? | <s>[INST]Which Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124? Context: CREATE TABLE table_name_46 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = "+1:17.124"</s> |
CREATE TABLE table_name_61 (engine VARCHAR, power VARCHAR) | SELECT engine FROM table_name_61 WHERE power = "48kw (65 ps) @ 5600 rpm" | Which engine had a 48kw (65 ps) @ 5600 rpm power? | <s>[INST]Which engine had a 48kw (65 ps) @ 5600 rpm power? Context: CREATE TABLE table_name_61 (engine VARCHAR, power VARCHAR)[/INST]SELECT engine FROM table_name_61 WHERE power = "48kw (65 ps) @ 5600 rpm"</s> |
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_18 WHERE home_team = "geelong" | What is the score of the away team that played home team Geelong? | <s>[INST]What is the score of the away team that played home team Geelong? Context: CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_18 WHERE home_team = "geelong"</s> |
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR) | SELECT COUNT(_percentage_of_all_immigrants_2007) FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2005 = "1.2%" | How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005? | <s>[INST]How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005? Context: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR)[/INST]SELECT COUNT(_percentage_of_all_imm... |
CREATE TABLE table_name_98 (draws INTEGER, wins VARCHAR, against VARCHAR) | SELECT MIN(draws) FROM table_name_98 WHERE wins < 15 AND against = 1228 | What's the lowest number of draws when the wins are less than 15, and against is 1228? | <s>[INST]What's the lowest number of draws when the wins are less than 15, and against is 1228? Context: CREATE TABLE table_name_98 (draws INTEGER, wins VARCHAR, against VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_98 WHERE wins < 15 AND against = 1228</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.