context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_99 (against INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR) | SELECT AVG(against) FROM table_name_99 WHERE lost < 7 AND drawn > 6 AND points = 25 | What is the average against score of all teams with less than 7 losses, more than 6 draws, and 25 points? | <s>[INST]What is the average against score of all teams with less than 7 losses, more than 6 draws, and 25 points? Context: CREATE TABLE table_name_99 (against INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)[/INST]SELECT AVG(against) FROM table_name_99 WHERE lost < 7 AND drawn > 6 AND points = 25</s> |
CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865" | How many laps have a +0.4865 time/retired? | <s>[INST]How many laps have a +0.4865 time/retired? Context: CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865"</s> |
CREATE TABLE table_2562572_27 (settlement VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT COUNT(settlement) FROM table_2562572_27 WHERE cyrillic_name_other_names = "Његошево" | How many places have as their cyrillic name and other names његошево? | <s>[INST]How many places have as their cyrillic name and other names његошево? Context: CREATE TABLE table_2562572_27 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT COUNT(settlement) FROM table_2562572_27 WHERE cyrillic_name_other_names = "Његошево"</s> |
CREATE TABLE table_11964047_10 (_number INTEGER) | SELECT MIN(_number) FROM table_11964047_10 | What is the lowest #? | <s>[INST]What is the lowest #? Context: CREATE TABLE table_11964047_10 (_number INTEGER)[/INST]SELECT MIN(_number) FROM table_11964047_10</s> |
CREATE TABLE table_name_75 (score_in_final VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT score_in_final FROM table_name_75 WHERE outcome = "runner-up" AND date = "9 february 1992" | What is the final score of the runner-up on 9 February 1992? | <s>[INST]What is the final score of the runner-up on 9 February 1992? Context: CREATE TABLE table_name_75 (score_in_final VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT score_in_final FROM table_name_75 WHERE outcome = "runner-up" AND date = "9 february 1992"</s> |
CREATE TABLE table_name_37 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR) | SELECT time_retired FROM table_name_37 WHERE laps = 49 AND constructor = "vanwall" | What was the Vanwall time/retired with 49 laps? | <s>[INST]What was the Vanwall time/retired with 49 laps? Context: CREATE TABLE table_name_37 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)[/INST]SELECT time_retired FROM table_name_37 WHERE laps = 49 AND constructor = "vanwall"</s> |
CREATE TABLE table_name_92 (played INTEGER, draw INTEGER) | SELECT MIN(played) FROM table_name_92 WHERE draw > 7 | What is the lowest number of games played where they tied more than 7 of them? | <s>[INST]What is the lowest number of games played where they tied more than 7 of them? Context: CREATE TABLE table_name_92 (played INTEGER, draw INTEGER)[/INST]SELECT MIN(played) FROM table_name_92 WHERE draw > 7</s> |
CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR) | SELECT score FROM table_23248869_8 WHERE record = "19–35" | What was the score when the record was 19–35 | <s>[INST]What was the score when the record was 19–35 Context: CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_23248869_8 WHERE record = "19–35"</s> |
CREATE TABLE channel (OWNER VARCHAR) | SELECT COUNT(DISTINCT OWNER) FROM channel | what is the number of different channel owners? | <s>[INST]what is the number of different channel owners? Context: CREATE TABLE channel (OWNER VARCHAR)[/INST]SELECT COUNT(DISTINCT OWNER) FROM channel</s> |
CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_17 WHERE away_team = "richmond" | What was the home team score at Richmond's away game against Footscray? | <s>[INST]What was the home team score at Richmond's away game against Footscray? Context: CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_17 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_60 (country VARCHAR, place VARCHAR) | SELECT country FROM table_name_60 WHERE place = "2" | Which Country has a Place of 2? | <s>[INST]Which Country has a Place of 2? Context: CREATE TABLE table_name_60 (country VARCHAR, place VARCHAR)[/INST]SELECT country FROM table_name_60 WHERE place = "2"</s> |
CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR) | SELECT realization FROM table_name_71 WHERE gloss = "'to be, to do'" | Name the realization for 'to be, to do' | <s>[INST]Name the realization for 'to be, to do' Context: CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR)[/INST]SELECT realization FROM table_name_71 WHERE gloss = "'to be, to do'"</s> |
CREATE TABLE table_name_98 (latitude INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR) | SELECT AVG(latitude) FROM table_name_98 WHERE geo_id > 3806352640 AND land___sqmi__ = 34.345 | What is the latitude with a GEO ID larger than 3806352640, and a Land(sqmi) of 34.345? | <s>[INST]What is the latitude with a GEO ID larger than 3806352640, and a Land(sqmi) of 34.345? Context: CREATE TABLE table_name_98 (latitude INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR)[/INST]SELECT AVG(latitude) FROM table_name_98 WHERE geo_id > 3806352640 AND land___sqmi__ = 34.345</s> |
CREATE TABLE table_name_11 (pos VARCHAR, first_round INTEGER) | SELECT pos FROM table_name_11 WHERE first_round < 10 | Which Pos has a First round smaller than 10? | <s>[INST]Which Pos has a First round smaller than 10? Context: CREATE TABLE table_name_11 (pos VARCHAR, first_round INTEGER)[/INST]SELECT pos FROM table_name_11 WHERE first_round < 10</s> |
CREATE TABLE table_20967430_2 (written_by VARCHAR, prod_code VARCHAR) | SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07" | Name the written by for production code 4g07 | <s>[INST]Name the written by for production code 4g07 Context: CREATE TABLE table_20967430_2 (written_by VARCHAR, prod_code VARCHAR)[/INST]SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07"</s> |
CREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_59 WHERE laps = 10 | I want the driver that has Laps of 10 | <s>[INST]I want the driver that has Laps of 10 Context: CREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_59 WHERE laps = 10</s> |
CREATE TABLE table_name_42 (team_captain VARCHAR, stadium VARCHAR) | SELECT team_captain FROM table_name_42 WHERE stadium = "regenboogstadion" | Who is the team captain of Regenboogstadion? | <s>[INST]Who is the team captain of Regenboogstadion? Context: CREATE TABLE table_name_42 (team_captain VARCHAR, stadium VARCHAR)[/INST]SELECT team_captain FROM table_name_42 WHERE stadium = "regenboogstadion"</s> |
CREATE TABLE table_name_19 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars" | What is the first leg of team 1 for Hardware stars? | <s>[INST]What is the first leg of team 1 for Hardware stars? Context: CREATE TABLE table_name_19 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars"</s> |
CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR) | SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting' | How many students are enrolled in the class taught by some professor from the accounting department? | <s>[INST]How many students are enrolled in the class taught by some professor from the accounting department? Context: CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCH... |
CREATE TABLE table_13012165_1 (maryland VARCHAR, new_jersey VARCHAR) | SELECT maryland FROM table_13012165_1 WHERE new_jersey = "Somerset Hills LL Bernardsville" | Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville? | <s>[INST]Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville? Context: CREATE TABLE table_13012165_1 (maryland VARCHAR, new_jersey VARCHAR)[/INST]SELECT maryland FROM table_13012165_1 WHERE new_jersey = "Somerset Hills LL Bernardsville"</s> |
CREATE TABLE table_name_96 (evening_gown INTEGER, state VARCHAR, interview VARCHAR) | SELECT SUM(evening_gown) FROM table_name_96 WHERE state = "kansas" AND interview < 9.357 | What is the number for evening gown in kansas with less than 9.357 interviews? | <s>[INST]What is the number for evening gown in kansas with less than 9.357 interviews? Context: CREATE TABLE table_name_96 (evening_gown INTEGER, state VARCHAR, interview VARCHAR)[/INST]SELECT SUM(evening_gown) FROM table_name_96 WHERE state = "kansas" AND interview < 9.357</s> |
CREATE TABLE table_13764346_1 (Id VARCHAR) | SELECT MIN(2002 AS _population) FROM table_13764346_1 | What is the smallest population recorded back in 2002? | <s>[INST]What is the smallest population recorded back in 2002? Context: CREATE TABLE table_13764346_1 (Id VARCHAR)[/INST]SELECT MIN(2002 AS _population) FROM table_13764346_1</s> |
CREATE TABLE table_name_97 (adelaide VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR) | SELECT adelaide FROM table_name_97 WHERE auckland = "no" AND melbourne = "yes" AND gold_coast = "yes" | yes or no for the adelaide with no for auckland, yes for melbourne, yes for the gold coast? | <s>[INST]yes or no for the adelaide with no for auckland, yes for melbourne, yes for the gold coast? Context: CREATE TABLE table_name_97 (adelaide VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR)[/INST]SELECT adelaide FROM table_name_97 WHERE auckland = "no" AND melbourne = "yes" AND gold_coast = "yes"... |
CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_79 WHERE venue = "arden street oval" | At the match which took place in arden street oval, how much did the away team score? | <s>[INST]At the match which took place in arden street oval, how much did the away team score? Context: CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_79 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_name_38 (average INTEGER, rank_by_average VARCHAR, total VARCHAR, number_of_dances VARCHAR) | SELECT MIN(average) FROM table_name_38 WHERE total < 134 AND number_of_dances < 3 AND rank_by_average < 12 | Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12? | <s>[INST]Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12? Context: CREATE TABLE table_name_38 (average INTEGER, rank_by_average VARCHAR, total VARCHAR, number_of_dances VARCHAR)[/INST]SELECT MIN(average) FROM table_name_38 W... |
CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT pick FROM table_name_8 WHERE nationality = "canada" AND player = "ian schultz" | What is the pick of player ian schultz from Canada? | <s>[INST]What is the pick of player ian schultz from Canada? Context: CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_8 WHERE nationality = "canada" AND player = "ian schultz"</s> |
CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR) | SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170 | What is the average frequency in MHz for stations with an ERP W of 170? | <s>[INST]What is the average frequency in MHz for stations with an ERP W of 170? Context: CREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR)[/INST]SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170</s> |
CREATE TABLE table_name_92 (top_25 VARCHAR, top_5 INTEGER) | SELECT COUNT(top_25) FROM table_name_92 WHERE top_5 > 1 | What is the total amount of Top-25 having a Top-5 greater than 1? | <s>[INST]What is the total amount of Top-25 having a Top-5 greater than 1? Context: CREATE TABLE table_name_92 (top_25 VARCHAR, top_5 INTEGER)[/INST]SELECT COUNT(top_25) FROM table_name_92 WHERE top_5 > 1</s> |
CREATE TABLE table_19283806_4 (location VARCHAR, median_household_income__2011_ VARCHAR) | SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ = "$71,479" | How many locations have a median household income in 2011 of $71,479? | <s>[INST]How many locations have a median household income in 2011 of $71,479? Context: CREATE TABLE table_19283806_4 (location VARCHAR, median_household_income__2011_ VARCHAR)[/INST]SELECT COUNT(location) FROM table_19283806_4 WHERE median_household_income__2011_ = "$71,479"</s> |
CREATE TABLE table_name_30 (record_set VARCHAR, actor VARCHAR, year VARCHAR) | SELECT record_set FROM table_name_30 WHERE actor = "walter brennan" AND year < 1941 | What record was set by walter brennan before 1941? | <s>[INST]What record was set by walter brennan before 1941? Context: CREATE TABLE table_name_30 (record_set VARCHAR, actor VARCHAR, year VARCHAR)[/INST]SELECT record_set FROM table_name_30 WHERE actor = "walter brennan" AND year < 1941</s> |
CREATE TABLE table_11959669_6 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_11959669_6 WHERE high_points = "Pierce (30)" | What is the score when high points is from pierce (30)? | <s>[INST]What is the score when high points is from pierce (30)? Context: CREATE TABLE table_11959669_6 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_11959669_6 WHERE high_points = "Pierce (30)"</s> |
CREATE TABLE WINE (Price INTEGER, Cases INTEGER, YEAR VARCHAR, Grape VARCHAR) | SELECT AVG(Price), AVG(Cases) FROM WINE WHERE YEAR = 2009 AND Grape = "Zinfandel" | What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape? | <s>[INST]What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape? Context: CREATE TABLE WINE (Price INTEGER, Cases INTEGER, YEAR VARCHAR, Grape VARCHAR)[/INST]SELECT AVG(Price), AVG(Cases) FROM WINE WHERE YEAR = 2009 AND Grape = "Zinfandel"</s> |
CREATE TABLE table_14962287_2 (years VARCHAR, fa_cup VARCHAR) | SELECT COUNT(years) FROM table_14962287_2 WHERE fa_cup = 5 | How many separate values for Years are associated with FA Cup of 5? | <s>[INST]How many separate values for Years are associated with FA Cup of 5? Context: CREATE TABLE table_14962287_2 (years VARCHAR, fa_cup VARCHAR)[/INST]SELECT COUNT(years) FROM table_14962287_2 WHERE fa_cup = 5</s> |
CREATE TABLE table_name_14 (no_s_ INTEGER, years_for_rockets VARCHAR) | SELECT AVG(no_s_) FROM table_name_14 WHERE years_for_rockets = "2004-05" | What is the average number of years for the Houston Rockets 2004-05? | <s>[INST]What is the average number of years for the Houston Rockets 2004-05? Context: CREATE TABLE table_name_14 (no_s_ INTEGER, years_for_rockets VARCHAR)[/INST]SELECT AVG(no_s_) FROM table_name_14 WHERE years_for_rockets = "2004-05"</s> |
CREATE TABLE table_name_67 (wins VARCHAR, position VARCHAR) | SELECT wins FROM table_name_67 WHERE position = "7th" | What is the value for Wins when the Position is 7th? | <s>[INST]What is the value for Wins when the Position is 7th? Context: CREATE TABLE table_name_67 (wins VARCHAR, position VARCHAR)[/INST]SELECT wins FROM table_name_67 WHERE position = "7th"</s> |
CREATE TABLE table_name_41 (subregion VARCHAR, no_p VARCHAR, pop_area__1_km²_ VARCHAR) | SELECT subregion FROM table_name_41 WHERE no_p = 4 AND pop_area__1_km²_ = 534 | Which Subregion has a No P. of 4, and a Pop/Area (1/km²) of 534? | <s>[INST]Which Subregion has a No P. of 4, and a Pop/Area (1/km²) of 534? Context: CREATE TABLE table_name_41 (subregion VARCHAR, no_p VARCHAR, pop_area__1_km²_ VARCHAR)[/INST]SELECT subregion FROM table_name_41 WHERE no_p = 4 AND pop_area__1_km²_ = 534</s> |
CREATE TABLE table_name_20 (round VARCHAR, position VARCHAR, player VARCHAR) | SELECT round FROM table_name_20 WHERE position = "(d)" AND player = "colby robak" | How many rounds does Colby Robak have with a position of (d)? | <s>[INST]How many rounds does Colby Robak have with a position of (d)? Context: CREATE TABLE table_name_20 (round VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_20 WHERE position = "(d)" AND player = "colby robak"</s> |
CREATE TABLE table_name_71 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_71 WHERE opponent = "@ seattle" | Which Score has an Opponent of @ seattle? | <s>[INST]Which Score has an Opponent of @ seattle? Context: CREATE TABLE table_name_71 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_71 WHERE opponent = "@ seattle"</s> |
CREATE TABLE table_name_43 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_43 WHERE attendance = "53,677" | which week had an attendance of 53,677? | <s>[INST]which week had an attendance of 53,677? Context: CREATE TABLE table_name_43 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_43 WHERE attendance = "53,677"</s> |
CREATE TABLE table_name_51 (album VARCHAR, number VARCHAR) | SELECT SUM(1 AS st_week_sales) FROM table_name_51 WHERE album = "finding forever" AND number < 6 | What is the 1st week sales for the album finding forever before the number 6? | <s>[INST]What is the 1st week sales for the album finding forever before the number 6? Context: CREATE TABLE table_name_51 (album VARCHAR, number VARCHAR)[/INST]SELECT SUM(1 AS st_week_sales) FROM table_name_51 WHERE album = "finding forever" AND number < 6</s> |
CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_54 WHERE record = "3-0" | What event did tim Hague have a record of 3-0? | <s>[INST]What event did tim Hague have a record of 3-0? Context: CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_54 WHERE record = "3-0"</s> |
CREATE TABLE table_name_72 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_72 WHERE team__number1 = "2007 uefa intertoto cup" | What is the 2nd leg of the 1st team in the 2007 uefa intertoto cup? | <s>[INST]What is the 2nd leg of the 1st team in the 2007 uefa intertoto cup? Context: CREATE TABLE table_name_72 (team__number1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_72 WHERE team__number1 = "2007 uefa intertoto cup"</s> |
CREATE TABLE table_name_34 (academy_award VARCHAR, film VARCHAR) | SELECT academy_award FROM table_name_34 WHERE film = "educating peter" | What is the Academy Award for the Film Educating Peter? | <s>[INST]What is the Academy Award for the Film Educating Peter? Context: CREATE TABLE table_name_34 (academy_award VARCHAR, film VARCHAR)[/INST]SELECT academy_award FROM table_name_34 WHERE film = "educating peter"</s> |
CREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR) | SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS" | What is the name of the country when the ioc code is mas? | <s>[INST]What is the name of the country when the ioc code is mas? Context: CREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR)[/INST]SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS"</s> |
CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_doubles VARCHAR) | SELECT men_doubles FROM table_14903355_2 WHERE womens_doubles = "Caroline Persyn Smids" | Name the men doubles for caroline persyn smids | <s>[INST]Name the men doubles for caroline persyn smids Context: CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT men_doubles FROM table_14903355_2 WHERE womens_doubles = "Caroline Persyn Smids"</s> |
CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR) | SELECT COUNT(week) FROM table_name_87 WHERE record = "0-11" | What is the total number for the week with a record of 0-11? | <s>[INST]What is the total number for the week with a record of 0-11? Context: CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_87 WHERE record = "0-11"</s> |
CREATE TABLE table_name_62 (date VARCHAR, time VARCHAR, location VARCHAR) | SELECT date FROM table_name_62 WHERE time = "2:26" AND location = "riverfront stadium" | What was date when the time was 2:26 and the location was Riverfront Stadium? | <s>[INST]What was date when the time was 2:26 and the location was Riverfront Stadium? Context: CREATE TABLE table_name_62 (date VARCHAR, time VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE time = "2:26" AND location = "riverfront stadium"</s> |
CREATE TABLE table_name_56 (wicket VARCHAR, batting_partners VARCHAR) | SELECT wicket FROM table_name_56 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" | During what wicket were Mahela Jayawardene and Thilan Samaraweera batting partners? | <s>[INST]During what wicket were Mahela Jayawardene and Thilan Samaraweera batting partners? Context: CREATE TABLE table_name_56 (wicket VARCHAR, batting_partners VARCHAR)[/INST]SELECT wicket FROM table_name_56 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"</s> |
CREATE TABLE table_name_46 (city VARCHAR, venue VARCHAR) | SELECT city FROM table_name_46 WHERE venue = "mackey arena" | What city is Mackey Arena in? | <s>[INST]What city is Mackey Arena in? Context: CREATE TABLE table_name_46 (city VARCHAR, venue VARCHAR)[/INST]SELECT city FROM table_name_46 WHERE venue = "mackey arena"</s> |
CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, stable VARCHAR) | SELECT career_and_other_notes FROM table_1557974_1 WHERE stable = "Oguruma" | What are the career and other notes for wrestlers whose stable is oguruma? | <s>[INST]What are the career and other notes for wrestlers whose stable is oguruma? Context: CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, stable VARCHAR)[/INST]SELECT career_and_other_notes FROM table_1557974_1 WHERE stable = "Oguruma"</s> |
CREATE TABLE table_2182573_2 (poles INTEGER, year VARCHAR) | SELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996 | How many poles were there in 1996? | <s>[INST]How many poles were there in 1996? Context: CREATE TABLE table_2182573_2 (poles INTEGER, year VARCHAR)[/INST]SELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996</s> |
CREATE TABLE table_2597876_1 (position VARCHAR, year VARCHAR) | SELECT position FROM table_2597876_1 WHERE year = 1992 | What position was Parsons in for 1992? | <s>[INST]What position was Parsons in for 1992? Context: CREATE TABLE table_2597876_1 (position VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_2597876_1 WHERE year = 1992</s> |
CREATE TABLE table_1341663_26 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341663_26 | When was the earliest first election? | <s>[INST]When was the earliest first election? Context: CREATE TABLE table_1341663_26 (first_elected INTEGER)[/INST]SELECT MIN(first_elected) FROM table_1341663_26</s> |
CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR) | SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = "united arab emirates" AND _percentage_nuclear_power < 0 | what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0? | <s>[INST]what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0? Context: CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)[/INST]SELECT MAX(_percentage_hydropo... |
CREATE TABLE table_18943444_1 (samples_taken VARCHAR, product VARCHAR) | SELECT COUNT(samples_taken) FROM table_18943444_1 WHERE product = "嬰幼兒配方乳粉2段基粉" | How many samples were taken of 嬰幼兒配方乳粉2段基粉 ? | <s>[INST]How many samples were taken of 嬰幼兒配方乳粉2段基粉 ? Context: CREATE TABLE table_18943444_1 (samples_taken VARCHAR, product VARCHAR)[/INST]SELECT COUNT(samples_taken) FROM table_18943444_1 WHERE product = "嬰幼兒配方乳粉2段基粉"</s> |
CREATE TABLE table_name_16 (qual VARCHAR, laps VARCHAR) | SELECT qual FROM table_name_16 WHERE laps = 585 | What was the qualification with more than 585 laps? | <s>[INST]What was the qualification with more than 585 laps? Context: CREATE TABLE table_name_16 (qual VARCHAR, laps VARCHAR)[/INST]SELECT qual FROM table_name_16 WHERE laps = 585</s> |
CREATE TABLE table_25664518_3 (first_couple VARCHAR, fourth_couple VARCHAR) | SELECT first_couple FROM table_25664518_3 WHERE fourth_couple = "Sammy and Nat" | Who was the first couple in the episode having a fourth couple of Sammy and Nat? | <s>[INST]Who was the first couple in the episode having a fourth couple of Sammy and Nat? Context: CREATE TABLE table_25664518_3 (first_couple VARCHAR, fourth_couple VARCHAR)[/INST]SELECT first_couple FROM table_25664518_3 WHERE fourth_couple = "Sammy and Nat"</s> |
CREATE TABLE table_name_75 (group_vI VARCHAR, group_iII VARCHAR, valencia VARCHAR, group_i VARCHAR, group_iV VARCHAR, sevilla VARCHAR) | SELECT group_vI FROM table_name_75 WHERE group_i = "deportivo" AND group_iV = sevilla AND group_iII = valencia | Who won Group VI, when Group 1 was won by deportivo, group IV by sevilla, and group III by Valencia? | <s>[INST]Who won Group VI, when Group 1 was won by deportivo, group IV by sevilla, and group III by Valencia? Context: CREATE TABLE table_name_75 (group_vI VARCHAR, group_iII VARCHAR, valencia VARCHAR, group_i VARCHAR, group_iV VARCHAR, sevilla VARCHAR)[/INST]SELECT group_vI FROM table_name_75 WHERE group_i = "deportiv... |
CREATE TABLE table_25042332_30 (enrolled_women VARCHAR, e_vap_ratio_women VARCHAR) | SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%" | what is the number of registered female voters where the percentage is 108.6% | <s>[INST]what is the number of registered female voters where the percentage is 108.6% Context: CREATE TABLE table_25042332_30 (enrolled_women VARCHAR, e_vap_ratio_women VARCHAR)[/INST]SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%"</s> |
CREATE TABLE table_name_25 (Id VARCHAR) | SELECT 2005 FROM table_name_25 WHERE 2007 = "91.100" | What is the 2005 Lukoil oil prodroduction when in 2007 oil production 91.100 million tonnes? | <s>[INST]What is the 2005 Lukoil oil prodroduction when in 2007 oil production 91.100 million tonnes? Context: CREATE TABLE table_name_25 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_25 WHERE 2007 = "91.100"</s> |
CREATE TABLE table_1333612_1 (native_american VARCHAR, es_mulatto VARCHAR) | SELECT native_american FROM table_1333612_1 WHERE es_mulatto = "0.7%" | what's the native american with es mulatto being 0.7% | <s>[INST]what's the native american with es mulatto being 0.7% Context: CREATE TABLE table_1333612_1 (native_american VARCHAR, es_mulatto VARCHAR)[/INST]SELECT native_american FROM table_1333612_1 WHERE es_mulatto = "0.7%"</s> |
CREATE TABLE table_name_42 (laps INTEGER, constructor VARCHAR, time_retired VARCHAR) | SELECT MAX(laps) FROM table_name_42 WHERE constructor = "tyrrell - yamaha" AND time_retired = "+ 1 lap" | What is the high lap total for tyrrell - yamaha, and a Time/Retired of + 1 lap? | <s>[INST]What is the high lap total for tyrrell - yamaha, and a Time/Retired of + 1 lap? Context: CREATE TABLE table_name_42 (laps INTEGER, constructor VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_42 WHERE constructor = "tyrrell - yamaha" AND time_retired = "+ 1 lap"</s> |
CREATE TABLE table_name_48 (l2_cache VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_48 WHERE model_number = "mobile pentium 333" | What is the L2 cache for the Mobile Pentium 333? | <s>[INST]What is the L2 cache for the Mobile Pentium 333? Context: CREATE TABLE table_name_48 (l2_cache VARCHAR, model_number VARCHAR)[/INST]SELECT l2_cache FROM table_name_48 WHERE model_number = "mobile pentium 333"</s> |
CREATE TABLE table_13805432_2 (highest_position VARCHAR, artist VARCHAR) | SELECT highest_position FROM table_13805432_2 WHERE artist = "Frankie Avalon" | what's the highest position with artbeingt being frankie avalon | <s>[INST]what's the highest position with artbeingt being frankie avalon Context: CREATE TABLE table_13805432_2 (highest_position VARCHAR, artist VARCHAR)[/INST]SELECT highest_position FROM table_13805432_2 WHERE artist = "Frankie Avalon"</s> |
CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR) | SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4" | Who was the Winner in the AMC Round 4 at Lakeside International Raceway? | <s>[INST]Who was the Winner in the AMC Round 4 at Lakeside International Raceway? Context: CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR)[/INST]SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4"</s> |
CREATE TABLE table_name_43 (year INTEGER, runner_up VARCHAR) | SELECT MIN(year) FROM table_name_43 WHERE runner_up = "fabrice soulier" | What was the first year Fabrice Soulier was a runner-up? | <s>[INST]What was the first year Fabrice Soulier was a runner-up? Context: CREATE TABLE table_name_43 (year INTEGER, runner_up VARCHAR)[/INST]SELECT MIN(year) FROM table_name_43 WHERE runner_up = "fabrice soulier"</s> |
CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR) | SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9 | what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9? | <s>[INST]what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9? Context: CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR)[/INST]SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn <... |
CREATE TABLE table_name_47 (area_km_2 INTEGER, status VARCHAR) | SELECT MIN(area_km_2) FROM table_name_47 WHERE status = "rural community" | When the status is rural community what's the lowest area in kilometers squared? | <s>[INST]When the status is rural community what's the lowest area in kilometers squared? Context: CREATE TABLE table_name_47 (area_km_2 INTEGER, status VARCHAR)[/INST]SELECT MIN(area_km_2) FROM table_name_47 WHERE status = "rural community"</s> |
CREATE TABLE table_name_47 (wins INTEGER, class VARCHAR, rank VARCHAR) | SELECT AVG(wins) FROM table_name_47 WHERE class = "50cc" AND rank = "8th" | Tell me the average wins for class of 50cc and rank of 8th | <s>[INST]Tell me the average wins for class of 50cc and rank of 8th Context: CREATE TABLE table_name_47 (wins INTEGER, class VARCHAR, rank VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_47 WHERE class = "50cc" AND rank = "8th"</s> |
CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR) | SELECT region FROM table_name_1 WHERE host = "university of southern california" | What region is the host university of southern california located? | <s>[INST]What region is the host university of southern california located? Context: CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR)[/INST]SELECT region FROM table_name_1 WHERE host = "university of southern california"</s> |
CREATE TABLE table_name_34 (version VARCHAR, developer VARCHAR, title VARCHAR) | SELECT version FROM table_name_34 WHERE developer = "dino games" AND title = "metronome" | What Version has a Developer of dino games, and a Title of metronome? | <s>[INST]What Version has a Developer of dino games, and a Title of metronome? Context: CREATE TABLE table_name_34 (version VARCHAR, developer VARCHAR, title VARCHAR)[/INST]SELECT version FROM table_name_34 WHERE developer = "dino games" AND title = "metronome"</s> |
CREATE TABLE table_25818630_1 (result___votes INTEGER, constituency VARCHAR) | SELECT MAX(result___votes) FROM table_25818630_1 WHERE constituency = "Huddersfield" | What is the largest vote result for the Huddersfield constituency? | <s>[INST]What is the largest vote result for the Huddersfield constituency? Context: CREATE TABLE table_25818630_1 (result___votes INTEGER, constituency VARCHAR)[/INST]SELECT MAX(result___votes) FROM table_25818630_1 WHERE constituency = "Huddersfield"</s> |
CREATE TABLE table_name_13 (virtual_channel VARCHAR, call_sign VARCHAR) | SELECT virtual_channel FROM table_name_13 WHERE call_sign = "k43hb-ld" | Call sign of k43hb-ld is what virtual channel? | <s>[INST]Call sign of k43hb-ld is what virtual channel? Context: CREATE TABLE table_name_13 (virtual_channel VARCHAR, call_sign VARCHAR)[/INST]SELECT virtual_channel FROM table_name_13 WHERE call_sign = "k43hb-ld"</s> |
CREATE TABLE table_name_71 (in_office VARCHAR, electorate VARCHAR) | SELECT in_office FROM table_name_71 WHERE electorate = "hume" | What office is held by Electorate Hume? | <s>[INST]What office is held by Electorate Hume? Context: CREATE TABLE table_name_71 (in_office VARCHAR, electorate VARCHAR)[/INST]SELECT in_office FROM table_name_71 WHERE electorate = "hume"</s> |
CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez" | what is the date of vacancy when the team is firpo and replaced by is oscar benitez? | <s>[INST]what is the date of vacancy when the team is firpo and replaced by is oscar benitez? Context: CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez"</s> |
CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR) | SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = "Amagasaki" | Name the total number of japanese for amagasaki | <s>[INST]Name the total number of japanese for amagasaki Context: CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)[/INST]SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = "Amagasaki"</s> |
CREATE TABLE table_11734041_2 (years_for_rockets VARCHAR, school_club_team_country VARCHAR) | SELECT years_for_rockets FROM table_11734041_2 WHERE school_club_team_country = "LaSalle" | What years did the player from LaSalle play for the Rockets? | <s>[INST]What years did the player from LaSalle play for the Rockets? Context: CREATE TABLE table_11734041_2 (years_for_rockets VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT years_for_rockets FROM table_11734041_2 WHERE school_club_team_country = "LaSalle"</s> |
CREATE TABLE table_name_22 (opponents VARCHAR, venue VARCHAR) | SELECT opponents FROM table_name_22 WHERE venue = "ullevi" | Who was the opponent at Ullevi? | <s>[INST]Who was the opponent at Ullevi? Context: CREATE TABLE table_name_22 (opponents VARCHAR, venue VARCHAR)[/INST]SELECT opponents FROM table_name_22 WHERE venue = "ullevi"</s> |
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_95 WHERE country = "denmark" | Name the To par for denmark | <s>[INST]Name the To par for denmark Context: CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_95 WHERE country = "denmark"</s> |
CREATE TABLE table_24807774_1 (afghan VARCHAR, arabic VARCHAR) | SELECT afghan FROM table_24807774_1 WHERE arabic = "Scottish" | how many arabic scottish is afghan | <s>[INST]how many arabic scottish is afghan Context: CREATE TABLE table_24807774_1 (afghan VARCHAR, arabic VARCHAR)[/INST]SELECT afghan FROM table_24807774_1 WHERE arabic = "Scottish"</s> |
CREATE TABLE table_name_55 (tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi" | Which tournament has raffaella reggi listed as the opponent in the final? | <s>[INST]Which tournament has raffaella reggi listed as the opponent in the final? Context: CREATE TABLE table_name_55 (tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi"</s> |
CREATE TABLE table_name_95 (club VARCHAR, points VARCHAR) | SELECT club FROM table_name_95 WHERE points = "77" | Which club has 77 points? | <s>[INST]Which club has 77 points? Context: CREATE TABLE table_name_95 (club VARCHAR, points VARCHAR)[/INST]SELECT club FROM table_name_95 WHERE points = "77"</s> |
CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_33 WHERE venue = "westport" | What was the date for Westport? | <s>[INST]What was the date for Westport? Context: CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE venue = "westport"</s> |
CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_65 WHERE home_team = "richmond" | What is Date, when Home Team is Richmond? | <s>[INST]What is Date, when Home Team is Richmond? Context: CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_76 (company VARCHAR, release_date VARCHAR) | SELECT company FROM table_name_76 WHERE release_date = "2008-09-18 18 september 2008" | Who is the company that released the album on 2008-09-18 18 September 2008? | <s>[INST]Who is the company that released the album on 2008-09-18 18 September 2008? Context: CREATE TABLE table_name_76 (company VARCHAR, release_date VARCHAR)[/INST]SELECT company FROM table_name_76 WHERE release_date = "2008-09-18 18 september 2008"</s> |
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR) | SELECT notes FROM table_name_96 WHERE year = 2010 | What is Notes, when Year is "2010"? | <s>[INST]What is Notes, when Year is "2010"? Context: CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)[/INST]SELECT notes FROM table_name_96 WHERE year = 2010</s> |
CREATE TABLE table_name_56 (points INTEGER, games INTEGER) | SELECT MIN(points) FROM table_name_56 WHERE games > 5 | What is the low point total when there are over 5 games? | <s>[INST]What is the low point total when there are over 5 games? Context: CREATE TABLE table_name_56 (points INTEGER, games INTEGER)[/INST]SELECT MIN(points) FROM table_name_56 WHERE games > 5</s> |
CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR) | SELECT population__millions, _2011_ FROM table_2155836_1 WHERE gdp__nominal___billions_usd_ = "4" | What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? | <s>[INST]What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? Context: CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR)[/INST]SELECT population__millions, _2011_ FROM table_2155836_1 WHERE gdp__nominal___billions_usd_ ... |
CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR) | SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1 | Tell me the total number of time for heat rank of 1 | <s>[INST]Tell me the total number of time for heat rank of 1 Context: CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR)[/INST]SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1</s> |
CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_89 WHERE school_club_team = "illinois" | Which Position has a School/Club Team of illinois? | <s>[INST]Which Position has a School/Club Team of illinois? Context: CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_89 WHERE school_club_team = "illinois"</s> |
CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR) | SELECT SUM(attendance) FROM table_name_76 WHERE tie_no = 19 | How many attended tie number 19? | <s>[INST]How many attended tie number 19? Context: CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_76 WHERE tie_no = 19</s> |
CREATE TABLE table_name_14 (country VARCHAR, name VARCHAR) | SELECT country FROM table_name_14 WHERE name = "dyer" | Which country is Dyer from? | <s>[INST]Which country is Dyer from? Context: CREATE TABLE table_name_14 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_14 WHERE name = "dyer"</s> |
CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR) | SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary" | How many entrants did the events won by Frank Gary average? | <s>[INST]How many entrants did the events won by Frank Gary average? Context: CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR)[/INST]SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary"</s> |
CREATE TABLE table_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR) | SELECT women’s_nickname FROM table_10577579_3 WHERE enrollment = 1500 AND location = "Mobile, Alabama" | Name the women's nickname when the enrollment is 1500 in mobile, Alabama. | <s>[INST]Name the women's nickname when the enrollment is 1500 in mobile, Alabama. Context: CREATE TABLE table_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR)[/INST]SELECT women’s_nickname FROM table_10577579_3 WHERE enrollment = 1500 AND location = "Mobile, Alabama"</s> |
CREATE TABLE table_1473672_2 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_1473672_2 WHERE player = "Stan Weir" | What nhl team does stan weir play for? | <s>[INST]What nhl team does stan weir play for? Context: CREATE TABLE table_1473672_2 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_1473672_2 WHERE player = "Stan Weir"</s> |
CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia" | Which CFL team did the player from British Columbia get drafted to | <s>[INST]Which CFL team did the player from British Columbia get drafted to Context: CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia"</s> |
CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR) | SELECT length_fuel FROM table_name_22 WHERE quantity = 30 | What is the Length/Fuel of the bus with a Quantity of 30? | <s>[INST]What is the Length/Fuel of the bus with a Quantity of 30? Context: CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR)[/INST]SELECT length_fuel FROM table_name_22 WHERE quantity = 30</s> |
CREATE TABLE table_16432543_3 (enrollment INTEGER, nickname VARCHAR) | SELECT MAX(enrollment) FROM table_16432543_3 WHERE nickname = "Cavaliers" | what is the enrollment for the Cavaliers? | <s>[INST]what is the enrollment for the Cavaliers? Context: CREATE TABLE table_16432543_3 (enrollment INTEGER, nickname VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_16432543_3 WHERE nickname = "Cavaliers"</s> |
CREATE TABLE table_10006830_1 (max_gross_weight VARCHAR, aircraft VARCHAR) | SELECT max_gross_weight FROM table_10006830_1 WHERE aircraft = "Robinson R-22" | What is the max gross weight of the Robinson R-22? | <s>[INST]What is the max gross weight of the Robinson R-22? Context: CREATE TABLE table_10006830_1 (max_gross_weight VARCHAR, aircraft VARCHAR)[/INST]SELECT max_gross_weight FROM table_10006830_1 WHERE aircraft = "Robinson R-22"</s> |
CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2013 FROM table_name_38 WHERE 2012 = "grand slam tournaments" | What value in 2013 corresponds to Grand Slam Tournaments in 2012? | <s>[INST]What value in 2013 corresponds to Grand Slam Tournaments in 2012? Context: CREATE TABLE table_name_38 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_38 WHERE 2012 = "grand slam tournaments"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.