context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_94 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_name_94 WHERE position = "tight end" | What was the lowest round for a tight end position? | <s>[INST]What was the lowest round for a tight end position? Context: CREATE TABLE table_name_94 (round INTEGER, position VARCHAR)[/INST]SELECT MIN(round) FROM table_name_94 WHERE position = "tight end"</s> |
CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR) | SELECT AVG(match) FROM table_name_37 WHERE ground = "h" AND opponent = "chelsea under 18s" | What match number has a ground of H and the opponent Chelsea under 18s? | <s>[INST]What match number has a ground of H and the opponent Chelsea under 18s? Context: CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR)[/INST]SELECT AVG(match) FROM table_name_37 WHERE ground = "h" AND opponent = "chelsea under 18s"</s> |
CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE band (id VARCHAR, firstname VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR) | SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.firstname = "Solveig" AND T2.title = "A Bar In Amsterdam" | Which vocal type did the musician with first name "Solveig" played in the song with title "A Bar in Amsterdam"? | <s>[INST]Which vocal type did the musician with first name "Solveig" played in the song with title "A Bar in Amsterdam"? Context: CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE band (id VARCHAR, firstname VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)[/INST]SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.firstname = "Solveig" AND T2.title = "A Bar In Amsterdam"</s> |
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones" | What was the par for the t5 place player Steve Jones? | <s>[INST]What was the par for the t5 place player Steve Jones? Context: CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_16 WHERE place = "t5" AND player = "steve jones"</s> |
CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR) | SELECT prothrombin_time FROM table_name_28 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "normal or mildly prolonged" | Which Prothrombin time has a Platelet count of unaffected, and a Bleeding time of unaffected, and a Partial thromboplastin time of normal or mildly prolonged? | <s>[INST]Which Prothrombin time has a Platelet count of unaffected, and a Bleeding time of unaffected, and a Partial thromboplastin time of normal or mildly prolonged? Context: CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)[/INST]SELECT prothrombin_time FROM table_name_28 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "normal or mildly prolonged"</s> |
CREATE TABLE table_1354805_3 (number_of_dances INTEGER, average VARCHAR) | SELECT MIN(number_of_dances) FROM table_1354805_3 WHERE average = "34.1" | The minimum average number of dancers is 34.1 how many times | <s>[INST]The minimum average number of dancers is 34.1 how many times Context: CREATE TABLE table_1354805_3 (number_of_dances INTEGER, average VARCHAR)[/INST]SELECT MIN(number_of_dances) FROM table_1354805_3 WHERE average = "34.1"</s> |
CREATE TABLE table_name_53 (score VARCHAR, game VARCHAR, record VARCHAR) | SELECT score FROM table_name_53 WHERE game > 34 AND record = "31-11" | What is the score for a game after 34 with a record of 31-11? | <s>[INST]What is the score for a game after 34 with a record of 31-11? Context: CREATE TABLE table_name_53 (score VARCHAR, game VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_53 WHERE game > 34 AND record = "31-11"</s> |
CREATE TABLE table_name_46 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_46 WHERE date = "september 25, 1995" | Which tournament was played on September 25, 1995? | <s>[INST]Which tournament was played on September 25, 1995? Context: CREATE TABLE table_name_46 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_46 WHERE date = "september 25, 1995"</s> |
CREATE TABLE table_27011761_2 (train_no VARCHAR, arrival VARCHAR) | SELECT COUNT(train_no) FROM table_27011761_2 WHERE arrival = "11:00" | How many trains arrive at 11:00? | <s>[INST]How many trains arrive at 11:00? Context: CREATE TABLE table_27011761_2 (train_no VARCHAR, arrival VARCHAR)[/INST]SELECT COUNT(train_no) FROM table_27011761_2 WHERE arrival = "11:00"</s> |
CREATE TABLE cinema (LOCATION VARCHAR, capacity INTEGER) | SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCATION HAVING COUNT(*) > 1 | Find the locations that have more than one movie theater with capacity above 300. | <s>[INST]Find the locations that have more than one movie theater with capacity above 300. Context: CREATE TABLE cinema (LOCATION VARCHAR, capacity INTEGER)[/INST]SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCATION HAVING COUNT(*) > 1</s> |
CREATE TABLE perpetrator (Date VARCHAR, Killed VARCHAR) | SELECT Date FROM perpetrator ORDER BY Killed DESC | List the date of perpetrators in descending order of the number of people killed. | <s>[INST]List the date of perpetrators in descending order of the number of people killed. Context: CREATE TABLE perpetrator (Date VARCHAR, Killed VARCHAR)[/INST]SELECT Date FROM perpetrator ORDER BY Killed DESC</s> |
CREATE TABLE table_name_95 (tournament VARCHAR) | SELECT 2010 FROM table_name_95 WHERE tournament = "us open" | Name the 2010 for tournament of us open | <s>[INST]Name the 2010 for tournament of us open Context: CREATE TABLE table_name_95 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_95 WHERE tournament = "us open"</s> |
CREATE TABLE table_19766_1 (cumulative__$_millions_ VARCHAR) | SELECT MIN(1949 AS _50__) AS $_millions_ FROM table_19766_1 WHERE cumulative__$_millions_ = 376 | How much was spent in 1949/50 (in $ millions) in the country where the cumulative expenditure is $376 millions? | <s>[INST]How much was spent in 1949/50 (in $ millions) in the country where the cumulative expenditure is $376 millions? Context: CREATE TABLE table_19766_1 (cumulative__$_millions_ VARCHAR)[/INST]SELECT MIN(1949 AS _50__) AS $_millions_ FROM table_19766_1 WHERE cumulative__$_millions_ = 376</s> |
CREATE TABLE table_name_90 (name VARCHAR, stage VARCHAR) | SELECT name FROM table_name_90 WHERE stage = "ss5" | What is the Name of the SS5 Stage? | <s>[INST]What is the Name of the SS5 Stage? Context: CREATE TABLE table_name_90 (name VARCHAR, stage VARCHAR)[/INST]SELECT name FROM table_name_90 WHERE stage = "ss5"</s> |
CREATE TABLE table_name_4 (april INTEGER, score VARCHAR, game VARCHAR) | SELECT MAX(april) FROM table_name_4 WHERE score = "2–4" AND game < 76 | Which April is the smallest one that has a Score of 2–4, and a Game smaller than 76? | <s>[INST]Which April is the smallest one that has a Score of 2–4, and a Game smaller than 76? Context: CREATE TABLE table_name_4 (april INTEGER, score VARCHAR, game VARCHAR)[/INST]SELECT MAX(april) FROM table_name_4 WHERE score = "2–4" AND game < 76</s> |
CREATE TABLE table_name_73 (ihsaa_class VARCHAR, county VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_73 WHERE county = "10 clark" AND mascot = "mustangs" | What is the IHSAA class for the school in 10 Clark county with mascot of the Mustangs? | <s>[INST]What is the IHSAA class for the school in 10 Clark county with mascot of the Mustangs? Context: CREATE TABLE table_name_73 (ihsaa_class VARCHAR, county VARCHAR, mascot VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_73 WHERE county = "10 clark" AND mascot = "mustangs"</s> |
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_80 WHERE country = "united states" AND place = "t1" AND player = "david duval" | What is the score for the United States in place T1 for David Duval? | <s>[INST]What is the score for the United States in place T1 for David Duval? Context: CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE country = "united states" AND place = "t1" AND player = "david duval"</s> |
CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR) | SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = "netherlands" AND rank < 2 | what is round2 when round5 is more than 35, round3 is less than 51, the rank is smaller than 2 and the team is netherlands? | <s>[INST]what is round2 when round5 is more than 35, round3 is less than 51, the rank is smaller than 2 and the team is netherlands? Context: CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR)[/INST]SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = "netherlands" AND rank < 2</s> |
CREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR) | SELECT date_of_birth__age_ FROM table_name_19 WHERE player = "nese malifa" | When was nese malifa born? | <s>[INST]When was nese malifa born? Context: CREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_19 WHERE player = "nese malifa"</s> |
CREATE TABLE table_28677723_10 (tor_fløysvik INTEGER, couple VARCHAR) | SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE couple = "Maria & Asmund" | What is listed under tor floysvik when couple is maria & asmund? | <s>[INST]What is listed under tor floysvik when couple is maria & asmund? Context: CREATE TABLE table_28677723_10 (tor_fløysvik INTEGER, couple VARCHAR)[/INST]SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE couple = "Maria & Asmund"</s> |
CREATE TABLE table_name_27 (loss VARCHAR, attendance VARCHAR) | SELECT loss FROM table_name_27 WHERE attendance = "17,675" | What Loss had an Attendance of 17,675? | <s>[INST]What Loss had an Attendance of 17,675? Context: CREATE TABLE table_name_27 (loss VARCHAR, attendance VARCHAR)[/INST]SELECT loss FROM table_name_27 WHERE attendance = "17,675"</s> |
CREATE TABLE table_12159115_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT production_code FROM table_12159115_2 WHERE us_viewers__millions_ = "11.64" | What's the production code of the episode seen by 11.64 million US viewers? | <s>[INST]What's the production code of the episode seen by 11.64 million US viewers? Context: CREATE TABLE table_12159115_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT production_code FROM table_12159115_2 WHERE us_viewers__millions_ = "11.64"</s> |
CREATE TABLE table_name_62 (goals VARCHAR, transfer_fee VARCHAR) | SELECT COUNT(goals) FROM table_name_62 WHERE transfer_fee = "£2,500,000" | how many times is the transfer fee £2,500,000? | <s>[INST]how many times is the transfer fee £2,500,000? Context: CREATE TABLE table_name_62 (goals VARCHAR, transfer_fee VARCHAR)[/INST]SELECT COUNT(goals) FROM table_name_62 WHERE transfer_fee = "£2,500,000"</s> |
CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR, country VARCHAR) | SELECT score FROM table_name_27 WHERE place = "t9" AND country = "sweden" | What was sweden's score in T9 place? | <s>[INST]What was sweden's score in T9 place? Context: CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE place = "t9" AND country = "sweden"</s> |
CREATE TABLE table_name_73 (grid VARCHAR, driver VARCHAR) | SELECT COUNT(grid) FROM table_name_73 WHERE driver = "jean-pierre beltoise" | What is the grid total for jean-pierre beltoise? | <s>[INST]What is the grid total for jean-pierre beltoise? Context: CREATE TABLE table_name_73 (grid VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_73 WHERE driver = "jean-pierre beltoise"</s> |
CREATE TABLE table_name_13 (successful_defenses INTEGER, location VARCHAR, reign VARCHAR) | SELECT MAX(successful_defenses) FROM table_name_13 WHERE location = "brandon, florida" AND reign < 1 | What is the highest number of successful defenses in brandon, florida and a reign less than 1? | <s>[INST]What is the highest number of successful defenses in brandon, florida and a reign less than 1? Context: CREATE TABLE table_name_13 (successful_defenses INTEGER, location VARCHAR, reign VARCHAR)[/INST]SELECT MAX(successful_defenses) FROM table_name_13 WHERE location = "brandon, florida" AND reign < 1</s> |
CREATE TABLE table_23293785_2 (date VARCHAR, race_total_pts_ VARCHAR) | SELECT COUNT(date) FROM table_23293785_2 WHERE race_total_pts_ = 180 | How many dates have a total points for race of 180? | <s>[INST]How many dates have a total points for race of 180? Context: CREATE TABLE table_23293785_2 (date VARCHAR, race_total_pts_ VARCHAR)[/INST]SELECT COUNT(date) FROM table_23293785_2 WHERE race_total_pts_ = 180</s> |
CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_98 WHERE week = 4 | What is the total number of spectators on week 4? | <s>[INST]What is the total number of spectators on week 4? Context: CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_98 WHERE week = 4</s> |
CREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR) | SELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = "lenticular galaxy" AND constellation = "hydra" | What is the ngc number when the object type is lenticular galaxy and the constellation is hydra? | <s>[INST]What is the ngc number when the object type is lenticular galaxy and the constellation is hydra? Context: CREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR)[/INST]SELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = "lenticular galaxy" AND constellation = "hydra"</s> |
CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR, amount_of_transaction VARCHAR) | SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000 | Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000. | <s>[INST]Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000. Context: CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR, amount_of_transaction VARCHAR)[/INST]SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000</s> |
CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR) | SELECT type FROM table_name_91 WHERE colour = "dark blue" | Which type has a color of Dark Blue? | <s>[INST]Which type has a color of Dark Blue? Context: CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR)[/INST]SELECT type FROM table_name_91 WHERE colour = "dark blue"</s> |
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_69 WHERE date = "november 23, 1998" | Who played the final match on November 23, 1998? | <s>[INST]Who played the final match on November 23, 1998? Context: CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_69 WHERE date = "november 23, 1998"</s> |
CREATE TABLE table_name_87 (country VARCHAR, killed VARCHAR, year VARCHAR) | SELECT country FROM table_name_87 WHERE killed = 100.9 AND year > 1939.9 | What is Country, when Killed is "100.9", and when Year is greater than 1939.9? | <s>[INST]What is Country, when Killed is "100.9", and when Year is greater than 1939.9? Context: CREATE TABLE table_name_87 (country VARCHAR, killed VARCHAR, year VARCHAR)[/INST]SELECT country FROM table_name_87 WHERE killed = 100.9 AND year > 1939.9</s> |
CREATE TABLE table_name_47 (game VARCHAR, road_team VARCHAR, result VARCHAR) | SELECT game FROM table_name_47 WHERE road_team = "syracuse" AND result = "96-89" | What is Game, when Road Team is "Syracuse", and when Result is "96-89"? | <s>[INST]What is Game, when Road Team is "Syracuse", and when Result is "96-89"? Context: CREATE TABLE table_name_47 (game VARCHAR, road_team VARCHAR, result VARCHAR)[/INST]SELECT game FROM table_name_47 WHERE road_team = "syracuse" AND result = "96-89"</s> |
CREATE TABLE table_name_89 (release_date VARCHAR, part_number_s_ VARCHAR) | SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256" | What date was part number rk80533pz933256 released? | <s>[INST]What date was part number rk80533pz933256 released? Context: CREATE TABLE table_name_89 (release_date VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256"</s> |
CREATE TABLE table_name_63 (station VARCHAR, genre VARCHAR, operator VARCHAR) | SELECT station FROM table_name_63 WHERE genre = "talk radio" AND operator = "bbc radio" | Which station is operated by BBC Radio under the talk radio genre? | <s>[INST]Which station is operated by BBC Radio under the talk radio genre? Context: CREATE TABLE table_name_63 (station VARCHAR, genre VARCHAR, operator VARCHAR)[/INST]SELECT station FROM table_name_63 WHERE genre = "talk radio" AND operator = "bbc radio"</s> |
CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR) | SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19 | How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored? | <s>[INST]How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored? Context: CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR)[/INST]SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19</s> |
CREATE TABLE table_name_24 (year_s__won VARCHAR, to_par INTEGER) | SELECT year_s__won FROM table_name_24 WHERE to_par > 13 | What is Year(s) Won, when To Par is greater than 13? | <s>[INST]What is Year(s) Won, when To Par is greater than 13? Context: CREATE TABLE table_name_24 (year_s__won VARCHAR, to_par INTEGER)[/INST]SELECT year_s__won FROM table_name_24 WHERE to_par > 13</s> |
CREATE TABLE table_19072602_1 (match_no INTEGER, team_usa VARCHAR) | SELECT MIN(match_no) FROM table_19072602_1 WHERE team_usa = "Bill Hoffman" | What's the match number where Bill Hoffman plays for Team USA? | <s>[INST]What's the match number where Bill Hoffman plays for Team USA? Context: CREATE TABLE table_19072602_1 (match_no INTEGER, team_usa VARCHAR)[/INST]SELECT MIN(match_no) FROM table_19072602_1 WHERE team_usa = "Bill Hoffman"</s> |
CREATE TABLE mill (name VARCHAR) | SELECT name FROM mill WHERE name LIKE '%Moulin%' | Which of the mill names contains the french word 'Moulin'? | <s>[INST]Which of the mill names contains the french word 'Moulin'? Context: CREATE TABLE mill (name VARCHAR)[/INST]SELECT name FROM mill WHERE name LIKE '%Moulin%'</s> |
CREATE TABLE table_name_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR) | SELECT grand_prix FROM table_name_55 WHERE motogp_winner = "casey stoner" AND circuit = "losail" | Name the grand prix for casey stoner and circuit of losail | <s>[INST]Name the grand prix for casey stoner and circuit of losail Context: CREATE TABLE table_name_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR)[/INST]SELECT grand_prix FROM table_name_55 WHERE motogp_winner = "casey stoner" AND circuit = "losail"</s> |
CREATE TABLE table_name_35 (points VARCHAR, podiums VARCHAR) | SELECT points FROM table_name_35 WHERE podiums = "5" | What were the points in the year when his Podiums were 5? | <s>[INST]What were the points in the year when his Podiums were 5? Context: CREATE TABLE table_name_35 (points VARCHAR, podiums VARCHAR)[/INST]SELECT points FROM table_name_35 WHERE podiums = "5"</s> |
CREATE TABLE table_name_75 (date VARCHAR, games VARCHAR, event VARCHAR) | SELECT date FROM table_name_75 WHERE games = "2010 georgetown" AND event = "discus throw" | What's the date of the discus throw in 2010 Georgetown? | <s>[INST]What's the date of the discus throw in 2010 Georgetown? Context: CREATE TABLE table_name_75 (date VARCHAR, games VARCHAR, event VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE games = "2010 georgetown" AND event = "discus throw"</s> |
CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR) | SELECT centre FROM table_name_34 WHERE rank = 42 | Which Centre has a Rank of 42? | <s>[INST]Which Centre has a Rank of 42? Context: CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR)[/INST]SELECT centre FROM table_name_34 WHERE rank = 42</s> |
CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR) | SELECT ground FROM table_name_36 WHERE result = "0-4" | Where was the game played that has a result of 0-4? | <s>[INST]Where was the game played that has a result of 0-4? Context: CREATE TABLE table_name_36 (ground VARCHAR, result VARCHAR)[/INST]SELECT ground FROM table_name_36 WHERE result = "0-4"</s> |
CREATE TABLE table_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_23242968_1 WHERE us_viewers__millions_ = "6.76" | Who directed the episode that had 6.76 million U.S. viewers? | <s>[INST]Who directed the episode that had 6.76 million U.S. viewers? Context: CREATE TABLE table_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_23242968_1 WHERE us_viewers__millions_ = "6.76"</s> |
CREATE TABLE table_name_56 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_56 WHERE score = 77 - 68 = 145 | Who is the player with a 77-68=145 score? | <s>[INST]Who is the player with a 77-68=145 score? Context: CREATE TABLE table_name_56 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_56 WHERE score = 77 - 68 = 145</s> |
CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR) | SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC | Show the name, phone, and payment method code for all customers in descending order of customer number. | <s>[INST]Show the name, phone, and payment method code for all customers in descending order of customer number. Context: CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR)[/INST]SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC</s> |
CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 10 | What is the highest overall rank of any Tennessee State player drafted before round 10? | <s>[INST]What is the highest overall rank of any Tennessee State player drafted before round 10? Context: CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 10</s> |
CREATE TABLE table_name_99 (role VARCHAR, title VARCHAR) | SELECT role FROM table_name_99 WHERE title = "alvin and the chipmunks meet frankenstein" | When alvin and the chipmunks meet frankenstein, what was the role? | <s>[INST]When alvin and the chipmunks meet frankenstein, what was the role? Context: CREATE TABLE table_name_99 (role VARCHAR, title VARCHAR)[/INST]SELECT role FROM table_name_99 WHERE title = "alvin and the chipmunks meet frankenstein"</s> |
CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_26 WHERE venue = "mcg" | What is the Away team score for mcg? | <s>[INST]What is the Away team score for mcg? Context: CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_26 WHERE venue = "mcg"</s> |
CREATE TABLE table_24786958_2 (week INTEGER, kickoff VARCHAR) | SELECT MIN(week) FROM table_24786958_2 WHERE kickoff = "6:00 p.m." | What week had kickoff time at 6:00 p.m.? | <s>[INST]What week had kickoff time at 6:00 p.m.? Context: CREATE TABLE table_24786958_2 (week INTEGER, kickoff VARCHAR)[/INST]SELECT MIN(week) FROM table_24786958_2 WHERE kickoff = "6:00 p.m."</s> |
CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR) | SELECT driver FROM table_name_91 WHERE team = "andretti green" AND points = "32" | Which driver earned 32 points from the Andretti Green team? | <s>[INST]Which driver earned 32 points from the Andretti Green team? Context: CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR)[/INST]SELECT driver FROM table_name_91 WHERE team = "andretti green" AND points = "32"</s> |
CREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR) | SELECT COUNT(pick__number) FROM table_name_88 WHERE name = "jaimie thomas" AND round < 7 | Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers? | <s>[INST]Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers? Context: CREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_88 WHERE name = "jaimie thomas" AND round < 7</s> |
CREATE TABLE table_11251601_2 (percentage_of_global_total VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) | SELECT percentage_of_global_total FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "4.9" | HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007? | <s>[INST]HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007? Context: CREATE TABLE table_11251601_2 (percentage_of_global_total VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR)[/INST]SELECT percentage_of_global_total FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "4.9"</s> |
CREATE TABLE table_name_80 (type VARCHAR, tamil_name VARCHAR) | SELECT type FROM table_name_80 WHERE tamil_name = "சந்திர புத்தாண்டு (தினம் 2)" | What is the Tamil Name of சந்திர புத்தாண்டு (தினம் 2)? | <s>[INST]What is the Tamil Name of சந்திர புத்தாண்டு (தினம் 2)? Context: CREATE TABLE table_name_80 (type VARCHAR, tamil_name VARCHAR)[/INST]SELECT type FROM table_name_80 WHERE tamil_name = "சந்திர புத்தாண்டு (தினம் 2)"</s> |
CREATE TABLE table_name_14 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_14 WHERE away_team = "carlton" | What was the smallest crowd for a Carlton away game? | <s>[INST]What was the smallest crowd for a Carlton away game? Context: CREATE TABLE table_name_14 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_14 WHERE away_team = "carlton"</s> |
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR) | SELECT COUNT(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Dan' | How many friends does Dan have? | <s>[INST]How many friends does Dan have? Context: CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR)[/INST]SELECT COUNT(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Dan'</s> |
CREATE TABLE table_name_40 (Id VARCHAR) | SELECT 2011 FROM table_name_40 WHERE 2012 = "2r" AND 2010 = "2r" AND 2009 = "2r" | Tell me the 2011 with 2012 of 2r | <s>[INST]Tell me the 2011 with 2012 of 2r Context: CREATE TABLE table_name_40 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_40 WHERE 2012 = "2r" AND 2010 = "2r" AND 2009 = "2r"</s> |
CREATE TABLE table_name_11 (college_junior_club_team VARCHAR, round VARCHAR) | SELECT college_junior_club_team FROM table_name_11 WHERE round = 4 | Which College/junior/club team has a Round of 4? | <s>[INST]Which College/junior/club team has a Round of 4? Context: CREATE TABLE table_name_11 (college_junior_club_team VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team FROM table_name_11 WHERE round = 4</s> |
CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR) | SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11 | What lane has a time of 24.83 and a heat less than 11? | <s>[INST]What lane has a time of 24.83 and a heat less than 11? Context: CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR)[/INST]SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11</s> |
CREATE TABLE table_name_70 (member VARCHAR, electorate VARCHAR, state VARCHAR, first_elected VARCHAR, party VARCHAR) | SELECT member FROM table_name_70 WHERE first_elected = "1972" AND party = "alp" AND state = "vic" AND electorate = "gellibrand" | Which memeber has a first elected of 1972, alp as the party, vic as the state, and an electorate of gellibrand? | <s>[INST]Which memeber has a first elected of 1972, alp as the party, vic as the state, and an electorate of gellibrand? Context: CREATE TABLE table_name_70 (member VARCHAR, electorate VARCHAR, state VARCHAR, first_elected VARCHAR, party VARCHAR)[/INST]SELECT member FROM table_name_70 WHERE first_elected = "1972" AND party = "alp" AND state = "vic" AND electorate = "gellibrand"</s> |
CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR) | SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Sérgio Abreu" | How many contestants were there when the runner-up was Sérgio Abreu? | <s>[INST]How many contestants were there when the runner-up was Sérgio Abreu? Context: CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR)[/INST]SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Sérgio Abreu"</s> |
CREATE TABLE table_name_68 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_68 WHERE date = "feb 10" | What is the location of the tournament on Feb 10? | <s>[INST]What is the location of the tournament on Feb 10? Context: CREATE TABLE table_name_68 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_68 WHERE date = "feb 10"</s> |
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE employees (reports_to VARCHAR) | SELECT T2.first_name, T2.last_name, COUNT(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY COUNT(T1.reports_to) DESC LIMIT 1 | Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee. | <s>[INST]Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE employees (reports_to VARCHAR)[/INST]SELECT T2.first_name, T2.last_name, COUNT(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY COUNT(T1.reports_to) DESC LIMIT 1</s> |
CREATE TABLE table_name_38 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_38 WHERE round = 4 | A round of 4 is in what position? | <s>[INST]A round of 4 is in what position? Context: CREATE TABLE table_name_38 (position VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_38 WHERE round = 4</s> |
CREATE TABLE table_name_51 (date VARCHAR, competition VARCHAR, result VARCHAR) | SELECT date FROM table_name_51 WHERE competition = "emerging nations tournament" AND result = "scotland 34-9 russia" | What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia? | <s>[INST]What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia? Context: CREATE TABLE table_name_51 (date VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_51 WHERE competition = "emerging nations tournament" AND result = "scotland 34-9 russia"</s> |
CREATE TABLE table_name_50 (acquisition_via VARCHAR, season VARCHAR) | SELECT acquisition_via FROM table_name_50 WHERE season = "2006-2012" | What is Acquisition via, when Season is 2006-2012? | <s>[INST]What is Acquisition via, when Season is 2006-2012? Context: CREATE TABLE table_name_50 (acquisition_via VARCHAR, season VARCHAR)[/INST]SELECT acquisition_via FROM table_name_50 WHERE season = "2006-2012"</s> |
CREATE TABLE table_name_58 (artist VARCHAR, draw INTEGER) | SELECT artist FROM table_name_58 WHERE draw > 15 | Which artist has a draw greater than 15? | <s>[INST]Which artist has a draw greater than 15? Context: CREATE TABLE table_name_58 (artist VARCHAR, draw INTEGER)[/INST]SELECT artist FROM table_name_58 WHERE draw > 15</s> |
CREATE TABLE table_name_6 (points VARCHAR, laps VARCHAR) | SELECT points FROM table_name_6 WHERE laps = "75" | How many points have 75 laps? | <s>[INST]How many points have 75 laps? Context: CREATE TABLE table_name_6 (points VARCHAR, laps VARCHAR)[/INST]SELECT points FROM table_name_6 WHERE laps = "75"</s> |
CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 11" | What was the score for the December 11 game against the Ottawa Senators? | <s>[INST]What was the score for the December 11 game against the Ottawa Senators? Context: CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 11"</s> |
CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) | SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway" | When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed? | <s>[INST]When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed? Context: CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)[/INST]SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway"</s> |
CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER, date VARCHAR) | SELECT zip_code, AVG(mean_temperature_f) FROM weather WHERE date LIKE "8/%" GROUP BY zip_code | For each zip code, return the average mean temperature of August there. | <s>[INST]For each zip code, return the average mean temperature of August there. Context: CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER, date VARCHAR)[/INST]SELECT zip_code, AVG(mean_temperature_f) FROM weather WHERE date LIKE "8/%" GROUP BY zip_code</s> |
CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR) | SELECT finish FROM table_name_20 WHERE total = 273 | What is the Finish of the Player with a Total of 273? | <s>[INST]What is the Finish of the Player with a Total of 273? Context: CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR)[/INST]SELECT finish FROM table_name_20 WHERE total = 273</s> |
CREATE TABLE table_2508633_3 (player VARCHAR, nfl_team VARCHAR) | SELECT player FROM table_2508633_3 WHERE nfl_team = "Baltimore Colts" | Who was drafted by the Baltimore Colts? | <s>[INST]Who was drafted by the Baltimore Colts? Context: CREATE TABLE table_2508633_3 (player VARCHAR, nfl_team VARCHAR)[/INST]SELECT player FROM table_2508633_3 WHERE nfl_team = "Baltimore Colts"</s> |
CREATE TABLE table_228973_5 (no_in_series INTEGER, original_air_date VARCHAR) | SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = "April 27, 1999" | What episode number in the series originally aired on April 27, 1999? | <s>[INST]What episode number in the series originally aired on April 27, 1999? Context: CREATE TABLE table_228973_5 (no_in_series INTEGER, original_air_date VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = "April 27, 1999"</s> |
CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR) | SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198 | How many blockings occured in the game with 198 rebounds? | <s>[INST]How many blockings occured in the game with 198 rebounds? Context: CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR)[/INST]SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198</s> |
CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_31 WHERE player = "corey pavin" | What place is Corey Pavin in? | <s>[INST]What place is Corey Pavin in? Context: CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_31 WHERE player = "corey pavin"</s> |
CREATE TABLE table_name_42 (rank INTEGER, goals VARCHAR, matches VARCHAR) | SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270 | Which Rank has a Goals smaller than 76, and a Matches larger than 270? | <s>[INST]Which Rank has a Goals smaller than 76, and a Matches larger than 270? Context: CREATE TABLE table_name_42 (rank INTEGER, goals VARCHAR, matches VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270</s> |
CREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR) | SELECT losingteam FROM table_11236195_2 WHERE score = "24-12" | Which losing team had a score of 24-12? | <s>[INST]Which losing team had a score of 24-12? Context: CREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR)[/INST]SELECT losingteam FROM table_11236195_2 WHERE score = "24-12"</s> |
CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_47 WHERE player = "kenneth udjus" | What Position has a Player named kenneth udjus? | <s>[INST]What Position has a Player named kenneth udjus? Context: CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_47 WHERE player = "kenneth udjus"</s> |
CREATE TABLE table_name_58 (bubbles VARCHAR, cancelable VARCHAR, attribute VARCHAR) | SELECT bubbles FROM table_name_58 WHERE cancelable = "yes" AND attribute = "onpointerdown" | Which bubble have a cancelable of yes and an attribute of onpointerdown? | <s>[INST]Which bubble have a cancelable of yes and an attribute of onpointerdown? Context: CREATE TABLE table_name_58 (bubbles VARCHAR, cancelable VARCHAR, attribute VARCHAR)[/INST]SELECT bubbles FROM table_name_58 WHERE cancelable = "yes" AND attribute = "onpointerdown"</s> |
CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR) | SELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = "bruce arena" | What is the sum of points when Bruce Arena has 21 wins? | <s>[INST]What is the sum of points when Bruce Arena has 21 wins? Context: CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR)[/INST]SELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = "bruce arena"</s> |
CREATE TABLE table_1341577_10 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341577_10 WHERE district = "Florida 5" | what's incumbent with district being florida 5 | <s>[INST]what's incumbent with district being florida 5 Context: CREATE TABLE table_1341577_10 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341577_10 WHERE district = "Florida 5"</s> |
CREATE TABLE table_name_60 (pick VARCHAR, college VARCHAR) | SELECT COUNT(pick) FROM table_name_60 WHERE college = "pittsburgh" | Which pick came from Pittsburgh? | <s>[INST]Which pick came from Pittsburgh? Context: CREATE TABLE table_name_60 (pick VARCHAR, college VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_60 WHERE college = "pittsburgh"</s> |
CREATE TABLE table_name_37 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_37 WHERE attendance = "60,894" | Tell me the lowest week for attendance of 60,894 | <s>[INST]Tell me the lowest week for attendance of 60,894 Context: CREATE TABLE table_name_37 (week INTEGER, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_37 WHERE attendance = "60,894"</s> |
CREATE TABLE table_1176162_3 (cylinders__valves VARCHAR, model VARCHAR) | SELECT cylinders__valves FROM table_1176162_3 WHERE model = "1.8 20V" | what's the cylinders/ valves with model being 1.8 20v | <s>[INST]what's the cylinders/ valves with model being 1.8 20v Context: CREATE TABLE table_1176162_3 (cylinders__valves VARCHAR, model VARCHAR)[/INST]SELECT cylinders__valves FROM table_1176162_3 WHERE model = "1.8 20V"</s> |
CREATE TABLE table_name_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR) | SELECT displacement FROM table_name_61 WHERE year = 1999 AND torque = "280n·m (207lb·ft) @ 1750" | What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750? | <s>[INST]What displacement is the model in 1999 with a Torque of 280n·m (207lb·ft) @ 1750? Context: CREATE TABLE table_name_61 (displacement VARCHAR, year VARCHAR, torque VARCHAR)[/INST]SELECT displacement FROM table_name_61 WHERE year = 1999 AND torque = "280n·m (207lb·ft) @ 1750"</s> |
CREATE TABLE table_name_23 (gold INTEGER, silver INTEGER) | SELECT SUM(gold) FROM table_name_23 WHERE silver > 1 | Name the sum of gold which has a silver more than 1 | <s>[INST]Name the sum of gold which has a silver more than 1 Context: CREATE TABLE table_name_23 (gold INTEGER, silver INTEGER)[/INST]SELECT SUM(gold) FROM table_name_23 WHERE silver > 1</s> |
CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT bronze FROM table_name_55 WHERE silver = "tatiana ryabkina" AND gold = "anne margrethe hausken" | What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold? | <s>[INST]What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold? Context: CREATE TABLE table_name_55 (bronze VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT bronze FROM table_name_55 WHERE silver = "tatiana ryabkina" AND gold = "anne margrethe hausken"</s> |
CREATE TABLE table_name_6 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_6 WHERE visitor = "atlanta" | What was the score for the game against Atlanta? | <s>[INST]What was the score for the game against Atlanta? Context: CREATE TABLE table_name_6 (score VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE visitor = "atlanta"</s> |
CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup" | What Venue held the World Race Walking Cup tourney before 2008? | <s>[INST]What Venue held the World Race Walking Cup tourney before 2008? Context: CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR)[/INST]SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup"</s> |
CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR) | SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering" | Where is every location with specialization of textile engineering? | <s>[INST]Where is every location with specialization of textile engineering? Context: CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR)[/INST]SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering"</s> |
CREATE TABLE table_name_71 (bronze INTEGER, gold VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_71 WHERE gold = 2 AND total > 6 | What is the lowest number of bronze medals for nations with over 6 total and 2 golds? | <s>[INST]What is the lowest number of bronze medals for nations with over 6 total and 2 golds? Context: CREATE TABLE table_name_71 (bronze INTEGER, gold VARCHAR, total VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_71 WHERE gold = 2 AND total > 6</s> |
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet" | What date was the score 3–3, and away team was Barnet? | <s>[INST]What date was the score 3–3, and away team was Barnet? Context: CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet"</s> |
CREATE TABLE table_name_66 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_66 WHERE date = "1984" | Which catalog had a date year of 1984? | <s>[INST]Which catalog had a date year of 1984? Context: CREATE TABLE table_name_66 (catalog VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_66 WHERE date = "1984"</s> |
CREATE TABLE table_name_17 (season INTEGER, total_prize_money VARCHAR) | SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,000" | What was the highest season number with a total prize of $108,000? | <s>[INST]What was the highest season number with a total prize of $108,000? Context: CREATE TABLE table_name_17 (season INTEGER, total_prize_money VARCHAR)[/INST]SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,000"</s> |
CREATE TABLE table_name_65 (round INTEGER, player VARCHAR, pick VARCHAR) | SELECT AVG(round) FROM table_name_65 WHERE player = "dan chicoine" AND pick > 23 | Which Round has a Player of dan chicoine, and a Pick larger than 23? | <s>[INST]Which Round has a Player of dan chicoine, and a Pick larger than 23? Context: CREATE TABLE table_name_65 (round INTEGER, player VARCHAR, pick VARCHAR)[/INST]SELECT AVG(round) FROM table_name_65 WHERE player = "dan chicoine" AND pick > 23</s> |
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, enrollment VARCHAR) | SELECT team_nickname FROM table_28211213_2 WHERE enrollment = 4512 | 4512 is the enrollment what is the team nickname? | <s>[INST]4512 is the enrollment what is the team nickname? Context: CREATE TABLE table_28211213_2 (team_nickname VARCHAR, enrollment VARCHAR)[/INST]SELECT team_nickname FROM table_28211213_2 WHERE enrollment = 4512</s> |
CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR) | SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina" | Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina? | <s>[INST]Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina? Context: CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)[/INST]SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.