context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR) | SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2 | What is the high earnings for players with 34 events and over 2 wins? | <s>[INST]What is the high earnings for players with 34 events and over 2 wins? Context: CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)[/INST]SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2</s> |
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_99 WHERE date = "august 26" | Name the opponent for august 26 | <s>[INST]Name the opponent for august 26 Context: CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_99 WHERE date = "august 26"</s> |
CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR) | SELECT province FROM table_27592654_2 WHERE election_date = "5 Cannot handle non-empty timestamp argument! 1861" | What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861? | <s>[INST]What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861? Context: CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR)[/INST]SELECT province FROM table_27592654_2 WHERE election_date = "5 Cannot handle non-empty timestamp argument! 1861"</s> |
CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR) | SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 26 | How many U.S Viewers, in millions, were for series # 26? | <s>[INST]How many U.S Viewers, in millions, were for series # 26? Context: CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 26</s> |
CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR) | SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath" | What is the category Anuya Bhagvath was nominated for at vijay award? | <s>[INST]What is the category Anuya Bhagvath was nominated for at vijay award? Context: CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)[/INST]SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath"</s> |
CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212 | Which Place has a Country of australia, and a Score of 70-70-72=212? | <s>[INST]Which Place has a Country of australia, and a Score of 70-70-72=212? Context: CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212</s> |
CREATE TABLE table_25926120_7 (awardee_s_ VARCHAR, name_of_award VARCHAR) | SELECT awardee_s_ FROM table_25926120_7 WHERE name_of_award = "Best Agricultural Film" | who are the awardees when the name of award is best agricultural film? | <s>[INST]who are the awardees when the name of award is best agricultural film? Context: CREATE TABLE table_25926120_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)[/INST]SELECT awardee_s_ FROM table_25926120_7 WHERE name_of_award = "Best Agricultural Film"</s> |
CREATE TABLE table_name_64 (new_conference VARCHAR, location VARCHAR) | SELECT new_conference FROM table_name_64 WHERE location = "greentown" | Which new conference is located in Greentown? | <s>[INST]Which new conference is located in Greentown? Context: CREATE TABLE table_name_64 (new_conference VARCHAR, location VARCHAR)[/INST]SELECT new_conference FROM table_name_64 WHERE location = "greentown"</s> |
CREATE TABLE table_name_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_3 WHERE streak = "won 9" AND date = "april 13, 1990" | who is the opponent when the streak is won 9 on april 13, 1990? | <s>[INST]who is the opponent when the streak is won 9 on april 13, 1990? Context: CREATE TABLE table_name_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_3 WHERE streak = "won 9" AND date = "april 13, 1990"</s> |
CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR) | SELECT outcome FROM table_2139023_2 WHERE championship = "Australian championships" | What was the result of the Australian Championships? | <s>[INST]What was the result of the Australian Championships? Context: CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR)[/INST]SELECT outcome FROM table_2139023_2 WHERE championship = "Australian championships"</s> |
CREATE TABLE table_name_62 (nfl_team VARCHAR, position VARCHAR) | SELECT nfl_team FROM table_name_62 WHERE position = "tight end" | What NFL team did the Tight End position belong to? | <s>[INST]What NFL team did the Tight End position belong to? Context: CREATE TABLE table_name_62 (nfl_team VARCHAR, position VARCHAR)[/INST]SELECT nfl_team FROM table_name_62 WHERE position = "tight end"</s> |
CREATE TABLE table_name_83 (faroese VARCHAR, english VARCHAR) | SELECT faroese FROM table_name_83 WHERE english = "white" | Which Faroese has an English of white? | <s>[INST]Which Faroese has an English of white? Context: CREATE TABLE table_name_83 (faroese VARCHAR, english VARCHAR)[/INST]SELECT faroese FROM table_name_83 WHERE english = "white"</s> |
CREATE TABLE table_25561038_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_25561038_1 WHERE points = "12" | List the team with 12 points. | <s>[INST]List the team with 12 points. Context: CREATE TABLE table_25561038_1 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_25561038_1 WHERE points = "12"</s> |
CREATE TABLE table_name_71 (rank VARCHAR, year VARCHAR, bike VARCHAR) | SELECT rank FROM table_name_71 WHERE year < 2000 AND bike = "bsl" | Which rank took place prior to 2000 when the bike was bsl? | <s>[INST]Which rank took place prior to 2000 when the bike was bsl? Context: CREATE TABLE table_name_71 (rank VARCHAR, year VARCHAR, bike VARCHAR)[/INST]SELECT rank FROM table_name_71 WHERE year < 2000 AND bike = "bsl"</s> |
CREATE TABLE table_15190346_2 (_number INTEGER, attendance VARCHAR) | SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = "79,280" | What is the number of the bowl game when attendance was 79,280? | <s>[INST]What is the number of the bowl game when attendance was 79,280? Context: CREATE TABLE table_15190346_2 (_number INTEGER, attendance VARCHAR)[/INST]SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = "79,280"</s> |
CREATE TABLE professor (emp_num VARCHAR, prof_office VARCHAR); CREATE TABLE employee (emp_lname VARCHAR, emp_hiredate VARCHAR, emp_num VARCHAR) | SELECT T1.emp_lname, T1.emp_hiredate FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num WHERE T2.prof_office = 'DRE 102' | Find the last name and hire date of the professor who is in office DRE 102. | <s>[INST]Find the last name and hire date of the professor who is in office DRE 102. Context: CREATE TABLE professor (emp_num VARCHAR, prof_office VARCHAR); CREATE TABLE employee (emp_lname VARCHAR, emp_hiredate VARCHAR, emp_num VARCHAR)[/INST]SELECT T1.emp_lname, T1.emp_hiredate FROM employee AS T1 JOIN professor AS T... |
CREATE TABLE table_15887683_4 (ppv VARCHAR, television_service VARCHAR) | SELECT ppv FROM table_15887683_4 WHERE television_service = "Sky Calcio 5" | Do the Sky Calcio 5 channels have PPV? | <s>[INST]Do the Sky Calcio 5 channels have PPV? Context: CREATE TABLE table_15887683_4 (ppv VARCHAR, television_service VARCHAR)[/INST]SELECT ppv FROM table_15887683_4 WHERE television_service = "Sky Calcio 5"</s> |
CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_83 WHERE home_team = "essendon" | What date did Essendon play as the home team? | <s>[INST]What date did Essendon play as the home team? Context: CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE home_team = "essendon"</s> |
CREATE TABLE table_27501971_2 (categoría VARCHAR, country VARCHAR) | SELECT categoría FROM table_27501971_2 WHERE country = "E.E.U.U" | What was the categoria when E.E.U.U was the country? | <s>[INST]What was the categoria when E.E.U.U was the country? Context: CREATE TABLE table_27501971_2 (categoría VARCHAR, country VARCHAR)[/INST]SELECT categoría FROM table_27501971_2 WHERE country = "E.E.U.U"</s> |
CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_35 WHERE player = "nick price" | What country is Nick Price from? | <s>[INST]What country is Nick Price from? Context: CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_35 WHERE player = "nick price"</s> |
CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_14 WHERE date = "16 january 1996" | what is the competition when the date is 16 january 1996? | <s>[INST]what is the competition when the date is 16 january 1996? Context: CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_14 WHERE date = "16 january 1996"</s> |
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR) | SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the customer who has the most policies listed? | <s>[INST]What is the name of the customer who has the most policies listed? Context: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)[/INST]SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer... |
CREATE TABLE table_1949746_1 (licensee VARCHAR, city_of_license VARCHAR) | SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth" | When portsmouth is the city of license who is the licensee? | <s>[INST]When portsmouth is the city of license who is the licensee? Context: CREATE TABLE table_1949746_1 (licensee VARCHAR, city_of_license VARCHAR)[/INST]SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth"</s> |
CREATE TABLE table_name_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR) | SELECT opponent_team FROM table_name_18 WHERE match > 2 AND location = "pasir gudang, malaysia" | Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2? | <s>[INST]Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2? Context: CREATE TABLE table_name_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR)[/INST]SELECT opponent_team FROM table_name_18 WHERE match > 2 AND location = "pasir gudang, malaysia"</s> |
CREATE TABLE table_name_12 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_12 WHERE date = "june 10" | Where was the event on June 10? | <s>[INST]Where was the event on June 10? Context: CREATE TABLE table_name_12 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_12 WHERE date = "june 10"</s> |
CREATE TABLE table_19624708_1 (horse VARCHAR, owner VARCHAR) | SELECT horse FROM table_19624708_1 WHERE owner = "R. A. Scott" | What horses does r. a. Scott own? | <s>[INST]What horses does r. a. Scott own? Context: CREATE TABLE table_19624708_1 (horse VARCHAR, owner VARCHAR)[/INST]SELECT horse FROM table_19624708_1 WHERE owner = "R. A. Scott"</s> |
CREATE TABLE FLIGHTS (FlightNo VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR) | SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.City = "Aberdeen" | What are flight numbers of flights departing from City "Aberdeen "? | <s>[INST]What are flight numbers of flights departing from City "Aberdeen "? Context: CREATE TABLE FLIGHTS (FlightNo VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)[/INST]SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.SourceAirport = T2.AirportCode WHERE T2.Ci... |
CREATE TABLE table_name_5 (pick__number VARCHAR, affiliation VARCHAR) | SELECT COUNT(pick__number) FROM table_name_5 WHERE affiliation = "university of portland" | Tell me the total number of pick for university of portland | <s>[INST]Tell me the total number of pick for university of portland Context: CREATE TABLE table_name_5 (pick__number VARCHAR, affiliation VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_5 WHERE affiliation = "university of portland"</s> |
CREATE TABLE table_2511876_1 (league VARCHAR, year VARCHAR) | SELECT league FROM table_2511876_1 WHERE year = 2003 | Name the league for 2003 | <s>[INST]Name the league for 2003 Context: CREATE TABLE table_2511876_1 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_2511876_1 WHERE year = 2003</s> |
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon" | What is the score of the home team aginst Essendon? | <s>[INST]What is the score of the home team aginst Essendon? Context: CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon"</s> |
CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR) | SELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = "wimbledon" | What's the highest annual interchange for wimbledon railway station? | <s>[INST]What's the highest annual interchange for wimbledon railway station? Context: CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)[/INST]SELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = "wimbledon"</s> |
CREATE TABLE table_name_89 (completed INTEGER, material VARCHAR) | SELECT MAX(completed) FROM table_name_89 WHERE material = "solid granite" | When was the most recent statue that was made out of solid granite completed? | <s>[INST]When was the most recent statue that was made out of solid granite completed? Context: CREATE TABLE table_name_89 (completed INTEGER, material VARCHAR)[/INST]SELECT MAX(completed) FROM table_name_89 WHERE material = "solid granite"</s> |
CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT MAX(total) FROM table_name_4 WHERE bronze > 2 AND rank > 3 AND nation = "united states" AND silver > 3 | For the United States, with greater than 2 bronze metals, greater than 3 silver medals, and a rank higher than 3, what is the highest total number of medals? | <s>[INST]For the United States, with greater than 2 bronze metals, greater than 3 silver medals, and a rank higher than 3, what is the highest total number of medals? Context: CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR)[/INST]SELECT MAX(total) FROM table_name_... |
CREATE TABLE table_1706942_1 (q1_order VARCHAR, driver VARCHAR) | SELECT COUNT(q1_order) FROM table_1706942_1 WHERE driver = "Alexander Wurz" | How many Q1 figures are given for Alexander Wurz? | <s>[INST]How many Q1 figures are given for Alexander Wurz? Context: CREATE TABLE table_1706942_1 (q1_order VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(q1_order) FROM table_1706942_1 WHERE driver = "Alexander Wurz"</s> |
CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR) | SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templates = "limited" | Which Architecture and modelling has a Unit test of no, and a Projects templates of limited? | <s>[INST]Which Architecture and modelling has a Unit test of no, and a Projects templates of limited? Context: CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR)[/INST]SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templ... |
CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR) | SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)" | How much gold received by nation of uzbekistan (uzb)? | <s>[INST]How much gold received by nation of uzbekistan (uzb)? Context: CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)"</s> |
CREATE TABLE table_name_10 (year_built VARCHAR, venue VARCHAR) | SELECT year_built FROM table_name_10 WHERE venue = "transamerica field" | What year was transamerica field built in? | <s>[INST]What year was transamerica field built in? Context: CREATE TABLE table_name_10 (year_built VARCHAR, venue VARCHAR)[/INST]SELECT year_built FROM table_name_10 WHERE venue = "transamerica field"</s> |
CREATE TABLE table_name_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR) | SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = "los angeles clippers" | What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers? | <s>[INST]What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers? Context: CREATE TABLE table_name_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR)[/INST]SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = "los an... |
CREATE TABLE table_name_81 (score VARCHAR, attendance VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_81 WHERE attendance = "tbc" AND opponent = "sidley united" | What is the score when the attendance shows TBC, and Sidley United was the opponent? | <s>[INST]What is the score when the attendance shows TBC, and Sidley United was the opponent? Context: CREATE TABLE table_name_81 (score VARCHAR, attendance VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE attendance = "tbc" AND opponent = "sidley united"</s> |
CREATE TABLE table_name_28 (position VARCHAR, overall VARCHAR, player VARCHAR) | SELECT position FROM table_name_28 WHERE overall < 421 AND player = "matt clark" | What position was less than 421 overall played by Matt Clark? | <s>[INST]What position was less than 421 overall played by Matt Clark? Context: CREATE TABLE table_name_28 (position VARCHAR, overall VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_28 WHERE overall < 421 AND player = "matt clark"</s> |
CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_22402438_7 WHERE pick__number = 80 | Who is the player with the pick# 80? | <s>[INST]Who is the player with the pick# 80? Context: CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_22402438_7 WHERE pick__number = 80</s> |
CREATE TABLE table_name_28 (country VARCHAR, winter_olympics VARCHAR) | SELECT country FROM table_name_28 WHERE winter_olympics = "1948" | Which Country has a Winter Olympics of 1948? | <s>[INST]Which Country has a Winter Olympics of 1948? Context: CREATE TABLE table_name_28 (country VARCHAR, winter_olympics VARCHAR)[/INST]SELECT country FROM table_name_28 WHERE winter_olympics = "1948"</s> |
CREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79 | How many times did episode 79 originally air? | <s>[INST]How many times did episode 79 originally air? Context: CREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79</s> |
CREATE TABLE table_name_1 (a_score INTEGER, b_score VARCHAR, position VARCHAR) | SELECT SUM(a_score) FROM table_name_1 WHERE b_score > 9.15 AND position = "2nd" | What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position? | <s>[INST]What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position? Context: CREATE TABLE table_name_1 (a_score INTEGER, b_score VARCHAR, position VARCHAR)[/INST]SELECT SUM(a_score) FROM table_name_1 WHERE b_score > 9.15 AND position = "2nd"</s> |
CREATE TABLE table_name_45 (losses INTEGER, goal_difference INTEGER) | SELECT MAX(losses) FROM table_name_45 WHERE goal_difference > 26 | What is the losses when the goal difference is larger than 26? | <s>[INST]What is the losses when the goal difference is larger than 26? Context: CREATE TABLE table_name_45 (losses INTEGER, goal_difference INTEGER)[/INST]SELECT MAX(losses) FROM table_name_45 WHERE goal_difference > 26</s> |
CREATE TABLE Documents (document_type_code VARCHAR) | SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the document type code with most number of documents? | <s>[INST]What is the document type code with most number of documents? Context: CREATE TABLE Documents (document_type_code VARCHAR)[/INST]SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR) | SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1 | What song is later than place 2 and has a draw number of 1? | <s>[INST]What song is later than place 2 and has a draw number of 1? Context: CREATE TABLE table_name_77 (song VARCHAR, place VARCHAR, draw VARCHAR)[/INST]SELECT song FROM table_name_77 WHERE place > 2 AND draw = 1</s> |
CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, winner VARCHAR) | SELECT COUNT(byu_uu_score) FROM table_13665809_2 WHERE winner = "Utah State (2–1) Won over BYU by media vote" | how many byu-uu score with winner being utah state (2–1) won over byu by media vote | <s>[INST] how many byu-uu score with winner being utah state (2–1) won over byu by media vote Context: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(byu_uu_score) FROM table_13665809_2 WHERE winner = "Utah State (2–1) Won over BYU by media vote"</s> |
CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_23 WHERE score = 69 - 74 - 71 = 214 | What is the country of the player with a score of 69-74-71=214? | <s>[INST]What is the country of the player with a score of 69-74-71=214? Context: CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_23 WHERE score = 69 - 74 - 71 = 214</s> |
CREATE TABLE table_24781886_3 (total INTEGER, _number VARCHAR) | SELECT MAX(total) FROM table_24781886_3 WHERE _number = 3 | When 3 is the number what is the highest total? | <s>[INST]When 3 is the number what is the highest total? Context: CREATE TABLE table_24781886_3 (total INTEGER, _number VARCHAR)[/INST]SELECT MAX(total) FROM table_24781886_3 WHERE _number = 3</s> |
CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR) | SELECT swimsuit FROM table_11674683_2 WHERE delegate = "South Africa" | What are the swimsuits for south africa? | <s>[INST]What are the swimsuits for south africa? Context: CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR)[/INST]SELECT swimsuit FROM table_11674683_2 WHERE delegate = "South Africa"</s> |
CREATE TABLE table_name_78 (interregnum_ended VARCHAR, duration VARCHAR) | SELECT interregnum_ended FROM table_name_78 WHERE duration = "3 months, 6 days" | What is the Interregnum ended for the person with a Duration of 3 months, 6 days? | <s>[INST]What is the Interregnum ended for the person with a Duration of 3 months, 6 days? Context: CREATE TABLE table_name_78 (interregnum_ended VARCHAR, duration VARCHAR)[/INST]SELECT interregnum_ended FROM table_name_78 WHERE duration = "3 months, 6 days"</s> |
CREATE TABLE table_16731248_1 (bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR) | SELECT bypass_boosters FROM table_16731248_1 WHERE spi = "Yes" AND exhaust_ports = "Slit" | How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes? | <s>[INST]How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes? Context: CREATE TABLE table_16731248_1 (bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR)[/INST]SELECT bypass_boosters FROM table_16731248_1 WHERE spi = "Yes" AND exhaust_ports = "Slit"</s> |
CREATE TABLE table_name_25 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR) | SELECT AVG(field_goals) FROM table_name_25 WHERE touchdowns < 3 AND player = "clark" AND points < 5 | What the average amount of field goals Clark has if he has less than 3 touch downs and less than 5 points? | <s>[INST]What the average amount of field goals Clark has if he has less than 3 touch downs and less than 5 points? Context: CREATE TABLE table_name_25 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR)[/INST]SELECT AVG(field_goals) FROM table_name_25 WHERE touchdowns < 3 AND player = "clark" AND... |
CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR) | SELECT venue FROM table_name_16 WHERE status = "test match" AND against = 12 | What is Venue, when Status is "Test Match", and when Against is "12"? | <s>[INST]What is Venue, when Status is "Test Match", and when Against is "12"? Context: CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR)[/INST]SELECT venue FROM table_name_16 WHERE status = "test match" AND against = 12</s> |
CREATE TABLE table_name_28 (chest VARCHAR, supplier VARCHAR) | SELECT chest FROM table_name_28 WHERE supplier = "gilbert" | Which Chest is Supplied by Gilbert? | <s>[INST]Which Chest is Supplied by Gilbert? Context: CREATE TABLE table_name_28 (chest VARCHAR, supplier VARCHAR)[/INST]SELECT chest FROM table_name_28 WHERE supplier = "gilbert"</s> |
CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_25380472_2 WHERE week = 7 | On week 7, what were the opponents? | <s>[INST]On week 7, what were the opponents? Context: CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_25380472_2 WHERE week = 7</s> |
CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_5 WHERE to_par = "–5" AND country = "england" | Which Player has a To par of –5, and a Country of england? | <s>[INST]Which Player has a To par of –5, and a Country of england? Context: CREATE TABLE table_name_5 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_5 WHERE to_par = "–5" AND country = "england"</s> |
CREATE TABLE airlines (country VARCHAR) | SELECT country, COUNT(*) FROM airlines GROUP BY country ORDER BY COUNT(*) DESC | List all countries and their number of airlines in the descending order of number of airlines. | <s>[INST]List all countries and their number of airlines in the descending order of number of airlines. Context: CREATE TABLE airlines (country VARCHAR)[/INST]SELECT country, COUNT(*) FROM airlines GROUP BY country ORDER BY COUNT(*) DESC</s> |
CREATE TABLE table_name_40 (ihsaa_class VARCHAR, county VARCHAR) | SELECT ihsaa_class FROM table_name_40 WHERE county = "83 vermillion" | What is the IHSAA class when the county was 83 vermillion? | <s>[INST]What is the IHSAA class when the county was 83 vermillion? Context: CREATE TABLE table_name_40 (ihsaa_class VARCHAR, county VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_40 WHERE county = "83 vermillion"</s> |
CREATE TABLE table_name_7 (goals INTEGER, player VARCHAR, games VARCHAR) | SELECT MAX(goals) FROM table_name_7 WHERE player = "david mcllwain" AND games > 52 | Which Goals have a Player of david mcllwain, and Games larger than 52? | <s>[INST]Which Goals have a Player of david mcllwain, and Games larger than 52? Context: CREATE TABLE table_name_7 (goals INTEGER, player VARCHAR, games VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_7 WHERE player = "david mcllwain" AND games > 52</s> |
CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR) | SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = "Missouri 7" | When was the first elected for district missouri 7? | <s>[INST]When was the first elected for district missouri 7? Context: CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = "Missouri 7"</s> |
CREATE TABLE table_1601027_1 (headphone_model VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR) | SELECT headphone_model FROM table_1601027_1 WHERE driver_matched_db = "0.1" AND us_msrp = "$49" | Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49? | <s>[INST]Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49? Context: CREATE TABLE table_1601027_1 (headphone_model VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR)[/INST]SELECT headphone_model FROM table_1601027_1 WHERE driver_matched_db = "0.1" AND us_msrp = "$49"</s> |
CREATE TABLE table_16388439_2 (home_team VARCHAR, ground VARCHAR) | SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground = "Manuka Oval" | When ground is manuka oval what is the home team score? | <s>[INST]When ground is manuka oval what is the home team score? Context: CREATE TABLE table_16388439_2 (home_team VARCHAR, ground VARCHAR)[/INST]SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground = "Manuka Oval"</s> |
CREATE TABLE table_2509112_3 (language VARCHAR, villa_rivero_municipality VARCHAR) | SELECT language FROM table_2509112_3 WHERE villa_rivero_municipality = 7 | If Villa Rivero Municipality if 7, what is the language? | <s>[INST]If Villa Rivero Municipality if 7, what is the language? Context: CREATE TABLE table_2509112_3 (language VARCHAR, villa_rivero_municipality VARCHAR)[/INST]SELECT language FROM table_2509112_3 WHERE villa_rivero_municipality = 7</s> |
CREATE TABLE table_name_51 (score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT SUM(score) FROM table_name_51 WHERE country = "australia" AND to_par = "e" AND player = "adam scott" | What was Adam Scott's total score when playing in Australia with a to par of e? | <s>[INST]What was Adam Scott's total score when playing in Australia with a to par of e? Context: CREATE TABLE table_name_51 (score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT SUM(score) FROM table_name_51 WHERE country = "australia" AND to_par = "e" AND player = "adam scott"</s> |
CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR) | SELECT MIN(attendance) FROM table_name_50 WHERE week = 2 | What is the lowest attendance for week 2? | <s>[INST]What is the lowest attendance for week 2? Context: CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_50 WHERE week = 2</s> |
CREATE TABLE table_name_65 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_65 WHERE date = "october 13" | Wjich city had a date of october 13? | <s>[INST]Wjich city had a date of october 13? Context: CREATE TABLE table_name_65 (city VARCHAR, date VARCHAR)[/INST]SELECT city FROM table_name_65 WHERE date = "october 13"</s> |
CREATE TABLE table_26702078_1 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_26702078_1 WHERE no_in_series = 60 | Name the production code for 60 number in series | <s>[INST]Name the production code for 60 number in series Context: CREATE TABLE table_26702078_1 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT production_code FROM table_26702078_1 WHERE no_in_series = 60</s> |
CREATE TABLE table_name_8 (wins INTEGER, points VARCHAR, team VARCHAR, year VARCHAR) | SELECT AVG(wins) FROM table_name_8 WHERE team = "norton" AND year = 1966 AND points = 8 | What is the mean number of wins for the norton team in 1966, when there are 8 points? | <s>[INST]What is the mean number of wins for the norton team in 1966, when there are 8 points? Context: CREATE TABLE table_name_8 (wins INTEGER, points VARCHAR, team VARCHAR, year VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_8 WHERE team = "norton" AND year = 1966 AND points = 8</s> |
CREATE TABLE table_13657749_2 (rnd VARCHAR, gto_winning_team VARCHAR) | SELECT rnd FROM table_13657749_2 WHERE gto_winning_team = "Mike Keyser" | What is GTO Winning Team Mike Keyser's RND number? | <s>[INST]What is GTO Winning Team Mike Keyser's RND number? Context: CREATE TABLE table_13657749_2 (rnd VARCHAR, gto_winning_team VARCHAR)[/INST]SELECT rnd FROM table_13657749_2 WHERE gto_winning_team = "Mike Keyser"</s> |
CREATE TABLE songs (title VARCHAR) | SELECT title FROM songs WHERE title LIKE '% the %' | Find all the songs whose name contains the word "the". | <s>[INST]Find all the songs whose name contains the word "the". Context: CREATE TABLE songs (title VARCHAR)[/INST]SELECT title FROM songs WHERE title LIKE '% the %'</s> |
CREATE TABLE table_name_65 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_65 WHERE constituency_number = "228" | What is reserved for the constituency of 228? | <s>[INST]What is reserved for the constituency of 228? Context: CREATE TABLE table_name_65 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_65 WHERE constituency_number = "228"</s> |
CREATE TABLE table_name_50 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_50 WHERE to_par = "+7" AND country = "scotland" | Which player from Scotland has a To Par score of +7? | <s>[INST]Which player from Scotland has a To Par score of +7? Context: CREATE TABLE table_name_50 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_50 WHERE to_par = "+7" AND country = "scotland"</s> |
CREATE TABLE table_name_61 (wins INTEGER, played VARCHAR, goals_against VARCHAR, points VARCHAR, goal_difference VARCHAR) | SELECT AVG(wins) FROM table_name_61 WHERE points > 32 AND goal_difference < 23 AND goals_against = 36 AND played < 30 | What is the average number of wins for entries with more than 32 points, a goal difference smaller than 23, and a Goals against of 36, and a Played smaller than 30? | <s>[INST]What is the average number of wins for entries with more than 32 points, a goal difference smaller than 23, and a Goals against of 36, and a Played smaller than 30? Context: CREATE TABLE table_name_61 (wins INTEGER, played VARCHAR, goals_against VARCHAR, points VARCHAR, goal_difference VARCHAR)[/INST]SELECT AV... |
CREATE TABLE table_name_13 (Id VARCHAR) | SELECT 2012 FROM table_name_13 WHERE 2008 = "a" AND 2011 = "1r" | What is the categorization in 2012 when it was A in 2008 and 1R in 2011? | <s>[INST]What is the categorization in 2012 when it was A in 2008 and 1R in 2011? Context: CREATE TABLE table_name_13 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_13 WHERE 2008 = "a" AND 2011 = "1r"</s> |
CREATE TABLE table_1397655_1 (year_acquired INTEGER, station VARCHAR) | SELECT MIN(year_acquired) FROM table_1397655_1 WHERE station = "CITV" | how many is the minimum for citv | <s>[INST]how many is the minimum for citv Context: CREATE TABLE table_1397655_1 (year_acquired INTEGER, station VARCHAR)[/INST]SELECT MIN(year_acquired) FROM table_1397655_1 WHERE station = "CITV"</s> |
CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_76 WHERE home_team = "torquay united" | What date was the game that home team torquay united played? | <s>[INST]What date was the game that home team torquay united played? Context: CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE home_team = "torquay united"</s> |
CREATE TABLE table_13196576_2 (team VARCHAR) | SELECT COUNT(3 AS rd_pl) FROM table_13196576_2 WHERE team = "Ducati Xerox" | What is the total number for 3rd place for ducati xerox? | <s>[INST]What is the total number for 3rd place for ducati xerox? Context: CREATE TABLE table_13196576_2 (team VARCHAR)[/INST]SELECT COUNT(3 AS rd_pl) FROM table_13196576_2 WHERE team = "Ducati Xerox"</s> |
CREATE TABLE table_name_2 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_2 WHERE score = 72 - 65 - 73 = 210 | What Country scored 72-65-73=210? | <s>[INST]What Country scored 72-65-73=210? Context: CREATE TABLE table_name_2 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_2 WHERE score = 72 - 65 - 73 = 210</s> |
CREATE TABLE shop (Shop_Name VARCHAR, LOCATION VARCHAR) | SELECT Shop_Name, LOCATION FROM shop ORDER BY Shop_Name | What are the names and location of the shops in ascending alphabetical order of name. | <s>[INST]What are the names and location of the shops in ascending alphabetical order of name. Context: CREATE TABLE shop (Shop_Name VARCHAR, LOCATION VARCHAR)[/INST]SELECT Shop_Name, LOCATION FROM shop ORDER BY Shop_Name</s> |
CREATE TABLE table_11964047_6 (score VARCHAR, _number VARCHAR) | SELECT score FROM table_11964047_6 WHERE _number = 29 | What was the result and score of Game #29? | <s>[INST]What was the result and score of Game #29? Context: CREATE TABLE table_11964047_6 (score VARCHAR, _number VARCHAR)[/INST]SELECT score FROM table_11964047_6 WHERE _number = 29</s> |
CREATE TABLE table_name_12 (nominating_festival VARCHAR, country VARCHAR) | SELECT nominating_festival FROM table_name_12 WHERE country = "russia" | Which nominating festival did Russia enter? | <s>[INST]Which nominating festival did Russia enter? Context: CREATE TABLE table_name_12 (nominating_festival VARCHAR, country VARCHAR)[/INST]SELECT nominating_festival FROM table_name_12 WHERE country = "russia"</s> |
CREATE TABLE table_1676073_13 (club VARCHAR, points_for VARCHAR) | SELECT club FROM table_1676073_13 WHERE points_for = "693" | What club has 693 points for? | <s>[INST]What club has 693 points for? Context: CREATE TABLE table_1676073_13 (club VARCHAR, points_for VARCHAR)[/INST]SELECT club FROM table_1676073_13 WHERE points_for = "693"</s> |
CREATE TABLE table_23214833_1 (team_captain VARCHAR, capacity VARCHAR) | SELECT team_captain FROM table_23214833_1 WHERE capacity = 17800 | Who's captain of the team whose stadium has a capacity of 17800 people? | <s>[INST]Who's captain of the team whose stadium has a capacity of 17800 people? Context: CREATE TABLE table_23214833_1 (team_captain VARCHAR, capacity VARCHAR)[/INST]SELECT team_captain FROM table_23214833_1 WHERE capacity = 17800</s> |
CREATE TABLE table_name_84 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_84 WHERE to_par = "e" | What country has a To par of e? | <s>[INST]What country has a To par of e? Context: CREATE TABLE table_name_84 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_84 WHERE to_par = "e"</s> |
CREATE TABLE COURSE (Instructor VARCHAR); CREATE TABLE FACULTY (Building VARCHAR, FacID VARCHAR) | SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY COUNT(*) DESC LIMIT 1 | Which building does the instructor who teaches the most number of courses live in? | <s>[INST]Which building does the instructor who teaches the most number of courses live in? Context: CREATE TABLE COURSE (Instructor VARCHAR); CREATE TABLE FACULTY (Building VARCHAR, FacID VARCHAR)[/INST]SELECT T2.Building FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor = T2.FacID GROUP BY T1.Instructor ORDER BY ... |
CREATE TABLE table_name_80 (owner VARCHAR, trainer VARCHAR) | SELECT owner FROM table_name_80 WHERE trainer = "steve klesaris" | Who was the owner of the trainer Steve Klesaris? | <s>[INST]Who was the owner of the trainer Steve Klesaris? Context: CREATE TABLE table_name_80 (owner VARCHAR, trainer VARCHAR)[/INST]SELECT owner FROM table_name_80 WHERE trainer = "steve klesaris"</s> |
CREATE TABLE table_1682865_1 (numeral VARCHAR, english_name VARCHAR) | SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin" | What is the numeral where the English name is Florin? | <s>[INST]What is the numeral where the English name is Florin? Context: CREATE TABLE table_1682865_1 (numeral VARCHAR, english_name VARCHAR)[/INST]SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin"</s> |
CREATE TABLE table_1341472_12 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341472_12 WHERE district = "Georgia 2" | Who was the incumbent of district Georgia 2? | <s>[INST]Who was the incumbent of district Georgia 2? Context: CREATE TABLE table_1341472_12 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341472_12 WHERE district = "Georgia 2"</s> |
CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18" | What is the lowest attendance on November 18? | <s>[INST]What is the lowest attendance on November 18? Context: CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18"</s> |
CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_95 WHERE away_team = "collingwood" | What is the name of the venue that they away team Collingwood played at? | <s>[INST]What is the name of the venue that they away team Collingwood played at? Context: CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_95 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_255602_1 (no_of_barangays INTEGER, type VARCHAR) | SELECT MIN(no_of_barangays) FROM table_255602_1 WHERE type = "Component City" | What is the minimum number of barangays where the type is component city? | <s>[INST]What is the minimum number of barangays where the type is component city? Context: CREATE TABLE table_255602_1 (no_of_barangays INTEGER, type VARCHAR)[/INST]SELECT MIN(no_of_barangays) FROM table_255602_1 WHERE type = "Component City"</s> |
CREATE TABLE table_name_71 (overall INTEGER, college VARCHAR, pick VARCHAR) | SELECT MAX(overall) FROM table_name_71 WHERE college = "kansas state" AND pick > 35 | When Kansas State had a pick of over 35, what's the highest Overall pick found? | <s>[INST]When Kansas State had a pick of over 35, what's the highest Overall pick found? Context: CREATE TABLE table_name_71 (overall INTEGER, college VARCHAR, pick VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_71 WHERE college = "kansas state" AND pick > 35</s> |
CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR) | SELECT others_percentage FROM table_1733457_1 WHERE county = "Cleveland" | Name the others % for cleveland | <s>[INST]Name the others % for cleveland Context: CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR)[/INST]SELECT others_percentage FROM table_1733457_1 WHERE county = "Cleveland"</s> |
CREATE TABLE table_name_4 (round VARCHAR, pick VARCHAR, nfl_club VARCHAR) | SELECT round FROM table_name_4 WHERE pick < 189 AND nfl_club = "arizona cardinals" | What round has a pick less than 189, with arizona cardinals as the NFL club? | <s>[INST]What round has a pick less than 189, with arizona cardinals as the NFL club? Context: CREATE TABLE table_name_4 (round VARCHAR, pick VARCHAR, nfl_club VARCHAR)[/INST]SELECT round FROM table_name_4 WHERE pick < 189 AND nfl_club = "arizona cardinals"</s> |
CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR) | SELECT COUNT(design) FROM table_11900773_6 WHERE theme = "XII Summit de la Francophonie" | How many stamps were designed for the theme of XII Summit de la Francophonie? | <s>[INST]How many stamps were designed for the theme of XII Summit de la Francophonie? Context: CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR)[/INST]SELECT COUNT(design) FROM table_11900773_6 WHERE theme = "XII Summit de la Francophonie"</s> |
CREATE TABLE table_1132600_3 (report VARCHAR, grand_prix VARCHAR) | SELECT report FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix" | What was the report of the Belgian Grand Prix? | <s>[INST]What was the report of the Belgian Grand Prix? Context: CREATE TABLE table_1132600_3 (report VARCHAR, grand_prix VARCHAR)[/INST]SELECT report FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix"</s> |
CREATE TABLE table_name_65 (established VARCHAR, sport VARCHAR, venue VARCHAR) | SELECT COUNT(established) FROM table_name_65 WHERE sport = "soccer" AND venue = "kuntz stadium" | What is the total number of Established for soccer plated in kuntz stadium? | <s>[INST]What is the total number of Established for soccer plated in kuntz stadium? Context: CREATE TABLE table_name_65 (established VARCHAR, sport VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(established) FROM table_name_65 WHERE sport = "soccer" AND venue = "kuntz stadium"</s> |
CREATE TABLE table_name_64 (rank VARCHAR, laps VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_64 WHERE laps > 40 AND finish = "23" | What is the rank with more than 40 laps and a 23 finish? | <s>[INST]What is the rank with more than 40 laps and a 23 finish? Context: CREATE TABLE table_name_64 (rank VARCHAR, laps VARCHAR, finish VARCHAR)[/INST]SELECT rank FROM table_name_64 WHERE laps > 40 AND finish = "23"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.