context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_61 (city VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR) | SELECT city FROM table_name_61 WHERE state = "florida" AND aam_member = "no" AND aam_accredited = "no" | What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No? | <s>[INST]What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No? Context: CREATE TABLE table_name_61 (city VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)[/INST]SELECT city FROM table_name_61 WHERE state = "florida" AND aam_member = "no" AND aam_accredited = "no"</... |
CREATE TABLE table_name_33 (wickets INTEGER, best_bowling VARCHAR, matches VARCHAR) | SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = "2/32" AND matches < 5 | what is the highest wickets when the best bowling is 2/32 and matches is less than 5? | <s>[INST]what is the highest wickets when the best bowling is 2/32 and matches is less than 5? Context: CREATE TABLE table_name_33 (wickets INTEGER, best_bowling VARCHAR, matches VARCHAR)[/INST]SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = "2/32" AND matches < 5</s> |
CREATE TABLE table_name_22 (college VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT college FROM table_name_22 WHERE pick__number > 30 AND position = "ol" | Which College has a Pick # larger than 30, and a Position of ol? | <s>[INST]Which College has a Pick # larger than 30, and a Position of ol? Context: CREATE TABLE table_name_22 (college VARCHAR, pick__number VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_22 WHERE pick__number > 30 AND position = "ol"</s> |
CREATE TABLE table_13710464_1 (winning_team VARCHAR, date VARCHAR) | SELECT winning_team FROM table_13710464_1 WHERE date = "May 21" | Who won the game on may 21? | <s>[INST]Who won the game on may 21? Context: CREATE TABLE table_13710464_1 (winning_team VARCHAR, date VARCHAR)[/INST]SELECT winning_team FROM table_13710464_1 WHERE date = "May 21"</s> |
CREATE TABLE table_name_10 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_10 WHERE opponent = "travis fulton" | What round did the fight against travis fulton last? | <s>[INST]What round did the fight against travis fulton last? Context: CREATE TABLE table_name_10 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_10 WHERE opponent = "travis fulton"</s> |
CREATE TABLE table_20193855_2 (result VARCHAR, book_title VARCHAR) | SELECT result FROM table_20193855_2 WHERE book_title = "Firelands" | What is the result of the book title firelands? | <s>[INST]What is the result of the book title firelands? Context: CREATE TABLE table_20193855_2 (result VARCHAR, book_title VARCHAR)[/INST]SELECT result FROM table_20193855_2 WHERE book_title = "Firelands"</s> |
CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR) | SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.12" | What position is the boat with 20.12 LOA (metres)? | <s>[INST]What position is the boat with 20.12 LOA (metres)? Context: CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR)[/INST]SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.12"</s> |
CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR) | SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup" | What is the agg when team #2 is 2006 UEFA Intertoto Cup? | <s>[INST]What is the agg when team #2 is 2006 UEFA Intertoto Cup? Context: CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR)[/INST]SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup"</s> |
CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR) | SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland" | Name the rank for switzerland | <s>[INST]Name the rank for switzerland Context: CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland"</s> |
CREATE TABLE table_name_40 (nicotine INTEGER, name VARCHAR) | SELECT MAX(nicotine) FROM table_name_40 WHERE name = "raison blue" | Which Raison Blue has the highest nicotine? | <s>[INST]Which Raison Blue has the highest nicotine? Context: CREATE TABLE table_name_40 (nicotine INTEGER, name VARCHAR)[/INST]SELECT MAX(nicotine) FROM table_name_40 WHERE name = "raison blue"</s> |
CREATE TABLE table_19744915_22 (couple VARCHAR, vote_percentage VARCHAR) | SELECT couple FROM table_19744915_22 WHERE vote_percentage = "21.843%" | What couple had vote percentage of 21.843%? | <s>[INST]What couple had vote percentage of 21.843%? Context: CREATE TABLE table_19744915_22 (couple VARCHAR, vote_percentage VARCHAR)[/INST]SELECT couple FROM table_19744915_22 WHERE vote_percentage = "21.843%"</s> |
CREATE TABLE table_name_18 (location__all_in_nagano__ VARCHAR, name VARCHAR) | SELECT location__all_in_nagano__ FROM table_name_18 WHERE name = "sakakita bs" | Which location includes Sakakita BS? | <s>[INST]Which location includes Sakakita BS? Context: CREATE TABLE table_name_18 (location__all_in_nagano__ VARCHAR, name VARCHAR)[/INST]SELECT location__all_in_nagano__ FROM table_name_18 WHERE name = "sakakita bs"</s> |
CREATE TABLE table_10942714_1 (finale VARCHAR, chinese_title VARCHAR) | SELECT finale FROM table_10942714_1 WHERE chinese_title = "潮爆大狀" | What was the finale for 潮爆大狀 | <s>[INST]What was the finale for 潮爆大狀 Context: CREATE TABLE table_10942714_1 (finale VARCHAR, chinese_title VARCHAR)[/INST]SELECT finale FROM table_10942714_1 WHERE chinese_title = "潮爆大狀"</s> |
CREATE TABLE table_name_64 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_64 WHERE home_team = "north melbourne" | What is north melbourne's home team score? | <s>[INST]What is north melbourne's home team score? Context: CREATE TABLE table_name_64 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_64 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_name_74 (outcome VARCHAR, partner VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_74 WHERE partner = "dora djilianova" AND date = "october 1, 1995" | On October 1, 1995 with Dora Djilianova as a partner, what was the outcome of the match? | <s>[INST]On October 1, 1995 with Dora Djilianova as a partner, what was the outcome of the match? Context: CREATE TABLE table_name_74 (outcome VARCHAR, partner VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_74 WHERE partner = "dora djilianova" AND date = "october 1, 1995"</s> |
CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) | SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques" | What were the lowest laps of Tarso Marques? | <s>[INST]What were the lowest laps of Tarso Marques? Context: CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques"</s> |
CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR) | SELECT artist FROM table_name_52 WHERE draw = 1 | What artist had 1 draw? | <s>[INST]What artist had 1 draw? Context: CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR)[/INST]SELECT artist FROM table_name_52 WHERE draw = 1</s> |
CREATE TABLE table_name_8 (Id VARCHAR) | SELECT 2012 FROM table_name_8 WHERE 2007 = "0 / 4" | Which 2012 has a 2007 of 0 / 4? | <s>[INST]Which 2012 has a 2007 of 0 / 4? Context: CREATE TABLE table_name_8 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_8 WHERE 2007 = "0 / 4"</s> |
CREATE TABLE table_name_13 (college VARCHAR, position VARCHAR) | SELECT college FROM table_name_13 WHERE position = "center" | What college was the draft pick from who plays center position? | <s>[INST]What college was the draft pick from who plays center position? Context: CREATE TABLE table_name_13 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_13 WHERE position = "center"</s> |
CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, round VARCHAR) | SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE round = "Extra Preliminary round" | Which leagues entered an extra preliminary round? | <s>[INST]Which leagues entered an extra preliminary round? Context: CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, round VARCHAR)[/INST]SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE round = "Extra Preliminary round"</s> |
CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR) | SELECT date_year FROM table_21436373_5 WHERE type_of_record = "Total attendance-Regular season" | For what year is the type of record 'total attendance-regular season? | <s>[INST]For what year is the type of record 'total attendance-regular season? Context: CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR)[/INST]SELECT date_year FROM table_21436373_5 WHERE type_of_record = "Total attendance-Regular season"</s> |
CREATE TABLE table_name_51 (grid VARCHAR, time VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_51 WHERE time = "+43.191" AND laps < 22 | What is the total number of Grid, when Time is +43.191, and when Laps is less than 22? | <s>[INST]What is the total number of Grid, when Time is +43.191, and when Laps is less than 22? Context: CREATE TABLE table_name_51 (grid VARCHAR, time VARCHAR, laps VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_51 WHERE time = "+43.191" AND laps < 22</s> |
CREATE TABLE table_10470082_7 (villains VARCHAR, storyteller VARCHAR, director VARCHAR) | SELECT villains FROM table_10470082_7 WHERE storyteller = "Megan" AND director = "Lorette LeBlanc" | Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director? | <s>[INST]Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director? Context: CREATE TABLE table_10470082_7 (villains VARCHAR, storyteller VARCHAR, director VARCHAR)[/INST]SELECT villains FROM table_10470082_7 WHERE storyteller = "Megan" AND director = "Lorette LeBlanc"</s> |
CREATE TABLE table_name_97 (defensive VARCHAR, rookie VARCHAR, week VARCHAR) | SELECT defensive FROM table_name_97 WHERE rookie = "craig point" AND week = 6 | Who played defensive when the rookie Craig Point was playing during week 6? | <s>[INST]Who played defensive when the rookie Craig Point was playing during week 6? Context: CREATE TABLE table_name_97 (defensive VARCHAR, rookie VARCHAR, week VARCHAR)[/INST]SELECT defensive FROM table_name_97 WHERE rookie = "craig point" AND week = 6</s> |
CREATE TABLE table_name_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR) | SELECT category FROM table_name_99 WHERE year < 1992 AND nominated_work = "yerma" | What categories had a Nominated work of yerma before 1992? | <s>[INST]What categories had a Nominated work of yerma before 1992? Context: CREATE TABLE table_name_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)[/INST]SELECT category FROM table_name_99 WHERE year < 1992 AND nominated_work = "yerma"</s> |
CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) | SELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_region = "poland" AND year > 2011 | What is the lowest expenditures on R&D for Poland after 2011? | <s>[INST]What is the lowest expenditures on R&D for Poland after 2011? Context: CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)[/INST]SELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_reg... |
CREATE TABLE table_name_97 (f_laps INTEGER, podiums VARCHAR, races VARCHAR) | SELECT MIN(f_laps) FROM table_name_97 WHERE podiums > 4 AND races > 14 | What is the lowest number of f/laps with more than 4 podiums and more than 14 races? | <s>[INST]What is the lowest number of f/laps with more than 4 podiums and more than 14 races? Context: CREATE TABLE table_name_97 (f_laps INTEGER, podiums VARCHAR, races VARCHAR)[/INST]SELECT MIN(f_laps) FROM table_name_97 WHERE podiums > 4 AND races > 14</s> |
CREATE TABLE table_name_59 (game VARCHAR, score VARCHAR) | SELECT COUNT(game) FROM table_name_59 WHERE score = "l 90–104 (ot)" | What is the game number when the score was l 90–104 (ot)? | <s>[INST]What is the game number when the score was l 90–104 (ot)? Context: CREATE TABLE table_name_59 (game VARCHAR, score VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_59 WHERE score = "l 90–104 (ot)"</s> |
CREATE TABLE table_20174050_24 (format VARCHAR, author VARCHAR) | SELECT COUNT(format) FROM table_20174050_24 WHERE author = "Day, Martin Martin Day" | how many formats of books authored by day, martin martin day | <s>[INST]how many formats of books authored by day, martin martin day Context: CREATE TABLE table_20174050_24 (format VARCHAR, author VARCHAR)[/INST]SELECT COUNT(format) FROM table_20174050_24 WHERE author = "Day, Martin Martin Day"</s> |
CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_12 WHERE name = "rodolfo lavín" | Name the the Best of rodolfo lavín | <s>[INST]Name the the Best of rodolfo lavín Context: CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR)[/INST]SELECT best FROM table_name_12 WHERE name = "rodolfo lavín"</s> |
CREATE TABLE table_name_76 (race_4 VARCHAR, race_1 VARCHAR) | SELECT race_4 FROM table_name_76 WHERE race_1 = "dsq" | What's the value for race 4 when race 1 is dsq? | <s>[INST]What's the value for race 4 when race 1 is dsq? Context: CREATE TABLE table_name_76 (race_4 VARCHAR, race_1 VARCHAR)[/INST]SELECT race_4 FROM table_name_76 WHERE race_1 = "dsq"</s> |
CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR) | SELECT COUNT(round) FROM table_name_6 WHERE opponent = "gina carano" | Name the total number of rounds for gina carano | <s>[INST]Name the total number of rounds for gina carano Context: CREATE TABLE table_name_6 (round VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_6 WHERE opponent = "gina carano"</s> |
CREATE TABLE table_name_42 (written_by VARCHAR, original_airdate VARCHAR) | SELECT written_by FROM table_name_42 WHERE original_airdate = "march 1, 1998" | Who wrote the episode that originally aired on March 1, 1998? | <s>[INST]Who wrote the episode that originally aired on March 1, 1998? Context: CREATE TABLE table_name_42 (written_by VARCHAR, original_airdate VARCHAR)[/INST]SELECT written_by FROM table_name_42 WHERE original_airdate = "march 1, 1998"</s> |
CREATE TABLE table_name_98 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_98 WHERE to_par = "–2" AND country = "united states" | Who has a To par of –2, and a Country of united states? | <s>[INST]Who has a To par of –2, and a Country of united states? Context: CREATE TABLE table_name_98 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_98 WHERE to_par = "–2" AND country = "united states"</s> |
CREATE TABLE table_name_3 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_3 WHERE year = 2012 | What chassis has 2012 as the year? | <s>[INST]What chassis has 2012 as the year? Context: CREATE TABLE table_name_3 (chassis VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_3 WHERE year = 2012</s> |
CREATE TABLE table_name_39 (military_and_or_civilian_wounded VARCHAR, civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR) | SELECT military_and_or_civilian_wounded FROM table_name_39 WHERE civilian_deaths = "unknown" AND total_deaths__not_including_foreigners_ = "unknown" | How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths? | <s>[INST]How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths? Context: CREATE TABLE table_name_39 (military_and_or_civilian_wounded VARCHAR, civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR)[/INST]SELECT military_and_or_civilian_wou... |
CREATE TABLE table_22597626_2 (surface VARCHAR, opponents_in_the_final VARCHAR) | SELECT surface FROM table_22597626_2 WHERE opponents_in_the_final = "Hewitt McMillan" | What is the surface made of if the opponent in the final is Hewitt McMillan? | <s>[INST]What is the surface made of if the opponent in the final is Hewitt McMillan? Context: CREATE TABLE table_22597626_2 (surface VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT surface FROM table_22597626_2 WHERE opponents_in_the_final = "Hewitt McMillan"</s> |
CREATE TABLE table_name_71 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_71 WHERE country = "sweden" | What is Top Par, when Country is Sweden? | <s>[INST]What is Top Par, when Country is Sweden? Context: CREATE TABLE table_name_71 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_71 WHERE country = "sweden"</s> |
CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR) | SELECT third_place FROM table_17632217_2 WHERE total_wins = 4 | Who took third-place when there were 4 total wins? | <s>[INST]Who took third-place when there were 4 total wins? Context: CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR)[/INST]SELECT third_place FROM table_17632217_2 WHERE total_wins = 4</s> |
CREATE TABLE table_name_36 (record VARCHAR, game INTEGER) | SELECT record FROM table_name_36 WHERE game < 31 | WHAT IS THE RECORD FOR THE GAME SMALLER THAN 31? | <s>[INST]WHAT IS THE RECORD FOR THE GAME SMALLER THAN 31? Context: CREATE TABLE table_name_36 (record VARCHAR, game INTEGER)[/INST]SELECT record FROM table_name_36 WHERE game < 31</s> |
CREATE TABLE table_12792876_2 (try_bonus VARCHAR, tries_for VARCHAR) | SELECT try_bonus FROM table_12792876_2 WHERE tries_for = "64" | How many try bonuses were there when there were 64 tries for? | <s>[INST]How many try bonuses were there when there were 64 tries for? Context: CREATE TABLE table_12792876_2 (try_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT try_bonus FROM table_12792876_2 WHERE tries_for = "64"</s> |
CREATE TABLE table_name_64 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_64 WHERE date = "10 april" | Tell me the report for 10 april | <s>[INST]Tell me the report for 10 april Context: CREATE TABLE table_name_64 (report VARCHAR, date VARCHAR)[/INST]SELECT report FROM table_name_64 WHERE date = "10 april"</s> |
CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_64 WHERE date = "17 november 2002" | Which Opponent is on 17 november 2002? | <s>[INST]Which Opponent is on 17 november 2002? Context: CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_64 WHERE date = "17 november 2002"</s> |
CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR) | SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000" | Name the title for total viewers on fx+ being 483,000 | <s>[INST]Name the title for total viewers on fx+ being 483,000 Context: CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)[/INST]SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000"</s> |
CREATE TABLE table_name_20 (part_number_s_ VARCHAR, frequency VARCHAR) | SELECT part_number_s_ FROM table_name_20 WHERE frequency = "2.4 ghz" | What part number(s) has a frequency of 2.4 ghz? | <s>[INST]What part number(s) has a frequency of 2.4 ghz? Context: CREATE TABLE table_name_20 (part_number_s_ VARCHAR, frequency VARCHAR)[/INST]SELECT part_number_s_ FROM table_name_20 WHERE frequency = "2.4 ghz"</s> |
CREATE TABLE table_name_78 (allsvenskan_titles INTEGER, introduced VARCHAR, stars_symbolizes VARCHAR, club VARCHAR) | SELECT SUM(allsvenskan_titles) FROM table_name_78 WHERE stars_symbolizes = "number of swedish championship titles" AND club = "aik" AND introduced > 2000 | How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ? | <s>[INST]How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ? Context: CREATE TABLE table_name_78 (allsvenskan_titles INTEGER, introduced VARCHAR, stars_symbolizes VARCHAR, club VARCHAR)[/INST]SELECT SUM(allsvenskan_titles) F... |
CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR) | SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states" | Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states? | <s>[INST]Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states? Context: CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)[/INST]SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_... |
CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) | SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'CIS-220' INTERSECT SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = 'QM-261' | Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261. | <s>[INST]Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261. Context: CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)[/INST]SELECT T1.emp_fname FROM employee AS T1 JOIN CLASS AS T2 ON T1.emp_num = T2.prof_num WHERE crs_code = '... |
CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR) | SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = "Mercuridi" | what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi | <s>[INST]what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi Context: CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR)[/INST]SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = "Mercu... |
CREATE TABLE table_11614581_3 (area VARCHAR, _in_thousands_of_km_2 VARCHAR, name_in_russian VARCHAR) | SELECT area, _in_thousands_of_km_2 FROM table_11614581_3 WHERE name_in_russian = "Плоцкая губерния" | плоцкая губерния governs an area with what area (in thousand km 2)? | <s>[INST]плоцкая губерния governs an area with what area (in thousand km 2)? Context: CREATE TABLE table_11614581_3 (area VARCHAR, _in_thousands_of_km_2 VARCHAR, name_in_russian VARCHAR)[/INST]SELECT area, _in_thousands_of_km_2 FROM table_11614581_3 WHERE name_in_russian = "Плоцкая губерния"</s> |
CREATE TABLE table_name_87 (grid INTEGER, laps VARCHAR, time_retired VARCHAR) | SELECT SUM(grid) FROM table_name_87 WHERE laps < 68 AND time_retired = "injection" | What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection? | <s>[INST]What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection? Context: CREATE TABLE table_name_87 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_87 WHERE laps < 68 AND time_retired = "injection"</s> |
CREATE TABLE table_name_22 (shirt_number INTEGER, cap_number VARCHAR) | SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5 | What's the largest shirt number when the cap number is 5? | <s>[INST]What's the largest shirt number when the cap number is 5? Context: CREATE TABLE table_name_22 (shirt_number INTEGER, cap_number VARCHAR)[/INST]SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5</s> |
CREATE TABLE table_name_20 (issue VARCHAR, artist VARCHAR, date VARCHAR) | SELECT issue FROM table_name_20 WHERE artist = "mort drucker" AND date = "february 2001" | What issue has mort drucker as the artist and february 2001 as the date? | <s>[INST]What issue has mort drucker as the artist and february 2001 as the date? Context: CREATE TABLE table_name_20 (issue VARCHAR, artist VARCHAR, date VARCHAR)[/INST]SELECT issue FROM table_name_20 WHERE artist = "mort drucker" AND date = "february 2001"</s> |
CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open" | If the French Open tournament had 2r in 2012, what was it in 2009? | <s>[INST]If the French Open tournament had 2r in 2012, what was it in 2009? Context: CREATE TABLE table_name_71 (tournament VARCHAR)[/INST]SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open"</s> |
CREATE TABLE table_name_72 (frequency__inbound_outbound_ VARCHAR, origin VARCHAR) | SELECT frequency__inbound_outbound_ FROM table_name_72 WHERE origin = "ranchi" | What is the frequency of the rail with an origin of Ranchi? | <s>[INST]What is the frequency of the rail with an origin of Ranchi? Context: CREATE TABLE table_name_72 (frequency__inbound_outbound_ VARCHAR, origin VARCHAR)[/INST]SELECT frequency__inbound_outbound_ FROM table_name_72 WHERE origin = "ranchi"</s> |
CREATE TABLE table_23028629_2 (release_price___usd__ VARCHAR, model_number VARCHAR) | SELECT release_price___usd__ FROM table_23028629_2 WHERE model_number = "Core i5-650" | What is every release price(USD) for model number core i5-650? | <s>[INST]What is every release price(USD) for model number core i5-650? Context: CREATE TABLE table_23028629_2 (release_price___usd__ VARCHAR, model_number VARCHAR)[/INST]SELECT release_price___usd__ FROM table_23028629_2 WHERE model_number = "Core i5-650"</s> |
CREATE TABLE table_name_8 (tonnage__grt_ VARCHAR, nationality VARCHAR, date VARCHAR) | SELECT COUNT(tonnage__grt_) FROM table_name_8 WHERE nationality = "united kingdom" AND date = "27 june 1941" | How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941? | <s>[INST]How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941? Context: CREATE TABLE table_name_8 (tonnage__grt_ VARCHAR, nationality VARCHAR, date VARCHAR)[/INST]SELECT COUNT(tonnage__grt_) FROM table_name_8 WHERE nationality = "united kingdom" AND date = "27 june 1941"</s> |
CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR) | SELECT fibonacci FROM table_name_18 WHERE operation = "find-min" | Operation of find-min has what Fibonacci? | <s>[INST]Operation of find-min has what Fibonacci? Context: CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)[/INST]SELECT fibonacci FROM table_name_18 WHERE operation = "find-min"</s> |
CREATE TABLE table_name_72 (event VARCHAR, score INTEGER) | SELECT event FROM table_name_72 WHERE score > 673 | Which event had a score of over 673 points? | <s>[INST]Which event had a score of over 673 points? Context: CREATE TABLE table_name_72 (event VARCHAR, score INTEGER)[/INST]SELECT event FROM table_name_72 WHERE score > 673</s> |
CREATE TABLE table_name_46 (rank INTEGER, attempts VARCHAR, year VARCHAR) | SELECT MIN(rank) FROM table_name_46 WHERE attempts = 319 AND year > 2000 | What is the lowest Rank when Attempts was 319, and the Year was larger than 2000? | <s>[INST]What is the lowest Rank when Attempts was 319, and the Year was larger than 2000? Context: CREATE TABLE table_name_46 (rank INTEGER, attempts VARCHAR, year VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_46 WHERE attempts = 319 AND year > 2000</s> |
CREATE TABLE table_name_71 (goals VARCHAR, current_club VARCHAR, debut_year VARCHAR) | SELECT COUNT(goals) FROM table_name_71 WHERE current_club = "chievo" AND debut_year < 2002 | How many goals were achieved when Chievo was the club and the debut year was before 2002? | <s>[INST]How many goals were achieved when Chievo was the club and the debut year was before 2002? Context: CREATE TABLE table_name_71 (goals VARCHAR, current_club VARCHAR, debut_year VARCHAR)[/INST]SELECT COUNT(goals) FROM table_name_71 WHERE current_club = "chievo" AND debut_year < 2002</s> |
CREATE TABLE table_name_34 (event VARCHAR, games VARCHAR, medal VARCHAR) | SELECT event FROM table_name_34 WHERE games = "2008 beijing" AND medal = "bronze" | Which event in the 2008 Beijing Games had a bronze medal? | <s>[INST]Which event in the 2008 Beijing Games had a bronze medal? Context: CREATE TABLE table_name_34 (event VARCHAR, games VARCHAR, medal VARCHAR)[/INST]SELECT event FROM table_name_34 WHERE games = "2008 beijing" AND medal = "bronze"</s> |
CREATE TABLE table_24329520_8 (members VARCHAR, borough VARCHAR) | SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge" | What is the number of members that have boroughs of Bandon Bridge? | <s>[INST]What is the number of members that have boroughs of Bandon Bridge? Context: CREATE TABLE table_24329520_8 (members VARCHAR, borough VARCHAR)[/INST]SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge"</s> |
CREATE TABLE table_name_25 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, constructor VARCHAR) | SELECT MAX(laps) FROM table_name_25 WHERE time_retired = "+1 lap" AND constructor = "brm" AND grid > 1 | Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded? | <s>[INST]Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded? Context: CREATE TABLE table_name_25 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, constructor VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_25 WHERE time_retired = "+1 lap" AND constructo... |
CREATE TABLE table_name_20 (to_par VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_20 WHERE place = "7" | What to par has 7 as the place? | <s>[INST]What to par has 7 as the place? Context: CREATE TABLE table_name_20 (to_par VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_20 WHERE place = "7"</s> |
CREATE TABLE table_name_96 (high_assists VARCHAR, record VARCHAR) | SELECT high_assists FROM table_name_96 WHERE record = "4-2" | Which High assists have a Record of 4-2? | <s>[INST]Which High assists have a Record of 4-2? Context: CREATE TABLE table_name_96 (high_assists VARCHAR, record VARCHAR)[/INST]SELECT high_assists FROM table_name_96 WHERE record = "4-2"</s> |
CREATE TABLE table_name_79 (days VARCHAR, party VARCHAR, constituency VARCHAR) | SELECT days FROM table_name_79 WHERE party = "ulster unionist" AND constituency = "fermanagh and south tyrone" | What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone? | <s>[INST]What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone? Context: CREATE TABLE table_name_79 (days VARCHAR, party VARCHAR, constituency VARCHAR)[/INST]SELECT days FROM table_name_79 WHERE party = "ulster unionist" AND constituency = "fermanagh and south tyrone"... |
CREATE TABLE table_11464746_1 (composition VARCHAR, colours VARCHAR) | SELECT composition FROM table_11464746_1 WHERE colours = "Green" | What is the green house made of? | <s>[INST]What is the green house made of? Context: CREATE TABLE table_11464746_1 (composition VARCHAR, colours VARCHAR)[/INST]SELECT composition FROM table_11464746_1 WHERE colours = "Green"</s> |
CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER) | SELECT start FROM table_name_49 WHERE laps > 200 | What was the starting position of Joie Chitwood when he finished more than 200 laps? | <s>[INST]What was the starting position of Joie Chitwood when he finished more than 200 laps? Context: CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER)[/INST]SELECT start FROM table_name_49 WHERE laps > 200</s> |
CREATE TABLE table_name_47 (bonus_points VARCHAR, points_against VARCHAR) | SELECT bonus_points FROM table_name_47 WHERE points_against = "448" | What bonus points have 448 as the points against? | <s>[INST]What bonus points have 448 as the points against? Context: CREATE TABLE table_name_47 (bonus_points VARCHAR, points_against VARCHAR)[/INST]SELECT bonus_points FROM table_name_47 WHERE points_against = "448"</s> |
CREATE TABLE Documents (Id VARCHAR) | SELECT COUNT(*) FROM Documents | Show the number of documents. | <s>[INST]Show the number of documents. Context: CREATE TABLE Documents (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Documents</s> |
CREATE TABLE table_name_28 (round INTEGER, time VARCHAR) | SELECT MAX(round) FROM table_name_28 WHERE time = "4:39" | What is the highest round number with a time of 4:39? | <s>[INST]What is the highest round number with a time of 4:39? Context: CREATE TABLE table_name_28 (round INTEGER, time VARCHAR)[/INST]SELECT MAX(round) FROM table_name_28 WHERE time = "4:39"</s> |
CREATE TABLE table_name_71 (elimination VARCHAR, wrestler VARCHAR) | SELECT elimination FROM table_name_71 WHERE wrestler = "jorge santana" | What's Jorge Santana's elimination? | <s>[INST]What's Jorge Santana's elimination? Context: CREATE TABLE table_name_71 (elimination VARCHAR, wrestler VARCHAR)[/INST]SELECT elimination FROM table_name_71 WHERE wrestler = "jorge santana"</s> |
CREATE TABLE table_2668347_14 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates" | how many times was the incumbent is john b. yates? | <s>[INST]how many times was the incumbent is john b. yates? Context: CREATE TABLE table_2668347_14 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates"</s> |
CREATE TABLE table_name_53 (league VARCHAR, goals VARCHAR) | SELECT league FROM table_name_53 WHERE goals = "10" | What is the league listed that has goals of 10? | <s>[INST]What is the league listed that has goals of 10? Context: CREATE TABLE table_name_53 (league VARCHAR, goals VARCHAR)[/INST]SELECT league FROM table_name_53 WHERE goals = "10"</s> |
CREATE TABLE table_name_29 (artist VARCHAR, mintage INTEGER) | SELECT artist FROM table_name_29 WHERE mintage > 34 OFFSET 135 | What artist has a mintage of greater than 34,135? | <s>[INST]What artist has a mintage of greater than 34,135? Context: CREATE TABLE table_name_29 (artist VARCHAR, mintage INTEGER)[/INST]SELECT artist FROM table_name_29 WHERE mintage > 34 OFFSET 135</s> |
CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR) | SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh" | What was the outcome of the tournament in Edinburgh? | <s>[INST]What was the outcome of the tournament in Edinburgh? Context: CREATE TABLE table_name_82 (outcome VARCHAR, tournament VARCHAR)[/INST]SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh"</s> |
CREATE TABLE table_name_43 (arena VARCHAR, runner_up VARCHAR) | SELECT arena FROM table_name_43 WHERE runner_up = "north dakota" | In what arena was the North Dakota the runner-up? | <s>[INST]In what arena was the North Dakota the runner-up? Context: CREATE TABLE table_name_43 (arena VARCHAR, runner_up VARCHAR)[/INST]SELECT arena FROM table_name_43 WHERE runner_up = "north dakota"</s> |
CREATE TABLE table_name_55 (h_a_n VARCHAR, date VARCHAR) | SELECT h_a_n FROM table_name_55 WHERE date = "february 24" | What is H/A/N when Date is February 24? | <s>[INST]What is H/A/N when Date is February 24? Context: CREATE TABLE table_name_55 (h_a_n VARCHAR, date VARCHAR)[/INST]SELECT h_a_n FROM table_name_55 WHERE date = "february 24"</s> |
CREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR) | SELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = "DNQ" | What is the seed for lyon (32) was DNQ? | <s>[INST]What is the seed for lyon (32) was DNQ? Context: CREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR)[/INST]SELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = "DNQ"</s> |
CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR) | SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco" | Name the wins for 1963 bultaco | <s>[INST]Name the wins for 1963 bultaco Context: CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR)[/INST]SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco"</s> |
CREATE TABLE table_11677691_4 (player VARCHAR, college VARCHAR) | SELECT player FROM table_11677691_4 WHERE college = "Southern California" | Which player went to the college Southern California? | <s>[INST]Which player went to the college Southern California? Context: CREATE TABLE table_11677691_4 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_11677691_4 WHERE college = "Southern California"</s> |
CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_92 WHERE date = "june 11" | Name the attendance with date of june 11 | <s>[INST]Name the attendance with date of june 11 Context: CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_92 WHERE date = "june 11"</s> |
CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR) | SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7" | When was the home game when the New Jersey team's record became 7-23-7? | <s>[INST]When was the home game when the New Jersey team's record became 7-23-7? Context: CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7"</s> |
CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR) | SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop" | What club/province does the prop player with over 45 caps play for? | <s>[INST]What club/province does the prop player with over 45 caps play for? Context: CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR)[/INST]SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop"</s> |
CREATE TABLE perpetrator (People_ID VARCHAR, Injured VARCHAR); CREATE TABLE people (Height VARCHAR, People_ID VARCHAR) | SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC | What are the heights of perpetrators in descending order of the number of people they injured? | <s>[INST]What are the heights of perpetrators in descending order of the number of people they injured? Context: CREATE TABLE perpetrator (People_ID VARCHAR, Injured VARCHAR); CREATE TABLE people (Height VARCHAR, People_ID VARCHAR)[/INST]SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.Peo... |
CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR) | SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57 | What is the lowest Attendance, when Date is "February 4", and when Points is less than 57? | <s>[INST]What is the lowest Attendance, when Date is "February 4", and when Points is less than 57? Context: CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57</s> |
CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR) | SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa" | Which manufacturer made Shoya Tomizawa's motorcycle? | <s>[INST]Which manufacturer made Shoya Tomizawa's motorcycle? Context: CREATE TABLE table_name_20 (manufacturer VARCHAR, rider VARCHAR)[/INST]SELECT manufacturer FROM table_name_20 WHERE rider = "shoya tomizawa"</s> |
CREATE TABLE table_2175858_1 (date VARCHAR, average_speed__mph_ VARCHAR) | SELECT COUNT(date) FROM table_2175858_1 WHERE average_speed__mph_ = "102.003" | How many dates had an average speed of 102.003? | <s>[INST]How many dates had an average speed of 102.003? Context: CREATE TABLE table_2175858_1 (date VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT COUNT(date) FROM table_2175858_1 WHERE average_speed__mph_ = "102.003"</s> |
CREATE TABLE table_name_48 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_name_48 WHERE location_attendance = "philips arena 14,413" | Who had the high points when they played in Philips Arena 14,413? | <s>[INST]Who had the high points when they played in Philips Arena 14,413? Context: CREATE TABLE table_name_48 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_points FROM table_name_48 WHERE location_attendance = "philips arena 14,413"</s> |
CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR); CREATE TABLE problems (problem_description VARCHAR, reported_by_staff_id VARCHAR) | SELECT T1.problem_description FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" | Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop. | <s>[INST]Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop. Context: CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR); CREATE TABLE problems (problem_description VARCHAR, reported_by_staff_id VARCHAR)[/INST]SELECT T1.problem_description FROM proble... |
CREATE TABLE table_name_40 (sport VARCHAR, established VARCHAR, league VARCHAR) | SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl" | What League of VSL Sport was Established in 1935? | <s>[INST]What League of VSL Sport was Established in 1935? Context: CREATE TABLE table_name_40 (sport VARCHAR, established VARCHAR, league VARCHAR)[/INST]SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl"</s> |
CREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR) | SELECT skipper FROM table_name_90 WHERE points = "78" | Which skipper has 78 points? | <s>[INST]Which skipper has 78 points? Context: CREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR)[/INST]SELECT skipper FROM table_name_90 WHERE points = "78"</s> |
CREATE TABLE table_name_12 (losing_bonus VARCHAR, try_bonus VARCHAR, tries_for VARCHAR) | SELECT losing_bonus FROM table_name_12 WHERE try_bonus = "3" AND tries_for = "47" | What was the losing bonus for the team with a try bonus of 3 and 47 tries for? | <s>[INST]What was the losing bonus for the team with a try bonus of 3 and 47 tries for? Context: CREATE TABLE table_name_12 (losing_bonus VARCHAR, try_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT losing_bonus FROM table_name_12 WHERE try_bonus = "3" AND tries_for = "47"</s> |
CREATE TABLE table_name_71 (away VARCHAR, golden_point_s__scorer VARCHAR, home VARCHAR) | SELECT away FROM table_name_71 WHERE golden_point_s__scorer = "trent hodkinson" AND home = "manly-warringah sea eagles" | What Away team has the Golden point(s) scorer Trent Hodkinson and the Home of Manly-Warringah Sea Eagles? | <s>[INST]What Away team has the Golden point(s) scorer Trent Hodkinson and the Home of Manly-Warringah Sea Eagles? Context: CREATE TABLE table_name_71 (away VARCHAR, golden_point_s__scorer VARCHAR, home VARCHAR)[/INST]SELECT away FROM table_name_71 WHERE golden_point_s__scorer = "trent hodkinson" AND home = "manly-warr... |
CREATE TABLE table_name_64 (name VARCHAR, date_of_birth VARCHAR) | SELECT name FROM table_name_64 WHERE date_of_birth = "1980-07-29" | Who has a Date of Birth 1980-07-29? | <s>[INST]Who has a Date of Birth 1980-07-29? Context: CREATE TABLE table_name_64 (name VARCHAR, date_of_birth VARCHAR)[/INST]SELECT name FROM table_name_64 WHERE date_of_birth = "1980-07-29"</s> |
CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_66 WHERE country = "united states" AND score = 68 - 65 = 133 | With a score of 68-65=133 and United States as the country what is the To par? | <s>[INST]With a score of 68-65=133 and United States as the country what is the To par? Context: CREATE TABLE table_name_66 (to_par VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_66 WHERE country = "united states" AND score = 68 - 65 = 133</s> |
CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, against VARCHAR) | SELECT AVG(played) FROM table_name_4 WHERE points > 14 AND against > 17 | How many average plays have points greater than 14, with an against greater than 17? | <s>[INST]How many average plays have points greater than 14, with an against greater than 17? Context: CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, against VARCHAR)[/INST]SELECT AVG(played) FROM table_name_4 WHERE points > 14 AND against > 17</s> |
CREATE TABLE table_name_77 (event VARCHAR, prize VARCHAR) | SELECT event FROM table_name_77 WHERE prize = "€869,000" | What Event has a Prize of €869,000? | <s>[INST]What Event has a Prize of €869,000? Context: CREATE TABLE table_name_77 (event VARCHAR, prize VARCHAR)[/INST]SELECT event FROM table_name_77 WHERE prize = "€869,000"</s> |
CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR) | SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears" | Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? | <s>[INST]Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? Context: CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)[/INST]SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.