context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER) | SELECT character FROM table_name_91 WHERE episodes > 22 | What character is in over 22 episodes? | <s>[INST]What character is in over 22 episodes? Context: CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER)[/INST]SELECT character FROM table_name_91 WHERE episodes > 22</s> |
CREATE TABLE table_name_16 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR) | SELECT COUNT(area_km_2) FROM table_name_16 WHERE census_ranking = "1,871 of 5,008" AND population > 1 OFFSET 172 | What is the area of the parish with a population larger than 1,172 and a census ranking of 1,871 of 5,008? | <s>[INST]What is the area of the parish with a population larger than 1,172 and a census ranking of 1,871 of 5,008? Context: CREATE TABLE table_name_16 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)[/INST]SELECT COUNT(area_km_2) FROM table_name_16 WHERE census_ranking = "1,871 of 5,008" AND population ... |
CREATE TABLE table_name_65 (grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | SELECT grid FROM table_name_65 WHERE manufacturer = "yamaha" AND time_retired = "+19.435" | What is the grid with a yamaha manufacturer and a +19.435 time/retired? | <s>[INST]What is the grid with a yamaha manufacturer and a +19.435 time/retired? Context: CREATE TABLE table_name_65 (grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT grid FROM table_name_65 WHERE manufacturer = "yamaha" AND time_retired = "+19.435"</s> |
CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_10 WHERE game = "73" | Who was the opponent for game 73? | <s>[INST]Who was the opponent for game 73? Context: CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_10 WHERE game = "73"</s> |
CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER) | SELECT chassis FROM table_name_94 WHERE year > 1981 | What was the chassis of Emilio de Villota in 1981? | <s>[INST]What was the chassis of Emilio de Villota in 1981? Context: CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER)[/INST]SELECT chassis FROM table_name_94 WHERE year > 1981</s> |
CREATE TABLE table_name_65 (year_joined VARCHAR, _number___county VARCHAR) | SELECT year_joined FROM table_name_65 WHERE _number___county = "09 cass" | what is the correct year for # / county of 09 cass? | <s>[INST]what is the correct year for # / county of 09 cass? Context: CREATE TABLE table_name_65 (year_joined VARCHAR, _number___county VARCHAR)[/INST]SELECT year_joined FROM table_name_65 WHERE _number___county = "09 cass"</s> |
CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) | SELECT fastest_lap FROM table_25322130_3 WHERE winning_team = "Piquet Sports" AND circuit = "Silverstone" | Name the fastest lap for piquet sports and silverstone | <s>[INST]Name the fastest lap for piquet sports and silverstone Context: CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)[/INST]SELECT fastest_lap FROM table_25322130_3 WHERE winning_team = "Piquet Sports" AND circuit = "Silverstone"</s> |
CREATE TABLE table_name_21 (draws VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT COUNT(draws) FROM table_name_21 WHERE losses < 4 AND wins < 16 | For the teams that had fewer than 4 Losses, and less than 16 Wins, what was the total number of Draws? | <s>[INST]For the teams that had fewer than 4 Losses, and less than 16 Wins, what was the total number of Draws? Context: CREATE TABLE table_name_21 (draws VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_21 WHERE losses < 4 AND wins < 16</s> |
CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR) | SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE export_volume_of_goods_and_services__percent_change_ = "-4.2" | What is the current account balance for an export volume of goods and service value of -4.2? | <s>[INST]What is the current account balance for an export volume of goods and service value of -4.2? Context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR)[/INST]SELECT current_account_balance__percent_of_gdp_ FROM table_3013... |
CREATE TABLE candidate (Support_rate VARCHAR, Consider_rate VARCHAR, Oppose_rate VARCHAR, unsure_rate VARCHAR) | SELECT Support_rate, Consider_rate, Oppose_rate FROM candidate ORDER BY unsure_rate | Please list support, consider, and oppose rates for each candidate in ascending order by unsure rate. | <s>[INST]Please list support, consider, and oppose rates for each candidate in ascending order by unsure rate. Context: CREATE TABLE candidate (Support_rate VARCHAR, Consider_rate VARCHAR, Oppose_rate VARCHAR, unsure_rate VARCHAR)[/INST]SELECT Support_rate, Consider_rate, Oppose_rate FROM candidate ORDER BY unsure_rate... |
CREATE TABLE table_name_94 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_94 WHERE player = "mario kasun" | What position does Mario Kasun play? | <s>[INST]What position does Mario Kasun play? Context: CREATE TABLE table_name_94 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_94 WHERE player = "mario kasun"</s> |
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_88 WHERE date = "april 12" | What is the score on April 12? | <s>[INST]What is the score on April 12? Context: CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_88 WHERE date = "april 12"</s> |
CREATE TABLE table_1342218_24 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1342218_24 WHERE incumbent = "Thomas Abernethy" | How many people on this list are named thomas abernethy? | <s>[INST]How many people on this list are named thomas abernethy? Context: CREATE TABLE table_1342218_24 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1342218_24 WHERE incumbent = "Thomas Abernethy"</s> |
CREATE TABLE table_name_38 (length_overall VARCHAR, designation VARCHAR) | SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko" | What is the overall length with a designation of s-8ko? | <s>[INST]What is the overall length with a designation of s-8ko? Context: CREATE TABLE table_name_38 (length_overall VARCHAR, designation VARCHAR)[/INST]SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko"</s> |
CREATE TABLE table_name_45 (money___ INTEGER, country VARCHAR, player VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_45 WHERE country = "united states" AND player = "kirk triplett" | what is the least money ($) when the country is united states and the player is kirk triplett? | <s>[INST]what is the least money ($) when the country is united states and the player is kirk triplett? Context: CREATE TABLE table_name_45 (money___ INTEGER, country VARCHAR, player VARCHAR)[/INST]SELECT MIN(money___) AS $__ FROM table_name_45 WHERE country = "united states" AND player = "kirk triplett"</s> |
CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_4 WHERE score = 74 - 68 - 71 = 213 | Name the player with score of 74-68-71=213 | <s>[INST]Name the player with score of 74-68-71=213 Context: CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_4 WHERE score = 74 - 68 - 71 = 213</s> |
CREATE TABLE table_name_91 (nationality VARCHAR, ship VARCHAR) | SELECT nationality FROM table_name_91 WHERE ship = "toward" | What was the nationality of the ship named Toward? | <s>[INST]What was the nationality of the ship named Toward? Context: CREATE TABLE table_name_91 (nationality VARCHAR, ship VARCHAR)[/INST]SELECT nationality FROM table_name_91 WHERE ship = "toward"</s> |
CREATE TABLE table_12834315_5 (name VARCHAR, barrel_profile VARCHAR) | SELECT name FROM table_12834315_5 WHERE barrel_profile = "A2" | What models have an a2 barrel profile? | <s>[INST]What models have an a2 barrel profile? Context: CREATE TABLE table_12834315_5 (name VARCHAR, barrel_profile VARCHAR)[/INST]SELECT name FROM table_12834315_5 WHERE barrel_profile = "A2"</s> |
CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR) | SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = "River Ness" | When river ness is the hr name how many builts are there? | <s>[INST]When river ness is the hr name how many builts are there? Context: CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR)[/INST]SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = "River Ness"</s> |
CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_48 WHERE home_team = "richmond" | What was the score for the opponent against Richmond? | <s>[INST]What was the score for the opponent against Richmond? Context: CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_48 WHERE home_team = "richmond"</s> |
CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_16441561_5 WHERE player = "Jeff Brown" | How many players named Jeff Brown were drafted | <s>[INST]How many players named Jeff Brown were drafted Context: CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(position) FROM table_16441561_5 WHERE player = "Jeff Brown"</s> |
CREATE TABLE table_name_16 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_name_16 WHERE visiting_team = "pittsburgh steelers" | Tell me the date for pittsburgh steelers | <s>[INST]Tell me the date for pittsburgh steelers Context: CREATE TABLE table_name_16 (date VARCHAR, visiting_team VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE visiting_team = "pittsburgh steelers"</s> |
CREATE TABLE table_name_30 (quantity INTEGER, introduced VARCHAR) | SELECT SUM(quantity) FROM table_name_30 WHERE introduced = 1984 | What is the total number of quantity when the introductory year was 1984? | <s>[INST]What is the total number of quantity when the introductory year was 1984? Context: CREATE TABLE table_name_30 (quantity INTEGER, introduced VARCHAR)[/INST]SELECT SUM(quantity) FROM table_name_30 WHERE introduced = 1984</s> |
CREATE TABLE table_name_15 (school_club_team VARCHAR, overall VARCHAR) | SELECT school_club_team FROM table_name_15 WHERE overall = 21 | What School or Club team has an overall score of 21? | <s>[INST]What School or Club team has an overall score of 21? Context: CREATE TABLE table_name_15 (school_club_team VARCHAR, overall VARCHAR)[/INST]SELECT school_club_team FROM table_name_15 WHERE overall = 21</s> |
CREATE TABLE table_20026849_1 (winner VARCHAR, destination VARCHAR) | SELECT winner FROM table_20026849_1 WHERE destination = "Africa" | Who won the season with Africa as its destination? | <s>[INST]Who won the season with Africa as its destination? Context: CREATE TABLE table_20026849_1 (winner VARCHAR, destination VARCHAR)[/INST]SELECT winner FROM table_20026849_1 WHERE destination = "Africa"</s> |
CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "William M. Colmer" | How many times was william m. colmer winstead first elected? | <s>[INST]How many times was william m. colmer winstead first elected? Context: CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "William M. Colmer"</s> |
CREATE TABLE table_23294081_10 (_number VARCHAR, no VARCHAR) | SELECT COUNT(_number) FROM table_23294081_10 WHERE no = 214 | How many episodes were series episode 214? | <s>[INST]How many episodes were series episode 214? Context: CREATE TABLE table_23294081_10 (_number VARCHAR, no VARCHAR)[/INST]SELECT COUNT(_number) FROM table_23294081_10 WHERE no = 214</s> |
CREATE TABLE table_name_47 (nfl_draft INTEGER, player VARCHAR, overall_pick VARCHAR) | SELECT MAX(nfl_draft) FROM table_name_47 WHERE player = "jeff robinson" AND overall_pick < 98 | What is the highest NFL Draft that has jeff robinson as the player, with an overall pick less than 98? | <s>[INST]What is the highest NFL Draft that has jeff robinson as the player, with an overall pick less than 98? Context: CREATE TABLE table_name_47 (nfl_draft INTEGER, player VARCHAR, overall_pick VARCHAR)[/INST]SELECT MAX(nfl_draft) FROM table_name_47 WHERE player = "jeff robinson" AND overall_pick < 98</s> |
CREATE TABLE table_name_19 (winner VARCHAR, year VARCHAR) | SELECT winner FROM table_name_19 WHERE year = 2003 | Who won in 2003? | <s>[INST]Who won in 2003? Context: CREATE TABLE table_name_19 (winner VARCHAR, year VARCHAR)[/INST]SELECT winner FROM table_name_19 WHERE year = 2003</s> |
CREATE TABLE table_17941032_1 (points_against VARCHAR, tries_for VARCHAR) | SELECT points_against FROM table_17941032_1 WHERE tries_for = "17" | When 17 is the tries for what is the points against? | <s>[INST]When 17 is the tries for what is the points against? Context: CREATE TABLE table_17941032_1 (points_against VARCHAR, tries_for VARCHAR)[/INST]SELECT points_against FROM table_17941032_1 WHERE tries_for = "17"</s> |
CREATE TABLE table_16724844_1 (mens_open VARCHAR, mens_u20 VARCHAR) | SELECT mens_open FROM table_16724844_1 WHERE mens_u20 = "Qld Country Rustlers def Southern Suns" | What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns? | <s>[INST]What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns? Context: CREATE TABLE table_16724844_1 (mens_open VARCHAR, mens_u20 VARCHAR)[/INST]SELECT mens_open FROM table_16724844_1 WHERE mens_u20 = "Qld Country Rustlers def Southern Suns"</s> |
CREATE TABLE ASSESSMENT_NOTES (Id VARCHAR) | SELECT COUNT(*) FROM ASSESSMENT_NOTES | How many assessment notes are there in total? | <s>[INST]How many assessment notes are there in total? Context: CREATE TABLE ASSESSMENT_NOTES (Id VARCHAR)[/INST]SELECT COUNT(*) FROM ASSESSMENT_NOTES</s> |
CREATE TABLE table_name_54 (attendance INTEGER, result VARCHAR) | SELECT SUM(attendance) FROM table_name_54 WHERE result = "l 16-13" | What is the sum of attendance when the result was l 16-13? | <s>[INST]What is the sum of attendance when the result was l 16-13? Context: CREATE TABLE table_name_54 (attendance INTEGER, result VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_54 WHERE result = "l 16-13"</s> |
CREATE TABLE table_10083598_1 (no VARCHAR, pole_position VARCHAR) | SELECT COUNT(no) FROM table_10083598_1 WHERE pole_position = "Kevin Curtain" | What was the number of race that Kevin Curtain won? | <s>[INST]What was the number of race that Kevin Curtain won? Context: CREATE TABLE table_10083598_1 (no VARCHAR, pole_position VARCHAR)[/INST]SELECT COUNT(no) FROM table_10083598_1 WHERE pole_position = "Kevin Curtain"</s> |
CREATE TABLE table_name_56 (event VARCHAR, rider VARCHAR) | SELECT event FROM table_name_56 WHERE rider = "rob vine" | What event was Rob Vine riding? | <s>[INST]What event was Rob Vine riding? Context: CREATE TABLE table_name_56 (event VARCHAR, rider VARCHAR)[/INST]SELECT event FROM table_name_56 WHERE rider = "rob vine"</s> |
CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_57 WHERE rank = "24" | Which country is ranked 24? | <s>[INST]Which country is ranked 24? Context: CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_57 WHERE rank = "24"</s> |
CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_42 WHERE year = "1938" | How many silver medals were won in 1938? | <s>[INST]How many silver medals were won in 1938? Context: CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR)[/INST]SELECT silver FROM table_name_42 WHERE year = "1938"</s> |
CREATE TABLE Ref_template_types (template_type_description VARCHAR, template_type_code VARCHAR) | SELECT template_type_description FROM Ref_template_types WHERE template_type_code = "AD" | What is the template type descriptions for template type code "AD". | <s>[INST]What is the template type descriptions for template type code "AD". Context: CREATE TABLE Ref_template_types (template_type_description VARCHAR, template_type_code VARCHAR)[/INST]SELECT template_type_description FROM Ref_template_types WHERE template_type_code = "AD"</s> |
CREATE TABLE table_name_81 (result VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT result FROM table_name_81 WHERE opponent = "errol zimmerman" AND date = "2007-04-07" | What is the result against Errol Zimmerman on 2007-04-07? | <s>[INST]What is the result against Errol Zimmerman on 2007-04-07? Context: CREATE TABLE table_name_81 (result VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_81 WHERE opponent = "errol zimmerman" AND date = "2007-04-07"</s> |
CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER) | SELECT apt_type_code, MAX(room_count), MIN(room_count) FROM Apartments GROUP BY apt_type_code | Show each apartment type code, and the maximum and minimum number of rooms for each type. | <s>[INST]Show each apartment type code, and the maximum and minimum number of rooms for each type. Context: CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER)[/INST]SELECT apt_type_code, MAX(room_count), MIN(room_count) FROM Apartments GROUP BY apt_type_code</s> |
CREATE TABLE table_27021001_1 (district VARCHAR, result VARCHAR) | SELECT district FROM table_27021001_1 WHERE result = "Mac Collins (R) unopposed" | What is the district with the result mac collins (r) unopposed? | <s>[INST]What is the district with the result mac collins (r) unopposed? Context: CREATE TABLE table_27021001_1 (district VARCHAR, result VARCHAR)[/INST]SELECT district FROM table_27021001_1 WHERE result = "Mac Collins (R) unopposed"</s> |
CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR) | SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander" | Which City has a Country of spain, and a Stadium of palacio de deportes de santander? | <s>[INST]Which City has a Country of spain, and a Stadium of palacio de deportes de santander? Context: CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR)[/INST]SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander"</s> |
CREATE TABLE table_name_13 (ergative VARCHAR, genitive VARCHAR) | SELECT ergative FROM table_name_13 WHERE genitive = "tkven(s)" | What is the ergative for the genitive tkven(s)? | <s>[INST]What is the ergative for the genitive tkven(s)? Context: CREATE TABLE table_name_13 (ergative VARCHAR, genitive VARCHAR)[/INST]SELECT ergative FROM table_name_13 WHERE genitive = "tkven(s)"</s> |
CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR) | SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico" | What is the name of the team from the Elverado Trico school in football? | <s>[INST]What is the name of the team from the Elverado Trico school in football? Context: CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR)[/INST]SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico"</s> |
CREATE TABLE table_21276428_21 (athlete VARCHAR, place VARCHAR) | SELECT athlete FROM table_21276428_21 WHERE place = 3 | Name the athlete for 3 | <s>[INST]Name the athlete for 3 Context: CREATE TABLE table_21276428_21 (athlete VARCHAR, place VARCHAR)[/INST]SELECT athlete FROM table_21276428_21 WHERE place = 3</s> |
CREATE TABLE table_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR) | SELECT MIN(population_at_2010_census) FROM table_1104312_5 WHERE english_name = "West Bogor" | What is the listed population from the 2010 census of West Bogor? | <s>[INST]What is the listed population from the 2010 census of West Bogor? Context: CREATE TABLE table_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR)[/INST]SELECT MIN(population_at_2010_census) FROM table_1104312_5 WHERE english_name = "West Bogor"</s> |
CREATE TABLE table_name_23 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR) | SELECT final_score FROM table_name_23 WHERE visiting_team = "indianapolis colts" AND date = "november 24" | What was the final score of the game on November 24 with the visiting team the Indianapolis Colts? | <s>[INST]What was the final score of the game on November 24 with the visiting team the Indianapolis Colts? Context: CREATE TABLE table_name_23 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_name_23 WHERE visiting_team = "indianapolis colts" AND date = "november 24"</s> |
CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR) | SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31 | What was the average number of points with bonus pts less than 31 with the rider dennis gavros? | <s>[INST]What was the average number of points with bonus pts less than 31 with the rider dennis gavros? Context: CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR)[/INST]SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31</s> |
CREATE TABLE table_name_20 (year INTEGER, actress VARCHAR) | SELECT MAX(year) FROM table_name_20 WHERE actress = "katharine hepburn" | When was the last year when Katharine Hepburn won? | <s>[INST]When was the last year when Katharine Hepburn won? Context: CREATE TABLE table_name_20 (year INTEGER, actress VARCHAR)[/INST]SELECT MAX(year) FROM table_name_20 WHERE actress = "katharine hepburn"</s> |
CREATE TABLE table_name_62 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_62 WHERE venue = "victoria park" | How many people have attended victoria park? | <s>[INST]How many people have attended victoria park? Context: CREATE TABLE table_name_62 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_62 WHERE venue = "victoria park"</s> |
CREATE TABLE table_25740774_1 (f_laps VARCHAR, races VARCHAR) | SELECT f_laps FROM table_25740774_1 WHERE races = 14 | What are the f/laps for race 14? | <s>[INST]What are the f/laps for race 14? Context: CREATE TABLE table_25740774_1 (f_laps VARCHAR, races VARCHAR)[/INST]SELECT f_laps FROM table_25740774_1 WHERE races = 14</s> |
CREATE TABLE table_name_80 (points INTEGER, points_difference VARCHAR, drawn VARCHAR) | SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 1 | What is the Points that has 61 - 15 Point difference and a Drawn larger than 1? | <s>[INST]What is the Points that has 61 - 15 Point difference and a Drawn larger than 1? Context: CREATE TABLE table_name_80 (points INTEGER, points_difference VARCHAR, drawn VARCHAR)[/INST]SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 1</s> |
CREATE TABLE customers (customer_name VARCHAR) | SELECT customer_name FROM customers | Find the name of all customers. | <s>[INST]Find the name of all customers. Context: CREATE TABLE customers (customer_name VARCHAR)[/INST]SELECT customer_name FROM customers</s> |
CREATE TABLE table_name_3 (Id VARCHAR) | SELECT 1990 FROM table_name_3 WHERE 1993 = "1r" | WHICH 1990 has a 1993 of 1r? | <s>[INST]WHICH 1990 has a 1993 of 1r? Context: CREATE TABLE table_name_3 (Id VARCHAR)[/INST]SELECT 1990 FROM table_name_3 WHERE 1993 = "1r"</s> |
CREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_29087004_3 WHERE written_by = "Eric Trueheart" | What are the titles of episodes written by Eric Trueheart? | <s>[INST]What are the titles of episodes written by Eric Trueheart? Context: CREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_29087004_3 WHERE written_by = "Eric Trueheart"</s> |
CREATE TABLE table_name_38 (cpc_blend_kazakhstan INTEGER, draugen_north_sea VARCHAR) | SELECT MIN(cpc_blend_kazakhstan) FROM table_name_38 WHERE draugen_north_sea = 17 | What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17? | <s>[INST]What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17? Context: CREATE TABLE table_name_38 (cpc_blend_kazakhstan INTEGER, draugen_north_sea VARCHAR)[/INST]SELECT MIN(cpc_blend_kazakhstan) FROM table_name_38 WHERE draugen_north_sea = 17</s> |
CREATE TABLE table_name_60 (yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR) | SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0 | What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0? | <s>[INST]What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0? Context: CREATE TABLE table_name_60 (yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR)[/INST]SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0</s> |
CREATE TABLE table_18600760_13 (geo_id VARCHAR, township VARCHAR) | SELECT COUNT(geo_id) FROM table_18600760_13 WHERE township = "Malcolm" | What is the geo id for malcolm township? | <s>[INST]What is the geo id for malcolm township? Context: CREATE TABLE table_18600760_13 (geo_id VARCHAR, township VARCHAR)[/INST]SELECT COUNT(geo_id) FROM table_18600760_13 WHERE township = "Malcolm"</s> |
CREATE TABLE table_name_14 (writer VARCHAR, film VARCHAR) | SELECT writer FROM table_name_14 WHERE film = "run" | Who is the writer of the film Run? | <s>[INST]Who is the writer of the film Run? Context: CREATE TABLE table_name_14 (writer VARCHAR, film VARCHAR)[/INST]SELECT writer FROM table_name_14 WHERE film = "run"</s> |
CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR) | SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0" | What is the Quarterback rating of the player who got a comp percentage of 62.0? | <s>[INST]What is the Quarterback rating of the player who got a comp percentage of 62.0? Context: CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)[/INST]SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0"</s> |
CREATE TABLE table_name_83 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_name_83 WHERE written_by = "robert haywood" | What was the title of the episode written by Robert Haywood? | <s>[INST]What was the title of the episode written by Robert Haywood? Context: CREATE TABLE table_name_83 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_name_83 WHERE written_by = "robert haywood"</s> |
CREATE TABLE table_name_90 (overall_fht_points VARCHAR, name VARCHAR) | SELECT overall_fht_points FROM table_name_90 WHERE name = "denis kornilov" | What is the overall FHT points for Denis Kornilov? | <s>[INST]What is the overall FHT points for Denis Kornilov? Context: CREATE TABLE table_name_90 (overall_fht_points VARCHAR, name VARCHAR)[/INST]SELECT overall_fht_points FROM table_name_90 WHERE name = "denis kornilov"</s> |
CREATE TABLE table_name_49 (opp_team VARCHAR, score VARCHAR) | SELECT opp_team FROM table_name_49 WHERE score = "21-17" | Who was the opposing team in the game with a score of 21-17? | <s>[INST]Who was the opposing team in the game with a score of 21-17? Context: CREATE TABLE table_name_49 (opp_team VARCHAR, score VARCHAR)[/INST]SELECT opp_team FROM table_name_49 WHERE score = "21-17"</s> |
CREATE TABLE table_name_56 (class_aAAAA VARCHAR, school_year VARCHAR) | SELECT class_aAAAA FROM table_name_56 WHERE school_year = "1990-91" | what AAAAA class has the school year of 1990-91? | <s>[INST]what AAAAA class has the school year of 1990-91? Context: CREATE TABLE table_name_56 (class_aAAAA VARCHAR, school_year VARCHAR)[/INST]SELECT class_aAAAA FROM table_name_56 WHERE school_year = "1990-91"</s> |
CREATE TABLE table_15572443_1 (vacator VARCHAR, took_seat VARCHAR) | SELECT vacator FROM table_15572443_1 WHERE took_seat = "January 29, 1813" | Name the vacator for took seat being january 29, 1813 | <s>[INST]Name the vacator for took seat being january 29, 1813 Context: CREATE TABLE table_15572443_1 (vacator VARCHAR, took_seat VARCHAR)[/INST]SELECT vacator FROM table_15572443_1 WHERE took_seat = "January 29, 1813"</s> |
CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR) | SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = "23" | Who did the Lyrics (l) / Music (m) for the song in 23 Place? | <s>[INST]Who did the Lyrics (l) / Music (m) for the song in 23 Place? Context: CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)[/INST]SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = "23"</s> |
CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_43 WHERE home_team = "hawthorn" | What was the score of the away team when hawthorn was the home team? | <s>[INST]What was the score of the away team when hawthorn was the home team? Context: CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_43 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_27 (directed_by VARCHAR, original_air_date VARCHAR) | SELECT directed_by FROM table_name_27 WHERE original_air_date = "april 29, 2000" | Which Directed by has an Original air date of april 29, 2000? | <s>[INST]Which Directed by has an Original air date of april 29, 2000? Context: CREATE TABLE table_name_27 (directed_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT directed_by FROM table_name_27 WHERE original_air_date = "april 29, 2000"</s> |
CREATE TABLE table_name_55 (series_ep VARCHAR, netflix VARCHAR) | SELECT series_ep FROM table_name_55 WHERE netflix = "s03e16" | Which series episode has a Netflix episode of S03E16? | <s>[INST]Which series episode has a Netflix episode of S03E16? Context: CREATE TABLE table_name_55 (series_ep VARCHAR, netflix VARCHAR)[/INST]SELECT series_ep FROM table_name_55 WHERE netflix = "s03e16"</s> |
CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR) | SELECT us_air_date FROM table_18424435_4 WHERE canadian_viewers__million_ = "1.452" | What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers? | <s>[INST]What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers? Context: CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)[/INST]SELECT us_air_date FROM table_18424435_4 WHERE canadian_viewers__million_ = "1.452"</s> |
CREATE TABLE table_name_42 (game VARCHAR, record VARCHAR, march VARCHAR) | SELECT COUNT(game) FROM table_name_42 WHERE record = "30-28-4" AND march > 1 | How many games ended in a record of 30-28-4, with a March more than 1? | <s>[INST]How many games ended in a record of 30-28-4, with a March more than 1? Context: CREATE TABLE table_name_42 (game VARCHAR, record VARCHAR, march VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_42 WHERE record = "30-28-4" AND march > 1</s> |
CREATE TABLE Person (job VARCHAR, age INTEGER) | SELECT MIN(age), job FROM Person GROUP BY job | What is minimum age for different job title? | <s>[INST]What is minimum age for different job title? Context: CREATE TABLE Person (job VARCHAR, age INTEGER)[/INST]SELECT MIN(age), job FROM Person GROUP BY job</s> |
CREATE TABLE table_name_99 (rank_by_average VARCHAR, number_of_dances VARCHAR, total_points VARCHAR) | SELECT COUNT(rank_by_average) FROM table_name_99 WHERE number_of_dances = 2 AND total_points > 37 | What is the total rank by average for 2 dances, which have more than 37 total points? | <s>[INST]What is the total rank by average for 2 dances, which have more than 37 total points? Context: CREATE TABLE table_name_99 (rank_by_average VARCHAR, number_of_dances VARCHAR, total_points VARCHAR)[/INST]SELECT COUNT(rank_by_average) FROM table_name_99 WHERE number_of_dances = 2 AND total_points > 37</s> |
CREATE TABLE table_name_67 (mountain_peak VARCHAR, rank VARCHAR) | SELECT mountain_peak FROM table_name_67 WHERE rank = 49 | Name the mountain peak of 49 rank | <s>[INST]Name the mountain peak of 49 rank Context: CREATE TABLE table_name_67 (mountain_peak VARCHAR, rank VARCHAR)[/INST]SELECT mountain_peak FROM table_name_67 WHERE rank = 49</s> |
CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR) | SELECT T1.Aircraft, COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft | List the names of aircrafts and the number of times it won matches. | <s>[INST]List the names of aircrafts and the number of times it won matches. Context: CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)[/INST]SELECT T1.Aircraft, COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.W... |
CREATE TABLE table_name_60 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_60 WHERE place = "t8" AND score = 70 - 67 - 71 = 208 | What is the Country of the T8 Place Player with a Score of 70-67-71=208? | <s>[INST]What is the Country of the T8 Place Player with a Score of 70-67-71=208? Context: CREATE TABLE table_name_60 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_60 WHERE place = "t8" AND score = 70 - 67 - 71 = 208</s> |
CREATE TABLE table_name_4 (week_10_nov_2 VARCHAR, week_14_nov_30 VARCHAR) | SELECT week_10_nov_2 FROM table_name_4 WHERE week_14_nov_30 = "penn state (11-1)" | Which Week 10 Nov 2 has a Week 14 Nov 30 of penn state (11-1)? | <s>[INST]Which Week 10 Nov 2 has a Week 14 Nov 30 of penn state (11-1)? Context: CREATE TABLE table_name_4 (week_10_nov_2 VARCHAR, week_14_nov_30 VARCHAR)[/INST]SELECT week_10_nov_2 FROM table_name_4 WHERE week_14_nov_30 = "penn state (11-1)"</s> |
CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, church_name VARCHAR) | SELECT location_of_the_church FROM table_178408_1 WHERE church_name = "Berle kyrkje" | Name the location of the church for berle kyrkje | <s>[INST]Name the location of the church for berle kyrkje Context: CREATE TABLE table_178408_1 (location_of_the_church VARCHAR, church_name VARCHAR)[/INST]SELECT location_of_the_church FROM table_178408_1 WHERE church_name = "Berle kyrkje"</s> |
CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_99 WHERE place = "t8" AND score = 68 - 74 = 142 | What is the Country of the T8 Place Player with a Score of 68-74=142? | <s>[INST]What is the Country of the T8 Place Player with a Score of 68-74=142? Context: CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE place = "t8" AND score = 68 - 74 = 142</s> |
CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR) | SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND player = "fred funk" | What place does Fred Funk, who has a score of 69-69=138, have? | <s>[INST]What place does Fred Funk, who has a score of 69-69=138, have? Context: CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND player = "fred funk"</s> |
CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_78 WHERE player = "steve lowery" | What is Steve Lowery's Place? | <s>[INST]What is Steve Lowery's Place? Context: CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_78 WHERE player = "steve lowery"</s> |
CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR) | SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb" | What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? | <s>[INST]What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? Context: CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb"</s> |
CREATE TABLE table_245800_2 (duration__days_ VARCHAR, flight_down VARCHAR) | SELECT duration__days_ FROM table_245800_2 WHERE flight_down = "Soyuz 35" | How many days were the station of Soyuz 35 in flight down were in orbit? | <s>[INST]How many days were the station of Soyuz 35 in flight down were in orbit? Context: CREATE TABLE table_245800_2 (duration__days_ VARCHAR, flight_down VARCHAR)[/INST]SELECT duration__days_ FROM table_245800_2 WHERE flight_down = "Soyuz 35"</s> |
CREATE TABLE table_name_33 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_33 WHERE time = "+59.304" | Name the Rider which has a Time of +59.304? | <s>[INST]Name the Rider which has a Time of +59.304? Context: CREATE TABLE table_name_33 (rider VARCHAR, time VARCHAR)[/INST]SELECT rider FROM table_name_33 WHERE time = "+59.304"</s> |
CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, constructor VARCHAR) | SELECT MAX(grid) FROM table_name_64 WHERE laps < 35 AND constructor = "maserati" | What is the high grid total for maserati with under 35 laps? | <s>[INST]What is the high grid total for maserati with under 35 laps? Context: CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, constructor VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_64 WHERE laps < 35 AND constructor = "maserati"</s> |
CREATE TABLE table_name_53 (frequency VARCHAR, identifier VARCHAR) | SELECT frequency FROM table_name_53 WHERE identifier = "cbfx-fm-6" | What Frequency has the Identifier of CBFX-FM-6? | <s>[INST]What Frequency has the Identifier of CBFX-FM-6? Context: CREATE TABLE table_name_53 (frequency VARCHAR, identifier VARCHAR)[/INST]SELECT frequency FROM table_name_53 WHERE identifier = "cbfx-fm-6"</s> |
CREATE TABLE table_name_15 (callback_venue VARCHAR, audition_city VARCHAR) | SELECT callback_venue FROM table_name_15 WHERE audition_city = "phoenix, arizona" | What was the callback venue for the Phoenix, Arizona auditions? | <s>[INST]What was the callback venue for the Phoenix, Arizona auditions? Context: CREATE TABLE table_name_15 (callback_venue VARCHAR, audition_city VARCHAR)[/INST]SELECT callback_venue FROM table_name_15 WHERE audition_city = "phoenix, arizona"</s> |
CREATE TABLE table_225206_3 (vacator VARCHAR, reason_for_change VARCHAR) | SELECT vacator FROM table_225206_3 WHERE reason_for_change = "Failure to elect" | Who was the vacator when the reason for change was failure to elect? | <s>[INST]Who was the vacator when the reason for change was failure to elect? Context: CREATE TABLE table_225206_3 (vacator VARCHAR, reason_for_change VARCHAR)[/INST]SELECT vacator FROM table_225206_3 WHERE reason_for_change = "Failure to elect"</s> |
CREATE TABLE table_28211213_1 (founded INTEGER, team_nickname VARCHAR) | SELECT MAX(founded) FROM table_28211213_1 WHERE team_nickname = "Spartans" | When were the Spartans founded? | <s>[INST]When were the Spartans founded? Context: CREATE TABLE table_28211213_1 (founded INTEGER, team_nickname VARCHAR)[/INST]SELECT MAX(founded) FROM table_28211213_1 WHERE team_nickname = "Spartans"</s> |
CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_96 WHERE general_classification = "nick nuyens" AND stage = "2" | Name the winner for nick nuyens for general classification and stage of 2 | <s>[INST]Name the winner for nick nuyens for general classification and stage of 2 Context: CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_96 WHERE general_classification = "nick nuyens" AND stage = "2"</s> |
CREATE TABLE table_name_97 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_97 WHERE away_team = "south melbourne" | What is the away team score for South Melbourne? | <s>[INST]What is the away team score for South Melbourne? Context: CREATE TABLE table_name_97 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_97 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_27932399_1 (release_title VARCHAR, artist VARCHAR) | SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged" | What was the name of the album released by Heavy Winged? | <s>[INST]What was the name of the album released by Heavy Winged? Context: CREATE TABLE table_27932399_1 (release_title VARCHAR, artist VARCHAR)[/INST]SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged"</s> |
CREATE TABLE table_name_38 (home VARCHAR, attendance VARCHAR) | SELECT home FROM table_name_38 WHERE attendance = "n/a" | What home team has an n/a attendance? | <s>[INST]What home team has an n/a attendance? Context: CREATE TABLE table_name_38 (home VARCHAR, attendance VARCHAR)[/INST]SELECT home FROM table_name_38 WHERE attendance = "n/a"</s> |
CREATE TABLE table_name_33 (category VARCHAR, pilot VARCHAR) | SELECT category FROM table_name_33 WHERE pilot = "frank scarabino" | In which category is Frank Scarabino a pilot? | <s>[INST]In which category is Frank Scarabino a pilot? Context: CREATE TABLE table_name_33 (category VARCHAR, pilot VARCHAR)[/INST]SELECT category FROM table_name_33 WHERE pilot = "frank scarabino"</s> |
CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR) | SELECT year_joined FROM table_name_66 WHERE school = "hagerstown" | What's the year that Hagerstown joined? | <s>[INST]What's the year that Hagerstown joined? Context: CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR)[/INST]SELECT year_joined FROM table_name_66 WHERE school = "hagerstown"</s> |
CREATE TABLE table_name_44 (pick INTEGER, college VARCHAR) | SELECT MAX(pick) FROM table_name_44 WHERE college = "virginia" | Who was the highest drafted player that attended college at Virginia? | <s>[INST]Who was the highest drafted player that attended college at Virginia? Context: CREATE TABLE table_name_44 (pick INTEGER, college VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_44 WHERE college = "virginia"</s> |
CREATE TABLE table_name_65 (quantity_made VARCHAR, quantity_preserved VARCHAR) | SELECT quantity_made FROM table_name_65 WHERE quantity_preserved = "4-6-0 — ooooo — ten-wheeler" | What is the quantity made number for the quantity preserved 4-6-0 — ooooo — ten-wheeler? | <s>[INST]What is the quantity made number for the quantity preserved 4-6-0 — ooooo — ten-wheeler? Context: CREATE TABLE table_name_65 (quantity_made VARCHAR, quantity_preserved VARCHAR)[/INST]SELECT quantity_made FROM table_name_65 WHERE quantity_preserved = "4-6-0 — ooooo — ten-wheeler"</s> |
CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR) | SELECT built FROM table_name_20 WHERE name = "moores creek bridge" | When was Moores Creek Bridge built? | <s>[INST]When was Moores Creek Bridge built? Context: CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR)[/INST]SELECT built FROM table_name_20 WHERE name = "moores creek bridge"</s> |
CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR) | SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE area__acres__ = 262 AND civil_parish = "Drinagh" | How many poor law unions have an area of 262 acres and is in drinagh civil parish? | <s>[INST]How many poor law unions have an area of 262 acres and is in drinagh civil parish? Context: CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR)[/INST]SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE area__acres__ = 262 AND civil_parish = "Drinagh"</s> |
CREATE TABLE table_name_56 (home VARCHAR, score VARCHAR) | SELECT home FROM table_name_56 WHERE score = "81-80" | Who is the home team when the score is 81-80? | <s>[INST]Who is the home team when the score is 81-80? Context: CREATE TABLE table_name_56 (home VARCHAR, score VARCHAR)[/INST]SELECT home FROM table_name_56 WHERE score = "81-80"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.