context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2618142_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_2618142_1 WHERE directed_by = "Ed Sherin" | name the title of the episode that ed sherin directed. | <s>[INST]name the title of the episode that ed sherin directed. Context: CREATE TABLE table_2618142_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_2618142_1 WHERE directed_by = "Ed Sherin"</s> |
CREATE TABLE table_name_39 (director VARCHAR, rank VARCHAR, worldwide_gross VARCHAR) | SELECT director FROM table_name_39 WHERE rank > 7 AND worldwide_gross = "$149,022,650" | What director has a worldwide gross of $149,022,650 and is ranked greater than 7? | <s>[INST]What director has a worldwide gross of $149,022,650 and is ranked greater than 7? Context: CREATE TABLE table_name_39 (director VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)[/INST]SELECT director FROM table_name_39 WHERE rank > 7 AND worldwide_gross = "$149,022,650"</s> |
CREATE TABLE table_name_62 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_62 WHERE record = "78-60" | Which opponent has a record of 78-60? | <s>[INST]Which opponent has a record of 78-60? Context: CREATE TABLE table_name_62 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_62 WHERE record = "78-60"</s> |
CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) | SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters" | How many outgoing managers were replaced by Bob Peeters? | <s>[INST]How many outgoing managers were replaced by Bob Peeters? Context: CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)[/INST]SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters"</s> |
CREATE TABLE table_name_53 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_53 WHERE home_team = "luton town" | What is Date, when Home Team is "Luton Town"? | <s>[INST]What is Date, when Home Team is "Luton Town"? Context: CREATE TABLE table_name_53 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_53 WHERE home_team = "luton town"</s> |
CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR) | SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw" | What is the status of the unit with a net capacity of 1212 MW? | <s>[INST]What is the status of the unit with a net capacity of 1212 MW? Context: CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR)[/INST]SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw"</s> |
CREATE TABLE table_name_52 (tournament VARCHAR) | SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments" | Which 2005 has a Tournament of grand slam tournaments? | <s>[INST]Which 2005 has a Tournament of grand slam tournaments? Context: CREATE TABLE table_name_52 (tournament VARCHAR)[/INST]SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments"</s> |
CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, time VARCHAR) | SELECT COUNT(rank) FROM table_name_31 WHERE notes = "fb" AND time = "7:20.32" | What is the Rank of the Player with a Time of 7:20.32 and Notes of FB? | <s>[INST]What is the Rank of the Player with a Time of 7:20.32 and Notes of FB? Context: CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, time VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_31 WHERE notes = "fb" AND time = "7:20.32"</s> |
CREATE TABLE table_name_91 (pos VARCHAR, play_offs VARCHAR, pts VARCHAR) | SELECT pos FROM table_name_91 WHERE play_offs = "quarter-final" AND pts = "56" | During the play-off quarter-final which team scored position was the team that scored 56 points? | <s>[INST]During the play-off quarter-final which team scored position was the team that scored 56 points? Context: CREATE TABLE table_name_91 (pos VARCHAR, play_offs VARCHAR, pts VARCHAR)[/INST]SELECT pos FROM table_name_91 WHERE play_offs = "quarter-final" AND pts = "56"</s> |
CREATE TABLE table_25675509_1 (latitude VARCHAR, longitude VARCHAR) | SELECT latitude FROM table_25675509_1 WHERE longitude = "157.941° E" | If the longitude is 157.941° e, what is the latitude? | <s>[INST]If the longitude is 157.941° e, what is the latitude? Context: CREATE TABLE table_25675509_1 (latitude VARCHAR, longitude VARCHAR)[/INST]SELECT latitude FROM table_25675509_1 WHERE longitude = "157.941° E"</s> |
CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR) | SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 1 | Find the first names of professors who are teaching more than one class. | <s>[INST]Find the first names of professors who are teaching more than one class. Context: CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR)[/INST]SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 1... |
CREATE TABLE table_name_85 (front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR) | SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 52 | What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52? | <s>[INST]What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52? Context: CREATE TABLE table_name_85 (front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR)[/INST]SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 52</s... |
CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR) | SELECT compound_name FROM table_name_2 WHERE colour = "yellow" | What compound is yellow? | <s>[INST]What compound is yellow? Context: CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR)[/INST]SELECT compound_name FROM table_name_2 WHERE colour = "yellow"</s> |
CREATE TABLE table_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR) | SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" AND winner = "L. Adaikalaraj c" | How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress? | <s>[INST]How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress? Context: CREATE TABLE table_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" A... |
CREATE TABLE table_name_3 (cospar_id VARCHAR, satellite VARCHAR) | SELECT cospar_id FROM table_name_3 WHERE satellite = "ariel 3" | What is Ariel 3's COSPAR ID? | <s>[INST]What is Ariel 3's COSPAR ID? Context: CREATE TABLE table_name_3 (cospar_id VARCHAR, satellite VARCHAR)[/INST]SELECT cospar_id FROM table_name_3 WHERE satellite = "ariel 3"</s> |
CREATE TABLE table_name_28 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_28 WHERE original_title = "das leben der anderen" | Original title of das leben der anderen had what director? | <s>[INST]Original title of das leben der anderen had what director? Context: CREATE TABLE table_name_28 (director VARCHAR, original_title VARCHAR)[/INST]SELECT director FROM table_name_28 WHERE original_title = "das leben der anderen"</s> |
CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4" | What is the first elected for south carolina 4? | <s>[INST]What is the first elected for south carolina 4? Context: CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4"</s> |
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_73 WHERE record = "86-62" | What opponent has a record of 86-62? | <s>[INST]What opponent has a record of 86-62? Context: CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_73 WHERE record = "86-62"</s> |
CREATE TABLE table_name_31 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_31 WHERE place = "t2" | Which Player has a Place of t2? | <s>[INST]Which Player has a Place of t2? Context: CREATE TABLE table_name_31 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_31 WHERE place = "t2"</s> |
CREATE TABLE table_name_50 (fa_cup VARCHAR, league VARCHAR, play_offs VARCHAR) | SELECT COUNT(fa_cup) FROM table_name_50 WHERE league < 29 AND play_offs < 0 | What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0? | <s>[INST]What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0? Context: CREATE TABLE table_name_50 (fa_cup VARCHAR, league VARCHAR, play_offs VARCHAR)[/INST]SELECT COUNT(fa_cup) FROM table_name_50 WHERE league < 29 AND play_offs < 0</s> |
CREATE TABLE table_name_39 (winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR) | SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976" | what is the earliest winter olympics when the fis nordic world ski championships is 1976? | <s>[INST]what is the earliest winter olympics when the fis nordic world ski championships is 1976? Context: CREATE TABLE table_name_39 (winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR)[/INST]SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976"</s> |
CREATE TABLE table_name_83 (channel VARCHAR, country VARCHAR) | SELECT channel FROM table_name_83 WHERE country = "israel" | Which channel comes out of Israel? | <s>[INST]Which channel comes out of Israel? Context: CREATE TABLE table_name_83 (channel VARCHAR, country VARCHAR)[/INST]SELECT channel FROM table_name_83 WHERE country = "israel"</s> |
CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_68 WHERE date = "september 23, 2013" | What outcome has September 23, 2013 as the date? | <s>[INST]What outcome has September 23, 2013 as the date? Context: CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_68 WHERE date = "september 23, 2013"</s> |
CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_28 WHERE home_team = "footscray" | What is the size of the crowd for the home team of Footscray? | <s>[INST]What is the size of the crowd for the home team of Footscray? Context: CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT crowd FROM table_name_28 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR) | SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer" | Who was the leading lady for Uni studio and Frank Strayer? | <s>[INST]Who was the leading lady for Uni studio and Frank Strayer? Context: CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR)[/INST]SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer"</s> |
CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR) | SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | What class had a Championship Test event with a 62.516 result? | <s>[INST]What class had a Championship Test event with a 62.516 result? Context: CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)[/INST]SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516"</s> |
CREATE TABLE table_name_48 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT AVG(top_10) FROM table_name_48 WHERE cuts_made < 9 AND events > 14 | what is the average top-10 when the cuts made is less than 9 and the events is more than 14? | <s>[INST]what is the average top-10 when the cuts made is less than 9 and the events is more than 14? Context: CREATE TABLE table_name_48 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)[/INST]SELECT AVG(top_10) FROM table_name_48 WHERE cuts_made < 9 AND events > 14</s> |
CREATE TABLE table_name_21 (podcast_date VARCHAR, episode_number VARCHAR) | SELECT podcast_date FROM table_name_21 WHERE episode_number = 103 | What is the date for the podcast episode number 103? | <s>[INST]What is the date for the podcast episode number 103? Context: CREATE TABLE table_name_21 (podcast_date VARCHAR, episode_number VARCHAR)[/INST]SELECT podcast_date FROM table_name_21 WHERE episode_number = 103</s> |
CREATE TABLE table_name_85 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_85 WHERE result = "w 16-13" AND week < 12 | How many people attended the game with a result of w 16-13 and a week earlier than 12? | <s>[INST]How many people attended the game with a result of w 16-13 and a week earlier than 12? Context: CREATE TABLE table_name_85 (attendance INTEGER, result VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_85 WHERE result = "w 16-13" AND week < 12</s> |
CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR) | SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrnambool" | Club warrnambool has less than 9 wins and what average of draws? | <s>[INST]Club warrnambool has less than 9 wins and what average of draws? Context: CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrnambool"</s> |
CREATE TABLE table_name_1 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_1 WHERE tournament = "volkswagen challenger" | What was the score in Volkswagen Challenger tournament? | <s>[INST]What was the score in Volkswagen Challenger tournament? Context: CREATE TABLE table_name_1 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_1 WHERE tournament = "volkswagen challenger"</s> |
CREATE TABLE table_18904831_5 (high_rebounds VARCHAR, high_points VARCHAR) | SELECT high_rebounds FROM table_18904831_5 WHERE high_points = "Sales (17)" | Who did the most high rebounds in the game where Sales (17) did the high points? | <s>[INST]Who did the most high rebounds in the game where Sales (17) did the high points? Context: CREATE TABLE table_18904831_5 (high_rebounds VARCHAR, high_points VARCHAR)[/INST]SELECT high_rebounds FROM table_18904831_5 WHERE high_points = "Sales (17)"</s> |
CREATE TABLE table_name_19 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_19 WHERE catalog = "570 734-2" | Which region had a catalog number of 570 734-2? | <s>[INST]Which region had a catalog number of 570 734-2? Context: CREATE TABLE table_name_19 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_19 WHERE catalog = "570 734-2"</s> |
CREATE TABLE table_name_41 (monotone VARCHAR, clone_independence VARCHAR, pareto_efficiency VARCHAR, non_dictatorship VARCHAR) | SELECT monotone FROM table_name_41 WHERE pareto_efficiency = "yes" AND non_dictatorship = "yes" AND clone_independence = "yes" | what is the monotone when pareto efficiency is yes, non-dictatorship is yes, and clone independence is yes? | <s>[INST]what is the monotone when pareto efficiency is yes, non-dictatorship is yes, and clone independence is yes? Context: CREATE TABLE table_name_41 (monotone VARCHAR, clone_independence VARCHAR, pareto_efficiency VARCHAR, non_dictatorship VARCHAR)[/INST]SELECT monotone FROM table_name_41 WHERE pareto_efficiency = ... |
CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 5" | What is the result of game 5 with Los Angeles as the home team? | <s>[INST]What is the result of game 5 with Los Angeles as the home team? Context: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)[/INST]SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 5"</s> |
CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_46 WHERE record = "62-67" | What was the score of the game when their record was 62-67 | <s>[INST]What was the score of the game when their record was 62-67 Context: CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE record = "62-67"</s> |
CREATE TABLE table_1341568_48 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_1341568_48 WHERE incumbent = "Tom Foley" | How many parties is Tom Foley a member of? | <s>[INST]How many parties is Tom Foley a member of? Context: CREATE TABLE table_1341568_48 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341568_48 WHERE incumbent = "Tom Foley"</s> |
CREATE TABLE table_name_89 (capacity INTEGER, vehicle VARCHAR) | SELECT MIN(capacity) FROM table_name_89 WHERE vehicle = "1975 toyota celica 1600gt" | What is the lowest capacity for the 1975 toyota celica 1600gt? | <s>[INST]What is the lowest capacity for the 1975 toyota celica 1600gt? Context: CREATE TABLE table_name_89 (capacity INTEGER, vehicle VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_89 WHERE vehicle = "1975 toyota celica 1600gt"</s> |
CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE products (product_id VARCHAR) | SELECT COUNT(*), T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id | List the count and id of each product in all the orders. | <s>[INST]List the count and id of each product in all the orders. Context: CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE products (product_id VARCHAR)[/INST]SELECT COUNT(*), T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3... |
CREATE TABLE table_name_73 (natural_change__per_1000_ VARCHAR, live_births_1 VARCHAR) | SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = "278 977" | what is the natural change (per 1000) when the live births 1 is 278 977? | <s>[INST]what is the natural change (per 1000) when the live births 1 is 278 977? Context: CREATE TABLE table_name_73 (natural_change__per_1000_ VARCHAR, live_births_1 VARCHAR)[/INST]SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = "278 977"</s> |
CREATE TABLE table_name_19 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR) | SELECT bowling_figures_wickets_runs__overs_ FROM table_name_19 WHERE venue = "pietermaritzburg" | What were the bowling figures for the competition at Pietermaritzburg? | <s>[INST]What were the bowling figures for the competition at Pietermaritzburg? Context: CREATE TABLE table_name_19 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR)[/INST]SELECT bowling_figures_wickets_runs__overs_ FROM table_name_19 WHERE venue = "pietermaritzburg"</s> |
CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) | SELECT lyricist FROM table_10848177_1 WHERE length = "6:14" | Which lyricist has a song with a length of 6:14? | <s>[INST]Which lyricist has a song with a length of 6:14? Context: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR)[/INST]SELECT lyricist FROM table_10848177_1 WHERE length = "6:14"</s> |
CREATE TABLE table_name_51 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_51 WHERE date = "september 29, 2013" | I want the site for september 29, 2013 | <s>[INST]I want the site for september 29, 2013 Context: CREATE TABLE table_name_51 (site VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_51 WHERE date = "september 29, 2013"</s> |
CREATE TABLE table_24074130_5 (against VARCHAR, opponent VARCHAR) | SELECT against FROM table_24074130_5 WHERE opponent = "Andreas Vinciguerra" | What is every entry for against with opponent Andreas Vinciguerra? | <s>[INST]What is every entry for against with opponent Andreas Vinciguerra? Context: CREATE TABLE table_24074130_5 (against VARCHAR, opponent VARCHAR)[/INST]SELECT against FROM table_24074130_5 WHERE opponent = "Andreas Vinciguerra"</s> |
CREATE TABLE table_11658094_1 (founded VARCHAR, institution VARCHAR) | SELECT founded FROM table_11658094_1 WHERE institution = "Erskine College" | When was erskine college founded | <s>[INST]When was erskine college founded Context: CREATE TABLE table_11658094_1 (founded VARCHAR, institution VARCHAR)[/INST]SELECT founded FROM table_11658094_1 WHERE institution = "Erskine College"</s> |
CREATE TABLE table_2175858_1 (driver VARCHAR, race_time VARCHAR) | SELECT COUNT(driver) FROM table_2175858_1 WHERE race_time = "3:09:45" | How many drivers had a time of 3:09:45? | <s>[INST]How many drivers had a time of 3:09:45? Context: CREATE TABLE table_2175858_1 (driver VARCHAR, race_time VARCHAR)[/INST]SELECT COUNT(driver) FROM table_2175858_1 WHERE race_time = "3:09:45"</s> |
CREATE TABLE table_name_14 (state VARCHAR, electorate VARCHAR) | SELECT state FROM table_name_14 WHERE electorate = "barton" | Which State has an Electorate of Barton? | <s>[INST]Which State has an Electorate of Barton? Context: CREATE TABLE table_name_14 (state VARCHAR, electorate VARCHAR)[/INST]SELECT state FROM table_name_14 WHERE electorate = "barton"</s> |
CREATE TABLE table_name_61 (capacity INTEGER, class VARCHAR, vehicle VARCHAR) | SELECT MIN(capacity) FROM table_name_61 WHERE class = "cm22" AND vehicle = "1999 subaru impreza wrx sti" | Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti? | <s>[INST]Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti? Context: CREATE TABLE table_name_61 (capacity INTEGER, class VARCHAR, vehicle VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_61 WHERE class = "cm22" AND vehicle = "1999 subaru impreza wrx sti"</s> |
CREATE TABLE Accounts (Account_details INTEGER) | SELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE "%5%" | What are the account details with the largest value or with value having char '5' in it? | <s>[INST]What are the account details with the largest value or with value having char '5' in it? Context: CREATE TABLE Accounts (Account_details INTEGER)[/INST]SELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE "%5%"</s> |
CREATE TABLE table_name_40 (frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT COUNT(frequency_mhz) FROM table_name_40 WHERE erp_w = "62" | Total frequency with ERP W of 62? | <s>[INST]Total frequency with ERP W of 62? Context: CREATE TABLE table_name_40 (frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT COUNT(frequency_mhz) FROM table_name_40 WHERE erp_w = "62"</s> |
CREATE TABLE table_name_65 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_65 WHERE date = "november 20, 1994" | On November 20, 1994, what was the result of the game? | <s>[INST]On November 20, 1994, what was the result of the game? Context: CREATE TABLE table_name_65 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_65 WHERE date = "november 20, 1994"</s> |
CREATE TABLE HOTELS (star_rating_code VARCHAR, price_range INTEGER) | SELECT star_rating_code, AVG(price_range) FROM HOTELS GROUP BY star_rating_code | Show the average price of hotels for each star rating code. | <s>[INST]Show the average price of hotels for each star rating code. Context: CREATE TABLE HOTELS (star_rating_code VARCHAR, price_range INTEGER)[/INST]SELECT star_rating_code, AVG(price_range) FROM HOTELS GROUP BY star_rating_code</s> |
CREATE TABLE table_17801022_1 (manufacturer VARCHAR, date VARCHAR) | SELECT manufacturer FROM table_17801022_1 WHERE date = "November 2" | What manufacturer won the race on November 2? | <s>[INST]What manufacturer won the race on November 2? Context: CREATE TABLE table_17801022_1 (manufacturer VARCHAR, date VARCHAR)[/INST]SELECT manufacturer FROM table_17801022_1 WHERE date = "November 2"</s> |
CREATE TABLE table_name_36 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_36 WHERE school_club_team = "vanderbilt" | What is the Position of the player from Vanderbilt? | <s>[INST]What is the Position of the player from Vanderbilt? Context: CREATE TABLE table_name_36 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_36 WHERE school_club_team = "vanderbilt"</s> |
CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR) | SELECT COUNT(result) FROM table_26263322_1 WHERE background = "University Student" | How many times was the background university student? | <s>[INST]How many times was the background university student? Context: CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR)[/INST]SELECT COUNT(result) FROM table_26263322_1 WHERE background = "University Student"</s> |
CREATE TABLE table_name_56 (matches INTEGER, year VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT SUM(matches) FROM table_name_56 WHERE wins < 8 AND losses = 7 AND year = "2011" | What is the number of matches when the wins are less than 8, and losses of 7, in 2011? | <s>[INST]What is the number of matches when the wins are less than 8, and losses of 7, in 2011? Context: CREATE TABLE table_name_56 (matches INTEGER, year VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_56 WHERE wins < 8 AND losses = 7 AND year = "2011"</s> |
CREATE TABLE table_name_80 (opponent VARCHAR, city VARCHAR) | SELECT opponent FROM table_name_80 WHERE city = "zagreb" | Who was the opposing team during the game in Zagreb? | <s>[INST]Who was the opposing team during the game in Zagreb? Context: CREATE TABLE table_name_80 (opponent VARCHAR, city VARCHAR)[/INST]SELECT opponent FROM table_name_80 WHERE city = "zagreb"</s> |
CREATE TABLE table_name_30 (number_of_clubs INTEGER, season VARCHAR, total_wins VARCHAR) | SELECT SUM(number_of_clubs) FROM table_name_30 WHERE season < 1992 AND total_wins > 3 | What is the sum of the number of clubs in seasons before 1992 with more than 3 total wins? | <s>[INST]What is the sum of the number of clubs in seasons before 1992 with more than 3 total wins? Context: CREATE TABLE table_name_30 (number_of_clubs INTEGER, season VARCHAR, total_wins VARCHAR)[/INST]SELECT SUM(number_of_clubs) FROM table_name_30 WHERE season < 1992 AND total_wins > 3</s> |
CREATE TABLE table_101336_1 (t_c__k_ VARCHAR, notation VARCHAR) | SELECT COUNT(t_c__k_) FROM table_101336_1 WHERE notation = "Tl-2212" | What is the number for t c (k) when the notation is tl-2212? | <s>[INST]What is the number for t c (k) when the notation is tl-2212? Context: CREATE TABLE table_101336_1 (t_c__k_ VARCHAR, notation VARCHAR)[/INST]SELECT COUNT(t_c__k_) FROM table_101336_1 WHERE notation = "Tl-2212"</s> |
CREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_83 WHERE driver = "kimi räikkönen" | What is Driver Kimi Räikkönen's number on the grid? | <s>[INST]What is Driver Kimi Räikkönen's number on the grid? Context: CREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_83 WHERE driver = "kimi räikkönen"</s> |
CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR) | SELECT character FROM table_name_34 WHERE actor = "margot boyd" | Who's the character when Margot Boyd was acting? | <s>[INST]Who's the character when Margot Boyd was acting? Context: CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR)[/INST]SELECT character FROM table_name_34 WHERE actor = "margot boyd"</s> |
CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_77 WHERE game_site = "candlestick park" | What day did they play at candlestick park? | <s>[INST]What day did they play at candlestick park? Context: CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE game_site = "candlestick park"</s> |
CREATE TABLE table_24990183_4 (Id VARCHAR) | SELECT MAX(09 AS _10_i_o_best) FROM table_24990183_4 | What was the maximum 09-10 i/o best? | <s>[INST]What was the maximum 09-10 i/o best? Context: CREATE TABLE table_24990183_4 (Id VARCHAR)[/INST]SELECT MAX(09 AS _10_i_o_best) FROM table_24990183_4</s> |
CREATE TABLE table_name_84 (touchdowns VARCHAR, extra_points VARCHAR, points VARCHAR) | SELECT COUNT(touchdowns) FROM table_name_84 WHERE extra_points > 0 AND points = 48 | How many Touchdowns have Extra points larger than 0, and Points of 48? | <s>[INST]How many Touchdowns have Extra points larger than 0, and Points of 48? Context: CREATE TABLE table_name_84 (touchdowns VARCHAR, extra_points VARCHAR, points VARCHAR)[/INST]SELECT COUNT(touchdowns) FROM table_name_84 WHERE extra_points > 0 AND points = 48</s> |
CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_73 WHERE away_team = "richmond" | What home team played against Richmond? | <s>[INST]What home team played against Richmond? Context: CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_73 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_33 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR) | SELECT lost FROM table_name_33 WHERE drawn = "0" AND tries_against = "41" | What is the value for Lost when Drawn is 0, and Tries against is 41? | <s>[INST]What is the value for Lost when Drawn is 0, and Tries against is 41? Context: CREATE TABLE table_name_33 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)[/INST]SELECT lost FROM table_name_33 WHERE drawn = "0" AND tries_against = "41"</s> |
CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR) | SELECT AVG(total) FROM table_name_60 WHERE name = "simon gillett category:articles with hcards" AND other > 3 | What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3? | <s>[INST]What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3? Context: CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR)[/INST]SELECT AVG(total) FROM table_name_60 WHERE name = "simon gillett category:articles with hcards" A... |
CREATE TABLE table_name_35 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_35 WHERE year = 1962 | WHAT IS THE SILVER WITH A YEAR OF 1962? | <s>[INST]WHAT IS THE SILVER WITH A YEAR OF 1962? Context: CREATE TABLE table_name_35 (silver VARCHAR, year VARCHAR)[/INST]SELECT silver FROM table_name_35 WHERE year = 1962</s> |
CREATE TABLE table_name_15 (format VARCHAR, label VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT format FROM table_name_15 WHERE catalog = "3645" AND date > 1981 AND label = "luaka bop" | What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981? | <s>[INST]What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981? Context: CREATE TABLE table_name_15 (format VARCHAR, label VARCHAR, catalog VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_15 WHERE catalog = "3645" AND date > 1981 AND label = "luak... |
CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR) | SELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1 | What is the maximum horsepower and the make of the car models with 3 cylinders? | <s>[INST]What is the maximum horsepower and the make of the car models with 3 cylinders? Context: CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR)[/INST]SELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId =... |
CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_basque VARCHAR) | SELECT official_name FROM table_300283_1 WHERE name_in_basque = "Bilar" | What is the official name of the municipality whose name in Basque is Bilar? | <s>[INST]What is the official name of the municipality whose name in Basque is Bilar? Context: CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_basque VARCHAR)[/INST]SELECT official_name FROM table_300283_1 WHERE name_in_basque = "Bilar"</s> |
CREATE TABLE table_name_66 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_66 WHERE week = 13 | What was the result of the week 13 game? | <s>[INST]What was the result of the week 13 game? Context: CREATE TABLE table_name_66 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_66 WHERE week = 13</s> |
CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_address_history (date_from VARCHAR, date_to VARCHAR, customer_id VARCHAR, address_id VARCHAR) | SELECT T2.customer_name, T3.city, T1.date_from, T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id JOIN addresses AS T3 ON T1.address_id = T3.address_id | Show the customer name, customer address city, date from, and date to for each customer address history. | <s>[INST]Show the customer name, customer address city, date from, and date to for each customer address history. Context: CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_address_history (date_from VARCHAR, date_to VAR... |
CREATE TABLE table_name_90 (year VARCHAR, engine VARCHAR, points VARCHAR, entrant VARCHAR) | SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = "escuderia bandeirantes" AND engine = "maserati straight-4" | What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine? | <s>[INST]What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine? Context: CREATE TABLE table_name_90 (year VARCHAR, engine VARCHAR, points VARCHAR, entrant VARCHAR)[/INST]SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = "escuderia bandeirantes... |
CREATE TABLE table_name_80 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_80 WHERE date = "21 may 2006" | What tournament was held on 21 May 2006? | <s>[INST]What tournament was held on 21 May 2006? Context: CREATE TABLE table_name_80 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_80 WHERE date = "21 may 2006"</s> |
CREATE TABLE table_name_39 (game INTEGER, team VARCHAR) | SELECT SUM(game) FROM table_name_39 WHERE team = "new york" | What is the total for New York's game? | <s>[INST]What is the total for New York's game? Context: CREATE TABLE table_name_39 (game INTEGER, team VARCHAR)[/INST]SELECT SUM(game) FROM table_name_39 WHERE team = "new york"</s> |
CREATE TABLE table_name_97 (away VARCHAR, round VARCHAR, club VARCHAR) | SELECT away FROM table_name_97 WHERE round < 2 AND club = "nk rijeka" | What is NK Rijeka's away score in Round 2? | <s>[INST]What is NK Rijeka's away score in Round 2? Context: CREATE TABLE table_name_97 (away VARCHAR, round VARCHAR, club VARCHAR)[/INST]SELECT away FROM table_name_97 WHERE round < 2 AND club = "nk rijeka"</s> |
CREATE TABLE table_27723526_17 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_27723526_17 WHERE date = "June 9" | What is the high rebound for June 9? | <s>[INST]What is the high rebound for June 9? Context: CREATE TABLE table_27723526_17 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_27723526_17 WHERE date = "June 9"</s> |
CREATE TABLE table_21350772_2 (gas_name VARCHAR) | SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Nitrous oxide" | What is the 20 year for Nitrous Oxide? | <s>[INST]What is the 20 year for Nitrous Oxide? Context: CREATE TABLE table_21350772_2 (gas_name VARCHAR)[/INST]SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Nitrous oxide"</s> |
CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3" | what's the party with dbeingtrict being massachusetts 3 | <s>[INST]what's the party with dbeingtrict being massachusetts 3 Context: CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3"</s> |
CREATE TABLE table_name_35 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_35 WHERE date = "may 9, 2012" | What was the result of the game played on May 9, 2012? | <s>[INST]What was the result of the game played on May 9, 2012? Context: CREATE TABLE table_name_35 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_35 WHERE date = "may 9, 2012"</s> |
CREATE TABLE table_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR) | SELECT wii_points FROM table_13663434_1 WHERE title_and_source = "Tsūshin Taikyoku: Igo Dōjō 2700-Mon" | what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon | <s>[INST]what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon Context: CREATE TABLE table_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR)[/INST]SELECT wii_points FROM table_13663434_1 WHERE title_and_source = "Tsūshin Taikyoku: Igo Dōjō 2700-Mon"</s> |
CREATE TABLE table_name_13 (league VARCHAR, position VARCHAR, goals VARCHAR) | SELECT league FROM table_name_13 WHERE position = "7th of 24" AND goals < 24 | Position of 7th of 24, and a Goals smaller than 24 is what league? | <s>[INST]Position of 7th of 24, and a Goals smaller than 24 is what league? Context: CREATE TABLE table_name_13 (league VARCHAR, position VARCHAR, goals VARCHAR)[/INST]SELECT league FROM table_name_13 WHERE position = "7th of 24" AND goals < 24</s> |
CREATE TABLE table_name_89 (year INTEGER, title VARCHAR) | SELECT AVG(year) FROM table_name_89 WHERE title = "baka to test to shōkanjū" | what is the average year when the title is baka to test to shōkanjū? | <s>[INST]what is the average year when the title is baka to test to shōkanjū? Context: CREATE TABLE table_name_89 (year INTEGER, title VARCHAR)[/INST]SELECT AVG(year) FROM table_name_89 WHERE title = "baka to test to shōkanjū"</s> |
CREATE TABLE table_name_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "nathan healey" | What is the date for the grass surface final against Nathan Healey? | <s>[INST]What is the date for the grass surface final against Nathan Healey? Context: CREATE TABLE table_name_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "nathan healey"</s> |
CREATE TABLE table_13050822_2 (length VARCHAR, stage VARCHAR) | SELECT length FROM table_13050822_2 WHERE stage = "SS22" | Name the length for stage ss22 | <s>[INST]Name the length for stage ss22 Context: CREATE TABLE table_13050822_2 (length VARCHAR, stage VARCHAR)[/INST]SELECT length FROM table_13050822_2 WHERE stage = "SS22"</s> |
CREATE TABLE table_name_47 (netflix VARCHAR, series_ep VARCHAR) | SELECT netflix FROM table_name_47 WHERE series_ep = "1-01" | What is the Netflix number having a series episode of 1-01? | <s>[INST]What is the Netflix number having a series episode of 1-01? Context: CREATE TABLE table_name_47 (netflix VARCHAR, series_ep VARCHAR)[/INST]SELECT netflix FROM table_name_47 WHERE series_ep = "1-01"</s> |
CREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR) | SELECT AVG(total) FROM table_name_41 WHERE player = "corey pavin" AND to_par > 5 | Player of corey pavin, and a To par larger than 5 has what average total? | <s>[INST]Player of corey pavin, and a To par larger than 5 has what average total? Context: CREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR)[/INST]SELECT AVG(total) FROM table_name_41 WHERE player = "corey pavin" AND to_par > 5</s> |
CREATE TABLE table_name_58 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_58 WHERE country = "scotland" | What was the score when the match was in the country of Scotland? | <s>[INST]What was the score when the match was in the country of Scotland? Context: CREATE TABLE table_name_58 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE country = "scotland"</s> |
CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_phone VARCHAR, building_manager VARCHAR) | SELECT building_address, building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden" | Show the addresses and phones of all the buildings managed by "Brenden". | <s>[INST]Show the addresses and phones of all the buildings managed by "Brenden". Context: CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_phone VARCHAR, building_manager VARCHAR)[/INST]SELECT building_address, building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden"</s> |
CREATE TABLE table_name_63 (comp VARCHAR, games INTEGER) | SELECT comp FROM table_name_63 WHERE games < 2 | What is the comp for games less than 2? | <s>[INST]What is the comp for games less than 2? Context: CREATE TABLE table_name_63 (comp VARCHAR, games INTEGER)[/INST]SELECT comp FROM table_name_63 WHERE games < 2</s> |
CREATE TABLE train (TIME VARCHAR, train_number VARCHAR, destination VARCHAR) | SELECT TIME, train_number FROM train WHERE destination = 'Chennai' ORDER BY TIME | Give me the times and numbers of all trains that go to Chennai, ordered by time. | <s>[INST]Give me the times and numbers of all trains that go to Chennai, ordered by time. Context: CREATE TABLE train (TIME VARCHAR, train_number VARCHAR, destination VARCHAR)[/INST]SELECT TIME, train_number FROM train WHERE destination = 'Chennai' ORDER BY TIME</s> |
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Dec VARCHAR) | SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city | Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities. | <s>[INST]Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities. Context: CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Dec VARCHAR)[/INST]SELECT T1.city... |
CREATE TABLE table_name_30 (margin INTEGER, player VARCHAR) | SELECT AVG(margin) FROM table_name_30 WHERE player = "russ cochran" | What is russ cochran's average margin? | <s>[INST]What is russ cochran's average margin? Context: CREATE TABLE table_name_30 (margin INTEGER, player VARCHAR)[/INST]SELECT AVG(margin) FROM table_name_30 WHERE player = "russ cochran"</s> |
CREATE TABLE table_name_81 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_81 WHERE country = "canada" | What is Canada's score? | <s>[INST]What is Canada's score? Context: CREATE TABLE table_name_81 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE country = "canada"</s> |
CREATE TABLE table_2538117_7 (nickname VARCHAR, founding_university VARCHAR) | SELECT nickname FROM table_2538117_7 WHERE founding_university = "Charlotte, NC" | If the founding university is in Charlotte, NC, what is the nickname? | <s>[INST]If the founding university is in Charlotte, NC, what is the nickname? Context: CREATE TABLE table_2538117_7 (nickname VARCHAR, founding_university VARCHAR)[/INST]SELECT nickname FROM table_2538117_7 WHERE founding_university = "Charlotte, NC"</s> |
CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR) | SELECT winner FROM table_name_98 WHERE prize = "€880,000" | Who is the Winner, when the Prize is €880,000? | <s>[INST]Who is the Winner, when the Prize is €880,000? Context: CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR)[/INST]SELECT winner FROM table_name_98 WHERE prize = "€880,000"</s> |
CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_90 WHERE home_team = "fitzroy" | On what date did the match where fitzroy was the home team occur? | <s>[INST]On what date did the match where fitzroy was the home team occur? Context: CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_name_55 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_55 WHERE week = 11 | What was the result of the game on week 11? | <s>[INST]What was the result of the game on week 11? Context: CREATE TABLE table_name_55 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_55 WHERE week = 11</s> |
CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_43 WHERE date = "22 january 2008" | What is the Result with a Date with 22 january 2008? | <s>[INST]What is the Result with a Date with 22 january 2008? Context: CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_43 WHERE date = "22 january 2008"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.