context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_26 WHERE home_team = "south melbourne" | What did the away team score when they visited south melbourne? | <s>[INST]What did the away team score when they visited south melbourne? Context: CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_26 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR) | SELECT laps FROM table_name_96 WHERE points = 19 | How many laps were there in the race that netted the winner 19 points? | <s>[INST]How many laps were there in the race that netted the winner 19 points? Context: CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR)[/INST]SELECT laps FROM table_name_96 WHERE points = 19</s> |
CREATE TABLE table_26321719_1 (population_density VARCHAR, name VARCHAR) | SELECT population_density FROM table_26321719_1 WHERE name = "Beaubassin East" | What is every population density if name is Beaubassin East? | <s>[INST]What is every population density if name is Beaubassin East? Context: CREATE TABLE table_26321719_1 (population_density VARCHAR, name VARCHAR)[/INST]SELECT population_density FROM table_26321719_1 WHERE name = "Beaubassin East"</s> |
CREATE TABLE table_name_48 (grid INTEGER, laps VARCHAR, constructor VARCHAR) | SELECT MIN(grid) FROM table_name_48 WHERE laps < 17 AND constructor = "sauber - petronas" | What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas? | <s>[INST]What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas? Context: CREATE TABLE table_name_48 (grid INTEGER, laps VARCHAR, constructor VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_48 WHERE laps < 17 AND constructor = "sauber - petronas"</s> |
CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis" | What is the outcome of the match with opponent Jade Curtis? | <s>[INST]What is the outcome of the match with opponent Jade Curtis? Context: CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR)[/INST]SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis"</s> |
CREATE TABLE table_2380212_1 (league VARCHAR, avg_attendance VARCHAR) | SELECT COUNT(league) FROM table_2380212_1 WHERE avg_attendance = 3589 | How many different Leagues had average attendance of 3589? | <s>[INST]How many different Leagues had average attendance of 3589? Context: CREATE TABLE table_2380212_1 (league VARCHAR, avg_attendance VARCHAR)[/INST]SELECT COUNT(league) FROM table_2380212_1 WHERE avg_attendance = 3589</s> |
CREATE TABLE table_name_96 (country VARCHAR, location VARCHAR) | SELECT country FROM table_name_96 WHERE location = "aberdeen" | In what country is Aberdeen? | <s>[INST]In what country is Aberdeen? Context: CREATE TABLE table_name_96 (country VARCHAR, location VARCHAR)[/INST]SELECT country FROM table_name_96 WHERE location = "aberdeen"</s> |
CREATE TABLE table_2508633_11 (nfl_team VARCHAR, college VARCHAR) | SELECT nfl_team FROM table_2508633_11 WHERE college = "North Texas State" | What are the NFL Teams in College North Texas State? | <s>[INST]What are the NFL Teams in College North Texas State? Context: CREATE TABLE table_2508633_11 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_2508633_11 WHERE college = "North Texas State"</s> |
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) | SELECT distance FROM table_2923917_4 WHERE brisbane = "$5.20" | What is the distance when brisbane is $5.20? | <s>[INST]What is the distance when brisbane is $5.20? Context: CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)[/INST]SELECT distance FROM table_2923917_4 WHERE brisbane = "$5.20"</s> |
CREATE TABLE table_name_18 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_18 WHERE player = "chris moreno" | What position for chris moreno? | <s>[INST]What position for chris moreno? Context: CREATE TABLE table_name_18 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_18 WHERE player = "chris moreno"</s> |
CREATE TABLE table_27708484_3 (overall_goals_scored INTEGER, stadium VARCHAR) | SELECT MAX(overall_goals_scored) FROM table_27708484_3 WHERE stadium = "Moses Mabhida stadium" | how many overall goals were scored at moses mabhida stadium? | <s>[INST]how many overall goals were scored at moses mabhida stadium? Context: CREATE TABLE table_27708484_3 (overall_goals_scored INTEGER, stadium VARCHAR)[/INST]SELECT MAX(overall_goals_scored) FROM table_27708484_3 WHERE stadium = "Moses Mabhida stadium"</s> |
CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR) | SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = "FC St. Gallen" | What round did they face fc st. gallen? | <s>[INST]What round did they face fc st. gallen? Context: CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR)[/INST]SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = "FC St. Gallen"</s> |
CREATE TABLE table_name_99 (location VARCHAR, ref_number VARCHAR) | SELECT location FROM table_name_99 WHERE ref_number = 44 | What is the location of the mill with a reference number of 44? | <s>[INST]What is the location of the mill with a reference number of 44? Context: CREATE TABLE table_name_99 (location VARCHAR, ref_number VARCHAR)[/INST]SELECT location FROM table_name_99 WHERE ref_number = 44</s> |
CREATE TABLE artwork (Name VARCHAR, TYPE VARCHAR) | SELECT Name FROM artwork WHERE TYPE <> "Program Talent Show" | List the name of artworks whose type is not "Program Talent Show". | <s>[INST]List the name of artworks whose type is not "Program Talent Show". Context: CREATE TABLE artwork (Name VARCHAR, TYPE VARCHAR)[/INST]SELECT Name FROM artwork WHERE TYPE <> "Program Talent Show"</s> |
CREATE TABLE table_27700375_6 (game VARCHAR, high_rebounds VARCHAR) | SELECT COUNT(game) FROM table_27700375_6 WHERE high_rebounds = "Derrick Favors (8)" | In how many games were the high rebounds made by Derrick Favors (8)? | <s>[INST]In how many games were the high rebounds made by Derrick Favors (8)? Context: CREATE TABLE table_27700375_6 (game VARCHAR, high_rebounds VARCHAR)[/INST]SELECT COUNT(game) FROM table_27700375_6 WHERE high_rebounds = "Derrick Favors (8)"</s> |
CREATE TABLE student (fname VARCHAR) | SELECT DISTINCT fname FROM student | What are the first names of all the students? | <s>[INST]What are the first names of all the students? Context: CREATE TABLE student (fname VARCHAR)[/INST]SELECT DISTINCT fname FROM student</s> |
CREATE TABLE table_name_28 (gold VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_28 WHERE bronze = 1 | What shows for gold when bronze is 1? | <s>[INST]What shows for gold when bronze is 1? Context: CREATE TABLE table_name_28 (gold VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_28 WHERE bronze = 1</s> |
CREATE TABLE table_12722302_2 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_12722302_2 WHERE us_viewers__million_ = "3.19" | Who directed the episode with 3.19 million u.s. viewers? | <s>[INST]Who directed the episode with 3.19 million u.s. viewers? Context: CREATE TABLE table_12722302_2 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_12722302_2 WHERE us_viewers__million_ = "3.19"</s> |
CREATE TABLE table_26847237_1 (win_loss VARCHAR, location VARCHAR) | SELECT win_loss FROM table_26847237_1 WHERE location = "Paeroa" | Was it a win or a loss for Wanganui in Paeroa? | <s>[INST]Was it a win or a loss for Wanganui in Paeroa? Context: CREATE TABLE table_26847237_1 (win_loss VARCHAR, location VARCHAR)[/INST]SELECT win_loss FROM table_26847237_1 WHERE location = "Paeroa"</s> |
CREATE TABLE table_name_92 (country VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT country FROM table_name_92 WHERE to_par = "e" AND player = "jay haas" | Which country is Jay Haas from when he had a to par of E? | <s>[INST]Which country is Jay Haas from when he had a to par of E? Context: CREATE TABLE table_name_92 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_92 WHERE to_par = "e" AND player = "jay haas"</s> |
CREATE TABLE table_12226390_6 (title VARCHAR, no_in_season VARCHAR) | SELECT title FROM table_12226390_6 WHERE no_in_season = 25 | What's the title of the episode with a season number 25? | <s>[INST]What's the title of the episode with a season number 25? Context: CREATE TABLE table_12226390_6 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT title FROM table_12226390_6 WHERE no_in_season = 25</s> |
CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR) | SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th" | Party of republican, and a District of 5th is what highest elected? | <s>[INST]Party of republican, and a District of 5th is what highest elected? Context: CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR)[/INST]SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th"</s> |
CREATE TABLE table_name_93 (colours VARCHAR, house_name VARCHAR) | SELECT colours FROM table_name_93 WHERE house_name = "ogun" | What colours have a House Name of ogun? | <s>[INST]What colours have a House Name of ogun? Context: CREATE TABLE table_name_93 (colours VARCHAR, house_name VARCHAR)[/INST]SELECT colours FROM table_name_93 WHERE house_name = "ogun"</s> |
CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_86 WHERE away_team = "hawthorn" | Which home team has a Away team of hawthorn? | <s>[INST]Which home team has a Away team of hawthorn? Context: CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_86 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_34 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284) | What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)? | <s>[INST]What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)? Context: CREATE TABLE table_name_34 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284)</s> |
CREATE TABLE table_name_82 (laps INTEGER, grid VARCHAR) | SELECT SUM(laps) FROM table_name_82 WHERE grid = 12 | Name the sum of laps for 12 grids | <s>[INST]Name the sum of laps for 12 grids Context: CREATE TABLE table_name_82 (laps INTEGER, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_82 WHERE grid = 12</s> |
CREATE TABLE table_name_14 (location VARCHAR, winner VARCHAR) | SELECT location FROM table_name_14 WHERE winner = "shocker" | What is the location where shocker was the winner? | <s>[INST]What is the location where shocker was the winner? Context: CREATE TABLE table_name_14 (location VARCHAR, winner VARCHAR)[/INST]SELECT location FROM table_name_14 WHERE winner = "shocker"</s> |
CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR) | SELECT launched FROM table_name_45 WHERE ship = "wyandotte" | What date was the ship 'Wyandotte' launched? | <s>[INST]What date was the ship 'Wyandotte' launched? Context: CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR)[/INST]SELECT launched FROM table_name_45 WHERE ship = "wyandotte"</s> |
CREATE TABLE table_2454589_1 (club VARCHAR, home_city VARCHAR) | SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo" | Name the club for quevedo | <s>[INST]Name the club for quevedo Context: CREATE TABLE table_2454589_1 (club VARCHAR, home_city VARCHAR)[/INST]SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo"</s> |
CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_99 WHERE home = "new york islanders" | What was the score of the game when they played at new york islanders? | <s>[INST]What was the score of the game when they played at new york islanders? Context: CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_99 WHERE home = "new york islanders"</s> |
CREATE TABLE table_256286_19 (passed VARCHAR, no_votes VARCHAR) | SELECT passed FROM table_256286_19 WHERE no_votes = 61307 | What was the passing result for the measure with 61307 no votes? | <s>[INST]What was the passing result for the measure with 61307 no votes? Context: CREATE TABLE table_256286_19 (passed VARCHAR, no_votes VARCHAR)[/INST]SELECT passed FROM table_256286_19 WHERE no_votes = 61307</s> |
CREATE TABLE table_20906175_3 (attempts VARCHAR, name VARCHAR) | SELECT COUNT(attempts) FROM table_20906175_3 WHERE name = "Charley Johnson" | How many attempts did Charley Johnson have? | <s>[INST]How many attempts did Charley Johnson have? Context: CREATE TABLE table_20906175_3 (attempts VARCHAR, name VARCHAR)[/INST]SELECT COUNT(attempts) FROM table_20906175_3 WHERE name = "Charley Johnson"</s> |
CREATE TABLE table_name_99 (result VARCHAR, horse VARCHAR, event VARCHAR) | SELECT COUNT(result) FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test" | What is the result of Waldemar 27´s freestyle test? | <s>[INST]What is the result of Waldemar 27´s freestyle test? Context: CREATE TABLE table_name_99 (result VARCHAR, horse VARCHAR, event VARCHAR)[/INST]SELECT COUNT(result) FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test"</s> |
CREATE TABLE table_name_3 (laps INTEGER, driver VARCHAR) | SELECT MAX(laps) FROM table_name_3 WHERE driver = "joe nemechek" | What is the highest number of laps completed by driver Joe Nemechek? | <s>[INST]What is the highest number of laps completed by driver Joe Nemechek? Context: CREATE TABLE table_name_3 (laps INTEGER, driver VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_3 WHERE driver = "joe nemechek"</s> |
CREATE TABLE university (affiliation VARCHAR, Enrollment INTEGER, founded INTEGER) | SELECT SUM(Enrollment), affiliation FROM university WHERE founded > 1850 GROUP BY affiliation | Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type. | <s>[INST]Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type. Context: CREATE TABLE university (affiliation VARCHAR, Enrollment INTEGER, founded INTEGER)[/INST]SELECT SUM(Enrollment), affiliation FROM university WHERE founded > 1850 GROUP BY affiliation</s> |
CREATE TABLE table_1147705_1 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR) | SELECT engine_configuration_ & _notes_0_100km_h FROM table_1147705_1 WHERE engine_type = "B5244 T2" | What is the engine configuration $notes 0-100km/h for the engine type b5244 t2? | <s>[INST]What is the engine configuration $notes 0-100km/h for the engine type b5244 t2? Context: CREATE TABLE table_1147705_1 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR)[/INST]SELECT engine_configuration_ & _notes_0_100km_h FROM table_1147705_1 WHERE engine_type = "B5244 T2"</s> |
CREATE TABLE table_name_86 (writer VARCHAR, title VARCHAR) | SELECT writer FROM table_name_86 WHERE title = "infiltration" | Who wrote Infiltration? | <s>[INST]Who wrote Infiltration? Context: CREATE TABLE table_name_86 (writer VARCHAR, title VARCHAR)[/INST]SELECT writer FROM table_name_86 WHERE title = "infiltration"</s> |
CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR) | SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3" | Name the avg start for avg finish of 18.3 | <s>[INST]Name the avg start for avg finish of 18.3 Context: CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)[/INST]SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3"</s> |
CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR) | SELECT COUNT(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = "United Airlines" AND T2.SourceAirport = "AHD" | How many 'United Airlines' flights depart from Airport 'AHD'? | <s>[INST]How many 'United Airlines' flights depart from Airport 'AHD'? Context: CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)[/INST]SELECT COUNT(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = "United Airlines" AND T2.SourceAirport = "AHD"</s> |
CREATE TABLE table_name_66 (province VARCHAR, city VARCHAR) | SELECT province FROM table_name_66 WHERE city = "hamilton" | What province is Hamilton part of? | <s>[INST]What province is Hamilton part of? Context: CREATE TABLE table_name_66 (province VARCHAR, city VARCHAR)[/INST]SELECT province FROM table_name_66 WHERE city = "hamilton"</s> |
CREATE TABLE Customers_cards (card_type_code VARCHAR) | SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code | Show all card type codes and the number of cards in each type. | <s>[INST]Show all card type codes and the number of cards in each type. Context: CREATE TABLE Customers_cards (card_type_code VARCHAR)[/INST]SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code</s> |
CREATE TABLE table_name_59 (sample_size VARCHAR, poll_source VARCHAR, margin_of_error VARCHAR) | SELECT COUNT(sample_size) FROM table_name_59 WHERE poll_source = "rasmussen reports" AND margin_of_error > 4.5 | What si the total sample size at rasmussen reports when the margin of error was bigger than 4.5? | <s>[INST]What si the total sample size at rasmussen reports when the margin of error was bigger than 4.5? Context: CREATE TABLE table_name_59 (sample_size VARCHAR, poll_source VARCHAR, margin_of_error VARCHAR)[/INST]SELECT COUNT(sample_size) FROM table_name_59 WHERE poll_source = "rasmussen reports" AND margin_of_error > 4.5</s> |
CREATE TABLE table_name_45 (assists INTEGER, games INTEGER) | SELECT SUM(assists) FROM table_name_45 WHERE games > 25 | How many Assists for the Player with more than 25 Games? | <s>[INST]How many Assists for the Player with more than 25 Games? Context: CREATE TABLE table_name_45 (assists INTEGER, games INTEGER)[/INST]SELECT SUM(assists) FROM table_name_45 WHERE games > 25</s> |
CREATE TABLE table_name_12 (campus VARCHAR, year_opened VARCHAR) | SELECT campus FROM table_name_12 WHERE year_opened = "1970" | What campus opened in 1970? | <s>[INST]What campus opened in 1970? Context: CREATE TABLE table_name_12 (campus VARCHAR, year_opened VARCHAR)[/INST]SELECT campus FROM table_name_12 WHERE year_opened = "1970"</s> |
CREATE TABLE round (Member_ID VARCHAR, Rank_in_Round INTEGER); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR) | SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID WHERE T2.Rank_in_Round > 3 | Show the names of members that have a rank in round higher than 3. | <s>[INST]Show the names of members that have a rank in round higher than 3. Context: CREATE TABLE round (Member_ID VARCHAR, Rank_in_Round INTEGER); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR)[/INST]SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID WHERE T2.Rank_in_Round > 3</s> |
CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR) | SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent" | Name the tier 1 ratio for irish life and permanent | <s>[INST]Name the tier 1 ratio for irish life and permanent Context: CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR)[/INST]SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent"</s> |
CREATE TABLE institution (institution_id VARCHAR, founded VARCHAR, type VARCHAR); CREATE TABLE protein (institution_id VARCHAR) | SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id WHERE T1.founded > 1880 OR T1.type = 'Private' | How many proteins are associated with an institution founded after 1880 or an institution with type "Private"? | <s>[INST]How many proteins are associated with an institution founded after 1880 or an institution with type "Private"? Context: CREATE TABLE institution (institution_id VARCHAR, founded VARCHAR, type VARCHAR); CREATE TABLE protein (institution_id VARCHAR)[/INST]SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id WHERE T1.founded > 1880 OR T1.type = 'Private'</s> |
CREATE TABLE table_26476336_2 (years VARCHAR, new_classification VARCHAR) | SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I" | What are the years that the new classification was MCLA division i? | <s>[INST]What are the years that the new classification was MCLA division i? Context: CREATE TABLE table_26476336_2 (years VARCHAR, new_classification VARCHAR)[/INST]SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I"</s> |
CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR) | SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver" | For which location was the round smaller than 11 and the circuit streets of denver? | <s>[INST]For which location was the round smaller than 11 and the circuit streets of denver? Context: CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)[/INST]SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver"</s> |
CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = "gilera" AND grid < 12 | What was the lowest lab for Gilera with a grid less than 12? | <s>[INST]What was the lowest lab for Gilera with a grid less than 12? Context: CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = "gilera" AND grid < 12</s> |
CREATE TABLE table_14342480_7 (points VARCHAR, position VARCHAR) | SELECT COUNT(points) FROM table_14342480_7 WHERE position = "Right tackle" | How many points were scored by someone who's position was right tackle? | <s>[INST]How many points were scored by someone who's position was right tackle? Context: CREATE TABLE table_14342480_7 (points VARCHAR, position VARCHAR)[/INST]SELECT COUNT(points) FROM table_14342480_7 WHERE position = "Right tackle"</s> |
CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_38 WHERE player = "david frost" | Where is David Frost from? | <s>[INST]Where is David Frost from? Context: CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_38 WHERE player = "david frost"</s> |
CREATE TABLE table_name_55 (time VARCHAR, owner VARCHAR) | SELECT time FROM table_name_55 WHERE owner = "maine chance farm" | What time contains the owner of maine chance farm? | <s>[INST]What time contains the owner of maine chance farm? Context: CREATE TABLE table_name_55 (time VARCHAR, owner VARCHAR)[/INST]SELECT time FROM table_name_55 WHERE owner = "maine chance farm"</s> |
CREATE TABLE table_name_26 (to_club VARCHAR, player VARCHAR) | SELECT to_club FROM table_name_26 WHERE player = "ashley grimes" | Ashley Grimes had what to club? | <s>[INST]Ashley Grimes had what to club? Context: CREATE TABLE table_name_26 (to_club VARCHAR, player VARCHAR)[/INST]SELECT to_club FROM table_name_26 WHERE player = "ashley grimes"</s> |
CREATE TABLE table_name_49 (save VARCHAR, date VARCHAR) | SELECT save FROM table_name_49 WHERE date = "september 2" | Who had a save on September 2? | <s>[INST]Who had a save on September 2? Context: CREATE TABLE table_name_49 (save VARCHAR, date VARCHAR)[/INST]SELECT save FROM table_name_49 WHERE date = "september 2"</s> |
CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR) | SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson" | what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson | <s>[INST]what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson Context: CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR)[/INST]SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson"</s> |
CREATE TABLE table_name_71 (fastest_lap VARCHAR, race VARCHAR) | SELECT fastest_lap FROM table_name_71 WHERE race = "german grand prix" | Who had the fastest lap for the German Grand Prix? | <s>[INST]Who had the fastest lap for the German Grand Prix? Context: CREATE TABLE table_name_71 (fastest_lap VARCHAR, race VARCHAR)[/INST]SELECT fastest_lap FROM table_name_71 WHERE race = "german grand prix"</s> |
CREATE TABLE table_name_93 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_93 WHERE date = "april 17" | Who was the visitor for the April 17 game? | <s>[INST]Who was the visitor for the April 17 game? Context: CREATE TABLE table_name_93 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_93 WHERE date = "april 17"</s> |
CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_86 WHERE venue = "mcg" | Who was the home team at MCG? | <s>[INST]Who was the home team at MCG? Context: CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_86 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_8 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) | SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND results¹ = "5:2" | Who was the opponent in Belgrade and had a result of 5:2? | <s>[INST]Who was the opponent in Belgrade and had a result of 5:2? Context: CREATE TABLE table_name_8 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR)[/INST]SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND results¹ = "5:2"</s> |
CREATE TABLE table_name_39 (talent__male_ VARCHAR, year VARCHAR) | SELECT talent__male_ FROM table_name_39 WHERE year = 1991 | Who is the male talent in 1991? | <s>[INST]Who is the male talent in 1991? Context: CREATE TABLE table_name_39 (talent__male_ VARCHAR, year VARCHAR)[/INST]SELECT talent__male_ FROM table_name_39 WHERE year = 1991</s> |
CREATE TABLE table_name_80 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_80 WHERE date = "december 18, 2005" | Who was the opponent on December 18, 2005? | <s>[INST]Who was the opponent on December 18, 2005? Context: CREATE TABLE table_name_80 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_80 WHERE date = "december 18, 2005"</s> |
CREATE TABLE table_name_99 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_99 WHERE country = "france" | What is the To Par score for the player from France? | <s>[INST]What is the To Par score for the player from France? Context: CREATE TABLE table_name_99 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_99 WHERE country = "france"</s> |
CREATE TABLE route (station_id VARCHAR); CREATE TABLE station (network_name VARCHAR, services VARCHAR, id VARCHAR) | SELECT COUNT(*), t1.network_name, t1.services FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id GROUP BY t2.station_id | Find the number of trains for each station, as well as the station network name and services. | <s>[INST]Find the number of trains for each station, as well as the station network name and services. Context: CREATE TABLE route (station_id VARCHAR); CREATE TABLE station (network_name VARCHAR, services VARCHAR, id VARCHAR)[/INST]SELECT COUNT(*), t1.network_name, t1.services FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id GROUP BY t2.station_id</s> |
CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR) | SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix" | Name th most poles for macau grand prix | <s>[INST]Name th most poles for macau grand prix Context: CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR)[/INST]SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix"</s> |
CREATE TABLE table_name_23 (Id VARCHAR) | SELECT 1997 FROM table_name_23 WHERE 1999 = "grand slams" | What 1997 has grand slams for the 1999? | <s>[INST]What 1997 has grand slams for the 1999? Context: CREATE TABLE table_name_23 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_23 WHERE 1999 = "grand slams"</s> |
CREATE TABLE table_name_96 (entrant VARCHAR, rounds VARCHAR) | SELECT entrant FROM table_name_96 WHERE rounds = "1-2, 4-10, 12" | The rounds of 1-2, 4-10, 12 belong to which entrant? | <s>[INST]The rounds of 1-2, 4-10, 12 belong to which entrant? Context: CREATE TABLE table_name_96 (entrant VARCHAR, rounds VARCHAR)[/INST]SELECT entrant FROM table_name_96 WHERE rounds = "1-2, 4-10, 12"</s> |
CREATE TABLE table_24856090_1 (average INTEGER, hk_viewers VARCHAR) | SELECT MAX(average) FROM table_24856090_1 WHERE hk_viewers = "1.97 million" | What is the largest average for the episode with 1.97 million Hong Kong viewers? | <s>[INST]What is the largest average for the episode with 1.97 million Hong Kong viewers? Context: CREATE TABLE table_24856090_1 (average INTEGER, hk_viewers VARCHAR)[/INST]SELECT MAX(average) FROM table_24856090_1 WHERE hk_viewers = "1.97 million"</s> |
CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR) | SELECT winning_span FROM table_1953516_1 WHERE rank = "5" | What is the winning span with the rank of 5? | <s>[INST]What is the winning span with the rank of 5? Context: CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR)[/INST]SELECT winning_span FROM table_1953516_1 WHERE rank = "5"</s> |
CREATE TABLE table_16570286_2 (matches INTEGER) | SELECT MAX(matches) FROM table_16570286_2 | What is the highest number of matches? | <s>[INST]What is the highest number of matches? Context: CREATE TABLE table_16570286_2 (matches INTEGER)[/INST]SELECT MAX(matches) FROM table_16570286_2</s> |
CREATE TABLE table_name_16 (tenure VARCHAR, date_of_death VARCHAR) | SELECT tenure FROM table_name_16 WHERE date_of_death = "2001-08-31" | What is the Tenure of the Officer with a Date of death of 2001-08-31? | <s>[INST]What is the Tenure of the Officer with a Date of death of 2001-08-31? Context: CREATE TABLE table_name_16 (tenure VARCHAR, date_of_death VARCHAR)[/INST]SELECT tenure FROM table_name_16 WHERE date_of_death = "2001-08-31"</s> |
CREATE TABLE table_name_21 (money___$__ VARCHAR, place VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_21 WHERE place = "t8" AND score = 74 - 72 - 75 - 71 = 292 | What was the money when the place was t8 and the score was 74-72-75-71=292? | <s>[INST]What was the money when the place was t8 and the score was 74-72-75-71=292? Context: CREATE TABLE table_name_21 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT money___$__ FROM table_name_21 WHERE place = "t8" AND score = 74 - 72 - 75 - 71 = 292</s> |
CREATE TABLE table_name_43 (city VARCHAR, past_season VARCHAR) | SELECT city FROM table_name_43 WHERE past_season = "n/a" | what city has a past season of n/a? | <s>[INST]what city has a past season of n/a? Context: CREATE TABLE table_name_43 (city VARCHAR, past_season VARCHAR)[/INST]SELECT city FROM table_name_43 WHERE past_season = "n/a"</s> |
CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR) | SELECT MAX(year) FROM table_name_62 WHERE beer_name = "maggs magnificent mild" AND competition = "camra reading branch beer festival" AND category = "overall" | What year did maggs magnificent mild bear win overall at the camra reading branch beer festival? | <s>[INST]What year did maggs magnificent mild bear win overall at the camra reading branch beer festival? Context: CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR)[/INST]SELECT MAX(year) FROM table_name_62 WHERE beer_name = "maggs magnificent mild" AND competition = "camra reading branch beer festival" AND category = "overall"</s> |
CREATE TABLE table_22648285_1 (year VARCHAR, laps VARCHAR) | SELECT year FROM table_22648285_1 WHERE laps = "301*" | What year had a race with 301* laps? | <s>[INST]What year had a race with 301* laps? Context: CREATE TABLE table_22648285_1 (year VARCHAR, laps VARCHAR)[/INST]SELECT year FROM table_22648285_1 WHERE laps = "301*"</s> |
CREATE TABLE table_29085880_1 (no VARCHAR, us_viewers__million_ VARCHAR) | SELECT no FROM table_29085880_1 WHERE us_viewers__million_ = "1.312" | Which episode number saw 1.312 million U.S. Wviewers? | <s>[INST]Which episode number saw 1.312 million U.S. Wviewers? Context: CREATE TABLE table_29085880_1 (no VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT no FROM table_29085880_1 WHERE us_viewers__million_ = "1.312"</s> |
CREATE TABLE table_name_78 (drawn VARCHAR, played VARCHAR, club VARCHAR) | SELECT drawn FROM table_name_78 WHERE played = "20" AND club = "rhigos rfc" | Which Drawn has a Played of 20, and a Club of rhigos rfc? | <s>[INST]Which Drawn has a Played of 20, and a Club of rhigos rfc? Context: CREATE TABLE table_name_78 (drawn VARCHAR, played VARCHAR, club VARCHAR)[/INST]SELECT drawn FROM table_name_78 WHERE played = "20" AND club = "rhigos rfc"</s> |
CREATE TABLE table_1598533_8 (public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR) | SELECT public_debt__percentage_of_gdp__2013_q1_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = "4.7%" | What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012? | <s>[INST]What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012? Context: CREATE TABLE table_1598533_8 (public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR)[/INST]SELECT public_debt__percentage_of_gdp__2013_q1_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = "4.7%"</s> |
CREATE TABLE table_10966926_2 (height VARCHAR, weight VARCHAR) | SELECT height FROM table_10966926_2 WHERE weight = 320 | What is the height of the person that weighs 320 pounds? | <s>[INST]What is the height of the person that weighs 320 pounds? Context: CREATE TABLE table_10966926_2 (height VARCHAR, weight VARCHAR)[/INST]SELECT height FROM table_10966926_2 WHERE weight = 320</s> |
CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR) | SELECT platform FROM table_name_89 WHERE title = "super mario all-stars" | What's the platform of Super Mario All-Stars? | <s>[INST]What's the platform of Super Mario All-Stars? Context: CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR)[/INST]SELECT platform FROM table_name_89 WHERE title = "super mario all-stars"</s> |
CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 INTEGER) | SELECT AVG(cuts_made) FROM table_name_54 WHERE top_25 < 2 | For top-25 values under 2, what is the average number of cuts made? | <s>[INST]For top-25 values under 2, what is the average number of cuts made? Context: CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 INTEGER)[/INST]SELECT AVG(cuts_made) FROM table_name_54 WHERE top_25 < 2</s> |
CREATE TABLE table_name_85 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_85 WHERE date = "january 4" | Who was the home team on January 4? | <s>[INST]Who was the home team on January 4? Context: CREATE TABLE table_name_85 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_85 WHERE date = "january 4"</s> |
CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_7 WHERE record = "1-3" | When has a Record of 1-3? | <s>[INST]When has a Record of 1-3? Context: CREATE TABLE table_name_7 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE record = "1-3"</s> |
CREATE TABLE table_11695215_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_11695215_1 WHERE directed_by = "David Jackson" | How many episodes did David Jackson write and direct? | <s>[INST]How many episodes did David Jackson write and direct? Context: CREATE TABLE table_11695215_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_11695215_1 WHERE directed_by = "David Jackson"</s> |
CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER) | SELECT AVG(points_2) FROM table_name_96 WHERE played > 46 | What is the Points 2 average of teams that have played more than 46 games? | <s>[INST]What is the Points 2 average of teams that have played more than 46 games? Context: CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER)[/INST]SELECT AVG(points_2) FROM table_name_96 WHERE played > 46</s> |
CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR) | SELECT date FROM table_20745706_1 WHERE _number = "5" | What is the date of game 5? | <s>[INST]What is the date of game 5? Context: CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR)[/INST]SELECT date FROM table_20745706_1 WHERE _number = "5"</s> |
CREATE TABLE table_name_46 (site VARCHAR, cost___us$__ VARCHAR, editor VARCHAR) | SELECT site FROM table_name_46 WHERE cost___us$__ = "free" AND editor = "jsvi" | Which site has a Cost free and a Editor of jsvi? | <s>[INST]Which site has a Cost free and a Editor of jsvi? Context: CREATE TABLE table_name_46 (site VARCHAR, cost___us$__ VARCHAR, editor VARCHAR)[/INST]SELECT site FROM table_name_46 WHERE cost___us$__ = "free" AND editor = "jsvi"</s> |
CREATE TABLE table_name_16 (name VARCHAR, left_office VARCHAR) | SELECT name FROM table_name_16 WHERE left_office = "cabinet secretary for culture and external affairs" | What is the Left Office of cabinet secretary for culture and external affairs named? | <s>[INST]What is the Left Office of cabinet secretary for culture and external affairs named? Context: CREATE TABLE table_name_16 (name VARCHAR, left_office VARCHAR)[/INST]SELECT name FROM table_name_16 WHERE left_office = "cabinet secretary for culture and external affairs"</s> |
CREATE TABLE table_name_41 (place__posición_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR) | SELECT MAX(place__posición_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 14 | What was the top place with over 24 points and more than 14 played? | <s>[INST]What was the top place with over 24 points and more than 14 played? Context: CREATE TABLE table_name_41 (place__posición_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR)[/INST]SELECT MAX(place__posición_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 14</s> |
CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR) | SELECT SUM(attendance) FROM table_name_7 WHERE record = "47-43" | What was the attendance of the Blue Jays' game when their record was 47-43? | <s>[INST]What was the attendance of the Blue Jays' game when their record was 47-43? Context: CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_7 WHERE record = "47-43"</s> |
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_89 WHERE home_team = "richmond" | When did the home team of Richmond play? | <s>[INST]When did the home team of Richmond play? Context: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_89 WHERE home_team = "richmond"</s> |
CREATE TABLE election (Party VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR) | SELECT Party FROM party WHERE NOT Party_ID IN (SELECT Party FROM election) | What are the names of parties that do not have delegates in election? | <s>[INST]What are the names of parties that do not have delegates in election? Context: CREATE TABLE election (Party VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)[/INST]SELECT Party FROM party WHERE NOT Party_ID IN (SELECT Party FROM election)</s> |
CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR) | SELECT final_score FROM table_23601267_2 WHERE date = "October 28" | What was the score on the October 28 game? | <s>[INST]What was the score on the October 28 game? Context: CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_23601267_2 WHERE date = "October 28"</s> |
CREATE TABLE table_1204998_2 (simplified VARCHAR, pinyin VARCHAR) | SELECT COUNT(simplified) FROM table_1204998_2 WHERE pinyin = "Xīnluó Qū" | When pinyin is xīnluó qū, what is the simplified value? | <s>[INST]When pinyin is xīnluó qū, what is the simplified value? Context: CREATE TABLE table_1204998_2 (simplified VARCHAR, pinyin VARCHAR)[/INST]SELECT COUNT(simplified) FROM table_1204998_2 WHERE pinyin = "Xīnluó Qū"</s> |
CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR) | SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9 | What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? | <s>[INST]What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9? Context: CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR)[/INST]SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9</s> |
CREATE TABLE table_10128185_2 (scotland INTEGER) | SELECT MIN(scotland) FROM table_10128185_2 | What was the lowest number of votes Scotland cast? | <s>[INST]What was the lowest number of votes Scotland cast? Context: CREATE TABLE table_10128185_2 (scotland INTEGER)[/INST]SELECT MIN(scotland) FROM table_10128185_2</s> |
CREATE TABLE table_name_23 (venue VARCHAR, batting_team VARCHAR) | SELECT venue FROM table_name_23 WHERE batting_team = "west indies" | Where did the west indies batting team play at? | <s>[INST]Where did the west indies batting team play at? Context: CREATE TABLE table_name_23 (venue VARCHAR, batting_team VARCHAR)[/INST]SELECT venue FROM table_name_23 WHERE batting_team = "west indies"</s> |
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR) | SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi" | Name the ply uk, nz, au for wraps per inch 7 wpi | <s>[INST]Name the ply uk, nz, au for wraps per inch 7 wpi Context: CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR)[/INST]SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi"</s> |
CREATE TABLE table_21146729_6 (director VARCHAR, writer_s_ VARCHAR) | SELECT director FROM table_21146729_6 WHERE writer_s_ = "John W. Bloch" | Who was the director when the writer(s) was John W. Bloch? | <s>[INST]Who was the director when the writer(s) was John W. Bloch? Context: CREATE TABLE table_21146729_6 (director VARCHAR, writer_s_ VARCHAR)[/INST]SELECT director FROM table_21146729_6 WHERE writer_s_ = "John W. Bloch"</s> |
CREATE TABLE table_13606924_1 (total VARCHAR, bush__number VARCHAR) | SELECT COUNT(total) FROM table_13606924_1 WHERE bush__number = 1552 | how many total with bush # being 1552 | <s>[INST] how many total with bush # being 1552 Context: CREATE TABLE table_13606924_1 (total VARCHAR, bush__number VARCHAR)[/INST]SELECT COUNT(total) FROM table_13606924_1 WHERE bush__number = 1552</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.