context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_82 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_82 WHERE country = "united states" AND player = "calvin peete" | Where did Calvin Peete of the United States place? | <s>[INST]Where did Calvin Peete of the United States place? Context: CREATE TABLE table_name_82 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_82 WHERE country = "united states" AND player = "calvin peete"</s> |
CREATE TABLE table_26040604_1 (die_size__mm_2__ VARCHAR, texture___gt__s_ VARCHAR) | SELECT COUNT(die_size__mm_2__) FROM table_26040604_1 WHERE texture___gt__s_ = "34" | How many die sizes have a texture of exactly 34? | <s>[INST]How many die sizes have a texture of exactly 34? Context: CREATE TABLE table_26040604_1 (die_size__mm_2__ VARCHAR, texture___gt__s_ VARCHAR)[/INST]SELECT COUNT(die_size__mm_2__) FROM table_26040604_1 WHERE texture___gt__s_ = "34"</s> |
CREATE TABLE table_1507423_4 (wins VARCHAR, position VARCHAR) | SELECT COUNT(wins) FROM table_1507423_4 WHERE position = "26th" | How many wins were there when the position was 26th? | <s>[INST]How many wins were there when the position was 26th? Context: CREATE TABLE table_1507423_4 (wins VARCHAR, position VARCHAR)[/INST]SELECT COUNT(wins) FROM table_1507423_4 WHERE position = "26th"</s> |
CREATE TABLE table_1601792_3 (operator VARCHAR, station VARCHAR) | SELECT operator FROM table_1601792_3 WHERE station = "XFM" | Who operates the xfm station? | <s>[INST]Who operates the xfm station? Context: CREATE TABLE table_1601792_3 (operator VARCHAR, station VARCHAR)[/INST]SELECT operator FROM table_1601792_3 WHERE station = "XFM"</s> |
CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR) | SELECT score FROM table_name_62 WHERE to_par = "e" | When the To par is E, what is the Score? | <s>[INST]When the To par is E, what is the Score? Context: CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR)[/INST]SELECT score FROM table_name_62 WHERE to_par = "e"</s> |
CREATE TABLE table_25887826_17 (pos INTEGER, avg VARCHAR) | SELECT MAX(pos) FROM table_25887826_17 WHERE avg = "1.8529" | How many POS when the average is 1.8529? | <s>[INST]How many POS when the average is 1.8529? Context: CREATE TABLE table_25887826_17 (pos INTEGER, avg VARCHAR)[/INST]SELECT MAX(pos) FROM table_25887826_17 WHERE avg = "1.8529"</s> |
CREATE TABLE table_27533947_1 (games_lost VARCHAR, best_run VARCHAR) | SELECT games_lost FROM table_27533947_1 WHERE best_run = 138 | if the best run was 138, what is the amount of games lost? | <s>[INST]if the best run was 138, what is the amount of games lost? Context: CREATE TABLE table_27533947_1 (games_lost VARCHAR, best_run VARCHAR)[/INST]SELECT games_lost FROM table_27533947_1 WHERE best_run = 138</s> |
CREATE TABLE table_1353096_1 (owned_since VARCHAR, channel_tv___dt__ VARCHAR) | SELECT owned_since FROM table_1353096_1 WHERE channel_tv___dt__ = "10 (10)" | When was 10 (10) bought? | <s>[INST]When was 10 (10) bought? Context: CREATE TABLE table_1353096_1 (owned_since VARCHAR, channel_tv___dt__ VARCHAR)[/INST]SELECT owned_since FROM table_1353096_1 WHERE channel_tv___dt__ = "10 (10)"</s> |
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_56 WHERE venue = "lake oval" | When the venue was lake oval what did the home team score? | <s>[INST]When the venue was lake oval what did the home team score? Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_56 WHERE venue = "lake oval"</s> |
CREATE TABLE table_name_90 (year INTEGER, festival_organization VARCHAR) | SELECT MIN(year) FROM table_name_90 WHERE festival_organization = "satellite award" | What is the first year that there was a Satellite Award? | <s>[INST]What is the first year that there was a Satellite Award? Context: CREATE TABLE table_name_90 (year INTEGER, festival_organization VARCHAR)[/INST]SELECT MIN(year) FROM table_name_90 WHERE festival_organization = "satellite award"</s> |
CREATE TABLE table_1924975_1 (q1_pos INTEGER, q1_time VARCHAR) | SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218" | When the q1 time is 1:16.218 what is the highest q1 pos? | <s>[INST]When the q1 time is 1:16.218 what is the highest q1 pos? Context: CREATE TABLE table_1924975_1 (q1_pos INTEGER, q1_time VARCHAR)[/INST]SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218"</s> |
CREATE TABLE table_name_61 (location VARCHAR, year VARCHAR) | SELECT location FROM table_name_61 WHERE year = 2007 | What is the location in 2007? | <s>[INST]What is the location in 2007? Context: CREATE TABLE table_name_61 (location VARCHAR, year VARCHAR)[/INST]SELECT location FROM table_name_61 WHERE year = 2007</s> |
CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR) | SELECT venue FROM table_name_62 WHERE race = "carfax 250" | What is the venue of teh carfax 250 race? | <s>[INST]What is the venue of teh carfax 250 race? Context: CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR)[/INST]SELECT venue FROM table_name_62 WHERE race = "carfax 250"</s> |
CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_14 WHERE round = 7 | What is the nationality of the player from round 7? | <s>[INST]What is the nationality of the player from round 7? Context: CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_14 WHERE round = 7</s> |
CREATE TABLE table_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48" | Who directed the episode that had 1.48 million viewers in the U.S.? | <s>[INST]Who directed the episode that had 1.48 million viewers in the U.S.? Context: CREATE TABLE table_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48"</s> |
CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park" | In the game at Victoria Park, what was the number of people in the crowd? | <s>[INST]In the game at Victoria Park, what was the number of people in the crowd? Context: CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park"</s> |
CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR) | SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the storm name and max speed which affected the greatest number of regions? | <s>[INST]What is the storm name and max speed which affected the greatest number of regions? Context: CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)[/INST]SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_87 WHERE rank < 10 AND silver > 3 AND gold > 3 | How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3? | <s>[INST]How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3? Context: CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)[/INST]SELECT SUM(total) FROM table_name_87 WHERE rank < 10 AND silver > 3 AND gold > 3</s> |
CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) | SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC" | Name the points classification for mark renshaw and team csc | <s>[INST]Name the points classification for mark renshaw and team csc Context: CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)[/INST]SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC"</s> |
CREATE TABLE table_28677723_11 (christer_tornell VARCHAR, total VARCHAR) | SELECT COUNT(christer_tornell) FROM table_28677723_11 WHERE total = 30 | how many for christer tornell where the total is 30? | <s>[INST]how many for christer tornell where the total is 30? Context: CREATE TABLE table_28677723_11 (christer_tornell VARCHAR, total VARCHAR)[/INST]SELECT COUNT(christer_tornell) FROM table_28677723_11 WHERE total = 30</s> |
CREATE TABLE dogs (breed_code VARCHAR, size_code VARCHAR) | SELECT DISTINCT breed_code, size_code FROM dogs | What are all the possible breed type and size type combinations? | <s>[INST]What are all the possible breed type and size type combinations? Context: CREATE TABLE dogs (breed_code VARCHAR, size_code VARCHAR)[/INST]SELECT DISTINCT breed_code, size_code FROM dogs</s> |
CREATE TABLE table_17675675_2 (won VARCHAR, tries_against VARCHAR) | SELECT won FROM table_17675675_2 WHERE tries_against = "89" | with the amount of tries at 89, how many win's were there? | <s>[INST]with the amount of tries at 89, how many win's were there? Context: CREATE TABLE table_17675675_2 (won VARCHAR, tries_against VARCHAR)[/INST]SELECT won FROM table_17675675_2 WHERE tries_against = "89"</s> |
CREATE TABLE table_name_4 (frequency VARCHAR, order_part_number VARCHAR) | SELECT frequency FROM table_name_4 WHERE order_part_number = "tmn550dcr23gm" | what is the frequency of part number tmn550dcr23gm? | <s>[INST]what is the frequency of part number tmn550dcr23gm? Context: CREATE TABLE table_name_4 (frequency VARCHAR, order_part_number VARCHAR)[/INST]SELECT frequency FROM table_name_4 WHERE order_part_number = "tmn550dcr23gm"</s> |
CREATE TABLE table_name_77 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT MIN(grid) FROM table_name_77 WHERE time_retired = "+33.634" AND laps < 19 | What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19? | <s>[INST]What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19? Context: CREATE TABLE table_name_77 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_77 WHERE time_retired = "+33.634" AND laps < 19</s> |
CREATE TABLE table_name_70 (years VARCHAR, representative VARCHAR) | SELECT years FROM table_name_70 WHERE representative = "frank a. oliver" | What years did Representative Frank A. Oliver serve? | <s>[INST]What years did Representative Frank A. Oliver serve? Context: CREATE TABLE table_name_70 (years VARCHAR, representative VARCHAR)[/INST]SELECT years FROM table_name_70 WHERE representative = "frank a. oliver"</s> |
CREATE TABLE table_30108346_1 (country VARCHAR, troops_per_one_million_population VARCHAR) | SELECT country FROM table_30108346_1 WHERE troops_per_one_million_population = "54.9" | Name the country for troops per one million being 54.9 | <s>[INST]Name the country for troops per one million being 54.9 Context: CREATE TABLE table_30108346_1 (country VARCHAR, troops_per_one_million_population VARCHAR)[/INST]SELECT country FROM table_30108346_1 WHERE troops_per_one_million_population = "54.9"</s> |
CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR) | SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters" | What is Ludo Peeters' team classification? | <s>[INST]What is Ludo Peeters' team classification? Context: CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR)[/INST]SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters"</s> |
CREATE TABLE table_name_28 (region VARCHAR, icao VARCHAR) | SELECT region FROM table_name_28 WHERE icao = "vmmc" | I want the region for ICAO of vmmc | <s>[INST]I want the region for ICAO of vmmc Context: CREATE TABLE table_name_28 (region VARCHAR, icao VARCHAR)[/INST]SELECT region FROM table_name_28 WHERE icao = "vmmc"</s> |
CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_31 WHERE opponent = "selma babic" | what is the surface when the opponent is selma babic? | <s>[INST]what is the surface when the opponent is selma babic? Context: CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_31 WHERE opponent = "selma babic"</s> |
CREATE TABLE table_name_56 (no_6 VARCHAR, no_10 VARCHAR, no_8 VARCHAR) | SELECT no_6 FROM table_name_56 WHERE no_10 = "joshua" AND no_8 = "andrew" | What is the No. 6 of the person with a No. 10 of Joshua and a No. 8 of Andrew? | <s>[INST]What is the No. 6 of the person with a No. 10 of Joshua and a No. 8 of Andrew? Context: CREATE TABLE table_name_56 (no_6 VARCHAR, no_10 VARCHAR, no_8 VARCHAR)[/INST]SELECT no_6 FROM table_name_56 WHERE no_10 = "joshua" AND no_8 = "andrew"</s> |
CREATE TABLE table_name_57 (last_aired VARCHAR, retitled_as_same VARCHAR) | SELECT last_aired FROM table_name_57 WHERE retitled_as_same = "classic concentration" | Which Last Aired has a Retitled as/Same of classic concentration? | <s>[INST]Which Last Aired has a Retitled as/Same of classic concentration? Context: CREATE TABLE table_name_57 (last_aired VARCHAR, retitled_as_same VARCHAR)[/INST]SELECT last_aired FROM table_name_57 WHERE retitled_as_same = "classic concentration"</s> |
CREATE TABLE table_name_47 (pick__number VARCHAR, name VARCHAR) | SELECT COUNT(pick__number) FROM table_name_47 WHERE name = "chad owens" | How many picks does chad owens have? | <s>[INST]How many picks does chad owens have? Context: CREATE TABLE table_name_47 (pick__number VARCHAR, name VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_47 WHERE name = "chad owens"</s> |
CREATE TABLE table_17058116_5 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_17058116_5 WHERE date = "November 21" | Where was the game that took place in November 21 located and how many attended? | <s>[INST]Where was the game that took place in November 21 located and how many attended? Context: CREATE TABLE table_17058116_5 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_17058116_5 WHERE date = "November 21"</s> |
CREATE TABLE table_11964154_9 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_11964154_9 WHERE location_attendance = "KeyArena 13,627" | what's the record where location attendance is keyarena 13,627 | <s>[INST] what's the record where location attendance is keyarena 13,627 Context: CREATE TABLE table_11964154_9 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT record FROM table_11964154_9 WHERE location_attendance = "KeyArena 13,627"</s> |
CREATE TABLE table_name_22 (defending_forces VARCHAR, population VARCHAR) | SELECT defending_forces FROM table_name_22 WHERE population = "650" | What defending forces have a population of 650? | <s>[INST]What defending forces have a population of 650? Context: CREATE TABLE table_name_22 (defending_forces VARCHAR, population VARCHAR)[/INST]SELECT defending_forces FROM table_name_22 WHERE population = "650"</s> |
CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR) | SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 2008" | Name the republican steve sauerberg where dates administered september 15-september 18, 2008 | <s>[INST]Name the republican steve sauerberg where dates administered september 15-september 18, 2008 Context: CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR)[/INST]SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 2008"</s> |
CREATE TABLE table_name_17 (position VARCHAR, played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT COUNT(position) FROM table_name_17 WHERE drawn = 0 AND points > 22 AND played > 14 | What is the total position with a drawn of 0 and greater than 22 points and a greater than 14 played? | <s>[INST]What is the total position with a drawn of 0 and greater than 22 points and a greater than 14 played? Context: CREATE TABLE table_name_17 (position VARCHAR, played VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_17 WHERE drawn = 0 AND points > 22 AND played > 14</s> |
CREATE TABLE table_name_59 (total INTEGER, silver VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_59 WHERE silver > 6 AND gold < 8 | Which nation has more than 6 Silver medals and fewer than 8 Gold medals? | <s>[INST]Which nation has more than 6 Silver medals and fewer than 8 Gold medals? Context: CREATE TABLE table_name_59 (total INTEGER, silver VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_59 WHERE silver > 6 AND gold < 8</s> |
CREATE TABLE table_name_88 (clubs INTEGER, place VARCHAR, all_around VARCHAR) | SELECT MIN(clubs) FROM table_name_88 WHERE place > 5 AND all_around > 9.7 | What are the lowest clubs that have a place greater than 5, with an all around greater than 9.7? | <s>[INST]What are the lowest clubs that have a place greater than 5, with an all around greater than 9.7? Context: CREATE TABLE table_name_88 (clubs INTEGER, place VARCHAR, all_around VARCHAR)[/INST]SELECT MIN(clubs) FROM table_name_88 WHERE place > 5 AND all_around > 9.7</s> |
CREATE TABLE table_12962773_14 (year_born INTEGER, height VARCHAR) | SELECT MAX(year_born) FROM table_12962773_14 WHERE height = "2.02" | What year was the player born who is 2.02m tall? | <s>[INST]What year was the player born who is 2.02m tall? Context: CREATE TABLE table_12962773_14 (year_born INTEGER, height VARCHAR)[/INST]SELECT MAX(year_born) FROM table_12962773_14 WHERE height = "2.02"</s> |
CREATE TABLE table_name_14 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_14 WHERE record = "49-61" | What was the attendance at the game when the record was 49-61? | <s>[INST]What was the attendance at the game when the record was 49-61? Context: CREATE TABLE table_name_14 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_14 WHERE record = "49-61"</s> |
CREATE TABLE table_16575609_3 (college VARCHAR, player VARCHAR) | SELECT college FROM table_16575609_3 WHERE player = "Jean-Nicolas Carriere" | What college does Jean-Nicolas Carriere play for? | <s>[INST]What college does Jean-Nicolas Carriere play for? Context: CREATE TABLE table_16575609_3 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_16575609_3 WHERE player = "Jean-Nicolas Carriere"</s> |
CREATE TABLE table_name_81 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers" | Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers? | <s>[INST]Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers? Context: CREATE TABLE table_name_81 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers"</s> |
CREATE TABLE table_23286223_5 (high_rebounds VARCHAR, game VARCHAR) | SELECT COUNT(high_rebounds) FROM table_23286223_5 WHERE game = 26 | How many different high rebound results are there for the game number 26? | <s>[INST]How many different high rebound results are there for the game number 26? Context: CREATE TABLE table_23286223_5 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_23286223_5 WHERE game = 26</s> |
CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR) | SELECT MIN(attendance) FROM table_name_38 WHERE home = "phoenix" AND record = "1–0–0" | What is the low attendance was based in phoenix with a Record of 1–0–0? | <s>[INST]What is the low attendance was based in phoenix with a Record of 1–0–0? Context: CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_38 WHERE home = "phoenix" AND record = "1–0–0"</s> |
CREATE TABLE table_2146364_2 (third_place INTEGER) | SELECT MIN(third_place) FROM table_2146364_2 | What is the smallest third place finish? | <s>[INST]What is the smallest third place finish? Context: CREATE TABLE table_2146364_2 (third_place INTEGER)[/INST]SELECT MIN(third_place) FROM table_2146364_2</s> |
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) | SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero" | When santiago del estero is the hometown who is the contestant? | <s>[INST]When santiago del estero is the hometown who is the contestant? Context: CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)[/INST]SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero"</s> |
CREATE TABLE table_11447995_2 (liscumb VARCHAR, gauthier VARCHAR) | SELECT liscumb FROM table_11447995_2 WHERE gauthier = "34" | What is the Liscumb when Gauthier is 34? | <s>[INST]What is the Liscumb when Gauthier is 34? Context: CREATE TABLE table_11447995_2 (liscumb VARCHAR, gauthier VARCHAR)[/INST]SELECT liscumb FROM table_11447995_2 WHERE gauthier = "34"</s> |
CREATE TABLE table_name_38 (silver INTEGER, nation VARCHAR, gold VARCHAR) | SELECT SUM(silver) FROM table_name_38 WHERE nation = "syria (syr)" AND gold > 0 | what is the silver when the nation is syria (syr) and gold is more than 0? | <s>[INST]what is the silver when the nation is syria (syr) and gold is more than 0? Context: CREATE TABLE table_name_38 (silver INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_38 WHERE nation = "syria (syr)" AND gold > 0</s> |
CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR) | SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs" | Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs? | <s>[INST]Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs? Context: CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR)[/INST]SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs"</s> |
CREATE TABLE Flight (flno VARCHAR, distance VARCHAR, price VARCHAR) | SELECT flno, distance FROM Flight ORDER BY price DESC LIMIT 1 | Show the flight number and distance of the flight with maximum price. | <s>[INST]Show the flight number and distance of the flight with maximum price. Context: CREATE TABLE Flight (flno VARCHAR, distance VARCHAR, price VARCHAR)[/INST]SELECT flno, distance FROM Flight ORDER BY price DESC LIMIT 1</s> |
CREATE TABLE table_name_61 (Id VARCHAR) | SELECT 2004 FROM table_name_61 WHERE 2012 = "21" | Tell me the 2004 for 2012 of 21 | <s>[INST]Tell me the 2004 for 2012 of 21 Context: CREATE TABLE table_name_61 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_61 WHERE 2012 = "21"</s> |
CREATE TABLE table_name_11 (driver VARCHAR, entrant VARCHAR) | SELECT driver FROM table_name_11 WHERE entrant = "fred saunders" | When the entrant is fred saunders what is the driver? | <s>[INST]When the entrant is fred saunders what is the driver? Context: CREATE TABLE table_name_11 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_11 WHERE entrant = "fred saunders"</s> |
CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR) | SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 2010" | Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? | <s>[INST]Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? Context: CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR)[/INST]SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 2010"</s> |
CREATE TABLE table_name_84 (share VARCHAR, episode_no VARCHAR) | SELECT share FROM table_name_84 WHERE episode_no = 1 | What's the share of Episode 1? | <s>[INST]What's the share of Episode 1? Context: CREATE TABLE table_name_84 (share VARCHAR, episode_no VARCHAR)[/INST]SELECT share FROM table_name_84 WHERE episode_no = 1</s> |
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR) | SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th" | What was the host city of the 8th edition in the the host country of Croatia? | <s>[INST]What was the host city of the 8th edition in the the host country of Croatia? Context: CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)[/INST]SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th"</s> |
CREATE TABLE table_1341453_37 (results VARCHAR, first_elected VARCHAR) | SELECT results FROM table_1341453_37 WHERE first_elected = 1984 | What was the result of the election in which the incumbent was first elected in 1984? | <s>[INST]What was the result of the election in which the incumbent was first elected in 1984? Context: CREATE TABLE table_1341453_37 (results VARCHAR, first_elected VARCHAR)[/INST]SELECT results FROM table_1341453_37 WHERE first_elected = 1984</s> |
CREATE TABLE table_name_2 (revenue_per_capita VARCHAR, state VARCHAR) | SELECT revenue_per_capita FROM table_name_2 WHERE state = "vermont" | What is the Revenue per capita for Vermont? | <s>[INST]What is the Revenue per capita for Vermont? Context: CREATE TABLE table_name_2 (revenue_per_capita VARCHAR, state VARCHAR)[/INST]SELECT revenue_per_capita FROM table_name_2 WHERE state = "vermont"</s> |
CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_47 WHERE opponent = "texas longhorns" | What result has texas longhorns as the opponent? | <s>[INST]What result has texas longhorns as the opponent? Context: CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_47 WHERE opponent = "texas longhorns"</s> |
CREATE TABLE table_26168687_3 (vessel_type VARCHAR, vessel_operator VARCHAR) | SELECT vessel_type FROM table_26168687_3 WHERE vessel_operator = "Jumbo Shipping" | What is the vessel type for vessel operator Jumbo shipping? | <s>[INST]What is the vessel type for vessel operator Jumbo shipping? Context: CREATE TABLE table_26168687_3 (vessel_type VARCHAR, vessel_operator VARCHAR)[/INST]SELECT vessel_type FROM table_26168687_3 WHERE vessel_operator = "Jumbo Shipping"</s> |
CREATE TABLE table_22665117_1 (authorizing_agency VARCHAR, district_name VARCHAR) | SELECT authorizing_agency FROM table_22665117_1 WHERE district_name = "Academy of Flint" | If the district name is the Academy of Flint, what is the authorizing agency? | <s>[INST]If the district name is the Academy of Flint, what is the authorizing agency? Context: CREATE TABLE table_22665117_1 (authorizing_agency VARCHAR, district_name VARCHAR)[/INST]SELECT authorizing_agency FROM table_22665117_1 WHERE district_name = "Academy of Flint"</s> |
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR) | SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus" | What is the original air date of the episode directed by Paul Marcus? | <s>[INST]What is the original air date of the episode directed by Paul Marcus? Context: CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR)[/INST]SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus"</s> |
CREATE TABLE table_27744976_10 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_27744976_10 WHERE date = "March 12" | Who had highest rebounds during game on March 12? | <s>[INST]Who had highest rebounds during game on March 12? Context: CREATE TABLE table_27744976_10 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_27744976_10 WHERE date = "March 12"</s> |
CREATE TABLE table_name_81 (Id VARCHAR) | SELECT MIN(2009) FROM table_name_81 WHERE 2005 < 640 AND 2011 = 425 AND 2003 < 500 | What is the least 2009 that has 2005 littler than 640, and 2011 of 425, and 2003 littler than 500? | <s>[INST]What is the least 2009 that has 2005 littler than 640, and 2011 of 425, and 2003 littler than 500? Context: CREATE TABLE table_name_81 (Id VARCHAR)[/INST]SELECT MIN(2009) FROM table_name_81 WHERE 2005 < 640 AND 2011 = 425 AND 2003 < 500</s> |
CREATE TABLE table_30018460_1 (country_territory VARCHAR) | SELECT 3 AS rd_runner_up FROM table_30018460_1 WHERE country_territory = "Croatia" | How many first place participants where from croatia? | <s>[INST]How many first place participants where from croatia? Context: CREATE TABLE table_30018460_1 (country_territory VARCHAR)[/INST]SELECT 3 AS rd_runner_up FROM table_30018460_1 WHERE country_territory = "Croatia"</s> |
CREATE TABLE table_name_3 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_3 WHERE result = "w20-0" | Who was the opponent against which the result was w20-0? | <s>[INST]Who was the opponent against which the result was w20-0? Context: CREATE TABLE table_name_3 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_3 WHERE result = "w20-0"</s> |
CREATE TABLE table_name_42 (director_s_ VARCHAR, prize VARCHAR) | SELECT director_s_ FROM table_name_42 WHERE prize = "¥2,000,000" | What Director won a prize of ¥2,000,000? | <s>[INST]What Director won a prize of ¥2,000,000? Context: CREATE TABLE table_name_42 (director_s_ VARCHAR, prize VARCHAR)[/INST]SELECT director_s_ FROM table_name_42 WHERE prize = "¥2,000,000"</s> |
CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR) | SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18" | Name the D 41 which has a D 43 of r 18 | <s>[INST]Name the D 41 which has a D 43 of r 18 Context: CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR)[/INST]SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18"</s> |
CREATE TABLE table_name_17 (area VARCHAR, roll VARCHAR, authority VARCHAR, gender VARCHAR) | SELECT area FROM table_name_17 WHERE authority = "state" AND gender = "coed" AND roll = 122 | What is the area of the coed school with a state authority and a roll number of 122? | <s>[INST]What is the area of the coed school with a state authority and a roll number of 122? Context: CREATE TABLE table_name_17 (area VARCHAR, roll VARCHAR, authority VARCHAR, gender VARCHAR)[/INST]SELECT area FROM table_name_17 WHERE authority = "state" AND gender = "coed" AND roll = 122</s> |
CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR) | SELECT trofeo_fast_team FROM table_12261806_2 WHERE stage = "2" | Name the trofeo fast team of stage 2 | <s>[INST]Name the trofeo fast team of stage 2 Context: CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR)[/INST]SELECT trofeo_fast_team FROM table_12261806_2 WHERE stage = "2"</s> |
CREATE TABLE table_name_87 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_87 WHERE stage = "16" | Who won stage 16? | <s>[INST]Who won stage 16? Context: CREATE TABLE table_name_87 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_87 WHERE stage = "16"</s> |
CREATE TABLE table_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR) | SELECT year_to_april FROM table_18077713_1 WHERE revenue__us_$million_ = "434.8" | What is the year to april when the revenue is 434.8 million dollars? | <s>[INST]What is the year to april when the revenue is 434.8 million dollars? Context: CREATE TABLE table_18077713_1 (year_to_april VARCHAR, revenue__us_$million_ VARCHAR)[/INST]SELECT year_to_april FROM table_18077713_1 WHERE revenue__us_$million_ = "434.8"</s> |
CREATE TABLE member (Name VARCHAR, College_ID VARCHAR); CREATE TABLE college (College_Location VARCHAR, College_ID VARCHAR) | SELECT T2.Name, T1.College_Location FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID ORDER BY T2.Name | Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names. | <s>[INST]Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names. Context: CREATE TABLE member (Name VARCHAR, College_ID VARCHAR); CREATE TABLE college (College_Location VARCHAR, College_ID VARCHAR)[/INST]SELECT T2.Name, T1.College_Location FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID ORDER BY T2.Name</s> |
CREATE TABLE table_name_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_name_1 WHERE production_code = "ad1a22" | what is the title of the episode with the production code of ad1a22? | <s>[INST]what is the title of the episode with the production code of ad1a22? Context: CREATE TABLE table_name_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_name_1 WHERE production_code = "ad1a22"</s> |
CREATE TABLE table_13618584_2 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_13618584_2 WHERE incumbent = "Terry Kilgore" | What district is incument terry kilgore from? | <s>[INST]What district is incument terry kilgore from? Context: CREATE TABLE table_13618584_2 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_13618584_2 WHERE incumbent = "Terry Kilgore"</s> |
CREATE TABLE table_name_60 (gnu_linux VARCHAR, haiku VARCHAR, client VARCHAR) | SELECT gnu_linux FROM table_name_60 WHERE haiku = "no" AND client = "airdc++" | Which GNU/Linux had no haiku and a client of airdc++? | <s>[INST]Which GNU/Linux had no haiku and a client of airdc++? Context: CREATE TABLE table_name_60 (gnu_linux VARCHAR, haiku VARCHAR, client VARCHAR)[/INST]SELECT gnu_linux FROM table_name_60 WHERE haiku = "no" AND client = "airdc++"</s> |
CREATE TABLE table_11677691_11 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_11677691_11 WHERE player = "Greg Bryant" | How many positions does Greg Bryant play? | <s>[INST]How many positions does Greg Bryant play? Context: CREATE TABLE table_11677691_11 (position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(position) FROM table_11677691_11 WHERE player = "Greg Bryant"</s> |
CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.81" | Who directed an episode that had 2.81 million U.S. viewers? | <s>[INST]Who directed an episode that had 2.81 million U.S. viewers? Context: CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.81"</s> |
CREATE TABLE table_20938922_2 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_20938922_2 WHERE week = 12 | What was the player's team's opponent for Week 12? | <s>[INST]What was the player's team's opponent for Week 12? Context: CREATE TABLE table_20938922_2 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_20938922_2 WHERE week = 12</s> |
CREATE TABLE table_name_67 (team VARCHAR, season VARCHAR) | SELECT team FROM table_name_67 WHERE season = "2000-01" | What team has 2000-01 as the season? | <s>[INST]What team has 2000-01 as the season? Context: CREATE TABLE table_name_67 (team VARCHAR, season VARCHAR)[/INST]SELECT team FROM table_name_67 WHERE season = "2000-01"</s> |
CREATE TABLE table_17382360_9 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_17382360_9 WHERE score = "W 140-108" | Who had the high rebounds in the game with a final score of w 140-108? | <s>[INST]Who had the high rebounds in the game with a final score of w 140-108? Context: CREATE TABLE table_17382360_9 (high_rebounds VARCHAR, score VARCHAR)[/INST]SELECT high_rebounds FROM table_17382360_9 WHERE score = "W 140-108"</s> |
CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_70 WHERE gold = 4 AND total > 25 | What is listed as the highest Silver that also has a Gold of 4 and a Total that's larger than 25? | <s>[INST]What is listed as the highest Silver that also has a Gold of 4 and a Total that's larger than 25? Context: CREATE TABLE table_name_70 (silver INTEGER, gold VARCHAR, total VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_70 WHERE gold = 4 AND total > 25</s> |
CREATE TABLE table_name_89 (construction VARCHAR, name__wade_giles_ VARCHAR) | SELECT construction FROM table_name_89 WHERE name__wade_giles_ = "fu-hsing" | Which Construction is named of fu-hsing? | <s>[INST]Which Construction is named of fu-hsing? Context: CREATE TABLE table_name_89 (construction VARCHAR, name__wade_giles_ VARCHAR)[/INST]SELECT construction FROM table_name_89 WHERE name__wade_giles_ = "fu-hsing"</s> |
CREATE TABLE table_name_48 (number INTEGER, college VARCHAR) | SELECT MIN(number) FROM table_name_48 WHERE college = "university of alabama" | What is the lowest Number, when College is "University of Alabama"? | <s>[INST]What is the lowest Number, when College is "University of Alabama"? Context: CREATE TABLE table_name_48 (number INTEGER, college VARCHAR)[/INST]SELECT MIN(number) FROM table_name_48 WHERE college = "university of alabama"</s> |
CREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR) | SELECT position FROM table_name_36 WHERE round > 10 AND name = "shawn mccarthy" | Which Position has a Round larger than 10, and a Name of shawn mccarthy? | <s>[INST]Which Position has a Round larger than 10, and a Name of shawn mccarthy? Context: CREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_36 WHERE round > 10 AND name = "shawn mccarthy"</s> |
CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR) | SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08" | When 7.08 is the amount of viewers what is the air date? | <s>[INST]When 7.08 is the amount of viewers what is the air date? Context: CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR)[/INST]SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08"</s> |
CREATE TABLE table_name_67 (fatalities INTEGER, airline VARCHAR, registration VARCHAR) | SELECT AVG(fatalities) FROM table_name_67 WHERE airline = "spantax" AND registration = "ec-arz" | How many fatalities are there for the airline of spantax, with a registration of ec-arz? | <s>[INST]How many fatalities are there for the airline of spantax, with a registration of ec-arz? Context: CREATE TABLE table_name_67 (fatalities INTEGER, airline VARCHAR, registration VARCHAR)[/INST]SELECT AVG(fatalities) FROM table_name_67 WHERE airline = "spantax" AND registration = "ec-arz"</s> |
CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, bayernliga VARCHAR) | SELECT landesliga_mitte FROM table_20181270_3 WHERE bayernliga = "SV Türk Gücü München" | Name the landesliga mitte sv türk gücü münchen | <s>[INST]Name the landesliga mitte sv türk gücü münchen Context: CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, bayernliga VARCHAR)[/INST]SELECT landesliga_mitte FROM table_20181270_3 WHERE bayernliga = "SV Türk Gücü München"</s> |
CREATE TABLE table_name_72 (literature VARCHAR, performing_arts VARCHAR) | SELECT literature FROM table_name_72 WHERE performing_arts = "pradit prasarttong" | Name the literature for pradit prasarttong | <s>[INST]Name the literature for pradit prasarttong Context: CREATE TABLE table_name_72 (literature VARCHAR, performing_arts VARCHAR)[/INST]SELECT literature FROM table_name_72 WHERE performing_arts = "pradit prasarttong"</s> |
CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova" | What is the name of the opponent when anastasia pivovarova was the partner? | <s>[INST]What is the name of the opponent when anastasia pivovarova was the partner? Context: CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR)[/INST]SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova"</s> |
CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR) | SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940" | What's the release date of model number CORE I7-940? | <s>[INST]What's the release date of model number CORE I7-940? Context: CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)[/INST]SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"</s> |
CREATE TABLE table_name_27 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_27 WHERE tie_no = "19" | In Tie #19, what was the name of the away team? | <s>[INST]In Tie #19, what was the name of the away team? Context: CREATE TABLE table_name_27 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_27 WHERE tie_no = "19"</s> |
CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR) | SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 2011" | Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green? | <s>[INST]Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green? Context: CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR)[/INST]SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 2011"</s> |
CREATE TABLE table_29556461_8 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_29556461_8 WHERE team = "La Salle" | When la salle is the team who has the highest amount of points? | <s>[INST]When la salle is the team who has the highest amount of points? Context: CREATE TABLE table_29556461_8 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_29556461_8 WHERE team = "La Salle"</s> |
CREATE TABLE table_name_3 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_3 WHERE record = "34–31–6" | What is the Opponent when the Record is 34–31–6? | <s>[INST]What is the Opponent when the Record is 34–31–6? Context: CREATE TABLE table_name_3 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_3 WHERE record = "34–31–6"</s> |
CREATE TABLE table_name_12 (Id VARCHAR) | SELECT 1901 FROM table_name_12 WHERE 1851 = "1961" | Name the 1901 with 1851 of 1961 | <s>[INST]Name the 1901 with 1851 of 1961 Context: CREATE TABLE table_name_12 (Id VARCHAR)[/INST]SELECT 1901 FROM table_name_12 WHERE 1851 = "1961"</s> |
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_46 WHERE tournament = "volos" | What is the surface for the Volos tournament? | <s>[INST]What is the surface for the Volos tournament? Context: CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_46 WHERE tournament = "volos"</s> |
CREATE TABLE table_name_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_54 WHERE total = 1 AND bronze < 1 | Which nation won no bronze medals and a 1 medal total? | <s>[INST]Which nation won no bronze medals and a 1 medal total? Context: CREATE TABLE table_name_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_54 WHERE total = 1 AND bronze < 1</s> |
CREATE TABLE table_name_44 (population_1891 INTEGER, headquarters VARCHAR) | SELECT MAX(population_1891) FROM table_name_44 WHERE headquarters = "sleaford" | What is the Population n1891 of the County with Sleaford Headquarters? | <s>[INST]What is the Population n1891 of the County with Sleaford Headquarters? Context: CREATE TABLE table_name_44 (population_1891 INTEGER, headquarters VARCHAR)[/INST]SELECT MAX(population_1891) FROM table_name_44 WHERE headquarters = "sleaford"</s> |
CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR) | SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232" | Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? | <s>[INST]Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? Context: CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR)[/INST]SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.