context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR) | SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972 | What is the start of Offy engine and in 1972? | <s>[INST]What is the start of Offy engine and in 1972? Context: CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972</s> |
CREATE TABLE table_name_72 (points_for INTEGER, points_against VARCHAR, points VARCHAR) | SELECT AVG(points_for) FROM table_name_72 WHERE points_against > 780 AND points < 0 | What is the average Points For when there are Points Against more than 780, and Points smaller than 0? | <s>[INST]What is the average Points For when there are Points Against more than 780, and Points smaller than 0? Context: CREATE TABLE table_name_72 (points_for INTEGER, points_against VARCHAR, points VARCHAR)[/INST]SELECT AVG(points_for) FROM table_name_72 WHERE points_against > 780 AND points < 0</s> |
CREATE TABLE table_name_91 (doctor_who_episode VARCHAR, original_airdate__uk_ VARCHAR) | SELECT doctor_who_episode FROM table_name_91 WHERE original_airdate__uk_ = "14 may 2005" | Which Doctor Who episode has an Original airdate (UK) of 14 may 2005? | <s>[INST]Which Doctor Who episode has an Original airdate (UK) of 14 may 2005? Context: CREATE TABLE table_name_91 (doctor_who_episode VARCHAR, original_airdate__uk_ VARCHAR)[/INST]SELECT doctor_who_episode FROM table_name_91 WHERE original_airdate__uk_ = "14 may 2005"</s> |
CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR) | SELECT tries_against FROM table_13564637_3 WHERE lost = "4" | what are the tries where the game was lost by 4? | <s>[INST]what are the tries where the game was lost by 4? Context: CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR)[/INST]SELECT tries_against FROM table_13564637_3 WHERE lost = "4"</s> |
CREATE TABLE table_name_90 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_90 WHERE date = "december 18, 1994" | Who is the opponent of the December 18, 1994 game? | <s>[INST]Who is the opponent of the December 18, 1994 game? Context: CREATE TABLE table_name_90 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_90 WHERE date = "december 18, 1994"</s> |
CREATE TABLE table_name_16 (ground VARCHAR, match INTEGER) | SELECT ground FROM table_name_16 WHERE match < 2 | What ground has a match smaller than 2? | <s>[INST]What ground has a match smaller than 2? Context: CREATE TABLE table_name_16 (ground VARCHAR, match INTEGER)[/INST]SELECT ground FROM table_name_16 WHERE match < 2</s> |
CREATE TABLE table_30030227_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_by = "Arvin Brown" | How many people wrote the episode directed by Arvin Brown? | <s>[INST]How many people wrote the episode directed by Arvin Brown? Context: CREATE TABLE table_30030227_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_by = "Arvin Brown"</s> |
CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR) | SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring" | What episode number in the series was directed by John Behring? | <s>[INST]What episode number in the series was directed by John Behring? Context: CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring"</s> |
CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6 | What is the rank of the country with total more than 3 and more than 6 silver? | <s>[INST]What is the rank of the country with total more than 3 and more than 6 silver? Context: CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6</s> |
CREATE TABLE table_name_2 (bronze VARCHAR, notes VARCHAR) | SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls" | What is Bronze, when Notes is "6.7km, 22controls"? | <s>[INST]What is Bronze, when Notes is "6.7km, 22controls"? Context: CREATE TABLE table_name_2 (bronze VARCHAR, notes VARCHAR)[/INST]SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls"</s> |
CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_17 WHERE place = "t6" AND score = 69 - 69 = 138 AND player = "niclas fasth" | What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played? | <s>[INST]What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played? Context: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_17 WHERE place = "t6" AND score = 69 - 69 = 138 AND player = "niclas fasth"</s> |
CREATE TABLE table_24639086_3 (original_air_date VARCHAR, viewers__in_millions_ VARCHAR) | SELECT original_air_date FROM table_24639086_3 WHERE viewers__in_millions_ = "2.48" | If the amount of viewers is 2.48 million, what is the original air date? | <s>[INST]If the amount of viewers is 2.48 million, what is the original air date? Context: CREATE TABLE table_24639086_3 (original_air_date VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT original_air_date FROM table_24639086_3 WHERE viewers__in_millions_ = "2.48"</s> |
CREATE TABLE table_1161065_28 (last_year VARCHAR, venue VARCHAR) | SELECT last_year FROM table_1161065_28 WHERE venue = "Manuka Oval" | What was the attendance last year at Manuka Oval? | <s>[INST]What was the attendance last year at Manuka Oval? Context: CREATE TABLE table_1161065_28 (last_year VARCHAR, venue VARCHAR)[/INST]SELECT last_year FROM table_1161065_28 WHERE venue = "Manuka Oval"</s> |
CREATE TABLE table_name_25 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_25 WHERE circuit = "modena" | Tell me the report for circuit of modena | <s>[INST]Tell me the report for circuit of modena Context: CREATE TABLE table_name_25 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_25 WHERE circuit = "modena"</s> |
CREATE TABLE table_name_43 (cuts_made VARCHAR, wins VARCHAR, events VARCHAR) | SELECT cuts_made FROM table_name_43 WHERE wins < 3 AND events = 23 | What cuts made has a wins less than 3 and 23 for the events? | <s>[INST]What cuts made has a wins less than 3 and 23 for the events? Context: CREATE TABLE table_name_43 (cuts_made VARCHAR, wins VARCHAR, events VARCHAR)[/INST]SELECT cuts_made FROM table_name_43 WHERE wins < 3 AND events = 23</s> |
CREATE TABLE order_items (product_id VARCHAR, order_quantity INTEGER); CREATE TABLE products (product_details VARCHAR, product_id VARCHAR) | SELECT t2.product_details, t2.product_id FROM order_items AS t1 JOIN products AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_id ORDER BY SUM(t1.order_quantity) LIMIT 1 | Find the name and ID of the product whose total order quantity is the largest. | <s>[INST]Find the name and ID of the product whose total order quantity is the largest. Context: CREATE TABLE order_items (product_id VARCHAR, order_quantity INTEGER); CREATE TABLE products (product_details VARCHAR, product_id VARCHAR)[/INST]SELECT t2.product_details, t2.product_id FROM order_items AS t1 JOIN products AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_id ORDER BY SUM(t1.order_quantity) LIMIT 1</s> |
CREATE TABLE table_10015132_7 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_10015132_7 WHERE school_club_team = "Georgia" | which player is from georgia | <s>[INST]which player is from georgia Context: CREATE TABLE table_10015132_7 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_10015132_7 WHERE school_club_team = "Georgia"</s> |
CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR) | SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards" | Which Reason for termination has Appointed by of eisenhower category:articles with hcards? | <s>[INST]Which Reason for termination has Appointed by of eisenhower category:articles with hcards? Context: CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR)[/INST]SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards"</s> |
CREATE TABLE table_name_58 (state___territory VARCHAR, height VARCHAR) | SELECT state___territory FROM table_name_58 WHERE height = "121 m" | What state/territory has 121 m as the height? | <s>[INST]What state/territory has 121 m as the height? Context: CREATE TABLE table_name_58 (state___territory VARCHAR, height VARCHAR)[/INST]SELECT state___territory FROM table_name_58 WHERE height = "121 m"</s> |
CREATE TABLE table_name_74 (event VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_74 WHERE method = "tko (punches)" AND opponent = "jason macdonald" | What event had a tko (punches) method and jason macdonald as the opponent? | <s>[INST]What event had a tko (punches) method and jason macdonald as the opponent? Context: CREATE TABLE table_name_74 (event VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_74 WHERE method = "tko (punches)" AND opponent = "jason macdonald"</s> |
CREATE TABLE table_name_38 (erp_w INTEGER, frequency_mhz VARCHAR) | SELECT MAX(erp_w) FROM table_name_38 WHERE frequency_mhz = 90.5 | What is the highest erp w with a 90.5 frequency mhz? | <s>[INST]What is the highest erp w with a 90.5 frequency mhz? Context: CREATE TABLE table_name_38 (erp_w INTEGER, frequency_mhz VARCHAR)[/INST]SELECT MAX(erp_w) FROM table_name_38 WHERE frequency_mhz = 90.5</s> |
CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR) | SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30 | What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played? | <s>[INST]What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played? Context: CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30</s> |
CREATE TABLE table_1183842_1 (institution VARCHAR, enrollment VARCHAR) | SELECT institution FROM table_1183842_1 WHERE enrollment = 3488 | 3488 is the enrollment amount of what college? | <s>[INST]3488 is the enrollment amount of what college? Context: CREATE TABLE table_1183842_1 (institution VARCHAR, enrollment VARCHAR)[/INST]SELECT institution FROM table_1183842_1 WHERE enrollment = 3488</s> |
CREATE TABLE event (venue VARCHAR, name VARCHAR, Event_Attendance VARCHAR) | SELECT venue, name FROM event ORDER BY Event_Attendance DESC LIMIT 2 | List the event venues and names that have the top 2 most number of people attended. | <s>[INST]List the event venues and names that have the top 2 most number of people attended. Context: CREATE TABLE event (venue VARCHAR, name VARCHAR, Event_Attendance VARCHAR)[/INST]SELECT venue, name FROM event ORDER BY Event_Attendance DESC LIMIT 2</s> |
CREATE TABLE table_name_12 (issue INTEGER, writer VARCHAR, date VARCHAR) | SELECT MIN(issue) FROM table_name_12 WHERE writer = "arnie kogen" AND date = "december 1964" | What is the earliest issue Arnie Kogen wrote for in December 1964? | <s>[INST]What is the earliest issue Arnie Kogen wrote for in December 1964? Context: CREATE TABLE table_name_12 (issue INTEGER, writer VARCHAR, date VARCHAR)[/INST]SELECT MIN(issue) FROM table_name_12 WHERE writer = "arnie kogen" AND date = "december 1964"</s> |
CREATE TABLE table_name_1 (location VARCHAR, time VARCHAR) | SELECT location FROM table_name_1 WHERE time = "1:59:12" | What location had 1:59:12 in time? | <s>[INST]What location had 1:59:12 in time? Context: CREATE TABLE table_name_1 (location VARCHAR, time VARCHAR)[/INST]SELECT location FROM table_name_1 WHERE time = "1:59:12"</s> |
CREATE TABLE table_1697190_2 (earnings___ INTEGER) | SELECT MIN(earnings___) AS $__ FROM table_1697190_2 | what was Casey Martin's minimum yearly earnings? | <s>[INST]what was Casey Martin's minimum yearly earnings? Context: CREATE TABLE table_1697190_2 (earnings___ INTEGER)[/INST]SELECT MIN(earnings___) AS $__ FROM table_1697190_2</s> |
CREATE TABLE table_name_93 (composer_s_ VARCHAR, chr_chart_peak VARCHAR) | SELECT composer_s_ FROM table_name_93 WHERE chr_chart_peak = 2 | Which composer had a CHR chart peak at #2? | <s>[INST]Which composer had a CHR chart peak at #2? Context: CREATE TABLE table_name_93 (composer_s_ VARCHAR, chr_chart_peak VARCHAR)[/INST]SELECT composer_s_ FROM table_name_93 WHERE chr_chart_peak = 2</s> |
CREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR) | SELECT place FROM table_name_54 WHERE draw = 3 | In what place was the song that had a draw of 3? | <s>[INST]In what place was the song that had a draw of 3? Context: CREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR)[/INST]SELECT place FROM table_name_54 WHERE draw = 3</s> |
CREATE TABLE table_27956_3 (national_rank VARCHAR, institution VARCHAR) | SELECT national_rank FROM table_27956_3 WHERE institution = "Medical University of South Carolina" | Name the national rank for medical university of south carolina | <s>[INST]Name the national rank for medical university of south carolina Context: CREATE TABLE table_27956_3 (national_rank VARCHAR, institution VARCHAR)[/INST]SELECT national_rank FROM table_27956_3 WHERE institution = "Medical University of South Carolina"</s> |
CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) | SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13" | Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? | <s>[INST]Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? Context: CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR)[/INST]SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13"</s> |
CREATE TABLE Customers_cards (customer_id VARCHAR) | SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the customer id with most number of cards, and how many does he have? | <s>[INST]What is the customer id with most number of cards, and how many does he have? Context: CREATE TABLE Customers_cards (customer_id VARCHAR)[/INST]SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR) | SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000" | What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41? | <s>[INST]What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41? Context: CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)[/INST]SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000"</s> |
CREATE TABLE table_1253396_5 (goals_for VARCHAR, overall_record VARCHAR) | SELECT goals_for FROM table_1253396_5 WHERE overall_record = "12-9-7" | The Dallas Burn had a 12-9-7 record and what number of goals for? | <s>[INST]The Dallas Burn had a 12-9-7 record and what number of goals for? Context: CREATE TABLE table_1253396_5 (goals_for VARCHAR, overall_record VARCHAR)[/INST]SELECT goals_for FROM table_1253396_5 WHERE overall_record = "12-9-7"</s> |
CREATE TABLE table_name_40 (silver INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_40 WHERE gold = 1 AND bronze > 0 | What is the highest amount of silver when gold is 1 and bronze larger than 0? | <s>[INST]What is the highest amount of silver when gold is 1 and bronze larger than 0? Context: CREATE TABLE table_name_40 (silver INTEGER, gold VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_40 WHERE gold = 1 AND bronze > 0</s> |
CREATE TABLE table_name_43 (points INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MIN(points) FROM table_name_43 WHERE driver = "alex sperafico" AND grid > 17 | HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17? | <s>[INST]HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17? Context: CREATE TABLE table_name_43 (points INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MIN(points) FROM table_name_43 WHERE driver = "alex sperafico" AND grid > 17</s> |
CREATE TABLE table_255188_3 (location VARCHAR, institution VARCHAR) | SELECT location FROM table_255188_3 WHERE institution = "University of North Carolina at Greensboro" | Where is the University of North Carolina at Greensboro located? | <s>[INST]Where is the University of North Carolina at Greensboro located? Context: CREATE TABLE table_255188_3 (location VARCHAR, institution VARCHAR)[/INST]SELECT location FROM table_255188_3 WHERE institution = "University of North Carolina at Greensboro"</s> |
CREATE TABLE submission (Author VARCHAR, Scores VARCHAR) | SELECT Author FROM submission ORDER BY Scores DESC LIMIT 1 | What is the author of the submission with the highest score? | <s>[INST]What is the author of the submission with the highest score? Context: CREATE TABLE submission (Author VARCHAR, Scores VARCHAR)[/INST]SELECT Author FROM submission ORDER BY Scores DESC LIMIT 1</s> |
CREATE TABLE table_name_98 (city VARCHAR, team VARCHAR) | SELECT city FROM table_name_98 WHERE team = "bahawalpur stags" | Which City has the Bahawalpur Stags Team? | <s>[INST]Which City has the Bahawalpur Stags Team? Context: CREATE TABLE table_name_98 (city VARCHAR, team VARCHAR)[/INST]SELECT city FROM table_name_98 WHERE team = "bahawalpur stags"</s> |
CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR) | SELECT COUNT(high_assists) FROM table_19778010_5 WHERE high_rebounds = "Sales (10)" | How many different players did the high assists in games where the high rebounds were done by Sales (10)? | <s>[INST]How many different players did the high assists in games where the high rebounds were done by Sales (10)? Context: CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT COUNT(high_assists) FROM table_19778010_5 WHERE high_rebounds = "Sales (10)"</s> |
CREATE TABLE table_30007801_1 (country_territory VARCHAR) | SELECT COUNT(3 AS rd_runner_up) FROM table_30007801_1 WHERE country_territory = "Turkey" | How many 3rd runner up values does Turkey have? | <s>[INST]How many 3rd runner up values does Turkey have? Context: CREATE TABLE table_30007801_1 (country_territory VARCHAR)[/INST]SELECT COUNT(3 AS rd_runner_up) FROM table_30007801_1 WHERE country_territory = "Turkey"</s> |
CREATE TABLE table_name_19 (surface VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT surface FROM table_name_19 WHERE outcome = "winner" AND date = "12 march 1989" | What was the surface where the outcome was winner on 12 march 1989? | <s>[INST]What was the surface where the outcome was winner on 12 march 1989? Context: CREATE TABLE table_name_19 (surface VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_19 WHERE outcome = "winner" AND date = "12 march 1989"</s> |
CREATE TABLE table_2985664_8 (average VARCHAR) | SELECT COUNT(100) FROM table_2985664_8 WHERE average = "15.78" | How many entries for 100 occur when the average is 15.78? | <s>[INST]How many entries for 100 occur when the average is 15.78? Context: CREATE TABLE table_2985664_8 (average VARCHAR)[/INST]SELECT COUNT(100) FROM table_2985664_8 WHERE average = "15.78"</s> |
CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = "lowville, ny" | What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY? | <s>[INST]What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY? Context: CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = "lowville, ny"</s> |
CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR) | SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8" | Name the horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8 | <s>[INST]Name the horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8 Context: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR)[/INST]SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8"</s> |
CREATE TABLE table_name_46 (bronze INTEGER, rank INTEGER) | SELECT MAX(bronze) FROM table_name_46 WHERE rank > 9 | What is the highest amount of bronze medals when the rank was larger than 9? | <s>[INST]What is the highest amount of bronze medals when the rank was larger than 9? Context: CREATE TABLE table_name_46 (bronze INTEGER, rank INTEGER)[/INST]SELECT MAX(bronze) FROM table_name_46 WHERE rank > 9</s> |
CREATE TABLE table_11365528_2 (head_coach VARCHAR, website VARCHAR) | SELECT COUNT(head_coach) FROM table_11365528_2 WHERE website = "http://www.burleighbulldogs.org/" | How many head coaches are there for the website, http://www.burleighbulldogs.org/? | <s>[INST]How many head coaches are there for the website, http://www.burleighbulldogs.org/? Context: CREATE TABLE table_11365528_2 (head_coach VARCHAR, website VARCHAR)[/INST]SELECT COUNT(head_coach) FROM table_11365528_2 WHERE website = "http://www.burleighbulldogs.org/"</s> |
CREATE TABLE table_name_72 (tournament VARCHAR) | SELECT 2006 FROM table_name_72 WHERE 2009 = "0" AND tournament = "runner-ups" | What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament? | <s>[INST]What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament? Context: CREATE TABLE table_name_72 (tournament VARCHAR)[/INST]SELECT 2006 FROM table_name_72 WHERE 2009 = "0" AND tournament = "runner-ups"</s> |
CREATE TABLE table_12043148_2 (glos_ VARCHAR, _wilts VARCHAR, bristol_ VARCHAR, _somerset VARCHAR) | SELECT glos_ & _wilts FROM table_12043148_2 WHERE bristol_ & _somerset = "Lansdown" | what is the glos & wilts where the bristol & somerset is lansdown? | <s>[INST]what is the glos & wilts where the bristol & somerset is lansdown? Context: CREATE TABLE table_12043148_2 (glos_ VARCHAR, _wilts VARCHAR, bristol_ VARCHAR, _somerset VARCHAR)[/INST]SELECT glos_ & _wilts FROM table_12043148_2 WHERE bristol_ & _somerset = "Lansdown"</s> |
CREATE TABLE table_23215145_2 (total_points VARCHAR) | SELECT COUNT(2005 AS _06_points) FROM table_23215145_2 WHERE total_points = 5 | If the total points is 5, what is the 2005-2006 points total number? | <s>[INST]If the total points is 5, what is the 2005-2006 points total number? Context: CREATE TABLE table_23215145_2 (total_points VARCHAR)[/INST]SELECT COUNT(2005 AS _06_points) FROM table_23215145_2 WHERE total_points = 5</s> |
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE SECTION (course_id VARCHAR) | SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE building = 'Chandler' AND semester = 'Fall' AND YEAR = 2010 | What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010? | <s>[INST]What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010? Context: CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE SECTION (course_id VARCHAR)[/INST]SELECT T1.title FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE building = 'Chandler' AND semester = 'Fall' AND YEAR = 2010</s> |
CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_60 WHERE week = 9 | When has a Week of 9? | <s>[INST]When has a Week of 9? Context: CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE week = 9</s> |
CREATE TABLE Customer_Payments (payment_method_code VARCHAR) | SELECT payment_method_code, COUNT(*) FROM Customer_Payments GROUP BY payment_method_code | List all payment methods and number of payments using each payment methods. | <s>[INST]List all payment methods and number of payments using each payment methods. Context: CREATE TABLE Customer_Payments (payment_method_code VARCHAR)[/INST]SELECT payment_method_code, COUNT(*) FROM Customer_Payments GROUP BY payment_method_code</s> |
CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR) | SELECT MIN(gdp_per_capita_nominal__) AS $_ FROM table_1610496_3 WHERE population__millions_ = "63.056" | What is the nominal GDP per capita when the population is 63.056 million? | <s>[INST]What is the nominal GDP per capita when the population is 63.056 million? Context: CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR)[/INST]SELECT MIN(gdp_per_capita_nominal__) AS $_ FROM table_1610496_3 WHERE population__millions_ = "63.056"</s> |
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR) | SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola" | When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent | <s>[INST]When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent Context: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola"</s> |
CREATE TABLE table_name_79 (city VARCHAR, rank VARCHAR, airport VARCHAR) | SELECT city FROM table_name_79 WHERE rank > 6 AND airport = "st. petersburg/clearwater (pie)" | What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE) | <s>[INST]What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE) Context: CREATE TABLE table_name_79 (city VARCHAR, rank VARCHAR, airport VARCHAR)[/INST]SELECT city FROM table_name_79 WHERE rank > 6 AND airport = "st. petersburg/clearwater (pie)"</s> |
CREATE TABLE table_name_13 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_13 WHERE home_team = "swindon town" | What was the tie number with the home team of Swindon Town? | <s>[INST]What was the tie number with the home team of Swindon Town? Context: CREATE TABLE table_name_13 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_13 WHERE home_team = "swindon town"</s> |
CREATE TABLE table_name_7 (rating VARCHAR, air_date VARCHAR, weekly_winner VARCHAR) | SELECT rating FROM table_name_7 WHERE air_date = "july 24, 2008*" AND weekly_winner = "sales rep. oscar ledezma" | What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"? | <s>[INST]What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"? Context: CREATE TABLE table_name_7 (rating VARCHAR, air_date VARCHAR, weekly_winner VARCHAR)[/INST]SELECT rating FROM table_name_7 WHERE air_date = "july 24, 2008*" AND weekly_winner = "sales rep. oscar ledezma"</s> |
CREATE TABLE table_name_5 (college_junior_club_team VARCHAR, pick VARCHAR) | SELECT college_junior_club_team FROM table_name_5 WHERE pick = "16" | Tell me the college/junior club team for pick of 16 | <s>[INST]Tell me the college/junior club team for pick of 16 Context: CREATE TABLE table_name_5 (college_junior_club_team VARCHAR, pick VARCHAR)[/INST]SELECT college_junior_club_team FROM table_name_5 WHERE pick = "16"</s> |
CREATE TABLE table_24096813_15 (part_number_s_ VARCHAR, tdp VARCHAR) | SELECT part_number_s_ FROM table_24096813_15 WHERE tdp = "2.9 (Max.4.1~5.4) W" | What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w? | <s>[INST]What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w? Context: CREATE TABLE table_24096813_15 (part_number_s_ VARCHAR, tdp VARCHAR)[/INST]SELECT part_number_s_ FROM table_24096813_15 WHERE tdp = "2.9 (Max.4.1~5.4) W"</s> |
CREATE TABLE table_name_10 (population_2001_census INTEGER, population_1991_census VARCHAR) | SELECT SUM(population_2001_census) FROM table_name_10 WHERE population_1991_census = 476 OFFSET 815 | What is the number of Population 2001 Census that has 476,815 in Population 1991 Census? | <s>[INST]What is the number of Population 2001 Census that has 476,815 in Population 1991 Census? Context: CREATE TABLE table_name_10 (population_2001_census INTEGER, population_1991_census VARCHAR)[/INST]SELECT SUM(population_2001_census) FROM table_name_10 WHERE population_1991_census = 476 OFFSET 815</s> |
CREATE TABLE table_24108789_6 (_number INTEGER, player VARCHAR) | SELECT MAX(_number) FROM table_24108789_6 WHERE player = "Steve Stricker" | Name the most number for steve stricker | <s>[INST]Name the most number for steve stricker Context: CREATE TABLE table_24108789_6 (_number INTEGER, player VARCHAR)[/INST]SELECT MAX(_number) FROM table_24108789_6 WHERE player = "Steve Stricker"</s> |
CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR) | SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726 | what is the percentage of male voters where the level of maturity is 123726 | <s>[INST]what is the percentage of male voters where the level of maturity is 123726 Context: CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR)[/INST]SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726</s> |
CREATE TABLE table_name_49 (republican_ticket VARCHAR, democratic_ticket VARCHAR) | SELECT republican_ticket FROM table_name_49 WHERE democratic_ticket = "matthew j. merritt" | Who's the Republican ticket with a Democratic ticket of matthew j. merritt? | <s>[INST]Who's the Republican ticket with a Democratic ticket of matthew j. merritt? Context: CREATE TABLE table_name_49 (republican_ticket VARCHAR, democratic_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_49 WHERE democratic_ticket = "matthew j. merritt"</s> |
CREATE TABLE table_13741576_6 (drawn VARCHAR, tries_for VARCHAR) | SELECT drawn FROM table_13741576_6 WHERE tries_for = "54" | Risca RFC has 54 tries for and how many draws? | <s>[INST]Risca RFC has 54 tries for and how many draws? Context: CREATE TABLE table_13741576_6 (drawn VARCHAR, tries_for VARCHAR)[/INST]SELECT drawn FROM table_13741576_6 WHERE tries_for = "54"</s> |
CREATE TABLE table_name_58 (july VARCHAR, december VARCHAR) | SELECT july FROM table_name_58 WHERE december = "morgan fox" | Who is the July playmate with a December playmate Morgan Fox? | <s>[INST]Who is the July playmate with a December playmate Morgan Fox? Context: CREATE TABLE table_name_58 (july VARCHAR, december VARCHAR)[/INST]SELECT july FROM table_name_58 WHERE december = "morgan fox"</s> |
CREATE TABLE table_name_23 (match_report VARCHAR, date VARCHAR) | SELECT match_report FROM table_name_23 WHERE date = "28 february 2009" | What is the match report from the game played on 28 february 2009? | <s>[INST]What is the match report from the game played on 28 february 2009? Context: CREATE TABLE table_name_23 (match_report VARCHAR, date VARCHAR)[/INST]SELECT match_report FROM table_name_23 WHERE date = "28 february 2009"</s> |
CREATE TABLE table_name_61 (title VARCHAR, last_year VARCHAR, first_year VARCHAR, publisher VARCHAR) | SELECT title FROM table_name_61 WHERE first_year = "1950" AND publisher = "ec comics" AND last_year = "1953" | Which EC Comics title ran from 1950 to 1953? | <s>[INST]Which EC Comics title ran from 1950 to 1953? Context: CREATE TABLE table_name_61 (title VARCHAR, last_year VARCHAR, first_year VARCHAR, publisher VARCHAR)[/INST]SELECT title FROM table_name_61 WHERE first_year = "1950" AND publisher = "ec comics" AND last_year = "1953"</s> |
CREATE TABLE table_22355_11 (rank VARCHAR, athlete VARCHAR) | SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Peter Snell Category:Articles with hCards" | What rank did the nation with athlete peter snell category:articles with hcards have? | <s>[INST]What rank did the nation with athlete peter snell category:articles with hcards have? Context: CREATE TABLE table_22355_11 (rank VARCHAR, athlete VARCHAR)[/INST]SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Peter Snell Category:Articles with hCards"</s> |
CREATE TABLE table_11604804_5 (location VARCHAR, nickname VARCHAR) | SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC" | What was the number of location of nickname cbsua formerly known cssac? | <s>[INST]What was the number of location of nickname cbsua formerly known cssac? Context: CREATE TABLE table_11604804_5 (location VARCHAR, nickname VARCHAR)[/INST]SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC"</s> |
CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf" | What district is incumbent frank chelf from? | <s>[INST]What district is incumbent frank chelf from? Context: CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf"</s> |
CREATE TABLE table_1841901_1 (english VARCHAR, french VARCHAR) | SELECT english FROM table_1841901_1 WHERE french = "j'avais entendu" | Name the english for j'avais entendu | <s>[INST]Name the english for j'avais entendu Context: CREATE TABLE table_1841901_1 (english VARCHAR, french VARCHAR)[/INST]SELECT english FROM table_1841901_1 WHERE french = "j'avais entendu"</s> |
CREATE TABLE table_name_87 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_87 WHERE city = "punta del este" | What is Date, when City is "Punta Del Este"? | <s>[INST]What is Date, when City is "Punta Del Este"? Context: CREATE TABLE table_name_87 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE city = "punta del este"</s> |
CREATE TABLE table_name_1 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_1 WHERE grid > 20 AND time_retired = "accident" | Who constructed the car with a grid larger than 20 that got in an accident? | <s>[INST]Who constructed the car with a grid larger than 20 that got in an accident? Context: CREATE TABLE table_name_1 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_1 WHERE grid > 20 AND time_retired = "accident"</s> |
CREATE TABLE table_name_32 (bronze VARCHAR, rank VARCHAR) | SELECT bronze FROM table_name_32 WHERE rank = "1" | How many Bronze medals did the team ranked 1 win? | <s>[INST]How many Bronze medals did the team ranked 1 win? Context: CREATE TABLE table_name_32 (bronze VARCHAR, rank VARCHAR)[/INST]SELECT bronze FROM table_name_32 WHERE rank = "1"</s> |
CREATE TABLE table_name_40 (height VARCHAR, year VARCHAR) | SELECT height FROM table_name_40 WHERE year = 1972 | The year 1972 has what written in Height column? | <s>[INST]The year 1972 has what written in Height column? Context: CREATE TABLE table_name_40 (height VARCHAR, year VARCHAR)[/INST]SELECT height FROM table_name_40 WHERE year = 1972</s> |
CREATE TABLE table_name_48 (perfect_fifth VARCHAR, minor_seventh VARCHAR) | SELECT perfect_fifth FROM table_name_48 WHERE minor_seventh = "d" | What is the Perfect fifth with a Minor that is seventh of d? | <s>[INST]What is the Perfect fifth with a Minor that is seventh of d? Context: CREATE TABLE table_name_48 (perfect_fifth VARCHAR, minor_seventh VARCHAR)[/INST]SELECT perfect_fifth FROM table_name_48 WHERE minor_seventh = "d"</s> |
CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_87 WHERE away_team = "north melbourne" | What is the home teams score when north melbourne is the away team? | <s>[INST]What is the home teams score when north melbourne is the away team? Context: CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_87 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_94 (finish VARCHAR, player VARCHAR) | SELECT finish FROM table_name_94 WHERE player = "lee janzen" | Name the finish for lee janzen | <s>[INST]Name the finish for lee janzen Context: CREATE TABLE table_name_94 (finish VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_94 WHERE player = "lee janzen"</s> |
CREATE TABLE table_name_29 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_29 WHERE week = 14 | What was the result for week 14? | <s>[INST]What was the result for week 14? Context: CREATE TABLE table_name_29 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_29 WHERE week = 14</s> |
CREATE TABLE table_name_15 (series VARCHAR, days VARCHAR, prize VARCHAR) | SELECT series FROM table_name_15 WHERE days > 99 AND prize = "€50,000" | What is Series, when Days is greater than 99, and when Prize is €50,000? | <s>[INST]What is Series, when Days is greater than 99, and when Prize is €50,000? Context: CREATE TABLE table_name_15 (series VARCHAR, days VARCHAR, prize VARCHAR)[/INST]SELECT series FROM table_name_15 WHERE days > 99 AND prize = "€50,000"</s> |
CREATE TABLE table_name_3 (a_ VARCHAR, year_ INTEGER, position VARCHAR, college VARCHAR) | SELECT MAX(year_)[a_] FROM table_name_3 WHERE position = "linebacker" AND college = "georgia tech" | What is the most recent year georgia tech chose a linebacker? | <s>[INST]What is the most recent year georgia tech chose a linebacker? Context: CREATE TABLE table_name_3 (a_ VARCHAR, year_ INTEGER, position VARCHAR, college VARCHAR)[/INST]SELECT MAX(year_)[a_] FROM table_name_3 WHERE position = "linebacker" AND college = "georgia tech"</s> |
CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR) | SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan" | Who was the mountain classification winner in the stage won by Alessandro Ballan? | <s>[INST]Who was the mountain classification winner in the stage won by Alessandro Ballan? Context: CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR)[/INST]SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan"</s> |
CREATE TABLE table_name_56 (result VARCHAR, nationality___opponent VARCHAR) | SELECT result FROM table_name_56 WHERE nationality___opponent = "new zealand" | Name the Result of new zealand Nationality / Opponent? | <s>[INST]Name the Result of new zealand Nationality / Opponent? Context: CREATE TABLE table_name_56 (result VARCHAR, nationality___opponent VARCHAR)[/INST]SELECT result FROM table_name_56 WHERE nationality___opponent = "new zealand"</s> |
CREATE TABLE table_name_1 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_1 WHERE date = "december 14" | Where is the location of attendance for the Date of december 14? | <s>[INST]Where is the location of attendance for the Date of december 14? Context: CREATE TABLE table_name_1 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_1 WHERE date = "december 14"</s> |
CREATE TABLE table_name_87 (drawn VARCHAR, bonus_points VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_87 WHERE bonus_points = "6" AND points_against = "410" | What was drawn for 6 bonus points and is against 410 points? | <s>[INST]What was drawn for 6 bonus points and is against 410 points? Context: CREATE TABLE table_name_87 (drawn VARCHAR, bonus_points VARCHAR, points_against VARCHAR)[/INST]SELECT drawn FROM table_name_87 WHERE bonus_points = "6" AND points_against = "410"</s> |
CREATE TABLE table_name_97 (erp_w INTEGER, frequency_mhz VARCHAR) | SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.1 | What is the highest ERP W of an 89.1 frequency translator? | <s>[INST]What is the highest ERP W of an 89.1 frequency translator? Context: CREATE TABLE table_name_97 (erp_w INTEGER, frequency_mhz VARCHAR)[/INST]SELECT MAX(erp_w) FROM table_name_97 WHERE frequency_mhz = 89.1</s> |
CREATE TABLE table_27994983_8 (viewers VARCHAR, draw VARCHAR) | SELECT COUNT(viewers) FROM table_27994983_8 WHERE draw = 2 | How many items appear in the viewers column when the draw is 2? | <s>[INST]How many items appear in the viewers column when the draw is 2? Context: CREATE TABLE table_27994983_8 (viewers VARCHAR, draw VARCHAR)[/INST]SELECT COUNT(viewers) FROM table_27994983_8 WHERE draw = 2</s> |
CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR) | SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" | When did the country that produced 1,213,000 (21st) bbl/day join Opec? | <s>[INST]When did the country that produced 1,213,000 (21st) bbl/day join Opec? Context: CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR)[/INST]SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"</s> |
CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR) | SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down" | Tell me the time for 6/6/77 release date and song title of way down | <s>[INST]Tell me the time for 6/6/77 release date and song title of way down Context: CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR)[/INST]SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down"</s> |
CREATE TABLE table_name_9 (matches INTEGER, rank INTEGER) | SELECT SUM(matches) FROM table_name_9 WHERE rank > 10 | What was the total matches that ranked above 10? | <s>[INST]What was the total matches that ranked above 10? Context: CREATE TABLE table_name_9 (matches INTEGER, rank INTEGER)[/INST]SELECT SUM(matches) FROM table_name_9 WHERE rank > 10</s> |
CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR) | SELECT driver_s_ FROM table_1266602_2 WHERE team = "Circle Sport" | Who drove for team Circle Sport? | <s>[INST]Who drove for team Circle Sport? Context: CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR)[/INST]SELECT driver_s_ FROM table_1266602_2 WHERE team = "Circle Sport"</s> |
CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, competitors VARCHAR) | SELECT total FROM table_name_5 WHERE silver = "0" AND competitors = "31" | What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors? | <s>[INST]What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors? Context: CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, competitors VARCHAR)[/INST]SELECT total FROM table_name_5 WHERE silver = "0" AND competitors = "31"</s> |
CREATE TABLE table_name_79 (year INTEGER, competition VARCHAR, result VARCHAR) | SELECT MAX(year) FROM table_name_79 WHERE competition = "europe/africa zone group i group b" AND result = "lost" | What was the highest year that Europe/Africa Zone Group I Group B lost? | <s>[INST]What was the highest year that Europe/Africa Zone Group I Group B lost? Context: CREATE TABLE table_name_79 (year INTEGER, competition VARCHAR, result VARCHAR)[/INST]SELECT MAX(year) FROM table_name_79 WHERE competition = "europe/africa zone group i group b" AND result = "lost"</s> |
CREATE TABLE table_name_88 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_88 WHERE round = "6" | Which Result has a Round of 6? | <s>[INST]Which Result has a Round of 6? Context: CREATE TABLE table_name_88 (result VARCHAR, round VARCHAR)[/INST]SELECT result FROM table_name_88 WHERE round = "6"</s> |
CREATE TABLE table_name_44 (date VARCHAR, series VARCHAR) | SELECT date FROM table_name_44 WHERE series = "tooheys 1000" | What is the date for the tooheys 1000? | <s>[INST]What is the date for the tooheys 1000? Context: CREATE TABLE table_name_44 (date VARCHAR, series VARCHAR)[/INST]SELECT date FROM table_name_44 WHERE series = "tooheys 1000"</s> |
CREATE TABLE table_name_59 (sacks INTEGER, year VARCHAR, solo VARCHAR) | SELECT SUM(sacks) FROM table_name_59 WHERE year = "2006" AND solo < 62 | How many sacks have 2006 as the year, and a solo less than 62? | <s>[INST]How many sacks have 2006 as the year, and a solo less than 62? Context: CREATE TABLE table_name_59 (sacks INTEGER, year VARCHAR, solo VARCHAR)[/INST]SELECT SUM(sacks) FROM table_name_59 WHERE year = "2006" AND solo < 62</s> |
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_78 WHERE home = "washington" AND visitor = "florida" AND record = "8-15-2" | Which date has a Home of washington, a Visitor of florida, and a Record of 8-15-2? | <s>[INST]Which date has a Home of washington, a Visitor of florida, and a Record of 8-15-2? Context: CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE home = "washington" AND visitor = "florida" AND record = "8-15-2"</s> |
CREATE TABLE table_name_16 (prime_mover VARCHAR, model VARCHAR) | SELECT prime_mover FROM table_name_16 WHERE model = "fa-2" | What is the prime mover of the locomotive with a fa-2 model? | <s>[INST]What is the prime mover of the locomotive with a fa-2 model? Context: CREATE TABLE table_name_16 (prime_mover VARCHAR, model VARCHAR)[/INST]SELECT prime_mover FROM table_name_16 WHERE model = "fa-2"</s> |
CREATE TABLE table_20010140_10 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_20010140_10 WHERE date = "February 15" | state high assists on february 15 | <s>[INST]state high assists on february 15 Context: CREATE TABLE table_20010140_10 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_20010140_10 WHERE date = "February 15"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.